/* =========================================================
   北航人机交互实验室 · 高级感视觉重构
   深空蓝 + 光效 + 玻璃拟态
   内容与页面结构保持不变，仅重构视觉与交互体验。
   ========================================================= */

:root {
  color-scheme: dark;
  --bg: #060b18;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.075);
  --line: rgba(148, 190, 255, 0.14);
  --line-strong: rgba(148, 190, 255, 0.32);
  --text: #eaf2ff;
  --ink: #eaf2ff;
  --muted: #9db2d6;
  --blue: #4f8dff;
  --cyan: #45d6ff;
  --violet: #8b7bff;
  --deep: #0b2a6e;
  --paper: rgba(255, 255, 255, 0.045);
  --surface: rgba(255, 255, 255, 0.045);
  --pale: rgba(79, 141, 255, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --glow-blue: 0 0 0 1px rgba(79, 141, 255, 0.35), 0 10px 34px rgba(31, 120, 255, 0.22);
  --glow-cyan: 0 0 0 1px rgba(69, 214, 255, 0.35), 0 10px 34px rgba(69, 214, 255, 0.18);
  --content: 1200px;
  --font: "Inter", "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: transparent;
  font-family: var(--font);
  line-height: 1.7;
}

/* 全站氛围光 + 细网格 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(42% 48% at 12% 6%, rgba(79, 141, 255, 0.2), transparent 62%),
    radial-gradient(36% 42% at 90% 12%, rgba(69, 214, 255, 0.13), transparent 62%),
    radial-gradient(48% 55% at 58% 92%, rgba(139, 123, 255, 0.13), transparent 62%),
    var(--bg);
  animation: aurora-drift 26s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 190, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 190, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 62% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(80% 62% at 50% 0%, #000 0%, transparent 78%);
}

@keyframes aurora-drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 2%, 0) scale(1.08);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

main {
  background: transparent;
}

::selection {
  background: rgba(69, 214, 255, 0.28);
  color: #ffffff;
}

html {
  scrollbar-color: #2c5fd0 #0a1226;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: #0a1226;
}

::-webkit-scrollbar-thumb {
  border: 3px solid #0a1226;
  border-radius: 8px;
  background: linear-gradient(#2f6bff, #19b8ff);
}

:focus-visible {
  outline: 3px solid rgba(69, 214, 255, 0.6);
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: 110px;
}

/* ---------- 顶部导航：悬浮玻璃胶囊 ---------- */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 28px), var(--content));
  margin: 12px auto 0;
  padding: 10px 16px 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 14, 32, 0.68);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: padding 0.35s ease, box-shadow 0.35s ease, background 0.35s ease,
    border-color 0.35s ease;
}

.site-header.is-scrolled {
  padding-top: 6px;
  padding-bottom: 6px;
  background: rgba(7, 12, 28, 0.82);
  border-color: var(--line-strong);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(79, 141, 255, 0.12),
    0 0 30px rgba(69, 214, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.buaa-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.buaa-emblem {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.buaa-wordmark {
  width: clamp(120px, 14vw, 190px);
  height: 26px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.brand-divider {
  width: 1px;
  height: 30px;
  flex: 0 0 auto;
  background: var(--line-strong);
}

.brand-text {
  display: grid;
  grid-template-columns: 34px auto;
  column-gap: 10px;
  align-items: center;
}

.nav-lab-logo {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 0 3px rgba(69, 214, 255, 0.16),
    0 0 18px rgba(69, 214, 255, 0.28);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover .nav-lab-logo {
  transform: rotate(8deg) scale(1.06);
}

.brand-text strong,
.brand-text small {
  display: block;
  white-space: nowrap;
}

.brand-text strong {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

.brand-text small {
  color: rgba(157, 178, 214, 0.82);
  font-size: 11px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease,
    transform 0.25s ease, border-color 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 10px rgba(69, 214, 255, 0.8);
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:hover {
  color: #ffffff;
  background: rgba(79, 141, 255, 0.12);
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

.site-nav a.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(79, 141, 255, 0.22), rgba(69, 214, 255, 0.12));
  box-shadow: inset 0 0 0 1px rgba(79, 141, 255, 0.28);
}

.lang-link {
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  font-weight: 800;
}

.lang-link::after {
  display: none;
}

.lang-link:hover {
  color: #051022;
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 8px 24px rgba(69, 214, 255, 0.35);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(69, 214, 255, 0.7);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ---------- 按钮 ---------- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 750;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease,
    background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.5) 50%, transparent 68%);
  transform: translateX(-130%) skewX(-12deg);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.button:hover::after {
  transform: translateX(130%) skewX(-12deg);
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(69, 214, 255, 0.5);
  box-shadow: var(--glow-cyan);
}

.button:active {
  transform: translateY(0) scale(0.97);
}

.button.primary {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #2f6bff, #19b8ff);
  box-shadow:
    0 12px 34px rgba(31, 120, 255, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button.primary:hover {
  box-shadow:
    0 16px 44px rgba(31, 160, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button.secondary:hover {
  color: #ffffff;
  background: rgba(79, 141, 255, 0.14);
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 110px) clamp(24px, 4vw, 48px) clamp(56px, 7vw, 84px);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero::before {
  top: 4%;
  left: -7vmin;
  width: 46vmin;
  height: 46vmin;
  background: radial-gradient(circle, rgba(79, 141, 255, 0.34), transparent 68%);
  animation: orb-a 14s ease-in-out infinite alternate;
}

.hero::after {
  right: -5vmin;
  bottom: 0;
  width: 40vmin;
  height: 40vmin;
  background: radial-gradient(circle, rgba(69, 214, 255, 0.24), transparent 68%);
  animation: orb-b 16s ease-in-out infinite alternate;
}

@keyframes orb-a {
  to {
    transform: translate(6vmin, 4vmin) scale(1.15);
  }
}

@keyframes orb-b {
  to {
    transform: translate(-5vmin, -4vmin) scale(1.12);
  }
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.hero-copy {
  min-width: 0;
  max-width: 700px;
}

.hero-title-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  margin-bottom: 16px;
}

.hero-logo {
  flex: 0 0 auto;
  width: clamp(54px, 5.4vw, 78px);
  height: clamp(54px, 5.4vw, 78px);
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(69, 214, 255, 0.14),
    0 0 36px rgba(69, 214, 255, 0.35);
  animation: logo-float 6s ease-in-out infinite;
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-title-lockup h1 {
  margin-bottom: 0;
  background: linear-gradient(115deg, #ffffff 20%, #8fd8ff 48%, #b7a8ff 72%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 60px rgba(69, 214, 255, 0.18);
  white-space: nowrap;
}

h2 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.18;
}

h3 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 19px;
  line-height: 1.35;
}

.hero-subtitle {
  margin: 0 0 20px;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 850;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.lead.extra {
  margin-top: -4px;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.hero-media {
  border-radius: 24px;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 1.5px;
  border-radius: 24px;
  background: conic-gradient(
    from var(--angle),
    transparent 0 55%,
    rgba(69, 214, 255, 0.85) 68%,
    rgba(139, 123, 255, 0.85) 76%,
    transparent 88% 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: border-spin 6s linear infinite;
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 8% 4%;
  z-index: -1;
  border-radius: 30px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(31, 120, 255, 0.35), transparent 70%);
  filter: blur(42px);
  animation: media-glow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes border-spin {
  to {
    --angle: 360deg;
  }
}

@keyframes media-glow {
  to {
    opacity: 0.65;
    transform: scale(1.08);
  }
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
  animation: hero-float 8s ease-in-out infinite;
}

@media (min-width: 1021px) {
  .hero-media {
    margin-top: clamp(56px, 7vw, 100px);
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* ---------- 区块通用 ---------- */
.section,
.news-preview {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(24px, 4vw, 48px);
}

.band {
  width: min(100%, var(--content));
  margin: 12px auto;
  padding: clamp(48px, 7vw, 84px) clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(60% 90% at 12% 0%, rgba(79, 141, 255, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.section-heading {
  position: relative;
  max-width: 840px;
  margin-bottom: 30px;
}

.section-heading::before {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 18px rgba(69, 214, 255, 0.7);
}

.section-heading.compact {
  display: flex;
  align-items: end;
  justify-content: flex-start;
  gap: 18px;
  max-width: none;
}

.section-heading.compact > .button,
.section-heading.compact > a {
  margin-left: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.about-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.about-panel p {
  margin: 0;
  padding: 26px;
  color: var(--muted);
}

/* ---------- 玻璃卡片通用 ---------- */
.news-card,
.research-card,
.person,
.result-card,
.paper-item,
.timeline-item,
.profile-panel,
.contact-form,
.postdoc-profile,
.student-table,
.graduate-table,
.result-stats a,
.paper-filter {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.spot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 50%),
    rgba(105, 190, 255, 0.16),
    transparent 65%
  );
  transition: opacity 0.35s ease;
}

.spot-card:hover::before {
  opacity: 1;
}

.spot-card > * {
  position: relative;
  z-index: 1;
}

.news-card,
.research-card,
.person,
.result-card,
.paper-item,
.timeline-item,
.profile-panel,
.postdoc-profile,
.project-item,
.about-panel p {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease,
    border-color 0.3s ease, background 0.3s ease;
}

.news-card:hover,
.research-card:hover,
.person:hover,
.result-card:hover,
.paper-item:hover,
.timeline-item:hover,
.profile-panel:hover,
.about-panel p:hover {
  border-color: rgba(69, 214, 255, 0.45);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(69, 214, 255, 0.2),
    0 0 34px rgba(69, 214, 255, 0.14);
  transform: translateY(-4px);
}

/* ---------- 新闻 ---------- */
.news-preview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.news-preview-head h2 {
  margin-bottom: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.news-card {
  padding: 26px;
}

.news-card time,
.timeline-item time {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.news-card h3 {
  font-size: 18px;
}

.news-card h3 a,
.timeline-item h2 a,
.project-item h3 a,
.result-body h3 a,
.paper-content h2 a {
  color: #ffffff;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1.5px no-repeat;
  transition: background-size 0.35s ease, color 0.25s ease;
}

.news-card h3 a:hover,
.timeline-item h2 a:hover,
.project-item h3 a:hover,
.result-body h3 a:hover,
.paper-content h2 a:hover {
  color: var(--cyan);
  background-size: 100% 1.5px;
}

.news-card p,
.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
}

.text-link::after {
  content: "→";
  transition: transform 0.3s ease;
}

.text-link:hover {
  color: #ffffff;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* ---------- 概览指标 ---------- */
.metrics,
.profile-summary {
  display: grid;
  width: min(100%, var(--content));
  margin: 0 auto 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.metrics {
  grid-template-columns: repeat(4, 1fr);
}

.profile-summary {
  grid-template-columns: repeat(4, 1fr);
}

.metrics article,
.profile-summary article {
  padding: 22px 28px;
  border-right: 1px solid var(--line);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.metrics article:last-child,
.profile-summary article:last-child {
  border-right: 0;
}

.metrics article:hover,
.profile-summary article:hover {
  background: rgba(79, 141, 255, 0.08);
  box-shadow: inset 0 -3px 0 var(--cyan);
}

.metrics strong,
.profile-summary strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
  font-weight: 850;
  line-height: 1;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(69, 214, 255, 0.35));
}

.metrics span,
.profile-summary span {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 研究方向 ---------- */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.research-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px 18px;
  align-items: start;
  padding: 24px;
}

.research-card .card-icon {
  grid-row: 1 / 3;
}

.card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 8px 24px rgba(69, 214, 255, 0.3);
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.research-card:nth-child(2) .card-icon {
  color: #03212f;
  background: linear-gradient(135deg, var(--cyan), #6cf2b0);
}

.research-card:nth-child(3) .card-icon {
  background: linear-gradient(135deg, var(--violet), var(--blue));
}

.research-card:nth-child(4) .card-icon {
  background: linear-gradient(135deg, #ff7ab8, var(--violet));
}

.research-card:hover .card-icon {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 12px 30px rgba(69, 214, 255, 0.45);
}

.research-card h3,
.research-card p {
  grid-column: 2;
}

.research-card h3 {
  margin: 0 0 8px;
}

.research-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- 项目 ---------- */
.project-list {
  display: grid;
  gap: 12px;
}

.project-item {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease,
    border-color 0.3s ease;
}

.project-item:hover {
  border-color: rgba(69, 214, 255, 0.45);
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.38),
    0 0 30px rgba(69, 214, 255, 0.12);
  transform: translateX(6px);
}

.project-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-item h3 {
  margin: 0;
  font-size: 18px;
}

.project-item p {
  margin: 0;
  color: var(--muted);
}

/* ---------- 团队 ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.4fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: stretch;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.team-grid.single {
  display: flex;
  max-width: 660px;
}

.team-grid.single .person.lead-person {
  width: 100%;
  align-content: space-between;
}

.team-actions .button {
  min-height: 40px;
  padding: 8px 16px;
}

.person {
  padding: 24px;
}

.avatar {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 8px 24px rgba(69, 214, 255, 0.3);
  font-weight: 850;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.person:hover .avatar {
  transform: rotate(-8deg) scale(1.08);
}

.person.lead-person {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px 22px;
  align-items: center;
}

.person.lead-person .person-photo {
  grid-row: 1 / 5;
  width: 150px;
  height: 190px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.person-photo,
.postdoc-photo,
.profile-photo {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.person:hover .person-photo,
.postdoc-profile:hover .postdoc-photo,
.profile-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 0 0 1px rgba(69, 214, 255, 0.25), 0 0 34px rgba(69, 214, 255, 0.18);
}

.person.lead-person h3,
.person.lead-person p,
.person.lead-person a {
  grid-column: 2;
}

.person p {
  margin: 0 0 10px;
  color: var(--muted);
}

.person > a {
  color: var(--cyan);
  font-size: 14px;
}

.profile-link {
  width: fit-content;
  margin-top: 14px;
}

.team-actions,
.page-actions,
.profile-actions,
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* ---------- 代表性成果 ---------- */
.publication-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pub;
}

.publication-list li {
  position: relative;
  padding: 18px 20px 18px 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.publication-list li::before {
  counter-increment: pub;
  content: counter(pub, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
  opacity: 0.85;
}

.publication-list li:hover {
  border-color: rgba(69, 214, 255, 0.42);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  transform: translateX(4px);
}

.publication-list strong {
  display: block;
  color: #ffffff;
  font-weight: 700;
}

.publication-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.section-action {
  margin-top: 22px;
}

/* ---------- 加入我们 / 表单 ---------- */
.join {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 0.9fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
}

.contact-lines span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  vertical-align: 1px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

label {
  display: grid;
  gap: 7px;
  color: #dfeaff;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(157, 178, 214, 0.55);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 0 0 3px rgba(69, 214, 255, 0.16),
    0 0 24px rgba(69, 214, 255, 0.12);
  outline: none;
}

select option {
  color: var(--text);
  background: #0a1226;
}

textarea {
  resize: vertical;
}

/* ---------- 页脚 ---------- */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 30px clamp(24px, 4vw, 48px) 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: var(--cyan);
}

/* ---------- 子页 Hero ---------- */
.page-hero,
.profile-hero {
  position: relative;
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) clamp(24px, 4vw, 48px) clamp(40px, 5vw, 64px);
}

.page-hero::before,
.profile-hero::before {
  display: none;
}

.profile-hero .eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  vertical-align: 1px;
}

.page-hero h1,
.profile-hero h1 {
  font-size: clamp(34px, 4vw, 52px);
}

.page-hero .lead,
.profile-hero .lead,
.results-hero .lead {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.9;
}

.results-hero .lead {
  max-width: 860px;
}

.profile-hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.profile-photo {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(69, 214, 255, 0.1);
}

.profile-title {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 850;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.profile-tags span {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(79, 141, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.profile-tags span:hover {
  background: rgba(79, 141, 255, 0.16);
  box-shadow: 0 0 18px rgba(69, 214, 255, 0.2);
  transform: translateY(-2px);
}

.tag-label {
  margin: 26px 0 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- 个人主页内容 ---------- */
.profile-section,
.student-section,
.graduate-section,
.people-profile-section,
.results-section,
.news-page {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 84px) clamp(24px, 4vw, 48px);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.profile-panel {
  padding: 26px;
}

.profile-panel h2 {
  font-size: 22px;
}

.profile-panel p,
.clean-list,
.book-list {
  color: var(--muted);
}

.clean-list,
.book-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.clean-list li,
.book-list li {
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.clean-list li:hover,
.book-list li:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.book-list {
  margin-top: 22px;
}

/* ---------- 成果统计与筛选 ---------- */
.result-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  max-width: 940px;
  margin-top: 30px;
}

.result-stats a {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.result-stats a:hover {
  border-color: rgba(69, 214, 255, 0.45);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(69, 214, 255, 0.2),
    0 0 30px rgba(69, 214, 255, 0.12);
  transform: translateY(-4px);
}

.result-stats strong {
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(69, 214, 255, 0.35));
}

.result-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.result-jump-nav {
  position: sticky;
  top: 80px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(100%, var(--content));
  margin: 0 auto 8px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 14, 32, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.result-jump-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 750;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease;
}

.result-jump-nav a:hover {
  color: #ffffff;
  background: rgba(79, 141, 255, 0.16);
  border-color: rgba(69, 214, 255, 0.4);
  box-shadow: 0 8px 22px rgba(31, 120, 255, 0.25);
  transform: translateY(-2px);
}

.paper-filter {
  display: grid;
  grid-template-columns: minmax(240px, 0.4fr) 1fr;
  gap: 24px;
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 26px 30px;
  border-radius: 0 0 20px 20px;
  border-top: 0;
}

.paper-filter h2 {
  margin: 6px 0 10px;
  font-size: clamp(20px, 2vw, 26px);
}

.paper-filter p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  justify-content: flex-end;
}

.filter-controls label {
  display: grid;
  gap: 7px;
  min-width: 180px;
  color: var(--muted);
  font-size: 13px;
}

.filter-controls select {
  min-height: 42px;
  padding: 8px 38px 8px 12px;
  border-radius: 999px;
}

.filter-controls select:hover {
  border-color: rgba(69, 214, 255, 0.4);
  box-shadow: 0 8px 22px rgba(31, 120, 255, 0.18);
  transform: translateY(-2px);
}

.filter-status {
  grid-column: 1 / -1;
  color: var(--cyan) !important;
  font-weight: 700;
}

.publication-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.publication-toolbar span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
}

/* ---------- 成果列表 ---------- */
.result-list {
  display: grid;
  gap: 14px;
}

.result-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 22px;
}

.result-year {
  display: grid;
  width: 64px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 8px 22px rgba(69, 214, 255, 0.28);
  font-weight: 850;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.result-card:hover .result-year {
  box-shadow: 0 12px 30px rgba(69, 214, 255, 0.42);
  transform: scale(1.06) rotate(-3deg);
}

.result-body h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.result-body dl,
.paper-content dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 10px 22px;
  margin: 0;
}

.result-body dt,
.paper-content dt {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.result-body dd,
.paper-content dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.result-body dd a {
  color: var(--cyan);
}

.patent-card .result-body dl {
  grid-template-columns: repeat(3, minmax(160px, 1fr));
}

.result-card[hidden] {
  display: none !important;
}

/* ---------- 新闻时间线 ---------- */
.timeline-list {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 22px;
  padding: 26px;
}

.timeline-item h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.6vw, 28px);
}

/* ---------- 论文卡片 ---------- */
.paper-list {
  display: grid;
  gap: 16px;
}

.paper-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
}

.paper-year {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 26px rgba(69, 214, 255, 0.26);
  font-size: 19px;
  font-weight: 850;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.paper-item:hover .paper-year {
  box-shadow: 0 14px 34px rgba(69, 214, 255, 0.4);
  transform: scale(1.06) rotate(-3deg);
}

.paper-content h2 {
  margin: 0 0 12px;
  font-size: clamp(19px, 2.4vw, 26px);
}

.paper-content p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.paper-note {
  margin-top: 8px;
  color: rgba(157, 178, 214, 0.75) !important;
  font-size: 13px;
  line-height: 1.8;
}

.paper-item[hidden] {
  display: none !important;
}

.paper-toggle {
  width: fit-content;
  margin-top: 10px;
}

.compact-list .paper-item {
  padding: 20px 22px;
}

/* ---------- 折叠成果区 ---------- */
.collapsible-results {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.collapsible-results summary {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
  transition: background 0.3s ease;
}

.collapsible-results summary::-webkit-details-marker {
  display: none;
}

.collapsible-results summary:hover {
  background: rgba(79, 141, 255, 0.07);
}

.collapsible-results summary h2 {
  margin: 6px 0 8px;
  font-size: clamp(20px, 2.4vw, 28px);
}

.collapsible-results summary p {
  margin: 0;
  color: var(--muted);
}

.collapsible-results summary > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(69, 214, 255, 0.45);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.collapsible-results summary > span::after {
  content: "+";
  font-weight: 850;
}

.collapsible-results[open] summary > span {
  color: #03212f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(69, 214, 255, 0.35);
}

.collapsible-results[open] summary > span::after {
  content: "−";
}

.collapsible-results[open] .result-list {
  padding: 0 28px 28px;
}

/* ---------- 博士后 ---------- */
.postdoc-profile {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  padding: 28px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease,
    border-color 0.3s ease;
}

.postdoc-profile:hover {
  border-color: rgba(69, 214, 255, 0.4);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(69, 214, 255, 0.12);
  transform: translateY(-4px);
}

.postdoc-photo {
  width: 190px;
  height: 240px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
}

.postdoc-photo-fallback {
  display: grid;
  place-items: center;
  color: var(--cyan);
  background:
    radial-gradient(80% 80% at 30% 20%, rgba(69, 214, 255, 0.18), transparent 60%),
    linear-gradient(160deg, rgba(79, 141, 255, 0.16), rgba(69, 214, 255, 0.05));
  border: 1px dashed rgba(69, 214, 255, 0.45);
  font-size: 42px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-shadow: 0 0 24px rgba(69, 214, 255, 0.45);
}

.postdoc-aside {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.postdoc-profile h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.4vw, 38px);
}

.profile-role {
  margin: 0 0 16px;
  color: var(--cyan);
  font-weight: 800;
}

.profile-details {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.profile-details div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.profile-details dt {
  color: #dfeaff;
  font-weight: 850;
}

.profile-details dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

/* ---------- 学生 / 毕业生表格 ---------- */
.student-table,
.graduate-table {
  overflow: hidden;
}

.student-row,
.graduate-row {
  display: grid;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.student-row {
  grid-template-columns: 140px minmax(120px, 0.35fr) 1fr;
  gap: 18px;
}

.graduate-row {
  grid-template-columns: 110px 90px 120px minmax(260px, 1fr) 120px;
  gap: 16px;
}

.student-row:last-child,
.graduate-row:last-child {
  border-bottom: 0;
}

.student-row:not(.table-head):hover,
.graduate-row:not(.table-head):hover {
  background: rgba(79, 141, 255, 0.07);
  box-shadow: inset 3px 0 0 var(--cyan);
}

.student-row span,
.graduate-row span {
  color: var(--muted);
}

.student-row strong,
.graduate-row strong {
  color: #ffffff;
}

.student-row.table-head,
.graduate-row.table-head {
  color: #ffffff;
  background: linear-gradient(90deg, rgba(79, 141, 255, 0.16), rgba(69, 214, 255, 0.05));
  font-weight: 800;
}

.table-head span {
  color: var(--text) !important;
}

/* ---------- 文章页 ---------- */
.article-page {
  width: min(100%, 880px);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) clamp(24px, 4vw, 48px);
}

.article-header {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.2;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 14px;
}

.article-meta span,
.article-meta time {
  display: inline-flex;
  align-items: center;
}

.article-meta span + span::before,
.article-meta time + span::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.article-body {
  padding-top: 30px;
}

.article-body p {
  color: var(--muted);
  font-size: 17px;
}

.article-body h2 {
  margin: 34px 0 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: clamp(22px, 2.8vw, 30px);
}

.article-lead {
  color: var(--text) !important;
  font-size: 19px !important;
  font-weight: 650;
}

.article-figure {
  margin: 26px 0 30px;
}

.article-figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.article-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.hero-figure {
  margin-top: 0;
}

.article-figure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 26px 0;
}

.article-figure-grid .article-figure {
  margin: 0;
}

.article-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 26px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.article-info-grid div {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}

.article-info-grid div:last-child {
  border-right: 0;
}

.article-info-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 14px;
}

.article-info-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 讲座 / 杂项列表 ---------- */
.talk-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
}

.compact-long-list {
  gap: 8px;
}

/* ---------- 滚动动效层 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), #9d7bff);
  box-shadow: 0 0 14px rgba(69, 214, 255, 0.7);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.92), rgba(25, 184, 255, 0.92));
  box-shadow:
    0 12px 30px rgba(31, 120, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.3s ease, box-shadow 0.3s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  box-shadow:
    0 16px 38px rgba(31, 160, 255, 0.6),
    0 0 24px rgba(69, 214, 255, 0.4);
  transform: translateY(-4px) scale(1.06);
}

.to-top:active {
  transform: scale(0.94);
}

.to-top:hover svg {
  animation: to-top-bounce 1.1s ease-in-out infinite;
}

@keyframes to-top-bounce {
  0%,
  100% {
    transform: translateY(1px);
  }
  50% {
    transform: translateY(-3px);
  }
}

.js-anim .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.js-anim .reveal.reveal-left {
  transform: translateX(-32px);
}

.js-anim .reveal.reveal-right {
  transform: translateX(32px);
}

.js-anim .reveal.reveal-zoom {
  transform: scale(0.94) translateY(12px);
}

.js-anim .reveal.reveal-hero {
  transform: translateY(24px);
}

.js-anim .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.animate-in {
  animation: card-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 移动端 ---------- */
@media (max-width: 1020px) {
  .hero,
  .split,
  .join,
  .profile-hero,
  .profile-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .research-grid {
    grid-template-columns: 1fr;
  }

  .metrics,
  .profile-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics article:nth-child(2),
  .profile-summary article:nth-child(2) {
    border-right: 0;
  }

  .metrics article:nth-child(-n + 2),
  .profile-summary article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .patent-card .result-body dl,
  .result-body dl,
  .paper-content dl {
    grid-template-columns: 1fr;
  }

  .article-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-info-grid div:nth-child(2) {
    border-right: 0;
  }

  .talk-list {
    grid-template-columns: 1fr;
  }

  .paper-filter {
    grid-template-columns: 1fr;
  }

  .filter-controls {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 8px;
    width: auto;
    margin: 8px 10px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .site-header.is-scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .buaa-wordmark,
  .brand-divider {
    display: none;
  }

  .brand-text small {
    display: none;
  }

  .brand-text {
    grid-template-columns: 32px auto;
  }

  .nav-lab-logo {
    width: 32px;
    height: 32px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(280px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 13, 30, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(69, 214, 255, 0.08);
  }

  .site-nav a {
    color: var(--muted);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    gap: 4px;
    animation: nav-drop 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .site-nav.is-open a {
    opacity: 0;
    animation: nav-item-in 0.35s ease forwards;
    animation-delay: calc(var(--nav-index, 0) * 45ms + 80ms);
  }

  .site-nav a:nth-child(1) {
    --nav-index: 0;
  }

  .site-nav a:nth-child(2) {
    --nav-index: 1;
  }

  .site-nav a:nth-child(3) {
    --nav-index: 2;
  }

  .site-nav a:nth-child(4) {
    --nav-index: 3;
  }

  .site-nav a:nth-child(5) {
    --nav-index: 4;
  }

  .site-nav a:nth-child(6) {
    --nav-index: 5;
  }

  .site-nav a:nth-child(7) {
    --nav-index: 6;
  }

  .site-nav a:nth-child(8) {
    --nav-index: 7;
  }

  @keyframes nav-drop {
    from {
      opacity: 0;
      transform: translateY(-10px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes nav-item-in {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  h1 {
    font-size: 38px;
  }

  .hero {
    padding: 56px 20px 48px;
    gap: 34px;
  }

  .hero-title-lockup {
    flex-wrap: wrap;
    white-space: normal;
  }

  .hero-title-lockup h1 {
    white-space: normal;
  }

  .news-grid,
  .research-grid,
  .team-grid,
  .profile-grid,
  .about-panel {
    grid-template-columns: 1fr;
  }

  .section,
  .band,
  .news-preview,
  .page-hero,
  .profile-hero,
  .article-page,
  .profile-section,
  .student-section,
  .graduate-section,
  .people-profile-section,
  .results-section,
  .news-page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .band {
    border-radius: 20px;
  }

  .section-heading.compact,
  .news-preview-head,
  .project-item,
  .paper-item,
  .result-card,
  .timeline-item,
  .postdoc-profile,
  .person.lead-person,
  .profile-details div,
  .site-footer {
    display: block;
  }

  .person.lead-person .person-photo,
  .postdoc-photo,
  .profile-photo {
    margin-bottom: 18px;
  }

  .result-year,
  .paper-year {
    margin-bottom: 14px;
  }

  .student-row,
  .graduate-row {
    display: block;
  }

  .student-row span,
  .student-row strong,
  .graduate-row span,
  .graduate-row strong {
    display: block;
  }

  .student-row span + strong,
  .student-row strong + span,
  .graduate-row span + strong,
  .graduate-row strong + span {
    margin-top: 5px;
  }

  .student-row.table-head,
  .graduate-row.table-head {
    display: none;
  }

  .metrics,
  .profile-summary {
    grid-template-columns: 1fr;
  }

  .metrics article,
  .profile-summary article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics article:last-child,
  .profile-summary article:last-child {
    border-bottom: 0;
  }

  .article-info-grid {
    grid-template-columns: 1fr;
  }

  .article-info-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .article-info-grid div:last-child {
    border-bottom: 0;
  }

  .article-figure-grid {
    grid-template-columns: 1fr;
  }

  .result-jump-nav {
    top: 64px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .paper-filter {
    padding: 22px 20px;
  }

  .filter-controls,
  .filter-controls label,
  .filter-controls .button {
    width: 100%;
  }

  .collapsible-results summary {
    display: block;
  }

  .collapsible-results summary > span {
    display: inline-flex;
    margin-top: 16px;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }

  [id] {
    scroll-margin-top: 84px;
  }
}

/* ---------- 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-anim .reveal,
  .js-anim .reveal.reveal-left,
  .js-anim .reveal.reveal-right,
  .js-anim .reveal.reveal-zoom,
  .js-anim .reveal.reveal-hero {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* =========================================================
   新闻照片墙
   横向滚动 + 吸附翻页，自动轮播，支持键盘与减少动效
   ========================================================= */

.news-wall {
  position: relative;
}

.news-wall-viewport {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 34px 10px 2px;
}

.news-wall-viewport::-webkit-scrollbar {
  display: none;
}

.news-wall-card {
  position: relative;
  flex: 0 0 min(86vw, 520px);
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease,
    box-shadow 0.35s ease;
}

.news-wall-card:hover {
  border-color: rgba(69, 214, 255, 0.45);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(69, 214, 255, 0.12);
  transform: translateY(-4px);
}

.news-wall-media {
  display: block;
  position: relative;
}

.news-wall-media > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-wall-card:hover .news-wall-media > img {
  transform: scale(1.05);
}

.news-wall-cover {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(60% 70% at 28% 22%, rgba(79, 141, 255, 0.35), transparent 60%),
    radial-gradient(52% 62% at 76% 76%, rgba(69, 214, 255, 0.22), transparent 60%),
    linear-gradient(135deg, #0a1838, #0b1226);
}

.news-wall-cover img {
  width: 34%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 50px rgba(69, 214, 255, 0.35);
}

.news-wall-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(4, 8, 20, 0.9) 84%);
  pointer-events: none;
}

.news-wall-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px 20px;
}

.news-wall-body time {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.news-wall-body h3 {
  margin: 6px 0 8px;
  color: #ffffff;
  font-size: 20px;
}

.news-wall-body p {
  margin: 0;
  color: rgba(234, 242, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-wall-arrow {
  position: absolute;
  top: 38%;
  z-index: 5;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(69, 214, 255, 0.4);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(13, 42, 110, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.news-wall-arrow:hover {
  background: rgba(29, 102, 209, 0.75);
  box-shadow: 0 0 24px rgba(69, 214, 255, 0.4);
  transform: translateY(-50%) scale(1.06);
}

.news-wall-arrow.prev {
  left: 12px;
}

.news-wall-arrow.next {
  right: 12px;
}

.news-wall-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.news-wall-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(148, 190, 255, 0.3);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.news-wall-dot.is-active {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 12px rgba(69, 214, 255, 0.7);
  transform: scale(1.25);
}

@media (max-width: 760px) {
  .news-wall-card {
    flex-basis: 88vw;
  }

  .news-wall-arrow {
    width: 36px;
    height: 36px;
  }

  .news-wall-body h3 {
    font-size: 18px;
  }
}

/* =========================================================
   布局统一重构
   统一区块容器、间距、表格与面板样式
   ========================================================= */

/* 所有主区块使用同一容器与节奏 */
.section,
.band,
.news-preview {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 110px) clamp(24px, 4vw, 48px);
}

/* band 不再额外套一层外框，与普通区块完全一致 */
.band {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* 子页面内容区与主区块节奏一致 */
.profile-section,
.student-section,
.graduate-section,
.people-profile-section,
.results-section,
.news-page {
  padding: clamp(64px, 8vw, 104px) clamp(24px, 4vw, 48px);
}

/* 学生 / 毕业生表格：交替行、统一表头、舒适密度 */
.student-table,
.graduate-table {
  overflow: hidden;
}

.student-row:not(.table-head):nth-child(even),
.graduate-row:not(.table-head):nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

.student-row:not(.table-head):hover,
.graduate-row:not(.table-head):hover {
  background: rgba(79, 141, 255, 0.09);
  box-shadow: inset 3px 0 0 var(--cyan);
}

/* 论文筛选面板：独立完整卡片 */
.paper-filter {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* 新闻页照片墙与时间线间距 */
.news-page .news-wall {
  margin-bottom: 44px;
}

/* 区块标题统一呼吸感 */
.section-heading {
  margin-bottom: 36px;
}

/* 折叠成果区底部留白 */
.collapsible-results {
  margin-bottom: 14px;
}

/* ---------- 2026-08 视觉评审修复 ---------- */

/* 新闻墙卡片：加深底部渐变蒙层，避免人群密集照片上文字难读 */
.news-wall-shade {
  background: linear-gradient(
    180deg,
    rgba(4, 8, 20, 0.06) 0%,
    rgba(4, 8, 20, 0.42) 44%,
    rgba(4, 8, 20, 0.88) 76%,
    rgba(3, 6, 16, 0.97) 100%
  );
}

/* 新闻墙卡片文字加投影，进一步保证叠图可读性 */
.news-wall-body {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

/* 联系表单提示文字 */
.form-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.form-hint a {
  color: var(--cyan);
}

/* 英文小标签（News / About / PhD Candidates 等）提亮加大 */
.eyebrow {
  color: #6fe0ff;
  font-size: 13px;
}
