/* ============================================================
 * 崖州湾科研仪器预约共享平台 - 主样式表
 * 分层组织：tokens / base / layout / components / animations /
 *          responsive / accessibility / compatibility
 * 与 Tailwind 语义色对齐，组件类减少 HTML 重复
 * ============================================================ */

/* ============================================================
 * 1. 设计 Token
 * ============================================================ */
:root {
  /* 语义色 */
  --c-surface: #f7fafa;
  --c-surface-container: #e8f0f0;
  --c-surface-container-low: #eff5f5;
  --c-surface-container-lowest: #ffffff;
  --c-surface-bright: #f7fafa;
  --c-primary: #00696f;
  --c-primary-dim: #00dbe7;
  --c-primary-container: #00f2ff;
  --c-secondary: #0050cc;
  --c-tertiary: #006c49;
  --c-error: #ba1a1a;
  --c-on-surface: #131b2e;
  --c-on-surface-variant: #3a494b;
  --c-outline: #6a7a7b;
  --c-outline-variant: #b9cacb;

  /* 层级色（层级节点用） */
  --tier-1: #00696f;
  --tier-2: #0050cc;
  --tier-3: #006c49;

  /* 排名色 */
  --rank-gold: #FFD700;
  --rank-silver: #C0C0C0;
  --rank-bronze: #CD7F32;

  /* 阴影 */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);

  /* 容器 */
  --container-max: 1120px;
  --container-xl: 1200px;
}

/* ============================================================
 * 2. 基础样式
 * ============================================================ */
/* 整页布局同步缩小：根字号 16px -> 15px，全站 rem 尺寸（Tailwind 字号/间距）等比缩小 */
html { font-size: 15px; -webkit-text-size-adjust: 100%; }
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Montserrat", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.7;
}
/* 标题类字体栈补中文 fallback（tailwind-output 仅 Montserrat，中文回退系统默认） */
.font-display-lg, .font-headline-lg, .font-headline-md,
.font-label-md, .font-label-sm {
  font-family: "Montserrat", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
/* 中文标题不适用负字距，避免字型拥挤 */
.font-display-lg, .text-display-lg { letter-spacing: 0.01em; }
/* 中文正文行高放宽，阅读更顺 */
.text-body-md { line-height: 1.65; }
.text-body-lg { line-height: 1.75; }

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.portal-v2-page { display: flex; flex-direction: column; min-height: 100vh; }
.portal-v2-page > #portal-page-content {
  flex: 1 0 auto;
  min-width: 0;
  padding-top: var(--portal-header-height, 128px);
}
.portal-v2-page > #site-footer { flex-shrink: 0; }

/* ============================================================
 * 3. 布局工具
 * ============================================================ */
.container-app {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 1024px) {
  .container-app { max-width: var(--container-xl); padding-left: 24px; padding-right: 24px; }
}

.section {
  position: relative;
  isolation: isolate; /* 创建层叠上下文，让装饰伪元素位于背景之上、内容之下 */
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 1024px) { .section { padding-top: 3.5rem; padding-bottom: 3.5rem; } }

/* 板块副标题：统一字号/色阶/行高，全页观感一致 */
.section-subtitle {
  color: #5a6c6e;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* 科技感标题样式 */
.tech-title {
  position: relative;
  display: inline-block;
}
.tech-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #00dbE7, #0050cc);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 219, 231, 0.4);
}

/* 科技感主标题（带装饰线，横线与标题文字同宽） */
.tech-heading {
  position: relative;
  padding-bottom: 12px;
  width: fit-content;
  max-width: 100%;
}
.tech-heading::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00dbE7 0%, #00696f 50%, #0050cc 100%);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 219, 231, 0.5);
}

/* 居中科技标题 */
.tech-heading-center {
  position: relative;
  padding-bottom: 16px;
  display: inline-block;
}
.tech-heading-center::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00dbE7, #0050cc, transparent);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 219, 231, 0.4);
}

/* 导航项科技感 */
.nav-item-tech {
  position: relative;
  transition: color 0.25s ease;
}
.nav-item-tech::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00dbE7, #0050cc);
  border-radius: 1px;
  transition: width 0.3s ease;
  box-shadow: 0 0 6px rgba(0, 219, 231, 0.3);
}
.nav-item-tech:hover::after,
.nav-item-tech.active::after {
  width: 100%;
}

/* 下折区域按需渲染，降低首屏绘制开销 */
.cv-auto { content-visibility: auto; contain-intrinsic-size: 1px 600px; }

/* 入驻单位动画暂停控制：不可见时暂停所有动画，节省 GPU/CPU */
.eco-animations-paused .eco-particle,
.eco-animations-paused .eco-node,
.eco-animations-paused .eco-node-pulse,
.eco-animations-paused .radial-eco-line,
.eco-animations-paused .eco-side-card-glow,
.eco-animations-paused .radial-eco-core-glow {
  animation-play-state: paused !important;
}

/* ============================================================
 * 4. 组件 - 按钮
 * ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.75rem 2rem; border-radius: 0.5rem; font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
  white-space: nowrap; border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #00696f 0%, #008b8f 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 105, 111, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0, 105, 111, 0.4), 0 0 20px rgba(0, 219, 231, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-secondary {
  background: linear-gradient(135deg, #0050cc 0%, #3d6fff 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 80, 204, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-secondary:hover {
  box-shadow: 0 8px 24px rgba(0, 80, 204, 0.4), 0 0 20px rgba(61, 111, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-tertiary {
  background: linear-gradient(135deg, #006c49 0%, #00a870 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 108, 73, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-tertiary:hover {
  box-shadow: 0 8px 24px rgba(0, 108, 73, 0.4), 0 0 20px rgba(0, 168, 112, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-error { background: var(--c-error); color: #fff; box-shadow: var(--shadow-md); }
.btn-error:hover { box-shadow: 0 8px 20px -6px rgba(186, 26, 26, 0.4); }
.btn-outline {
  background: transparent;
  border-color: rgba(0, 105, 111, 0.3);
  color: var(--c-primary);
  transition: all 0.25s ease;
}
.btn-outline:hover {
  background: rgba(0, 219, 231, 0.08);
  border-color: rgba(0, 219, 231, 0.5);
  box-shadow: 0 0 12px rgba(0, 219, 231, 0.15);
}
.btn-outline-secondary { border-color: rgba(0, 80, 204, 0.3); color: var(--c-secondary); }
.btn-outline-secondary:hover {
  background: rgba(61, 111, 255, 0.08);
  border-color: rgba(61, 111, 255, 0.5);
  box-shadow: 0 0 12px rgba(61, 111, 255, 0.15);
}
.btn-outline-tertiary { border-color: rgba(0, 108, 73, 0.3); color: var(--c-tertiary); }
.btn-outline-tertiary:hover {
  background: rgba(0, 168, 112, 0.08);
  border-color: rgba(0, 168, 112, 0.5);
  box-shadow: 0 0 12px rgba(0, 168, 112, 0.15);
}
.btn-outline-error { border-color: rgba(186, 26, 26, 0.2); color: var(--c-error); }
.btn-outline-error:hover { background: rgba(186, 26, 26, 0.05); }

/* 按钮发光效果 */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.btn:hover::after {
  left: 100%;
}

/* ============================================================
 * 5. 组件 - 卡片 / 面板
 * ============================================================ */
.light-card {
  background-color: #fff;
  border: 1px solid rgba(185, 202, 203, 0.35);
  box-shadow: 0 2px 12px rgba(19, 27, 46, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.light-card:hover {
  border-color: rgba(0, 219, 231, 0.4);
  box-shadow: 0 8px 32px rgba(0, 105, 111, 0.1), 0 0 0 1px rgba(0, 219, 231, 0.15);
  transform: translateY(-2px);
}
.light-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 219, 231, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.light-card:hover::before {
  opacity: 1;
}

/* 玻璃拟态：兼容性降级，不支持的浏览器退回半透明白底 */
.glass-panel {
  background-color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 219, 231, 0.15);
  box-shadow: 0 8px 32px rgba(0, 105, 111, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.5);
  overflow: hidden;
  isolation: isolate;
  position: relative;
}
.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 219, 231, 0.4), transparent);
  pointer-events: none;
}
@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
  .glass-panel {
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    backdrop-filter: blur(16px) saturate(1.2);
  }
}

/* 排名色 / 进度条 */
.rank-gold { color: var(--rank-gold); }
.rank-silver { color: var(--rank-silver); }
.rank-bronze { color: var(--rank-bronze); }
.progress-bar-base {
  height: 0.5rem; width: 100%;
  background-color: var(--c-surface-container);
  border-radius: 9999px; overflow: hidden;
}

/* 新闻卡片悬停 */
.news-hover:hover { border-color: rgba(0, 105, 111, 0.3); box-shadow: var(--shadow-md); }
.news-hover:hover .news-icon { transform: scale(1.1); }

/* 闪光占位 */
.shimmer-card { position: relative; overflow: hidden; }

.feedback-instrument-picker { position: relative; }
.feedback-instrument-picker > input { padding-right: 2.75rem; }
.feedback-instrument-toggle {
  position: absolute; top: 0; right: 0; width: 2.75rem; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #3a494b; background: transparent; border: 0; cursor: pointer;
}
.feedback-instrument-toggle:hover { color: #00696f; }
.feedback-instrument-results {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 80;
  max-height: 220px; overflow-y: auto; padding: 4px 0;
  background: #fff; border: 1px solid rgba(185, 202, 203, .7);
  border-radius: 8px; box-shadow: 0 10px 24px rgba(19, 27, 46, .16);
}
.feedback-instrument-result {
  display: block; width: 100%; padding: 9px 12px; text-align: left;
  color: #3a494b; background: #fff; border: 0; cursor: pointer;
  font: inherit; line-height: 1.35;
}
.feedback-instrument-result:hover,
.feedback-instrument-result.is-active { color: #00696f; background: #eff5f5; }
.feedback-instrument-message { padding: 10px 12px; color: #6a7a7b; font-size: 12px; }
.shimmer-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform 0.6s; pointer-events: none;
}
.shimmer-card:hover::after { transform: translateX(100%); }

/* 网格背景装饰 - 增强科技感 */
.grid-bg {
  background-image:
    linear-gradient(rgba(0, 105, 111, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 105, 111, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(0, 219, 231, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 219, 231, 0.04) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;
}

/* 科技感网格 - 更密集的网格线 */
.tech-grid-bg {
  background-image:
    linear-gradient(rgba(0, 105, 111, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 105, 111, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(0, 219, 231, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 219, 231, 0.03) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px, 6px 6px, 6px 6px;
}

/* ============================================================
 * Hero 首屏底纹（问题清单：底纹改 + 背景色调整）
 * 柔和青绿渐变 + 细点阵 + 双侧柔光斑，替代原方格网格
 * ============================================================ */
.hero-texture-bg {
  background-color: #eef7f8;
  background-image:
    radial-gradient(ellipse 620px 420px at 12% 18%, rgba(0, 219, 231, 0.14), transparent 65%),
    radial-gradient(ellipse 720px 480px at 88% 82%, rgba(0, 105, 111, 0.10), transparent 65%),
    radial-gradient(rgba(0, 105, 111, 0.10) 1.2px, transparent 1.2px),
    linear-gradient(128deg, #f4fbfc 0%, #e9f4f6 48%, #dfeef1 100%);
  background-size: auto, auto, 22px 22px, auto;
}

/* Hero 统计卡背景图（问题清单：加背景图片），白色蒙版保证文字可读 */
.stats-card-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.78)),
    url('../assets/images/stats-card-bg.jpg');
  background-size: cover;
  background-position: center;
}

/* Hero 统计面板：玻璃容器 + 标题行 + 2x2 数据卡（优化单调空旷观感） */
.stats-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(243, 250, 251, 0.88));
  border: 1px solid rgba(0, 219, 231, 0.22);
  border-radius: 24px;
  padding: 18px 18px 20px;
  box-shadow: 0 18px 48px rgba(0, 105, 111, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
}
.stats-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 12px;
  margin-bottom: 14px;
  border-bottom: 1px dashed rgba(106, 122, 123, 0.35);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-on-surface);
}
.stats-panel-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00dbE7;
  animation: statsDotPulse 2.4s ease-in-out infinite;
}
@keyframes statsDotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0, 219, 231, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(0, 219, 231, 0.08); }
}
.stats-panel-en {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--c-outline);
}
.stats-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(185, 202, 203, 0.4);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.stats-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 219, 231, 0.5);
  box-shadow: 0 10px 24px rgba(0, 105, 111, 0.14);
}
.stats-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 219, 231, 0.16), rgba(0, 105, 111, 0.1));
  color: var(--c-primary);
}
.stats-card-icon .material-symbols-outlined { font-size: 19px; }
.stats-card-value {
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(120deg, #00696f 10%, #0050cc 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats-card-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-on-surface-variant);
}
.stats-card-watermark {
  position: absolute;
  right: -6px;
  bottom: -10px;
  font-size: 64px;
  color: rgba(0, 105, 111, 0.07);
  pointer-events: none;
  z-index: -1;
}

/* ============================================================
 * 重点实验室右侧海报（HTML 化重绘）
 * 版式：顶部主题渐变头 + 左数字卡 + 右标题描述
 * ============================================================ */
.lab-poster {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, #eef7f8 0%, #ffffff 42%, #ffffff 100%);
  overflow-y: auto;
}
.lab-poster-wave {
  flex-shrink: 0;
  height: 6px;
  background: linear-gradient(90deg, #00696f 0%, #00b7c6 55%, #0050cc 100%);
}
.lab-poster-title {
  font-size: 17px;
  font-weight: 700;
  color: #0d3f45;
  letter-spacing: 0.02em;
  padding: 16px 22px 4px;
}
.lab-poster-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 22px 20px;
}
.lab-poster-row {
  display: grid;
  grid-template-columns: minmax(132px, 160px) 1fr;
  gap: 14px;
  align-items: stretch;
}
.lab-poster-row > .lab-poster-section-only {
  grid-column: 1 / -1;
}
.lab-poster-metric {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  padding: 14px 10px;
  background: #ffffff;
  border: 1px solid #d8e8ea;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 105, 111, 0.08);
}
.lab-poster-metric strong {
  font-size: 21px;
  font-weight: 800;
  color: #00696f;
  line-height: 1.15;
}
.lab-poster-metric span {
  font-size: 12px;
  color: #5a6c6e;
  line-height: 1.4;
}
.lab-poster-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px 2px;
}
.lab-poster-section h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0d3f45;
  padding-left: 10px;
  border-left: 3px solid #00696f;
  line-height: 1.3;
}
.lab-poster-section p {
  font-size: 13px;
  color: #46606f;
  line-height: 1.65;
}
/* 海报模式下隐藏原图片与占位 */
.lab-hero.lab-poster-mode img,
.lab-hero.lab-poster-mode .lab-image-placeholder,
.lab-hero.lab-poster-mode #lab-badge {
  display: none !important;
}

/* 科技感扫描线效果 */
.scan-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 219, 231, 0.4), transparent);
  animation: scanLine 4s linear infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes scanLine {
  0% { top: 0; }
  100% { top: 100%; }
}

/* 科技感角标装饰 */
.tech-corners {
  position: relative;
}
.tech-corners::before,
.tech-corners::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 219, 231, 0.6);
  pointer-events: none;
}
.tech-corners::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}
.tech-corners::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

/* 四边角标装饰 */
.tech-corners-all::before,
.tech-corners-all::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(0, 219, 231, 0.5);
  pointer-events: none;
}
.tech-corners-all::before {
  top: 8px;
  left: 8px;
  border-right: none;
  border-bottom: none;
}
.tech-corners-all::after {
  bottom: 8px;
  right: 8px;
  border-left: none;
  border-top: none;
}

/* 科技边框效果 */
.tech-border {
  position: relative;
  background: #fff;
  border: none;
  border-radius: 12px;
}
.tech-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 219, 231, 0.4), rgba(0, 80, 204, 0.3), rgba(0, 105, 111, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* 科技发光边框 */
.tech-glow-border {
  position: relative;
}
.tech-glow-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 219, 231, 0.6), rgba(0, 80, 204, 0.4), rgba(0, 105, 111, 0.5));
  z-index: -1;
  filter: blur(8px);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.tech-glow-border:hover::after {
  opacity: 0.7;
}

/* 数据流动线效果 */
.data-flow {
  position: relative;
  overflow: hidden;
}
.data-flow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 219, 231, 0.8), transparent);
  animation: dataFlow 2s linear infinite;
}
@keyframes dataFlow {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* 行截断 */
.line-clamp-1, .line-clamp-2 {
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
}
.line-clamp-1 { -webkit-line-clamp: 1; }
.line-clamp-2 { -webkit-line-clamp: 2; }

/* 滚动条 */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background-color: var(--c-outline-variant); border-radius: 2px; }

/* ============================================================
 * 6. 顶部导航 / 下拉菜单
 *    约束：悬浮触发、与菜单栏同宽、上边距0、max-height:70vh、
 *          滚动时关闭、二级标题独占一行、三级项靠左对齐
 * ============================================================ */
#main-nav-list { position: static; }
#main-nav-list > li { position: static; }

[data-nav-item] .nav-dropdown {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(185, 202, 203, 0.3);
  border-radius: 0 0 8px 8px;
  z-index: 60;
  opacity: 0; visibility: hidden;
  /* 仅对 opacity/visibility 过渡，避免 left/top 定位延迟 */
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
[data-nav-item] .nav-dropdown.is-open { opacity: 1; visibility: visible; }

/* 下拉内容容器：自适应宽度，高度由内容决定 */
[data-nav-item] .nav-dropdown-inner {
  padding: 1.25rem 18rem;
  max-height: 65vh; overflow-y: auto;
}
[data-nav-item] .nav-section-wrap {
  display: flex; flex-direction: column; gap: 1.25rem; width: 100%;
}
[data-nav-item] .nav-section {
  width: 100%; display: flex; flex-direction: column; gap: 0.75rem;
}
[data-nav-item] .nav-section-title {
  display: inline-flex; align-items: center; gap: 0.5rem;
  max-width: 100%; padding: 0; border: none;
  font-size: 15px; font-weight: 700; color: var(--c-primary);
  background: transparent; margin: 0;
}
[data-nav-item] .nav-section-title > .material-symbols-outlined { font-size: 20px; flex-shrink: 0; }
[data-nav-item] .nav-title-text {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  min-width: 0;
}

[data-nav-item] .nav-tertiary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 1.5rem; row-gap: 0.25rem;
  width: 100%; list-style: none; margin: 0; padding: 0;
}
/* 小屏退化为 2 列，避免拥挤 */
@media (max-width: 900px) {
  [data-nav-item] .nav-tertiary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
[data-nav-item] .nav-tertiary-grid > li { width: 100%; display: flex; align-items: center; min-width: 0; }
[data-nav-item] .nav-tertiary-grid > li > a {
  display: flex; align-items: center; gap: 0.5rem; width: 100%;
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid rgba(185, 202, 203, 0.35);
  text-align: left; text-decoration: none;
  color: var(--c-on-surface); font-size: 14px; font-weight: 500;
  transition: color 0.2s, border-color 0.2s;
  overflow: hidden; min-width: 0;
}
[data-nav-item] .nav-tertiary-grid > li > a > .material-symbols-outlined {
  font-size: 20px; width: 20px; height: 20px; line-height: 20px;
  color: var(--c-primary); flex-shrink: 0;
}
[data-nav-item] .nav-text {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  min-width: 0; flex: 1;
}
[data-nav-item] .nav-tertiary-grid > li > a:hover { color: var(--c-primary); border-bottom-color: var(--c-primary); }
[data-nav-item] .nav-tertiary-grid > li > a:not([href]) { cursor: default; }
[data-nav-item] .nav-tertiary-grid > li > a:not([href]):hover { color: var(--c-on-surface); border-bottom-color: rgba(185, 202, 203, 0.35); }

[data-nav-item]:hover .nav-trigger { color: var(--c-primary); }
[data-nav-item]:hover .nav-arrow { transform: rotate(180deg); }

/* ============================================================
 * 7. 入驻单位 - 中心辐射环形扩散布局
 * ============================================================ */
.radial-eco-container {
  position: relative; width: 100%; max-width: 1200px;
  height: 600px; margin: 0 auto;
}
.radial-eco-lines {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.radial-eco-line {
  fill: none; stroke: url(#ecoLineGradient);
  stroke-width: 2; stroke-linecap: round;
  opacity: 0.7;
  filter: drop-shadow(0 0 3px rgba(0, 105, 111, 0.3));
}
.radial-eco-line.hub {
  stroke-width: 2.5; opacity: 0.85;
  stroke-dasharray: 12 8;
  animation: ecoLineFlow 4s linear infinite;
}
.radial-eco-line.cross {
  stroke-width: 1.2; opacity: 0.5;
  stroke-dasharray: 4 6;
  animation: ecoLineFlow 6s linear infinite;
}
@keyframes ecoLineFlow { to { stroke-dashoffset: -200; } }
.radial-eco-line-glow { fill: #00696f; opacity: 0.8; filter: drop-shadow(0 0 4px rgba(0, 105, 111, 0.6)); }

/* 粒子背景（数量由 JS 控制，减少至 24 个降低开销） */
.radial-eco-particles {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.eco-particle {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: rgba(0, 105, 111, 0.3);
  animation: ecoParticleFloat 8s ease-in-out infinite;
}
.eco-particle.large {
  width: 5px; height: 5px; background: rgba(0, 219, 231, 0.4);
  box-shadow: 0 0 6px rgba(0, 219, 231, 0.5);
  animation: ecoParticleDrift 12s ease-in-out infinite;
}
.eco-particle.accent {
  width: 4px; height: 4px; background: rgba(0, 80, 204, 0.35);
  box-shadow: 0 0 5px rgba(0, 80, 204, 0.4);
  animation: ecoParticleOrbit 10s linear infinite;
}
@keyframes ecoParticleFloat {
  0%, 100% { transform: translate(0, 0); opacity: 0.15; }
  25% { transform: translate(10px, -15px); opacity: 0.5; }
  50% { transform: translate(20px, -25px); opacity: 0.3; }
  75% { transform: translate(5px, -10px); opacity: 0.55; }
}
@keyframes ecoParticleDrift {
  0% { transform: translate(0, 0) scale(1); opacity: 0.2; }
  33% { transform: translate(25px, -35px) scale(1.3); opacity: 0.6; }
  66% { transform: translate(-15px, -50px) scale(0.9); opacity: 0.4; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.2; }
}
@keyframes ecoParticleOrbit {
  0% { transform: rotate(0deg) translateX(30px) rotate(0deg); opacity: 0.3; }
  50% { opacity: 0.7; }
  100% { transform: rotate(360deg) translateX(30px) rotate(-360deg); opacity: 0.3; }
}

/* 中心核心 */
.radial-eco-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 130px; height: 130px; z-index: 5;
}
.radial-eco-center-inner {
  position: relative; width: 100%; height: 100%; border-radius: 50%;
  background: linear-gradient(135deg, #00696f 0%, #0050cc 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 105, 111, 0.4), 0 0 80px rgba(0, 80, 204, 0.2),
    inset 0 0 30px rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2); z-index: 2;
}
.radial-eco-core-glow {
  position: absolute; top: -20%; left: -20%; width: 140%; height: 140%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 219, 231, 0.3) 0%, transparent 60%);
  animation: ecoCorePulse 3s ease-in-out infinite;
}
@keyframes ecoCorePulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.8; }
}
.radial-eco-center-stats {
  display: flex; flex-direction: column; gap: 1px;
  margin-top: 2px; font-size: 8px; color: rgba(255, 255, 255, 0.7);
  line-height: 1.2;
}
.radial-eco-center-stats strong { color: #00f2ff; font-size: 9px; }

/* 环形轨道 */
.radial-eco-ring {
  position: absolute; top: 50%; left: 50%; border-radius: 50%;
  border: 1px dashed rgba(0, 105, 111, 0.15);
  transform: translate(-50%, -50%); pointer-events: none;
}
.radial-eco-ring-1 { width: 380px; height: 380px; }
.radial-eco-ring-2 { width: 600px; height: 600px; }
.radial-eco-ring-3 { width: 880px; height: 880px; }

/* 节点 */
.radial-eco-nodes { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 3; }
.eco-node {
  position: absolute; transform: translate(-50%, -50%);
  cursor: pointer; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: ecoNodeFloat var(--float-dur, 6s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}
.eco-node-dot {
  width: 62px; height: 62px; border-radius: 50%; background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12), 0 0 0 2px rgba(255, 255, 255, 0.8);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid transparent; transition: transform 0.3s, box-shadow 0.3s; position: relative;
  overflow: hidden; padding: 4px;
}
.eco-node-dot img.eco-node-logo {
  width: 100% !important; height: 100% !important;
  object-fit: contain; object-position: center;
  display: block; flex-shrink: 0;
}
.eco-node-dot .eco-node-logo-fallback {
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 1px;
  text-align: center; line-height: 1;
  word-break: keep-all;
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--tier-color-1, #00696f);
  color: #fff;
  flex-shrink: 0;
  padding: 2px;
  overflow: hidden;
}
.eco-node-logo-fallback .eco-node-logo-icon {
  font-size: 16px;
  line-height: 1;
  color: #fff !important;
  flex-shrink: 0;
}
.eco-node-logo-fallback > span:last-child {
  font-size: 10px;
  line-height: 1;
  color: #fff;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.eco-node[data-tier="1"] .eco-node-logo-fallback { background: var(--tier-1); }
.eco-node[data-tier="2"] .eco-node-logo-fallback { background: var(--tier-2); }
.eco-node[data-tier="3"] .eco-node-logo-fallback { background: var(--tier-3); }
.eco-node[data-tier="1"] .eco-node-dot { border-color: var(--tier-1); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 18px rgba(0, 105, 111, 0.35); }
.eco-node[data-tier="2"] .eco-node-dot { border-color: var(--tier-2); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 16px rgba(0, 80, 204, 0.3); }
.eco-node[data-tier="3"] .eco-node-dot { border-color: var(--tier-3); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 14px rgba(0, 108, 73, 0.28); }
.eco-node-dot .material-symbols-outlined { font-size: 24px; }
.eco-node[data-tier="1"] .eco-node-dot .material-symbols-outlined { color: var(--tier-1); }
.eco-node[data-tier="2"] .eco-node-dot .material-symbols-outlined { color: var(--tier-2); }
.eco-node[data-tier="3"] .eco-node-dot .material-symbols-outlined { color: var(--tier-3); }
.eco-node-label {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 4px; white-space: nowrap; font-size: 10px; font-weight: 500;
  color: #3a494b; background: rgba(255, 255, 255, 0.9);
  padding: 2px 6px; border-radius: 5px; pointer-events: none;
  max-width: 100px; overflow: hidden; text-overflow: ellipsis;
}
.eco-node:hover { z-index: 10; animation-play-state: paused; }
.eco-node:hover .eco-node-dot { transform: scale(1.2); box-shadow: 0 6px 20px rgba(0, 105, 111, 0.3); }
.eco-node:hover .eco-node-label { background: #fff; font-weight: 700; max-width: 160px; white-space: normal; text-align: center; line-height: 1.3; }
.eco-node.active .eco-node-label { opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; }

@keyframes ecoNodeFloat {
  0%, 100% { translate: 0 0; }
  20% { translate: var(--float-x1, 4px) var(--float-y1, -5px); }
  40% { translate: var(--float-x2, -3px) var(--float-y2, 3px); }
  60% { translate: var(--float-x3, 5px) var(--float-y3, 4px); }
  80% { translate: var(--float-x4, -4px) var(--float-y4, -3px); }
}

.eco-node-pulse {
  position: absolute; top: 50%; left: 50%; width: 54px; height: 54px;
  border-radius: 50%; transform: translate(-50%, -50%);
  animation: ecoNodePulse 2.5s ease-out infinite; pointer-events: none;
}
.eco-node[data-tier="1"] .eco-node-pulse { border: 2px solid rgba(0, 105, 111, 0.3); }
.eco-node[data-tier="2"] .eco-node-pulse { border: 2px solid rgba(0, 80, 204, 0.3); }
.eco-node[data-tier="3"] .eco-node-pulse { border: 2px solid rgba(0, 108, 73, 0.3); }
@keyframes ecoNodePulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* 两侧统计卡片 */
.eco-side-cards {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 16px; z-index: 10; width: 200px;
}
.eco-side-cards-left { left: 0; align-items: flex-start; }
.eco-side-cards-right { right: 0; align-items: flex-end; }
.eco-side-card {
  position: relative; background: #fff; border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 105, 111, 0.05);
  display: flex; align-items: center; gap: 12px; width: 200px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease; overflow: hidden;
}
.eco-side-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 105, 111, 0.08); }
.eco-side-card-highlight { background: linear-gradient(135deg, #fff 0%, #f7fbff 100%); border: 1px solid rgba(0, 105, 111, 0.08); }
.eco-side-card-glow {
  position: absolute; top: -50%; right: -50%; width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(0, 219, 231, 0.15) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none; animation: ecoCardGlowPulse 4s ease-in-out infinite;
}
@keyframes ecoCardGlowPulse {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}
.eco-side-card-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
.eco-side-card-icon .material-symbols-outlined { font-size: 20px; color: white; }
.primary-bg { background: linear-gradient(135deg, #00696f 0%, #008b8f 100%); }
.secondary-bg { background: linear-gradient(135deg, #0050cc 0%, #3d6fff 100%); }
.tertiary-bg { background: linear-gradient(135deg, #006c49 0%, #00a870 100%); }
.eco-side-card-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.eco-side-card-num { font-size: 22px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.eco-side-card-num.primary { color: var(--tier-1); }
.eco-side-card-num.secondary { color: var(--tier-2); }
.eco-side-card-num.tertiary { color: var(--tier-3); }
.eco-side-card-label { font-size: 12px; font-weight: 700; color: #131b2e; }
.eco-side-card-sub { font-size: 10px; color: #6a7a7b; }

/* 悬浮框 */
.eco-tooltip {
  position: absolute; z-index: 100; min-width: 200px; max-width: 260px;
  background: #fff; border-radius: 14px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 105, 111, 0.08);
  padding: 12px 16px; pointer-events: none;
  opacity: 0; transform: translateY(6px) scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.eco-tooltip.visible { opacity: 1; transform: translateY(0) scale(1); }
.eco-tooltip-arrow {
  position: absolute; width: 10px; height: 10px; background: #fff;
  transform: rotate(45deg); bottom: -5px; left: 50%; margin-left: -5px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.06);
}
.eco-tooltip-arrow.top { top: -5px; bottom: auto; box-shadow: -1px -1px 2px rgba(0, 0, 0, 0.06); }
.eco-tooltip-name { font-size: 13px; font-weight: 700; color: #131b2e; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.eco-tooltip-name .material-symbols-outlined { font-size: 16px; }
.eco-tooltip-desc { font-size: 11px; line-height: 1.55; color: #3a494b; margin-bottom: 10px; }
.eco-tooltip-stats { display: flex; gap: 12px; padding-top: 8px; border-top: 1px solid rgba(185, 202, 203, 0.3); }
.eco-tooltip-stat { display: flex; flex-direction: column; gap: 1px; }
.eco-tooltip-stat-label { font-size: 9px; color: #6a7a7b; text-transform: uppercase; font-weight: 600; letter-spacing: 0.05em; }
.eco-tooltip-stat-value { font-size: 14px; font-weight: 700; }
.eco-tooltip-stat-value.primary { color: var(--tier-1); }
.eco-tooltip-stat-value.secondary { color: var(--tier-2); }

/* ============================================================
 * 8. 需求发布中心
 * ============================================================ */
.demand-card-light { background-color: #fff; border: 1px solid rgba(185, 202, 203, 0.3); box-shadow: var(--shadow-sm); min-height: 100%; }
.demand-card-gradient {
  background: linear-gradient(135deg, #00696f 0%, #004f54 45%, #0050cc 100%);
  min-height: 100%;
  box-shadow: 0 20px 40px -10px rgba(0, 80, 204, 0.25), 0 10px 25px -5px rgba(0, 105, 111, 0.2);
}
.demand-tag { display: inline-block; padding: 0.35rem 0.85rem; border-radius: 9999px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; line-height: 1; }
.demand-tag-gray { background-color: #f1f5f9; color: #475569; }
.demand-tag-purple { background-color: #ede9fe; color: #5b21b6; }
.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 9999px; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8); }
.status-dot-seeking { background-color: #10b981; position: relative; }
.status-dot-seeking::after {
  content: ""; position: absolute; inset: -2px; border-radius: 9999px;
  border: 2px solid rgba(16, 185, 129, 0.35); animation: statusPulse 2s ease-in-out infinite;
}
.status-dot-matched { background-color: #94a3b8; }
@keyframes statusPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.6; }
}
.demand-card { will-change: transform, box-shadow; }

/* ============================================================
 * 9. 动画
 * ============================================================ */
#hero-slider-track { will-change: transform; }

.animate-float { animation: float 6s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes chartEntrance {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.chart-animate { animation: chartEntrance 0.8s cubic-bezier(0.2, 1, 0.3, 1) both; }

@keyframes statsEntrance {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-stats-card { animation: statsEntrance 0.8s ease-out both; }

/* ============================================================
 * 10. 响应式
 * ============================================================ */
@media (max-width: 1200px) {
  .eco-side-cards { display: none; }
}

@media (max-width: 767px) {
  .animate-float { animation: none; }
  .radial-eco-container { height: 400px; max-width: 100%; }
  .radial-eco-center { width: 84px; height: 84px; }
  .radial-eco-center-inner span.material-symbols-outlined { font-size: 18px; }
  .radial-eco-center-inner h3 { font-size: 8px; }
  .radial-eco-center-inner p { font-size: 7px; }
  .radial-eco-center-stats { font-size: 6px; gap: 0; }
  .radial-eco-center-stats strong { font-size: 7px; }
  .radial-eco-ring-1 { width: 230px; height: 230px; }
  .radial-eco-ring-2 { width: 360px; height: 360px; }
  .radial-eco-ring-3 { width: 460px; height: 460px; }
  .eco-node-dot { width: 36px; height: 36px; padding: 2px; }
  .eco-node-dot .material-symbols-outlined { font-size: 16px; }
  .eco-node-dot .eco-node-logo-fallback { padding: 2px; gap: 1px; }
  .eco-node-logo-fallback .eco-node-logo-icon { font-size: 10px; }
  .eco-node-logo-fallback > span:last-child { font-size: 7px; }
  .eco-node-label { font-size: 7px; max-width: 60px; padding: 1px 4px; margin-top: 3px; }
  .eco-side-cards { display: none; }
}

/* ============================================================
 * 11. 无障碍 - 尊重减少动效偏好
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
 * 12. 科研致谢 3D 层叠轮播
 * ============================================================ */
.academic-stage { perspective: 1600px; }
.academic-stage-inner { transform-style: preserve-3d; }
/* 压缩致谢舞台空带：卡片实高 ~246px，舞台由 460px 收至 280px */
#home-academic-stage { height: 280px; }

.academic-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  max-width: 92%;
  padding: 1.5rem;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(185, 202, 203, 0.3);
  box-shadow: 0 10px 32px rgba(19, 27, 46, 0.12);
  transform: translate(-50%, -50%);
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              opacity 0.6s ease,
              box-shadow 0.6s ease;
  opacity: 0;
  pointer-events: none;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.academic-card[data-pos="center"] {
  z-index: 30;
  opacity: 1;
  transform: translate(-50%, -50%) translateZ(50px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 105, 111, 0.2);
  pointer-events: auto;
}
.academic-card[data-pos="center"]:hover {
  transform: translate(-50%, -50%) translateZ(65px) scale(1.06);
  box-shadow: 0 26px 66px rgba(0, 105, 111, 0.28);
}

.academic-card[data-pos="left"] {
  z-index: 20;
  opacity: 0.78;
  transform: translate(-50%, -50%) translateX(-210px) translateZ(-35px) rotateY(26deg) scale(0.8);
  pointer-events: auto;
  filter: blur(0.3px);
}
.academic-card[data-pos="right"] {
  z-index: 20;
  opacity: 0.78;
  transform: translate(-50%, -50%) translateX(210px) translateZ(-35px) rotateY(-26deg) scale(0.8);
  pointer-events: auto;
  filter: blur(0.3px);
}

.academic-card[data-pos="left-far"] {
  z-index: 10;
  opacity: 0.35;
  transform: translate(-50%, -50%) translateX(-340px) translateZ(-100px) rotateY(38deg) scale(0.6);
  filter: blur(1px);
}
.academic-card[data-pos="right-far"] {
  z-index: 10;
  opacity: 0.35;
  transform: translate(-50%, -50%) translateX(340px) translateZ(-100px) rotateY(-38deg) scale(0.6);
  filter: blur(1px);
}

.academic-card[data-pos="hidden"] {
  z-index: 0;
  opacity: 0;
  transform: translate(-50%, -50%) translateZ(-180px) scale(0.38);
  pointer-events: none;
}

/* 主卡内容渐入 */
.academic-card[data-pos="center"] > * { animation: academicFadeIn 0.6s ease both; }
@keyframes academicFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 侧卡轻微浮动 */
.academic-card[data-pos="left"],
.academic-card[data-pos="right"] {
  animation: academicSideFloat 6s ease-in-out infinite;
}
@keyframes academicSideFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

/* 导航按钮 */
.academic-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(185, 202, 203, 0.5);
  box-shadow: 0 4px 16px rgba(19, 27, 46, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 40;
  transition: all 0.3s ease;
  color: #00696f;
}
.academic-nav:hover {
  background: #00696f;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 105, 111, 0.32);
  transform: translateY(-50%) scale(1.08);
}
.academic-nav .material-symbols-outlined { font-size: 22px; }
.academic-nav-prev { left: 0.5rem; }
.academic-nav-next { right: 0.5rem; }

/* 响应式：窄屏仅展示主卡 + 模糊侧卡 */
@media (max-width: 768px) {
  .academic-card { width: 88%; padding: 1.25rem; }
  .academic-card[data-pos="left"],
  .academic-card[data-pos="right"] { opacity: 0.25; filter: blur(2px); }
  .academic-card[data-pos="left-far"],
  .academic-card[data-pos="right-far"] { opacity: 0; }
  .academic-nav { width: 40px; height: 40px; }
  .academic-nav .material-symbols-outlined { font-size: 22px; }
}

/* ============================================================
 * 12. 浏览器兼容性
 * ============================================================ */
/* 旧版 Safari/Firefox 不支持 backdrop-filter 时玻璃面板退回不透明 */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass-panel { background-color: rgba(255, 255, 255, 0.95); }
}
/* flexbox gap 降级：旧版 Safari 通过 margin 处理已在组件层规避 */
/* CSS Grid 自动列在极旧浏览器退化为单列 */
@supports not (display: grid) {
  [data-nav-item] .nav-tertiary-grid { display: flex; flex-wrap: wrap; }
  [data-nav-item] .nav-tertiary-grid > li { width: 50%; }
}

/* ============================================================
 * 13. 全局背景装饰 - 流动光带 / 光晕 / 折叠阴影
 *    在灰白底色上叠加微妙的动态光效，避免视觉单调
 *    依赖 .section 的 isolation:isolate 形成层叠上下文，
 *    伪元素 z-index:-1 位于 section 背景之上、内容之下
 * ============================================================ */

/* body 基底：增强科技感的色彩晕染 */
body {
  background-image:
    radial-gradient(ellipse 80% 60% at 15% 8%, rgba(0, 105, 111, 0.06), transparent 65%),
    radial-gradient(ellipse 70% 50% at 85% 18%, rgba(0, 80, 204, 0.05), transparent 65%),
    radial-gradient(ellipse 65% 50% at 50% 95%, rgba(0, 108, 73, 0.04), transparent 65%),
    radial-gradient(ellipse 50% 40% at 30% 50%, rgba(0, 219, 231, 0.025), transparent 60%),
    radial-gradient(ellipse 45% 35% at 70% 60%, rgba(0, 80, 204, 0.02), transparent 60%);
  background-attachment: fixed;
}

/* 柔和光晕球 + 顶部折叠阴影 —— 增强科技深度与层次感 */
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    /* 顶部折叠渐变：强化区块分隔 */
    linear-gradient(to bottom, rgba(0, 105, 111, 0.04), transparent 100px),
    /* 底部反向折叠渐变 */
    linear-gradient(to top, rgba(0, 80, 204, 0.03), transparent 90px),
    /* 四角光晕球：增强科技光感 */
    radial-gradient(circle 420px at 10% 12%, rgba(0, 219, 231, 0.08), transparent 70%),
    radial-gradient(circle 380px at 90% 26%, rgba(116, 245, 255, 0.07), transparent 70%),
    radial-gradient(circle 400px at 80% 82%, rgba(0, 105, 111, 0.07), transparent 70%),
    radial-gradient(circle 340px at 16% 78%, rgba(0, 80, 204, 0.06), transparent 70%),
    /* 中央微弱光晕 */
    radial-gradient(circle 500px at 50% 50%, rgba(0, 219, 231, 0.02), transparent 70%);
}

/* 流动对角光条 —— 增强流动光带强度和动态感 */
.section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    115deg,
    transparent 0,
    transparent 120px,
    rgba(0, 219, 231, 0.035) 120px,
    rgba(0, 219, 231, 0.035) 124px,
    transparent 124px,
    transparent 260px,
    rgba(0, 80, 204, 0.03) 260px,
    rgba(0, 80, 204, 0.03) 264px,
    transparent 264px,
    transparent 400px
  );
  background-size: 500px 500px;
  animation: bgFlowStripes 25s linear infinite;
}

@keyframes bgFlowStripes {
  0% { background-position: 0 0; }
  100% { background-position: 500px 500px; }
}

/* 高亮区块微调：避免装饰与已有强装饰区域冲突 */
#eco-section::before,
#eco-section::after { opacity: 0.4; }
#hero-section::after { opacity: 0.5; animation-duration: 38s; }

/* ============================================================
 * 重点实验室（横向标签 + 双栏展示面板）
 * ============================================================ */
#labs-section { padding-bottom: 4rem; }
#labs-section [hidden] { display: none !important; }
#labs-content, #labs-content > *, #lab-details, .lab-copy, .lab-copy > * { min-width: 0; min-height: 0; }

/* 横向标签栏 */
.lab-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  margin-bottom: 18px;
  scrollbar-width: thin;
}
.lab-tabs::-webkit-scrollbar { height: 6px; }
.lab-tabs::-webkit-scrollbar-thumb { background: rgba(0, 105, 111, 0.18); border-radius: 3px; }
.lab-tab {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 12px 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 105, 111, 0.14);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(19, 27, 46, 0.04);
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.lab-tab:hover {
  border-color: rgba(0, 105, 111, 0.4);
  box-shadow: 0 6px 16px rgba(0, 105, 111, 0.12);
  transform: translateY(-2px);
}
.lab-tab.active {
  background: linear-gradient(180deg, #f2fafa 0%, #ffffff 100%);
  border-color: var(--c-primary);
  box-shadow: 0 8px 20px rgba(0, 105, 111, 0.16);
}
.lab-tab-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(0, 105, 111, 0.12);
  background: #eef5f5;
  flex-shrink: 0;
}
.lab-tab.lab-image-empty .lab-tab-img { visibility: hidden; }
.lab-tab.lab-image-empty { position: relative; }
.lab-tab.lab-image-empty::before {
  content: 'science';
  font-family: 'Material Symbols Outlined';
  position: absolute;
  top: 14px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: rgba(0, 105, 111, 0.45);
  background: #eef5f5;
  border-radius: 10px;
  pointer-events: none;
}
.lab-tab-text {
  font-size: 13px;
  font-weight: 600;
  color: #2c3e40;
  line-height: 1.35;
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.lab-tab.active .lab-tab-text { color: var(--c-primary); }

/* 展示面板 */
.lab-panel {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 105, 111, 0.12);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(19, 27, 46, 0.08);
  padding: 26px;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.lab-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00696f 0%, #00b7c6 55%, #0050cc 100%);
  opacity: 0.9;
}
.lab-panel-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .lab-panel { padding: 32px 36px; }
  .lab-panel-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; }
}

/* 左栏文案 */
.lab-copy { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
#lab-title { font-size: 23px; font-weight: 700; line-height: 1.3; }
#lab-title, #lab-category, #lab-badge-text { overflow-wrap: anywhere; }
#lab-title, #lab-category { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
#lab-desc { max-height: 7.5em; overflow-y: auto; overflow-wrap: anywhere; white-space: pre-line; line-height: 1.75; }

/* 指标卡 */
.lab-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lab-metric-card {
  padding: 14px 16px;
  background: #f4f9f9;
  border: 1px solid rgba(0, 105, 111, 0.14);
  border-radius: 14px;
}
.lab-metric-value { font-size: 20px; font-weight: 700; color: var(--c-primary); line-height: 1.25; overflow-wrap: anywhere; }
.lab-metric-label { font-size: 12px; color: #5a6c6e; margin-top: 4px; line-height: 1.4; overflow-wrap: anywhere; }
.lab-metric-value, .lab-metric-label { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

#lab-actions button { white-space: nowrap; }

/* 右栏图区 */
#lab-hero { min-height: 240px; }
@media (min-width: 900px) { #lab-hero { min-height: 320px; } }
#lab-badge { max-width: calc(100% - 2rem); }
#lab-badge-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.lab-image-placeholder { display: none; }
#labs-section .lab-image-empty { background-color: #e4edef; }
.lab-image-empty > .lab-image-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
@media (min-width: 1024px) { #labs-section { padding-bottom: 5.5rem; } }

/* ============================================================
 * 科技感全局装饰 - 动态粒子/线条效果
 * ============================================================ */

/* 科技感分割线 */
.tech-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 219, 231, 0.4), rgba(0, 80, 204, 0.3), transparent);
  position: relative;
  overflow: hidden;
}
.tech-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 219, 231, 0.8), transparent);
  animation: dividerFlow 3s linear infinite;
}
@keyframes dividerFlow {
  0% { left: -50%; }
  100% { left: 100%; }
}

/* 科技感脉动光点 */
.tech-pulse-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00dbE7;
  box-shadow: 0 0 8px rgba(0, 219, 231, 0.6);
}
.tech-pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0, 219, 231, 0.4);
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

/* 科技标签样式 */
.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 219, 231, 0.1), rgba(0, 80, 204, 0.08));
  border: 1px solid rgba(0, 219, 231, 0.3);
  color: #00696f;
  font-size: 12px;
  font-weight: 600;
}

/* 全局微妙网格背景层（仅在特定容器启用） */
.tech-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 105, 111, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 105, 111, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
}

/* ============================================================
 * 左侧定位导航条：默认展开；收起后竖版“页面导航”+箭头
 * ============================================================ */
#side-nav {
  pointer-events: none;
  transform: translateY(calc(-50% + 60px));
}
.side-nav-card {
  pointer-events: auto;
  width: 64px;
  background: #fff;
  border: 1px solid #e6e9ec;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(19, 27, 46, 0.08);
  overflow: hidden;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}
.side-nav-card.expanded {
  width: 150px;
  box-shadow: 0 6px 28px rgba(19, 27, 46, 0.12);
}

/* 折叠/展开切换按钮：展开态图标+“收起导航”；收起态竖排“页面导航”+向下箭头 */
.side-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 11px 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-bottom: 1px solid #f0f2f4;
  color: #00696f;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s ease;
}
.side-nav-toggle:hover {
  background: #f2f7f7;
}
.side-nav-toggle-icon {
  display: none;
}
.side-nav-card.expanded .side-nav-toggle-icon {
  display: inline-flex;
  font-size: 16px;
}
.side-nav-toggle-text {
  white-space: nowrap;
}
.side-nav-toggle-arrow {
  display: none;
}
.side-nav-card:not(.expanded) .side-nav-toggle {
  flex-direction: column;
  gap: 6px;
  padding: 14px 0 12px;
}
.side-nav-card:not(.expanded) .side-nav-toggle-text {
  writing-mode: vertical-rl;
  letter-spacing: 4px;
  font-size: 12.5px;
  line-height: 1;
}
.side-nav-card:not(.expanded) .side-nav-toggle-arrow {
  display: inline-flex;
  font-size: 16px;
  animation: sideNavArrowBob 1.8s ease-in-out infinite;
}
@keyframes sideNavArrowBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* 列表：收起态隐藏 */
.side-nav-list {
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.side-nav-card.expanded .side-nav-list {
  display: flex;
}

/* 单个导航项 */
.side-nav-item {
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: #536063;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}
.side-nav-item:hover {
  background: #f2f7f7;
  color: #00696f;
}

/* 图标容器 */
.side-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 20px;
  margin-right: 6px;
  flex-shrink: 0;
}
.side-nav-icon .material-symbols-outlined {
  font-size: 17px;
  color: #6a7a7b;
  transition: color 0.2s ease;
}
.side-nav-item:hover .side-nav-icon .material-symbols-outlined {
  color: #00696f;
}

/* 文字标签 */
.side-nav-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 激活态 */
.side-nav-item.active {
  background: linear-gradient(135deg, #00696f 0%, #008b8f 100%);
  box-shadow: 0 3px 10px rgba(0, 105, 111, 0.3);
  color: #fff;
}
.side-nav-item.active .side-nav-icon .material-symbols-outlined {
  color: #fff;
}

/* 独立回到顶部按钮 */
.side-nav-back-top-float {
  position: absolute;
  left: 0;
  bottom: -46px;
  width: 100%;
  height: 32px;
  border: 1px solid #e6e9ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(19, 27, 46, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6a7a7b;
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.side-nav-back-top-float.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.side-nav-back-top-float:hover {
  color: #00696f;
  box-shadow: 0 4px 18px rgba(19, 27, 46, 0.16);
}
.side-nav-back-top-float .material-symbols-outlined {
  font-size: 18px;
}


/* ============================================================
 * 悬浮工具配色统一：科小助/建议反馈按钮与反馈弹窗改用主题色系，
 * 替换原先紫粉/橙红渐变，避免与整站青绿主色冲突
 * ============================================================ */
[data-chat-toggle] {
  background-image: linear-gradient(135deg, #00696f 0%, #00939c 55%, #00cfdd 100%) !important;
}
[data-chat-toggle]:hover {
  box-shadow: 0 10px 24px rgba(0, 105, 111, 0.35) !important;
}
[data-feedback-toggle] {
  background-image: linear-gradient(135deg, #0050cc 0%, #2f7de1 60%, #00a5b0 100%) !important;
}
[data-feedback-toggle]:hover {
  box-shadow: 0 10px 24px rgba(0, 80, 204, 0.35) !important;
}
#feedback-window .bg-gradient-to-r {
  background-image: linear-gradient(to right, #0050cc, #2f7de1) !important;
}
#feedback-window .focus\:ring-amber-500:focus {
  --tw-ring-color: rgba(0, 80, 204, 0.45);
}
#feedback-window .bg-gradient-to-r.rounded-t-2xl .material-symbols-outlined {
  color: #fff;
}

/* ============================================================
 * 明星仪器：分类 Tab + 固定 8 宫格（4×2）轮播 + 我要预约按钮
 * ============================================================ */
@media (min-width: 1024px) {
  /* 桌面端明星仪器整体缩小 1/10（90% 宽，居中） */
  #instrument-showcase { width: 90%; margin-left: auto; margin-right: auto; }
  /* 明星仪器模块内容整体按比例同步缩小 1/10 */
  #instrument-showcase { zoom: 0.9; }
  /* 桌面端新闻资讯板块同样缩小 1/10（90% 宽，居中） */
  #news-section .container-app { width: 100%; max-width: calc(var(--container-xl) * 0.9); }
  /* 新闻资讯模块内容整体按比例同步缩小 1/10（zoom 仅作用于内容容器，板块背景仍横贯全宽） */
  #news-section .container-app { zoom: 1; }
}
/* 明星仪器：常规设备 / 特种设备 两列分组（各 2×2 照片墙） */
/* 明星仪器轮播切换动画（两列分组交错滑入，方向感知） */
@keyframes instrumentSwapIn {
  from { opacity: 0; transform: translateX(var(--swap-from, 40px)); }
  to { opacity: 1; transform: translateX(0); }
}
.instrument-swap-in .instrument-group { animation: instrumentSwapIn .6s cubic-bezier(.25, .7, .35, 1) both; }
.instrument-swap-in .instrument-group:nth-child(2) { animation-delay: .09s; }
.instrument-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}
.instrument-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.instrument-frame {
  position: relative;
  border: 2px solid #3fb6bb;
  border-radius: 18px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 105, 111, 0.12);
}
.instrument-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.photo-cell {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(140deg, #e6f4f5 0%, #d2e8eb 100%);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: instrument-cell-in 0.45s ease both;
}
@keyframes instrument-cell-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.photo-cell:hover {
  transform: scale(1.045);
  z-index: 5;
  box-shadow: 0 16px 40px rgba(0, 105, 111, 0.3);
}
@media (max-width: 1023px) {
  .instrument-columns { grid-template-columns: 1fr; }
}
/* 框外底部：批次指示点 + 我要预约按钮（钉底，按钮统一右下角） */
.instrument-foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
}
.instrument-dots { display: flex; gap: 7px; }
.instrument-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: #c9e3e5;
  cursor: pointer;
  transition: all 0.25s ease;
}
.instrument-dot.active { width: 22px; background: #00696f; }

/* ============================================================
 * Hero 轮播：右侧视觉统一高度（与第一页 stats 面板一致）
 * ============================================================ */
.hero-visual-330 { height: 330px; display: flex; flex-direction: column; }
/* Hero 轮播上下额外留白 */
#hero-slider-track > div { padding-top: 36px; padding-bottom: 60px; }
/* 管理员风貌：缩略图行与上方详情的间距 */
#admin-thumbs-scroll { margin-top: 32px; }
/* 管理员风貌：擅长领域超长省略（最多 2 行），不出滚动条 */
#admin-card { overflow: hidden; }
#admin-skills {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
/* 姓名/单位超长单行省略 */
#admin-name, #admin-unit {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
 * 入驻单位模块内：实验室轮播介绍
 * ============================================================ */
.lab-carousel-block { margin-top: 40px; }
/* 压缩实验室区块底部空带：82px 收至 48px */
#labs-section { padding-bottom: 48px; }
.lab-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: -28px;
}
.lab-carousel-nav { display: flex; gap: 10px; transform: translateY(-48px); }
.lab-carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 105, 111, 0.25);
  background: #fff;
  color: #00696f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 105, 111, 0.08);
}
.lab-carousel-btn:hover { background: #00696f; color: #fff; border-color: #00696f; }
.lab-carousel-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  border-radius: 16px;
}
.lab-carousel-viewport::-webkit-scrollbar { display: none; }
.lab-carousel-track { display: flex; gap: 16px; }
.lab-carousel-card {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(7, 32, 36, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(7, 32, 36, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  color: inherit;
  text-decoration: none;
}
.lab-carousel-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0, 105, 111, 0.16); }
.lab-carousel-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #fff;
  overflow: hidden;
}
.lab-carousel-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* 展示图缺失占位：显示本实验室 Logo，不使用其他单位材料 */
.lab-carousel-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(140deg, #e6f4f5 0%, #d2e8eb 100%);
}
/* hidden 属性需显式生效，否则被上方 display:flex 覆盖导致回退层常显 */
.lab-carousel-fallback[hidden] { display: none; }
.lab-carousel-fallback img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.lab-carousel-fallback span { font-size: 12px; color: #5b7376; }
.lab-carousel-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 105, 111, 0.85);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
}
.lab-carousel-body { padding: 16px 18px 18px; }
.lab-carousel-name {
  font-size: 16.5px;
  font-weight: 700;
  color: #072024;
  margin: 0 0 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lab-carousel-unit {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: #5b7376;
  margin: 0 0 8px;
}
.lab-carousel-unit .material-symbols-outlined { font-size: 15px; color: #00696f; }
.lab-carousel-desc {
  font-size: 13px;
  color: #5b7376;
  line-height: 1.6;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 41px;
}
.lab-carousel-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.lab-carousel-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #00696f;
  background: rgba(0, 219, 231, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 600;
}
.lab-carousel-chip .material-symbols-outlined { font-size: 14px; }
.lab-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.lab-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(0, 105, 111, 0.25);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lab-carousel-dot.active { width: 22px; background: #00696f; }
@media (max-width: 1023px) {
  .lab-carousel-card { flex: 0 0 calc((100% - 16px) / 2); }
}
@media (max-width: 640px) {
  .lab-carousel-card { flex: 0 0 100%; }
}
.photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-img[hidden] { display: none; }
/* 照片左下角名称角标（半透明深色圆角小签，参考样式图） */
.photo-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(7, 32, 36, 0.66);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(3px);
  pointer-events: none;
  transition: background 0.3s ease;
}
.photo-cell:hover .photo-badge { background: rgba(0, 105, 111, 0.9); }
/* 空分组占位：提示后台维护设备分类 */
.instrument-empty {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.9;
  color: var(--c-on-surface-variant);
  font-size: 14px;
  background: linear-gradient(140deg, #e6f4f5 0%, #d2e8eb 100%);
  border-radius: 12px;
}

/* 明星仪器：框外底部标题/按钮/标签/描述 */
.instrument-foot {
  margin-top: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.instrument-foot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.instrument-foot-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--c-on-surface);
}
.instrument-foot-btn {
  flex-shrink: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--c-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 8px;
  transition: background 0.25s ease;
}
.instrument-foot-btn:hover { background: #00838b; color: #fff; }
.instrument-foot-btn .material-symbols-outlined { transition: transform 0.25s ease; }
.instrument-foot-btn:hover .material-symbols-outlined { transform: translateX(3px); }
.instrument-foot-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.instrument-foot-tags span {
  font-size: 13px;
  color: var(--c-on-surface-variant);
  background: #f1f5f6;
  border-radius: 6px;
  padding: 5px 14px;
}
.instrument-foot-desc {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-on-surface-variant);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 640px) {
  .instrument-frame { padding: 6px; border-radius: 14px; }
  .photo-badge { left: 8px; bottom: 8px; font-size: 11px; padding: 3px 9px; }
  .instrument-foot-title { font-size: 17px; }
  .instrument-foot-btn { padding: 7px 16px; font-size: 13px; }
}

/* ============================================================
 * 入驻单位：首页末尾独立板块（简约网格卡片）
 * ============================================================ */
.institution-count {
  font-weight: 700;
  color: var(--c-primary);
}
.institution-grid-status {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: var(--c-outline);
}
.institution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
/* 入驻单位标题行：查看更多按钮悬浮右上角 */
.institution-head { position: relative; }
.institution-more-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary);
  background: #fff;
  border: 1px solid rgba(0, 105, 111, 0.25);
  transition: all 0.25s ease;
}
.institution-more-btn .material-symbols-outlined { font-size: 16px; transition: transform 0.25s ease; }
.institution-more-btn:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  box-shadow: 0 6px 16px rgba(0, 105, 111, 0.25);
}
.institution-more-btn:hover .material-symbols-outlined { transform: translateX(3px); }
@media (max-width: 640px) {
  .institution-more-btn { position: static; transform: none; margin: -8px auto 16px; display: flex; width: fit-content; }
}

/* 入驻单位四行轮播：容器裁剪为 4 行高，纵向无缝循环滚动 */
.institution-carousel {
  overflow: hidden;
  /* 4 行 = 4*66px 卡高 + 3*12px 行距 */
  max-height: 300px;
}
.institution-carousel .institution-grid {
  row-gap: 12px;
  transition: transform 0.55s ease;
  will-change: transform;
}
.institution-card-sm {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  column-gap: 10px;
  height: 66px;
  padding: 12px;
  border-radius: 14px;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(185, 202, 203, 0.35);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.institution-card-sm:hover {
  transform: translateY(-2px);
  border-color: var(--institution-color, rgba(0, 219, 231, 0.5));
  box-shadow: 0 8px 20px rgba(19, 27, 46, 0.08);
}
.institution-card-sm-logo {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  overflow: hidden;
  padding: 3px;
  box-sizing: border-box;
  line-height: 1.2;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: #fff;
  border: 1px solid rgba(185, 202, 203, 0.45);
}
/* 无单位 logo 时留空占位（虚线框），不显示缩写兜底 */
.institution-card-sm-logo:empty {
  background: #fff;
  border: 1px dashed rgba(185, 202, 203, 0.6);
}
.institution-card-sm-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.institution-card-sm-name {
  grid-column: 2;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-on-surface);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.institution-card-sm-meta {
  grid-column: 2;
  font-size: 11px;
  color: var(--c-on-surface-variant);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 新模块响应式 */
@media (max-width: 1023px) {
  .institution-carousel { max-height: none; }
  .institution-carousel .institution-grid { transform: none !important; }
  .institution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .institution-grid { grid-template-columns: 1fr; }
}

/* 管理员风貌：人物照片同比缩小至 2/3 */
@media (min-width: 768px) {
  #admin-card > div:first-child { width: 22.22%; }
}
@media (min-width: 1024px) {
  #admin-card > div:first-child { width: 16.67%; }
}

/* 新闻资讯：卡片间距缩小 1/4（20px → 15px） */
#news-list > * + * { margin-top: 15px !important; }

/* ============================================================
 * 页脚：左右两端对齐布局（左品牌信息 + 右三栏链接）
 * ============================================================ */
.footer-inner { display: flex; flex-direction: column; gap: 40px; }
.footer-left { max-width: 100%; }
.footer-cols { flex: 0 1 auto; }
@media (min-width: 1024px) {
  .footer-inner { flex-direction: row; justify-content: space-between; }
  .footer-left { max-width: 440px; flex-shrink: 0; }
  .footer-cols { flex: 1 1 auto; max-width: 560px; }
}

/* ============================================================
 * 顶栏广告入口：微信小程序弹层 + 开通会员（金色广告位）
 * ============================================================ */
.miniapp-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 120;
  background: #fff;
  border: 1px solid rgba(0, 105, 111, 0.18);
  border-radius: 14px;
  padding: 14px 14px 10px;
  box-shadow: 0 16px 40px rgba(19, 27, 46, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.miniapp-pop[hidden] { display: none; }
.miniapp-pop::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 18px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid rgba(0, 105, 111, 0.18);
  border-top: 1px solid rgba(0, 105, 111, 0.18);
  transform: rotate(45deg);
}
.miniapp-qr { display: block; border-radius: 8px; overflow: hidden; }
.miniapp-tip { margin: 0; font-size: 12px; color: #4b5f5d; font-weight: 600; white-space: nowrap; }
/* 顶部深色工具条（参考科学指南针：预约订单/开通会员/合作加盟/公众号·小程序 文字链） */
#site-topbar { background: #22292e; }
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.topbar-link:hover { color: #fff; }
.topbar-link .material-symbols-outlined { font-size: 15px; }
.topbar-vip { color: #f5c451; }
.topbar-vip:hover { color: #ffd97a; }
@media (max-width: 767px) {
  #site-topbar { display: none; }
  .topbar-inner { gap: 16px; }
}

/* ============================================================
 * 首页广告横幅轮播（全宽通栏 Hero：浅渐变底铺满两缘/柔光斑/扫光/白玻璃数据卡，内容 1200px 居中）
 * ============================================================ */
/* 通栏化：突破外层容器限宽 */
#promo-section > div { max-width: none; padding-left: 0; padding-right: 0; }
.promo-banner {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  height: 356px;
  box-shadow: 0 12px 32px rgba(9, 78, 86, 0.1);
}
/* 顶部品牌渐变发丝线 */
.promo-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00939f, #0fb784 35%, #22d3ee 70%, #00939f);
  z-index: 4;
  pointer-events: none;
}
.promo-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}
.promo-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 max(24px, calc((100% - 1200px) / 2 + 24px));
  position: relative;
  overflow: hidden;
  color: #0e3a40;
}
/* 浅色底色（三条各一主题：浅青 / 浅蓝 / 浅紫，与站点浅色基调统一） */
.promo-slide:nth-child(1) { background: linear-gradient(115deg, #ecfafb 0%, #cdf0f2 48%, #a3e2e6 100%); }
.promo-slide:nth-child(2) { background: linear-gradient(115deg, #eaf5fe 0%, #d4ebfd 50%, #b0d6f6 100%); }
.promo-slide:nth-child(3) { background: linear-gradient(115deg, #f2f0fc 0%, #dfdaf7 50%, #c6bdf1 100%); }
/* 科学线描点缀：左下海浪纹（海洋元素）+ 右上分子轨道，极简不抢戏 */
.promo-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='110' viewBox='0 0 520 110' fill='none'%3E%3Cpath d='M0 80 Q65 52 130 80 T260 80 T390 80 T520 80' stroke='%23008993' stroke-width='2'/%3E%3Cpath d='M0 95 Q65 67 130 95 T260 95 T390 95 T520 95' stroke='%23008993' stroke-opacity='.5' stroke-width='2'/%3E%3Cpath d='M0 65 Q65 37 130 65 T260 65 T390 65 T520 65' stroke='%23008993' stroke-opacity='.28' stroke-width='2'/%3E%3C/svg%3E") left bottom / 480px 102px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280' fill='none'%3E%3Ccircle cx='140' cy='140' r='96' stroke='%23008993' stroke-opacity='.32' stroke-width='1.5'/%3E%3Ccircle cx='140' cy='140' r='64' stroke='%23008993' stroke-opacity='.22' stroke-width='1.5' stroke-dasharray='4 7'/%3E%3Ccircle cx='236' cy='140' r='5' fill='%23008993' fill-opacity='.4'/%3E%3Ccircle cx='44' cy='140' r='3.5' fill='%23008993' fill-opacity='.28'/%3E%3Ccircle cx='140' cy='44' r='3' fill='%23008993' fill-opacity='.32'/%3E%3Ccircle cx='140' cy='236' r='4' fill='%23008993' fill-opacity='.25'/%3E%3C/svg%3E") right -30px top -34px / 250px 250px no-repeat;
  opacity: 0.55;
}
/* 柔光色斑（缓慢浮动） */
.promo-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
  animation: promo-glow-float 9s ease-in-out infinite;
}
.promo-glow-a { width: 300px; height: 300px; left: 34%; top: -140px; }
.promo-glow-b { width: 260px; height: 260px; right: -70px; bottom: -150px; animation-delay: -4.5s; }
.promo-slide:nth-child(1) .promo-glow-a { background: #22d3ee; }
.promo-slide:nth-child(1) .promo-glow-b { background: #34d399; }
.promo-slide:nth-child(2) .promo-glow-a { background: #fbbf24; }
.promo-slide:nth-child(2) .promo-glow-b { background: #38bdf8; }
.promo-slide:nth-child(3) .promo-glow-a { background: #a78bfa; }
.promo-slide:nth-child(3) .promo-glow-b { background: #22d3ee; }
@keyframes promo-glow-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(26px, 14px) scale(1.08); }
}
/* 斜向扫光（7s 循环，高级感点睛） */
.promo-shine {
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -40%;
  width: 30%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: promo-shine-sweep 7s ease-in-out infinite;
}
@keyframes promo-shine-sweep {
  0%, 55% { left: -40%; }
  85%, 100% { left: 130%; }
}
/* 左侧文案区 */
.promo-copy { position: relative; z-index: 2; max-width: 56%; }
.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 18px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(14, 90, 97, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0e3a40;
  box-shadow: 0 2px 8px rgba(9, 78, 86, 0.08);
}
.promo-tag .material-symbols-outlined { font-size: 15px; color: #00939f; }
.promo-slide:nth-child(2) .promo-tag .material-symbols-outlined { color: #d97706; }
.promo-slide:nth-child(3) .promo-tag .material-symbols-outlined { color: #7c5ce0; }
.promo-title {
  margin: 0 0 14px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.3;
  white-space: nowrap;
  color: #0e3a40;
}
.promo-title strong {
  font-weight: 900;
  background: linear-gradient(95deg, #00a5b4, #0fb784);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #00939f;
}
.promo-slide:nth-child(2) .promo-title strong { background: linear-gradient(95deg, #f59e0b, #f2601a); -webkit-background-clip: text; background-clip: text; color: #e5730e; }
.promo-slide:nth-child(3) .promo-title strong { background: linear-gradient(95deg, #8b5cf6, #0aa2b8); -webkit-background-clip: text; background-clip: text; color: #7c5ce0; }
.promo-sub { margin: 0 0 24px; font-size: 14.5px; line-height: 1.65; color: rgba(14, 58, 64, 0.72); max-width: 560px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.promo-sub strong { color: var(--c-primary, #00939f); font-weight: 800; }
/* 数据卡 2×2 统计网格 */
.promo-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 12px;
}
/* 玻璃小徽章 */
.promo-perks { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.promo-perk {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(14, 90, 97, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 700;
  color: #2b565a;
  box-shadow: 0 2px 6px rgba(9, 78, 86, 0.06);
}
.promo-perk .material-symbols-outlined { font-size: 15px; color: #00939f; }
.promo-slide:nth-child(2) .promo-perk .material-symbols-outlined { color: #d97706; }
.promo-slide:nth-child(3) .promo-perk .material-symbols-outlined { color: #7c5ce0; }
/* 行动按钮：品牌青实底，与全站按钮统一 */
.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 36px;
  border-radius: 14px;
  background: var(--c-primary, #00939f);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 137, 148, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}
.promo-cta:hover {
  transform: translateY(-3px);
  background: #02848d;
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 137, 148, 0.42);
}
.promo-cta .material-symbols-outlined { font-size: 17px; transition: transform 0.25s ease; }
.promo-cta:hover .material-symbols-outlined { transform: translateX(3px); }
/* 双按钮行 + 白玻璃次级按钮（如维保帧的"操作指南"） */
.promo-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.promo-cta--ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--c-primary, #00939f);
  border: 1px solid rgba(0, 137, 148, 0.35);
  box-shadow: 0 8px 20px rgba(0, 105, 111, 0.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.promo-cta--ghost:hover {
  background: #fff;
  color: #00707a;
  border-color: rgba(0, 137, 148, 0.55);
  box-shadow: 0 12px 26px rgba(0, 105, 111, 0.16);
}
/* 右侧白玻璃数据卡（呼应站点浅色卡片） */
.promo-card {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 324px;
  padding: 18px 24px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(10, 68, 74, 0.14), inset 0 1px 0 #ffffff;
}
.promo-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0e3a40;
}
.promo-card-head .material-symbols-outlined { font-size: 18px; color: #00939f; }
.promo-slide:nth-child(2) .promo-card-head .material-symbols-outlined { color: #d97706; }
.promo-slide:nth-child(3) .promo-card-head .material-symbols-outlined { color: #7c5ce0; }
.promo-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  border-top: 1px solid rgba(14, 58, 64, 0.1);
}
.promo-stat-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 147, 159, 0.1);
  border: 1px solid rgba(0, 147, 159, 0.16);
}
.promo-stat-icon .material-symbols-outlined { font-size: 18px; color: #00939f; }
.promo-slide:nth-child(2) .promo-stat-icon { background: rgba(217, 119, 6, 0.1); border-color: rgba(217, 119, 6, 0.18); }
.promo-slide:nth-child(2) .promo-stat-icon .material-symbols-outlined { color: #d97706; }
.promo-slide:nth-child(3) .promo-stat-icon { background: rgba(124, 92, 224, 0.1); border-color: rgba(124, 92, 224, 0.18); }
.promo-slide:nth-child(3) .promo-stat-icon .material-symbols-outlined { color: #7c5ce0; }
.promo-stat b { display: block; font-size: 15.5px; font-weight: 900; line-height: 1.25; letter-spacing: 0.02em; color: #12454a; }
.promo-stat i { display: block; font-style: normal; font-size: 11.5px; color: rgba(18, 69, 74, 0.62); }
.promo-card-foot {
  margin: 5px 0 0;
  padding-top: 7px;
  border-top: 1px solid rgba(14, 58, 64, 0.1);
  font-size: 11.5px;
  color: rgba(18, 69, 74, 0.55);
  letter-spacing: 0.04em;
}
.promo-dots {
  position: absolute;
  right: max(24px, calc((100% - 1200px) / 2 + 24px));
  bottom: 13px;
  display: flex;
  gap: 6px;
  z-index: 3;
}
.promo-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(14, 58, 64, 0.22);
  cursor: pointer;
  transition: all 0.25s ease;
}
.promo-dot.active { width: 20px; background: var(--c-primary, #00939f); }
@media (max-width: 900px) {
  .promo-card { display: none; }
  .promo-copy { max-width: 100%; }
}
@media (max-width: 640px) {
  .promo-slide { padding: 0 22px; }
  .promo-title { font-size: 22px; white-space: normal; }
  .promo-banner { height: 220px; }
}
