/* ==========================================================================
   医界前沿 · Med Frontier
   权威医学知识文库 · 主样式表
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --ink-900: #0b1e28;          /* 深墨蓝（页脚/主标题） */
  --ink-800: #122c39;
  --ink-700: #163a49;
  --blue-700: #11567e;         /* 主品牌蓝 */
  --blue-600: #1a6b94;
  --teal-500: #2a9d8f;         /* 辅助青绿 */
  --gold-500: #c8a24a;         /* 尊贵金 */
  --gold-400: #d9b967;

  --paper: #ffffff;            /* 卡片底 */
  --mist: #f4f8fb;             /* 页面浅底 */
  --mist-2: #eaf1f6;
  --line: #e2ebf1;             /* 描边 */

  --text: #1c2b33;             /* 正文 */
  --text-soft: #51666f;        /* 次级文字 */
  --text-faint: #8498a0;       /* 弱化文字 */

  --shadow-sm: 0 2px 10px rgba(11, 30, 40, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 30, 40, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 30, 40, 0.16);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", "Times New Roman", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1200px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--mist);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; border: none; outline: none; background: none; }

::selection { background: rgba(42, 157, 143, 0.25); color: var(--ink-900); }

/* ---------- 滚动入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   顶栏
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header.scrolled,
.site-header.solid {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.site-header.scrolled .brand-cn,
.site-header.solid .brand-cn { color: var(--ink-900); }
.site-header.scrolled .brand-en,
.site-header.solid .brand-en { color: var(--text-faint); }
.site-header.scrolled .brand-mark,
.site-header.solid .brand-mark { background: rgba(17, 86, 126, 0.08); }
.site-header.scrolled .nav-link,
.site-header.solid .nav-link { color: var(--text-soft); }
.site-header.scrolled .nav-link.active,
.site-header.scrolled .nav-link:hover,
.site-header.solid .nav-link.active,
.site-header.solid .nav-link:hover { color: var(--blue-700); }

/* 品牌 */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.35s var(--ease);
}
.brand:hover .brand-mark { transform: translateY(-2px); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-cn {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  transition: color 0.3s var(--ease);
}
.brand-en {
  font-size: 9.5px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s var(--ease);
}

/* 导航 */
.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative;
  padding: 8px 15px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 10px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled .nav-toggle span,
.site-header.solid .nav-toggle span { background: var(--ink-900); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  box-shadow: 0 8px 22px rgba(17, 86, 126, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(17, 86, 126, 0.4); }
.btn-outline {
  background: transparent;
  color: var(--blue-700);
  border: 1.5px solid var(--blue-700);
}
.btn-outline:hover { background: var(--blue-700); color: #fff; }
.btn-ghost {
  padding: 9px 20px;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; }
.site-header.scrolled .btn-ghost,
.site-header.solid .btn-ghost { color: var(--blue-700); border-color: var(--blue-700); }
.site-header.scrolled .btn-ghost:hover,
.site-header.solid .btn-ghost:hover { background: var(--blue-700); color: #fff; }

/* ==========================================================================
   Hero 首屏
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 48px) 28px 40px;
  background: linear-gradient(160deg, #0d3145 0%, #11567e 55%, #1a6b94 100%);
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.orb-1 { width: 460px; height: 460px; top: -140px; right: -80px; background: radial-gradient(circle, rgba(42, 157, 143, 0.6), transparent 70%); }
.orb-2 { width: 420px; height: 420px; bottom: -160px; left: -100px; background: radial-gradient(circle, rgba(200, 162, 74, 0.35), transparent 70%); }

.hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 22px;
}
.hero-title .accent {
  color: var(--gold-400);
  background: linear-gradient(100deg, var(--gold-400), #f0d79a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  max-width: 620px;
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 36px;
}
.hero-sub .highlight { color: #fff; font-weight: 600; border-bottom: 2px solid var(--gold-400); padding-bottom: 1px; }

/* 搜索框 */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 640px;
  background: #fff;
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  box-shadow: var(--shadow-lg);
}
.search-icon { color: var(--text-faint); flex: 0 0 auto; }
.search-box input {
  flex: 1;
  font-size: 16px;
  color: var(--text);
  min-width: 0;
}
.search-box input::placeholder { color: var(--text-faint); }
.search-hot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}
.hot-tag {
  padding: 5px 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}
.hot-tag:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.6); color: #fff; }

/* 数据统计 */
.hero-stats {
  position: relative;
  max-width: var(--maxw);
  margin: 56px auto 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  text-align: center;
  padding: 20px 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
}
.stat-num {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.stat-plus { font-size: 20px; color: var(--gold-400); }
.stat-label {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 1px;
  margin-top: 2px;
}

/* ==========================================================================
   权威背书条
   ========================================================================== */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.trust-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-title {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text-faint);
  flex: 0 0 auto;
}
.trust-logos { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.trust-logo {
  font-size: 14px;
  color: var(--text-soft);
  opacity: 0.75;
  transition: opacity 0.25s var(--ease);
}
.trust-logo:hover { opacity: 1; color: var(--blue-700); }

/* ==========================================================================
   通用 section
   ========================================================================== */
.section { padding: 96px 28px; max-width: var(--maxw); margin: 0 auto; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-eyebrow {
  font-size: 12.5px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 14px;
  font-weight: 600;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.section-desc { color: var(--text-soft); font-size: 16.5px; }

/* ==========================================================================
   学科分类
   ========================================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
}
.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}
.category-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue-600), var(--teal-500));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.category-card:hover::before { opacity: 1; }
.cat-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--mist);
  color: var(--blue-700);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.category-card:hover .cat-icon { background: var(--blue-700); color: #fff; }
.cat-name { font-size: 17px; font-weight: 700; color: var(--ink-800); }
.cat-count { font-size: 12.5px; color: var(--text-faint); letter-spacing: 0.5px; }

/* ==========================================================================
   医学文库
   ========================================================================== */
.library-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 18px;
  font-size: 14px;
  color: var(--text-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}
.chip:hover { border-color: var(--blue-600); color: var(--blue-700); }
.chip.active {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #fff;
  box-shadow: 0 6px 16px rgba(17, 86, 126, 0.28);
}
.result-count { font-size: 14px; color: var(--text-faint); }

.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.entry-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.entry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(17, 86, 126, 0.35);
}
.entry-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.entry-cat {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--blue-700);
  background: rgba(17, 86, 126, 0.08);
  border-radius: 6px;
}
.entry-cat.teal { color: var(--teal-500); background: rgba(42, 157, 143, 0.1); }
.entry-cat.gold { color: #9a7a2e; background: rgba(200, 162, 74, 0.14); }
.entry-title { font-size: 19px; font-weight: 700; color: var(--ink-900); margin-bottom: 10px; }
.entry-summary {
  font-size: 14.5px;
  color: var(--text-soft);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.entry-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-faint);
}
.entry-more { display: inline-flex; align-items: center; gap: 4px; color: var(--blue-700); font-weight: 600; transition: gap 0.25s var(--ease); }
.entry-card:hover .entry-more { gap: 8px; }

/* 空状态 */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-faint);
}
.empty-state svg { margin: 0 auto 16px; color: var(--line); }

/* ---------- 详情弹层 ---------- */
.entry-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.entry-modal.open { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 30, 40, 0.55);
  backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: 86vh;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.35s var(--ease);
}
.entry-modal.open .modal-panel { transform: none; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease);
}
.modal-close:hover { color: var(--ink-900); transform: rotate(90deg); }
.modal-body { padding: 40px 42px; overflow-y: auto; max-height: 86vh; }
.modal-body::-webkit-scrollbar { width: 8px; }
.modal-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.m-head { margin-bottom: 20px; }
.m-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.m-title { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--ink-900); margin-bottom: 12px; line-height: 1.35; }
.m-meta { font-size: 13px; color: var(--text-faint); }
.m-section { margin: 22px 0; }
.m-section h4 {
  font-size: 15px;
  color: var(--blue-700);
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.m-section p { font-size: 15.5px; color: var(--text); margin-bottom: 10px; }
.m-list { padding-left: 4px; }
.m-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.m-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
}
.m-warn {
  margin-top: 24px;
  padding: 16px 18px;
  background: rgba(200, 162, 74, 0.1);
  border-left: 3px solid var(--gold-500);
  border-radius: 8px;
  font-size: 13.5px;
  color: #7a5f22;
  line-height: 1.6;
}

/* ==========================================================================
   临床指南
   ========================================================================== */
.guidelines { background: linear-gradient(180deg, var(--mist) 0%, #eef4f8 100%); }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.guide-tag {
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-500);
  background: rgba(42, 157, 143, 0.1);
  border-radius: 6px;
  margin-bottom: 14px;
}
.guide-title { font-size: 17.5px; font-weight: 700; color: var(--ink-900); margin-bottom: 8px; line-height: 1.5; }
.guide-desc { font-size: 14px; color: var(--text-soft); flex: 1; }
.guide-meta { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-faint); }
.guide-card-link { cursor: pointer; }
.guide-card-link:hover { border-color: rgba(17, 86, 126, 0.35); }
.guide-foot { display: flex; justify-content: flex-end; margin-top: 12px; }
.guide-more { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--blue-700); transition: gap 0.25s var(--ease); }
.guide-card-link:hover .guide-more { gap: 9px; }
.guide-more.is-muted { color: var(--text-faint); font-weight: 400; }

/* ==========================================================================
   关于平台
   ========================================================================== */
.about { max-width: var(--maxw); }
.about-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.about-text .section-eyebrow { text-align: left; }
.about-text .section-title { margin-bottom: 20px; }
.about-desc { font-size: 16px; color: var(--text-soft); margin-bottom: 26px; }
.about-points { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.about-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text); }
.point-dot {
  flex: 0 0 auto;
  width: 8px; height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.16);
}
.about-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.about-visual { position: relative; }
.visual-card {
  background: linear-gradient(150deg, #0d3145, #11567e);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.visual-head {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}
.visual-badge {
  padding: 8px 20px;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--gold-400);
  border: 1px solid rgba(200, 162, 74, 0.5);
  border-radius: 999px;
}
.visual-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.visual-row:last-child { border-bottom: none; }
.v-label { font-size: 14.5px; color: rgba(255, 255, 255, 0.72); }
.v-value { font-family: var(--serif); font-size: 20px; font-weight: 700; color: #fff; letter-spacing: 1px; }

/* ==========================================================================
   页脚 · 导航页面
   ========================================================================== */
.site-footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.72);
}
.footer-top {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 28px 48px;
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px;
}
.footer-brand-col { padding-right: 20px; }
.brand-footer { margin-bottom: 20px; }
.brand-footer .brand-cn { color: #fff; }
.brand-footer .brand-en { color: rgba(255, 255, 255, 0.5); }
.footer-slogan {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 3px;
  color: var(--gold-400);
  margin-bottom: 12px;
}
.footer-intro { font-size: 14px; line-height: 1.8; max-width: 280px; }

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 2px;
  background: var(--gold-500);
}
.footer-nav-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-nav-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.footer-nav-col a:hover { color: var(--gold-400); padding-left: 4px; }

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer-disclaimer p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}
.footer-disclaimer strong { color: rgba(255, 255, 255, 0.7); }

.footer-partners {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-partners-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px;
}
.footer-partners-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-partners-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 2px;
  background: var(--gold-500);
}
.footer-partners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
}
.footer-partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
a.footer-partner:hover {
  border-color: var(--gold-500);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.footer-partner-logo {
  width: 32px; height: 32px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 3px;
}
.footer-partner-name {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}
.footer-partners-empty {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.copyright { font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.icp a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s var(--ease);
}
.icp a:hover { color: var(--gold-400); }

/* ==========================================================================
   学术会议 · 列表
   ========================================================================== */
.conf-hero {
  padding: calc(var(--header-h) + 56px) 28px 48px;
  background: linear-gradient(160deg, #0d3145 0%, #11567e 60%, #1a6b94 100%);
  color: #fff;
}
.conf-hero-inner { max-width: var(--maxw); margin: 0 auto; }
.conf-hero-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.conf-hero-sub { max-width: 720px; font-size: 16px; color: rgba(255, 255, 255, 0.85); }
.conf-section { padding-top: 64px; }

.conference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}
.conference-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.conference-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.conf-cover {
  position: relative;
  min-height: 132px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #0f3f59, #1a6b94);
  overflow: hidden;
}
.conf-cover img { width: 100%; height: 168px; object-fit: cover; }
.conf-state {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(6px);
}
.conf-state.live { background: rgba(214, 61, 61, 0.92); }
.conf-state.soon { background: rgba(200, 162, 74, 0.95); color: #3a2c07; }
.conf-state.ended { background: rgba(11, 30, 40, 0.62); }
.conf-views {
  position: absolute;
  right: 14px; bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  color: #fff;
  background: rgba(11, 30, 40, 0.5);
  backdrop-filter: blur(6px);
}
.conf-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 20px; }
.conf-title { font-size: 18.5px; font-weight: 700; color: var(--ink-900); line-height: 1.5; margin-bottom: 8px; }
.conf-sub { font-size: 14px; color: var(--text-soft); margin-bottom: 14px; }
.conf-meta { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.conf-meta li { font-size: 13.5px; color: var(--text-soft); }
.conf-meta li span {
  display: inline-block;
  min-width: 48px;
  color: var(--text-faint);
  font-size: 12.5px;
}
.conf-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }
.btn-conf { padding: 9px 20px; font-size: 14px; }
.conf-more.is-muted { font-size: 13px; color: var(--text-faint); }

.conf-note {
  margin-top: 56px;
  padding: 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
}
.conf-note h3 { font-size: 16px; color: var(--ink-900); margin-bottom: 12px; }
.conf-note ul { list-style: none; }
.conf-note li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.9;
}
.conf-note li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
}
.conf-note b { color: var(--blue-700); }

/* ==========================================================================
   学术会议 · 直播间
   ========================================================================== */
.live-hero {
  padding: calc(var(--header-h) + 44px) 28px 36px;
  background: linear-gradient(160deg, #0d3145 0%, #11567e 62%, #1a6b94 100%);
  color: #fff;
}
.live-hero-inner { max-width: var(--maxw); margin: 0 auto; }
.live-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.live-badge.live { background: #d63d3d; }
.live-badge.soon { background: var(--gold-500); color: #3a2c07; }
.live-badge.ended { background: rgba(255, 255, 255, 0.2); }
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: livePulse 1.6s ease-in-out infinite;
}
.live-dot.is-off { background: rgba(255, 255, 255, 0.45); animation: none; }
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.78); }
}
.live-back { font-size: 13.5px; color: rgba(255, 255, 255, 0.72); transition: color 0.25s var(--ease); }
.live-back:hover { color: #fff; }
.live-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.35;
  margin-bottom: 12px;
}
.live-sub { font-size: 16px; color: rgba(255, 255, 255, 0.82); margin-bottom: 20px; }
.live-meta { display: flex; flex-wrap: wrap; gap: 12px 34px; }
.live-meta li { font-size: 14px; color: rgba(255, 255, 255, 0.9); }
.live-meta li span { color: rgba(255, 255, 255, 0.55); margin-right: 8px; font-size: 12.5px; }
.live-meta b { color: var(--gold-400); font-size: 17px; }

.live-wrap { max-width: var(--maxw); margin: 0 auto; padding: 34px 28px 88px; }
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.live-main { min-width: 0; }
.live-side { display: flex; flex-direction: column; gap: 20px; }

.live-alert {
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 22px;
}
.live-alert.success { background: #e8f6ee; color: #157347; border: 1px solid #bfe6d1; }
.live-alert.error { background: #fdecea; color: #b42318; border: 1px solid #f5c6c2; }

.live-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b1e28;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.live-stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.live-stage-locked { display: grid; place-items: center; background: linear-gradient(150deg, #122c39, #0b1e28); }
.live-locked { max-width: 460px; padding: 32px; text-align: center; color: rgba(255, 255, 255, 0.82); }
.live-locked svg { margin: 0 auto 18px; color: var(--gold-400); }
.live-locked h3 { font-size: 19px; color: #fff; margin-bottom: 10px; }
.live-locked p { font-size: 14px; line-height: 1.9; }
.live-locked b { color: var(--gold-400); }

.live-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-soft);
}
.live-bar-count { display: inline-flex; align-items: center; gap: 8px; }
.live-bar-count .live-dot { background: #d63d3d; }
.live-bar-count b { color: var(--blue-700); font-size: 16px; }
.live-bar-link { display: inline-flex; align-items: center; gap: 5px; color: var(--blue-700); font-weight: 600; }
.live-bar-link:hover { text-decoration: underline; }

.live-about {
  margin-top: 20px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.live-about h3 { font-size: 16px; color: var(--ink-900); margin-bottom: 12px; }
.live-about p { font-size: 14.5px; color: var(--text-soft); line-height: 1.95; }

/* 登记卡片 */
.reg-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.reg-card.is-done { border-top-color: var(--teal-500); }
.reg-card-head { padding: 20px 22px 16px; border-bottom: 1px solid var(--line); }
.reg-card-head h3 { font-size: 17px; color: var(--ink-900); margin-bottom: 6px; }
.reg-card-head p { font-size: 13px; color: var(--text-faint); line-height: 1.7; }
.reg-done-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 22px;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}
.reg-done-list li { font-size: 14px; color: var(--ink-800); font-weight: 600; }
.reg-done-list li span {
  display: inline-block;
  min-width: 62px;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--text-faint);
}
.reg-form { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px 22px; }
.reg-form .field label { font-size: 13px; color: var(--text-soft); margin-bottom: 6px; }
.reg-form .field label i { color: #d63d3d; font-style: normal; }
.reg-form .field label em { color: var(--text-faint); font-style: normal; font-size: 12px; }
.reg-form .field input {
  width: 100%;
  padding: 10px 13px;
  font-size: 14.5px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.reg-form .field input:focus {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(17, 86, 126, 0.1);
}
.reg-submit { width: 100%; margin-top: 4px; }
.reg-tip { font-size: 12px; color: var(--text-faint); line-height: 1.7; text-align: center; }

.reg-list { padding: 16px 22px 20px; max-height: 360px; overflow-y: auto; }
.reg-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}
.reg-list li:last-child { border-bottom: none; }
.reg-list li b { font-size: 14px; color: var(--ink-800); }
.reg-list li span { font-size: 12.5px; color: var(--text-faint); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; padding-right: 0; }
}
@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 20px;
    background: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav .nav-link { color: var(--text-soft); padding: 13px 8px; border-bottom: 1px solid var(--line); }
  .site-nav .nav-link:last-child { border-bottom: none; }
  .site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--blue-700); }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .live-grid { grid-template-columns: 1fr; }
  .live-side { order: 2; }
}
@media (max-width: 620px) {
  .section { padding: 68px 20px; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .search-box { flex-wrap: wrap; border-radius: 22px; }
  .search-box input { flex: 1 1 100%; padding: 4px 2px; }
  .search-box .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding: 56px 20px 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .modal-body { padding: 30px 24px; }
  .entry-grid { grid-template-columns: 1fr; }
  .conference-grid { grid-template-columns: 1fr; }
  .conf-hero { padding-left: 20px; padding-right: 20px; }
  .live-hero { padding-left: 20px; padding-right: 20px; }
  .live-wrap { padding: 24px 20px 68px; }
  .live-meta { gap: 8px 20px; }
  .conf-note { padding: 22px 22px; }
}
