/* =============================================================================
   长沙市智能存算产业促进会 · 设计系统
   色彩体系严格遵循《官网设计》文档 4.1 节：
     主色 深科技蓝 #0A2540 / #1B3A5C
     辅助 青蓝      #00A8E8 / #2D7DD2
     强调 暖橙琥珀  #F5A623 / #E8833A
     中性 白/浅灰   #FFFFFF / #F5F7FA
     沉浸底色       #0D1B2A
   版式：PC 端 12 列栅格，移动端单列；H1 28-32px / H2 22-24px / 正文 15-16px
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------------------------------------------------- */
:root {
  /* 主色阶 */
  --c-navy-900: #061726;
  --c-navy-800: #0A2540;
  --c-navy-700: #0D1B2A;
  --c-navy-600: #14304F;
  --c-navy-500: #1B3A5C;
  --c-navy-400: #2A5177;
  --c-navy-300: #4A7196;

  /* 辅助青蓝 */
  --c-cyan-500: #00A8E8;
  --c-cyan-600: #0090C9;
  --c-blue-500: #2D7DD2;
  --c-blue-600: #2468B0;

  /* 强调暖橙 */
  --c-amber-500: #F5A623;
  --c-amber-600: #E8833A;

  /* 中性 */
  --c-white: #FFFFFF;
  --c-gray-50: #F5F7FA;
  --c-gray-100: #EDF1F6;
  --c-gray-200: #DFE5ED;
  --c-gray-300: #C8D2DE;
  --c-gray-400: #9AA8BA;
  --c-gray-500: #6B7A8D;
  --c-gray-600: #4C5A6B;
  --c-gray-700: #35424F;

  /* 语义色 */
  --c-success: #1F9D6C;
  --c-success-bg: #E8F7F1;
  --c-warning: #D5860B;
  --c-warning-bg: #FEF5E4;
  --c-danger: #C93B3B;
  --c-danger-bg: #FDEDED;
  --c-info: #2D7DD2;
  --c-info-bg: #EAF2FC;

  /* 语义别名 */
  --c-bg: var(--c-white);
  --c-bg-soft: var(--c-gray-50);
  --c-bg-dark: var(--c-navy-700);
  --c-text: #16212E;
  --c-text-soft: var(--c-gray-600);
  --c-text-muted: var(--c-gray-500);
  --c-text-invert: rgba(255, 255, 255, 0.92);
  --c-border: var(--c-gray-200);
  --c-border-strong: var(--c-gray-300);
  --c-link: var(--c-blue-500);
  --c-accent: var(--c-amber-500);

  /* 字体 */
  --font-sans: "Inter", "IBM Plex Sans", -apple-system, BlinkMacSystemFont,
    "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI",
    "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  /* 字号层级（文档 4.2：H1 28-32 / H2 22-24 / 正文 15-16） */
  --fs-h1: clamp(26px, 2.2vw + 16px, 32px);
  --fs-h2: clamp(21px, 1.2vw + 15px, 24px);
  --fs-h3: 18px;
  --fs-h4: 16px;
  --fs-body: 16px;
  --fs-sm: 14px;
  --fs-xs: 13px;
  --fs-2xs: 12px;

  --lh-tight: 1.25;
  --lh-snug: 1.45;
  --lh-base: 1.75;

  /* 间距刻度（4 的倍数） */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;

  /* 圆角 */
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* 阴影 */
  --sh-xs: 0 1px 2px rgba(10, 37, 64, 0.06);
  --sh-sm: 0 2px 8px rgba(10, 37, 64, 0.07);
  --sh-md: 0 6px 20px rgba(10, 37, 64, 0.09);
  --sh-lg: 0 14px 40px rgba(10, 37, 64, 0.13);
  --sh-focus: 0 0 0 3px rgba(0, 168, 232, 0.28);

  /* 渐变 */
  --grad-hero: linear-gradient(135deg, #0A2540 0%, #14304F 46%, #0D1B2A 100%);
  --grad-accent: linear-gradient(135deg, var(--c-amber-500), var(--c-amber-600));
  --grad-cyan: linear-gradient(135deg, var(--c-cyan-500), var(--c-blue-500));

  /* 布局 */
  --container: 1240px;
  --container-narrow: 900px;
  --gutter: 24px;
  --header-h: 72px;
  --topbar-h: 36px;

  /* 动效 */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0.05, 0.36, 1);
  --t-fast: 140ms;
  --t-base: 240ms;
  --t-slow: 420ms;

  --z-header: 100;
  --z-drawer: 200;
  --z-modal: 300;
  --z-toast: 400;
}

/* ---------- 2. 重置 -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  /* 离屏抽屉（transform: translateX(100%)）与个别宽元素会撑大 scrollWidth，
     在根元素上关闭横向滚动，避免移动端出现横向滑动条 */
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: var(--lh-tight); color: var(--c-navy-800); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }
a { color: var(--c-link); text-decoration: none; transition: color var(--t-fast) var(--ease-out); }
a:hover { color: var(--c-cyan-500); }
img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.4em; }
li { margin-bottom: var(--sp-2); }
hr { border: 0; border-top: 1px solid var(--c-border); margin: var(--sp-8) 0; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
mark { background: rgba(245, 166, 35, 0.32); color: inherit; padding: 0 2px; border-radius: 2px; }

:focus-visible {
  outline: 2px solid var(--c-cyan-500);
  outline-offset: 2px;
}

::selection { background: rgba(0, 168, 232, 0.2); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: var(--z-toast);
  background: var(--c-navy-800); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. 栅格与容器（PC 12 列 / 移动单列） ---------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow { max-width: var(--container-narrow); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--sp-6); }
.grid-tight { gap: var(--sp-4); }
.grid-loose { gap: var(--sp-8); }
.col-1 { grid-column: span 1; }  .col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }  .col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }  .col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }  .col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }  .col-10 { grid-column: span 10; }
.col-12 { grid-column: span 12; }

.stack { display: flex; flex-direction: column; gap: var(--sp-6); }
.row { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.row-tight { gap: var(--sp-2); }
.spacer { flex: 1 1 auto; }

/* ---------- 4. 版块骨架 ---------------------------------------------------- */
.section { padding: var(--sp-16) 0; }
.section-sm { padding: var(--sp-10) 0; }
.section-lg { padding: var(--sp-20) 0; }
.section-soft { background: var(--c-bg-soft); }
.section-navy { background: var(--grad-hero); color: var(--c-text-invert); }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }
.section-navy a { color: rgba(255, 255, 255, 0.9); }
.section-navy a:hover { color: var(--c-cyan-500); }

/* 版块标题 */
.section-head { margin-bottom: var(--sp-8); }
.section-head-center { text-align: center; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--c-cyan-500); margin-bottom: var(--sp-3);
}
.section-head .eyebrow::before {
  content: ""; width: 18px; height: 2px; background: var(--c-amber-500); border-radius: 2px;
}
.section-navy .section-head .eyebrow { color: var(--c-cyan-500); }
.section-head h2 { margin-bottom: var(--sp-3); }
.section-head .lede { color: var(--c-text-soft); max-width: 62ch; }
.section-head-center .lede { margin-left: auto; margin-right: auto; }
.section-navy .section-head .lede { color: rgba(255, 255, 255, 0.75); }

.rule-accent { width: 48px; height: 3px; background: var(--grad-accent); border-radius: 2px; margin: var(--sp-4) 0 0; }
.section-head-center .rule-accent { margin-left: auto; margin-right: auto; }

/* ---------- 5. 顶部信息条 + 主导航 ---------------------------------------- */
.topbar {
  background: var(--c-navy-900);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-2xs);
  line-height: var(--topbar-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar a { color: rgba(255, 255, 255, 0.78); }
.topbar a:hover { color: #fff; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.topbar-left { display: flex; align-items: center; gap: var(--sp-4); min-width: 0; }
.topbar-notice {
  display: flex; align-items: center; gap: var(--sp-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 56ch;
}
.topbar-notice .tag {
  flex: none; background: var(--c-amber-500); color: #3A2600;
  font-weight: 700; padding: 1px 6px; border-radius: var(--r-xs); font-size: 11px;
}
.topbar-right { display: flex; align-items: center; gap: var(--sp-4); flex: none; }

.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--t-base) var(--ease-out);
}
.site-header.is-stuck { box-shadow: var(--sh-sm); }

.site-header .container {
  display: flex; align-items: center; gap: var(--sp-6);
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: var(--sp-3); flex: none; min-width: 0; }
.brand img, .brand svg { width: 44px; height: 44px; border-radius: var(--r-sm); object-fit: contain; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name { font-size: 17px; font-weight: 800; color: var(--c-navy-800); letter-spacing: 0.01em; white-space: nowrap; }
.brand-slogan { font-size: 11px; color: var(--c-text-muted); letter-spacing: 0.1em; }

.main-nav { flex: 1 1 auto; }
.main-nav ul { display: flex; align-items: center; gap: var(--sp-1); list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; margin: 0; }
.main-nav > ul > li > a {
  display: block; padding: 0 var(--sp-4); line-height: var(--header-h);
  font-size: 15px; font-weight: 600; color: var(--c-navy-800); white-space: nowrap;
  position: relative;
}
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: var(--sp-4); right: var(--sp-4); bottom: 18px;
  height: 2px; background: var(--c-cyan-500); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.is-active > a::after { transform: scaleX(1); }
.main-nav > ul > li.is-active > a { color: var(--c-cyan-600); }

.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 190px; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-md); box-shadow: var(--sh-md); padding: var(--sp-2);
  list-style: none; margin: 0; opacity: 0; visibility: hidden; transition: all var(--t-base) var(--ease-out);
}
.main-nav li:hover > .nav-dropdown,
.main-nav li:focus-within > .nav-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown li { margin: 0; }
.nav-dropdown a {
  display: block; padding: 9px var(--sp-3); border-radius: var(--r-sm);
  font-size: var(--fs-sm); color: var(--c-text-soft); white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--c-gray-50); color: var(--c-cyan-600); }

.header-actions { display: flex; align-items: center; gap: var(--sp-2); flex: none; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--c-border);
  background: #fff; border-radius: var(--r-sm); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--c-navy-800); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--c-navy-800);
  transition: transform var(--t-base) var(--ease-out);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* 移动端抽屉 */
.nav-drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: rgba(6, 23, 38, 0.5); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: all var(--t-base) var(--ease-out);
}
.nav-drawer.is-open { opacity: 1; visibility: visible; }
.nav-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
  background: #fff; box-shadow: var(--sh-lg); overflow-y: auto; padding: var(--sp-5);
  transform: translateX(100%); transition: transform var(--t-base) var(--ease-out);
}
.nav-drawer.is-open .nav-drawer-panel { transform: translateX(0); }
.nav-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-5); }
.nav-drawer-close {
  width: 36px; height: 36px; border: 1px solid var(--c-border); background: #fff;
  border-radius: var(--r-sm); font-size: 20px; line-height: 1; cursor: pointer; color: var(--c-text-soft);
}
.nav-drawer ul { list-style: none; margin: 0; padding: 0; }
.nav-drawer > .nav-drawer-panel > ul > li { border-bottom: 1px solid var(--c-border); }
.nav-drawer a { display: block; padding: var(--sp-4) 0; font-weight: 600; color: var(--c-navy-800); }
.nav-drawer ul ul { padding-left: var(--sp-4); padding-bottom: var(--sp-3); }
.nav-drawer ul ul a { padding: 6px 0; font-weight: 400; font-size: var(--fs-sm); color: var(--c-text-soft); border: 0; }

/* ---------- 6. 按钮 -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 10px 20px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; cursor: pointer;
  text-align: center; white-space: nowrap; background: none;
  transition: all var(--t-base) var(--ease-out);
}
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

.btn-primary { background: var(--c-cyan-500); color: #fff; box-shadow: var(--sh-xs); }
.btn-primary:hover { background: var(--c-cyan-600); color: #fff; transform: translateY(-1px); box-shadow: var(--sh-sm); }

.btn-accent { background: var(--grad-accent); color: #3A2600; box-shadow: var(--sh-xs); }
.btn-accent:hover { color: #2A1B00; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(232, 131, 58, 0.32); }

.btn-navy { background: var(--c-navy-800); color: #fff; }
.btn-navy:hover { background: var(--c-navy-500); color: #fff; }

.btn-ghost { border-color: var(--c-border-strong); color: var(--c-navy-800); background: #fff; }
.btn-ghost:hover { border-color: var(--c-cyan-500); color: var(--c-cyan-600); background: #fff; }

.btn-ghost-invert { border-color: rgba(255, 255, 255, 0.36); color: #fff; }
.btn-ghost-invert:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); color: #fff; }

.btn-text { padding: 4px 0; color: var(--c-cyan-600); }
.btn-text:hover { color: var(--c-amber-600); }
.btn-text .arrow { transition: transform var(--t-base) var(--ease-out); }
.btn-text:hover .arrow { transform: translateX(3px); }

.btn-danger { background: var(--c-danger); color: #fff; }
.btn-danger:hover { background: #A93030; color: #fff; }

.btn-lg { padding: 14px 28px; font-size: var(--fs-body); }
.btn-sm { padding: 6px 13px; font-size: var(--fs-2xs); }
.btn-block { width: 100%; }
.btn-group { display: inline-flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ---------- 7. 卡片 -------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md);
  padding: var(--sp-6); box-shadow: var(--sh-xs);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
  position: relative;
}
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--c-gray-300); }
.card-flat { box-shadow: none; }
.card-pad-sm { padding: var(--sp-4); }
.card-pad-lg { padding: var(--sp-8); }
.card-navy { background: var(--c-navy-700); border-color: rgba(255, 255, 255, 0.1); color: var(--c-text-invert); }
.card-navy h3, .card-navy h4 { color: #fff; }

.card-title { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--c-cyan-600); }
.card-text { color: var(--c-text-soft); font-size: var(--fs-sm); line-height: 1.7; }
.card-meta { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-2xs); color: var(--c-text-muted); flex-wrap: wrap; }
.card-foot { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--c-border); }
.card-icon {
  width: 46px; height: 46px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--c-info-bg); color: var(--c-blue-500); margin-bottom: var(--sp-4); flex: none;
}
.card-icon svg { width: 24px; height: 24px; }
.card-icon.is-accent { background: var(--c-warning-bg); color: var(--c-amber-600); }
.card-icon.is-success { background: var(--c-success-bg); color: var(--c-success); }
.card-icon.is-navy { background: var(--c-navy-800); color: var(--c-cyan-500); }

/* 快捷服务卡（首页） */
.service-card { display: flex; gap: var(--sp-4); align-items: flex-start; }
.service-card .card-icon { margin-bottom: 0; }
.service-card-body { min-width: 0; }
.service-card-title { font-size: 16px; font-weight: 700; color: var(--c-navy-800); margin-bottom: 4px; }
.service-card-desc { font-size: var(--fs-2xs); color: var(--c-text-muted); line-height: 1.6; }

/* 数据看板卡 */
.stat-card { text-align: center; padding: var(--sp-8) var(--sp-4); }
.stat-value {
  font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--c-navy-800);
  display: inline-flex; align-items: baseline; gap: 4px;
}
.stat-card.is-accent .stat-value { color: var(--c-amber-600); }
.stat-card.is-cyan .stat-value { color: var(--c-cyan-500); }
.stat-unit { font-size: var(--fs-sm); font-weight: 600; color: var(--c-text-muted); }
.stat-label { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--c-text-soft); }
.section-navy .stat-value { color: #fff; }
.section-navy .stat-label { color: rgba(255, 255, 255, 0.7); }
.section-navy .stat-card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }

/* ---------- 8. 徽标 / 标签 / 药丸 ----------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 9px; border-radius: var(--r-xs);
  font-size: var(--fs-2xs); font-weight: 600; line-height: 1.7; white-space: nowrap;
  background: var(--c-info-bg); color: var(--c-blue-600);
}
.badge-notice { background: #EAF2FC; color: #21618C; }
.badge-news { background: #E8F7F1; color: #15704C; }
.badge-policy { background: #EEF0FB; color: #3F4C9B; }
.badge-interpret { background: #FEF5E4; color: #9A6208; }
.badge-project { background: #FDEDED; color: #A93226; }
.badge-review { background: #F3EDFB; color: #6B3FA0; }
.badge-accent { background: var(--grad-accent); color: #3A2600; }
.badge-navy { background: var(--c-navy-800); color: #fff; }
.badge-success { background: var(--c-success-bg); color: var(--c-success); }
.badge-warning { background: var(--c-warning-bg); color: var(--c-warning); }
.badge-danger { background: var(--c-danger-bg); color: var(--c-danger); }
.badge-muted { background: var(--c-gray-100); color: var(--c-gray-600); }
.badge-line { background: transparent; border: 1px solid var(--c-border-strong); color: var(--c-text-soft); }

.pill {
  display: inline-flex; align-items: center; padding: 5px 13px; border-radius: var(--r-pill);
  font-size: var(--fs-2xs); font-weight: 500; background: var(--c-gray-100);
  color: var(--c-text-soft); border: 1px solid transparent; cursor: pointer;
  transition: all var(--t-fast) var(--ease-out); text-decoration: none;
}
.pill:hover { background: var(--c-gray-200); color: var(--c-navy-800); }
.pill.is-active { background: var(--c-navy-800); color: #fff; border-color: var(--c-navy-800); }
.pill-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* ---------- 9. 焦点轮播 ---------------------------------------------------- */
.hero { position: relative; background: var(--c-navy-700); overflow: hidden; }
.hero-slides { position: relative; height: clamp(420px, 46vw, 560px); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity var(--t-slow) var(--ease-inout), visibility var(--t-slow);
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide-media {
  position: absolute; inset: 0;
  background: var(--grad-hero);
}
.hero-slide-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 23, 38, 0.94) 0%, rgba(6, 23, 38, 0.72) 52%, rgba(6, 23, 38, 0.3) 100%);
}
.hero-slide-inner {
  position: relative; height: 100%; display: flex; align-items: center;
}
.hero-content { max-width: 660px; color: #fff; }
.hero-content .badge { margin-bottom: var(--sp-4); }
.hero-title {
  font-size: clamp(26px, 3.4vw, 42px); line-height: 1.22; color: #fff;
  margin-bottom: var(--sp-4); text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.hero-subtitle {
  font-size: clamp(15px, 1.1vw, 17px); color: rgba(255, 255, 255, 0.82);
  margin-bottom: var(--sp-8); max-width: 56ch; line-height: 1.7;
}
.hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

.hero-controls {
  position: absolute; left: 0; right: 0; bottom: var(--sp-8); z-index: 2;
}
.hero-controls .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); }
.hero-dots { display: flex; gap: var(--sp-2); align-items: center; }
.hero-dot {
  width: 30px; height: 3px; border-radius: 2px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.32); transition: all var(--t-base) var(--ease-out);
}
.hero-dot.is-active { background: var(--c-amber-500); width: 48px; }
.hero-arrows { display: flex; gap: var(--sp-2); }
.hero-arrow {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: all var(--t-base) var(--ease-out);
}
.hero-arrow:hover { background: rgba(255, 255, 255, 0.2); border-color: #fff; }

/* 轮播下方快捷服务条 */
.quick-bar {
  position: relative; z-index: 3; margin-top: calc(-1 * var(--sp-10));
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: var(--sp-6); border: 1px solid var(--c-border);
}
.quick-bar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
.quick-bar-grid .service-card {
  padding: var(--sp-4); border-radius: var(--r-sm); transition: background var(--t-base) var(--ease-out);
}
.quick-bar-grid .service-card:hover { background: var(--c-gray-50); }

/* ---------- 10. 列表 ------------------------------------------------------ */
.list-clean { list-style: none; margin: 0; padding: 0; }
.list-clean li { margin: 0; }

/* 新闻条目（带日期方块） */
.news-item {
  display: flex; gap: var(--sp-5); padding: var(--sp-5) 0;
  border-bottom: 1px dashed var(--c-border);
}
.news-item:last-child { border-bottom: 0; padding-bottom: 0; }
.date-chip {
  flex: none; width: 62px; text-align: center; border-radius: var(--r-sm);
  background: var(--c-gray-50); border: 1px solid var(--c-border); padding: var(--sp-2) 0;
}
.date-chip .d { display: block; font-size: 22px; font-weight: 800; color: var(--c-navy-800); line-height: 1.1; font-variant-numeric: tabular-nums; }
.date-chip .m { display: block; font-size: 11px; color: var(--c-text-muted); }
.news-item-body { min-width: 0; flex: 1 1 auto; }
.news-item-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.news-item-title a { color: var(--c-navy-800); }
.news-item-title a:hover { color: var(--c-cyan-600); }
.news-item-desc { font-size: var(--fs-2xs); color: var(--c-text-muted); line-height: 1.65; margin-bottom: var(--sp-2); }
.news-item.is-top .news-item-title a { color: var(--c-amber-600); }

/* 图文卡列表 */
.media-card { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; }
.media-card-thumb {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--grad-hero);
}
.media-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.media-card:hover .media-card-thumb img { transform: scale(1.04); }
.media-card-thumb .badge { position: absolute; top: var(--sp-3); left: var(--sp-3); }
.media-card-body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1 1 auto; }
.media-card-body .card-title { font-size: 16px; line-height: 1.45; margin-bottom: var(--sp-2); }
.media-card-body .card-text { flex: 1 1 auto; }
.media-card-thumb-placeholder {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: var(--grad-hero); color: rgba(255, 255, 255, 0.4);
}

/* 链接列表（首页侧栏） */
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { margin: 0; border-bottom: 1px solid var(--c-border); }
.link-list li:last-child { border-bottom: 0; }
.link-list a {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  padding: 13px 0; font-size: var(--fs-sm); color: var(--c-text-soft); line-height: 1.6;
}
.link-list a:hover { color: var(--c-cyan-600); }
.link-list .dot {
  flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--c-gray-300);
  margin-top: 9px; transition: background var(--t-fast) var(--ease-out);
}
.link-list a:hover .dot { background: var(--c-cyan-500); }
.link-list .date { flex: none; margin-left: auto; font-size: var(--fs-2xs); color: var(--c-text-muted); font-variant-numeric: tabular-nums; }

/* 政策卡片 */
.policy-card { display: flex; flex-direction: column; gap: var(--sp-3); height: 100%; }
.policy-card-head { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.policy-card-title { font-size: 16px; line-height: 1.5; font-weight: 700; margin: 0; }
.policy-card-title a { color: var(--c-navy-800); }
.policy-card-title a:hover { color: var(--c-cyan-600); }
.policy-card-meta { font-size: var(--fs-2xs); color: var(--c-text-muted); display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.policy-card-text { font-size: var(--fs-2xs); color: var(--c-text-soft); line-height: 1.7; flex: 1 1 auto; }

/* 专家卡 */
.expert-card { text-align: center; padding: var(--sp-6) var(--sp-5); }
.expert-avatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto var(--sp-4);
  display: grid; place-items: center; font-size: 28px; font-weight: 700; color: #fff;
  background: var(--grad-cyan); overflow: hidden;
}
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-name { font-size: 17px; font-weight: 700; color: var(--c-navy-800); margin-bottom: 4px; }
.expert-title { font-size: var(--fs-2xs); color: var(--c-cyan-600); font-weight: 600; margin-bottom: 2px; }
.expert-org { font-size: var(--fs-2xs); color: var(--c-text-muted); margin-bottom: var(--sp-3); }
.expert-field { font-size: var(--fs-2xs); color: var(--c-text-soft); line-height: 1.65; }
/* 专家简介折叠：正文较长时默认收起，展开后左对齐便于阅读 */
.expert-intro { text-align: left; }
.expert-intro > summary {
  cursor: pointer; color: var(--c-cyan-600); list-style: none;
  display: inline-flex; align-items: center; gap: 4px;
}
.expert-intro > summary::-webkit-details-marker { display: none; }
.expert-intro > summary::after { content: '▾'; font-size: 11px; transition: transform .2s; }
.expert-intro[open] > summary::after { transform: rotate(180deg); }
.expert-intro > summary:hover { color: var(--c-cyan-500); }

/* 合作伙伴 logo 墙 */
.logo-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-4); }
.logo-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-5) var(--sp-3); background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-md); text-align: center; min-height: 104px;
  transition: all var(--t-base) var(--ease-out);
}
.logo-tile:hover { border-color: var(--c-cyan-500); box-shadow: var(--sh-sm); transform: translateY(-2px); }
.logo-tile img { max-height: 44px; object-fit: contain; }
.logo-tile-name { font-size: var(--fs-2xs); font-weight: 600; color: var(--c-navy-800); line-height: 1.4; }
.logo-tile-mark {
  width: 44px; height: 44px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--c-gray-50); color: var(--c-navy-500); font-weight: 800; font-size: 17px;
  border: 1px solid var(--c-border);
}

/* ---------- 11. 页面头 / 面包屑 ------------------------------------------- */
.page-hero {
  background: var(--grad-hero); color: #fff; padding: var(--sp-12) 0 var(--sp-10);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(0, 168, 232, 0.22), transparent 68%);
  pointer-events: none;
}
.page-hero h1 { color: #fff; margin-bottom: var(--sp-3); }
.page-hero .lede { color: rgba(255, 255, 255, 0.78); max-width: 68ch; font-size: var(--fs-sm); line-height: 1.75; }
.page-hero-inner { position: relative; z-index: 1; }

.breadcrumb { font-size: var(--fs-2xs); color: rgba(255, 255, 255, 0.66); margin-bottom: var(--sp-4); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; align-items: center; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: var(--sp-2); }
.breadcrumb li::after { content: "/"; color: rgba(255, 255, 255, 0.32); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: rgba(255, 255, 255, 0.72); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: rgba(255, 255, 255, 0.95); }

.breadcrumb-light { color: var(--c-text-muted); }
.breadcrumb-light li::after { color: var(--c-gray-300); }
.breadcrumb-light a { color: var(--c-text-muted); }
.breadcrumb-light a:hover { color: var(--c-cyan-600); }
.breadcrumb-light [aria-current] { color: var(--c-text); }

/* ---------- 12. 侧栏布局（分层侧栏） ------------------------------------- */
.layout-sidebar { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: var(--sp-8); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + var(--sp-5)); }
.sidebar-block { margin-bottom: var(--sp-6); }
.sidebar-title {
  font-size: var(--fs-sm); font-weight: 700; color: var(--c-navy-800);
  padding-bottom: var(--sp-3); border-bottom: 2px solid var(--c-navy-800); margin-bottom: var(--sp-3);
  display: flex; align-items: center; justify-content: space-between;
}
.sidebar-nav { list-style: none; margin: 0; padding: 0; }
.sidebar-nav li { margin: 0; }
.sidebar-nav a {
  display: flex; align-items: center; gap: var(--sp-2); padding: 11px var(--sp-4);
  font-size: var(--fs-sm); color: var(--c-text-soft); border-left: 3px solid transparent;
  background: var(--c-gray-50); margin-bottom: 1px;
  transition: all var(--t-fast) var(--ease-out);
}
.sidebar-nav a:hover { background: var(--c-gray-100); color: var(--c-navy-800); border-left-color: var(--c-gray-300); }
.sidebar-nav a.is-active {
  background: var(--c-info-bg); color: var(--c-cyan-600); font-weight: 600;
  border-left-color: var(--c-cyan-500);
}
.sidebar-nav .count { margin-left: auto; font-size: 11px; color: var(--c-text-muted); }

/* ---------- 13. 表单 ------------------------------------------------------ */
.form-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--sp-5); }
.form-row { display: flex; flex-direction: column; gap: 7px; }
.form-row.col-3 { grid-column: span 3; } .form-row.col-4 { grid-column: span 4; }
.form-row.col-6 { grid-column: span 6; } .form-row.col-8 { grid-column: span 8; }
.form-row.col-12 { grid-column: span 12; }

.form-label { font-size: var(--fs-sm); font-weight: 600; color: var(--c-navy-800); }
.form-label .req { color: var(--c-danger); margin-left: 3px; }
.form-hint { font-size: var(--fs-2xs); color: var(--c-text-muted); line-height: 1.6; }
.form-error { font-size: var(--fs-2xs); color: var(--c-danger); font-weight: 500; }

.input, .select, .textarea {
  width: 100%; padding: 10px 13px; border: 1px solid var(--c-border-strong);
  border-radius: var(--r-sm); background: #fff; font-size: var(--fs-sm);
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--c-gray-400); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--c-cyan-500); box-shadow: var(--sh-focus);
}
.input::placeholder, .textarea::placeholder { color: var(--c-gray-400); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] {
  border-color: var(--c-danger);
}
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(201, 59, 59, 0.2); }
.textarea { min-height: 118px; resize: vertical; line-height: 1.7; }
.select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7A8D' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }

.checkbox-field { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--c-text-soft); }
.checkbox-field input { flex: none; width: 17px; height: 17px; margin-top: 3px; accent-color: var(--c-cyan-500); }
.checkbox-inline { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

.form-actions { display: flex; gap: var(--sp-3); align-items: center; flex-wrap: wrap; margin-top: var(--sp-6); }

/* 两栏表单（会员资料维护） */
.form-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
.form-full { grid-column: 1 / -1; }

/* 文件上传 */
.file-drop {
  border: 1.5px dashed var(--c-border-strong); border-radius: var(--r-sm);
  padding: var(--sp-6); text-align: center; background: var(--c-gray-50);
  transition: all var(--t-base) var(--ease-out); cursor: pointer;
}
.file-drop:hover, .file-drop.is-drag { border-color: var(--c-cyan-500); background: var(--c-info-bg); }
.file-drop input[type="file"] { display: none; }
.file-drop-text { font-size: var(--fs-sm); color: var(--c-text-soft); }
.file-drop-text strong { color: var(--c-cyan-600); }
.file-list { list-style: none; margin: var(--sp-3) 0 0; padding: 0; }
.file-list li {
  display: flex; align-items: center; gap: var(--sp-3); padding: 9px var(--sp-3);
  background: var(--c-gray-50); border-radius: var(--r-sm); font-size: var(--fs-2xs); margin-bottom: 6px;
}
.file-list li .name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 验证码行 */
.captcha-row { display: flex; align-items: center; gap: var(--sp-3); }
.captcha-question {
  flex: none; padding: 10px 16px; border-radius: var(--r-sm); background: var(--c-navy-800);
  color: #fff; font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums; user-select: none;
}
.captcha-row .input { max-width: 140px; }

/* 步骤条 */
.steps { display: flex; gap: var(--sp-2); counter-reset: step; list-style: none; margin: 0 0 var(--sp-8); padding: 0; flex-wrap: wrap; }
.steps li {
  flex: 1 1 150px; position: relative; padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-8);
  background: var(--c-gray-50); border-radius: var(--r-sm); font-size: var(--fs-2xs);
  color: var(--c-text-soft); counter-increment: step; margin: 0;
}
.steps li::before {
  content: counter(step); position: absolute; left: var(--sp-3); top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; background: var(--c-gray-300); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.steps li.is-active { background: var(--c-info-bg); color: var(--c-navy-800); font-weight: 600; }
.steps li.is-active::before { background: var(--c-cyan-500); }
.steps li.is-done::before { background: var(--c-success); }

/* ---------- 14. 表格 ------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--r-md); background: #fff; }
.table { width: 100%; font-size: var(--fs-sm); min-width: 620px; }
.table th, .table td { padding: 11px var(--sp-4); text-align: left; border-bottom: 1px solid var(--c-border); vertical-align: middle; }
.table th {
  background: var(--c-gray-50); font-weight: 600; color: var(--c-navy-800);
  font-size: var(--fs-2xs); white-space: nowrap; position: sticky; top: 0;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--c-gray-50); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .actions { white-space: nowrap; text-align: right; }
.table-compact th, .table-compact td { padding: 8px var(--sp-3); }

/* 富文本表格（政策正文） */
.prose table { margin: var(--sp-5) 0; font-size: var(--fs-sm); border: 1px solid var(--c-border); border-radius: var(--r-sm); }
.prose th { background: var(--c-navy-800); color: #fff; font-weight: 600; }
.prose th, .prose td { padding: 10px var(--sp-4); border: 1px solid var(--c-border); }
.prose tbody tr:nth-child(even) { background: var(--c-gray-50); }

/* ---------- 15. 正文排版 -------------------------------------------------- */
.prose { font-size: var(--fs-body); line-height: var(--lh-base); color: #24303D; }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { font-size: var(--fs-h2); margin-top: var(--sp-10); padding-left: var(--sp-4); border-left: 4px solid var(--c-cyan-500); }
.prose h3 { font-size: 19px; margin-top: var(--sp-8); color: var(--c-navy-800); }
.prose h4 { font-size: var(--fs-h4); margin-top: var(--sp-6); }
.prose p { margin: 0; }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose li { margin-bottom: var(--sp-2); }
.prose blockquote {
  margin: var(--sp-5) 0; padding: var(--sp-4) var(--sp-5); background: var(--c-info-bg);
  border-left: 3px solid var(--c-cyan-500); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--c-navy-600); font-size: var(--fs-sm);
}
.prose blockquote p { margin: 0; }
.prose img { border-radius: var(--r-sm); margin: var(--sp-5) auto; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--c-navy-800); }
.prose code { font-family: var(--font-mono); font-size: 0.9em; background: var(--c-gray-100); padding: 1px 5px; border-radius: var(--r-xs); }

/* 文章正文页 */
.article-head { margin-bottom: var(--sp-8); padding-bottom: var(--sp-6); border-bottom: 1px solid var(--c-border); }
.article-title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; margin-bottom: var(--sp-5); }
.article-meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-5); font-size: var(--fs-2xs);
  color: var(--c-text-muted); align-items: center;
}
.article-meta .item { display: flex; align-items: center; gap: 5px; }
.article-foot { margin-top: var(--sp-10); padding-top: var(--sp-6); border-top: 1px solid var(--c-border); }
.article-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); margin-top: var(--sp-6); }
.article-nav-item {
  padding: var(--sp-4); border: 1px solid var(--c-border); border-radius: var(--r-sm);
  font-size: var(--fs-2xs); background: #fff;
}
.article-nav-item .label { color: var(--c-text-muted); margin-bottom: 4px; display: block; }
.article-nav-item a { color: var(--c-navy-800); font-weight: 500; }
.article-nav-item.disabled { opacity: 0.55; }

/* 关键信息卡（政策详情） */
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.fact-item { padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--c-border); }
.fact-item:nth-child(2n) { border-right: 0; }
.fact-item:nth-last-child(-n+2) { border-bottom: 0; }
.fact-item:nth-child(odd) { border-right: 1px solid var(--c-border); }
.fact-label { font-size: var(--fs-2xs); color: var(--c-text-muted); margin-bottom: 5px; }
.fact-value { font-size: var(--fs-sm); font-weight: 600; color: var(--c-navy-800); word-break: break-all; }

/* 申报条件 / 材料清单 */
.doc-checklist { list-style: none; margin: 0; padding: 0; }
.doc-checklist li {
  display: flex; gap: var(--sp-3); padding: var(--sp-3) 0; border-bottom: 1px dashed var(--c-border);
  font-size: var(--fs-sm); color: var(--c-text-soft);
}
.doc-checklist li:last-child { border-bottom: 0; }
.doc-checklist .idx {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--c-info-bg);
  color: var(--c-blue-500); display: grid; place-items: center; font-size: 12px; font-weight: 700;
}

/* 时间轴（申报进度） */
.timeline { list-style: none; margin: 0; padding: 0 0 0 var(--sp-6); position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--c-border); }
.timeline li { position: relative; padding: 0 0 var(--sp-6) 0; margin: 0; }
.timeline li::before {
  content: ""; position: absolute; left: calc(-1 * var(--sp-6) + 1px); top: 5px;
  width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--c-gray-300);
}
.timeline li.is-done::before { border-color: var(--c-success); background: var(--c-success); }
.timeline li.is-current::before { border-color: var(--c-cyan-500); background: #fff; box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.16); }
.timeline-time { font-size: var(--fs-2xs); color: var(--c-text-muted); }
.timeline-title { font-size: var(--fs-sm); font-weight: 600; color: var(--c-navy-800); margin: 3px 0; }
.timeline-note { font-size: var(--fs-2xs); color: var(--c-text-soft); }

/* 提示条 */
.alert {
  display: flex; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); border-radius: var(--r-sm);
  font-size: var(--fs-sm); line-height: 1.7; border: 1px solid transparent;
}
.alert-icon { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.alert-info { background: var(--c-info-bg); color: #1B4E7A; border-color: #C6DDF5; }
.alert-success { background: var(--c-success-bg); color: #12603F; border-color: #BFE8D7; }
.alert-warning { background: var(--c-warning-bg); color: #8A5800; border-color: #F7E0B0; }
.alert-danger { background: var(--c-danger-bg); color: #8E2A2A; border-color: #F5C9C9; }
.alert-navy { background: var(--c-navy-800); color: #fff; }

/* Toast 提示（flash 消息） */
.toast-stack {
  position: fixed; top: calc(var(--header-h) + 20px); right: 20px; z-index: var(--z-toast);
  display: flex; flex-direction: column; gap: var(--sp-3); max-width: min(400px, calc(100vw - 40px));
}
.toast {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); background: #fff;
  box-shadow: var(--sh-lg); border-left: 4px solid var(--c-info);
  font-size: var(--fs-sm); color: var(--c-text); animation: toast-in var(--t-base) var(--ease-out);
}
.toast-success { border-left-color: var(--c-success); }
.toast-error { border-left-color: var(--c-danger); }
.toast-warning { border-left-color: var(--c-warning); }
.toast-close { margin-left: auto; border: 0; background: none; cursor: pointer; color: var(--c-text-muted); font-size: 17px; line-height: 1; padding: 0 0 0 var(--sp-2); }
@keyframes toast-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* ---------- 16. 数据看板 / 产业图谱（沉浸式深色区域） ------------------- */
.board {
  background: var(--c-navy-700); border-radius: var(--r-lg); padding: var(--sp-10);
  color: var(--c-text-invert); position: relative; overflow: hidden;
}
.board::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 168, 232, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 232, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 76%);
}
.board > * { position: relative; z-index: 1; }
.board-title { color: #fff; font-size: var(--fs-h2); margin-bottom: var(--sp-2); }
.board-sub { color: rgba(255, 255, 255, 0.66); font-size: var(--fs-sm); margin-bottom: var(--sp-8); }

/* 产业链环节链 */
.chain { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--sp-3); }
.chain-node {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-sm); padding: var(--sp-4); text-align: center;
  transition: all var(--t-base) var(--ease-out);
}
.chain-node:hover { background: rgba(0, 168, 232, 0.14); border-color: rgba(0, 168, 232, 0.5); transform: translateY(-2px); }
.chain-node .n { font-size: 22px; font-weight: 800; color: var(--c-cyan-500); font-variant-numeric: tabular-nums; }
.chain-node .t { font-size: var(--fs-2xs); color: rgba(255, 255, 255, 0.8); margin-top: 5px; }

/* 简易条形图 */
.bar-chart { display: flex; flex-direction: column; gap: var(--sp-3); }
.bar-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 62px; gap: var(--sp-3); align-items: center; font-size: var(--fs-2xs); }
.bar-track { height: 9px; background: rgba(255, 255, 255, 0.1); border-radius: var(--r-pill); overflow: hidden; }
/*
 * .bar-fill 是 <i> 元素，必须显式 display:block：
 * 行内元素忽略 height，否则进度条会退化成 0 高度而不可见。
 */
.bar-fill { display: block; height: 100%; border-radius: var(--r-pill); background: var(--grad-cyan); width: 0; transition: width 1s var(--ease-out); }
.bar-row .val { text-align: right; color: rgba(255, 255, 255, 0.82); font-variant-numeric: tabular-nums; }
.bar-chart-light .bar-track { background: var(--c-gray-100); }
.bar-chart-light .bar-row { color: var(--c-text-soft); }
.bar-chart-light .bar-row .val { color: var(--c-text-soft); }

/* ---------- 17. 活动 ------------------------------------------------------ */
.event-card { display: flex; gap: var(--sp-5); padding: var(--sp-5); align-items: flex-start; }
.event-date {
  flex: none; width: 74px; border-radius: var(--r-sm); overflow: hidden; text-align: center;
  border: 1px solid var(--c-border); background: #fff;
}
.event-date .m { background: var(--c-navy-800); color: #fff; font-size: 11px; padding: 3px 0; letter-spacing: 0.04em; }
.event-date .d { font-size: 26px; font-weight: 800; color: var(--c-navy-800); line-height: 1.25; font-variant-numeric: tabular-nums; }
.event-date .w { font-size: 11px; color: var(--c-text-muted); padding-bottom: 4px; }
.event-date.is-accent .m { background: var(--grad-accent); color: #3A2600; }
.event-body { min-width: 0; flex: 1 1 auto; }
.event-title { font-size: 17px; font-weight: 700; margin-bottom: var(--sp-2); }
.event-title a { color: var(--c-navy-800); }
.event-title a:hover { color: var(--c-cyan-600); }
.event-info { display: flex; flex-wrap: wrap; gap: var(--sp-4); font-size: var(--fs-2xs); color: var(--c-text-muted); margin-top: var(--sp-3); }
.event-info .item { display: flex; align-items: center; gap: 5px; }
.event-cover { aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--grad-hero); }

/* 报名按钮区 */
.signup-panel { position: sticky; top: calc(var(--header-h) + var(--sp-5)); }
.ticket-option {
  display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-4);
  border: 1px solid var(--c-border); border-radius: var(--r-sm); cursor: pointer;
  transition: all var(--t-fast) var(--ease-out); margin-bottom: var(--sp-3);
}
.ticket-option:hover { border-color: var(--c-cyan-500); background: var(--c-gray-50); }
.ticket-option input { margin-top: 3px; accent-color: var(--c-cyan-500); flex: none; }
.ticket-info { flex: 1 1 auto; min-width: 0; }
.ticket-name { font-size: var(--fs-sm); font-weight: 600; color: var(--c-navy-800); }
.ticket-desc { font-size: var(--fs-2xs); color: var(--c-text-muted); margin-top: 3px; }
.ticket-price { font-weight: 700; color: var(--c-amber-600); font-size: var(--fs-sm); flex: none; }

/* 议程 */
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda li {
  display: grid; grid-template-columns: 128px 1fr; gap: var(--sp-4); padding: var(--sp-4) 0;
  border-bottom: 1px dashed var(--c-border);
}
.agenda li:last-child { border-bottom: 0; }
.agenda .time { font-size: var(--fs-2xs); color: var(--c-cyan-600); font-weight: 600; font-variant-numeric: tabular-nums; }
.agenda .stage { font-size: var(--fs-sm); color: var(--c-text); font-weight: 500; }
.agenda .speaker { font-size: var(--fs-2xs); color: var(--c-text-muted); margin-top: 3px; }

/* 嘉宾 */
.guest-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--sp-4); }
.guest-item { display: flex; gap: var(--sp-3); align-items: center; padding: var(--sp-4); background: var(--c-gray-50); border-radius: var(--r-sm); }
.guest-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--grad-cyan); color: #fff; font-weight: 700; font-size: 17px;
}
.guest-name { font-size: var(--fs-sm); font-weight: 600; color: var(--c-navy-800); }
.guest-title { font-size: var(--fs-2xs); color: var(--c-text-muted); }

/* 活动图集 */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--sp-3); }
.gallery figure { margin: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--c-gray-100); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.gallery figure:hover img { transform: scale(1.05); }

/* 视频容器（16:9 自适应） */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #000; }
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; }
.video-link { display: block; position: relative; }
.video-link::after {
  content: ""; position: absolute; inset: 0; background: rgba(6, 23, 38, 0.34);
  display: grid; place-items: center;
}
.play-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 62px; height: 62px; border-radius: 50%; background: rgba(255, 255, 255, 0.92);
  display: grid; place-items: center; box-shadow: var(--sh-md);
}
.play-badge::before {
  content: ""; border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--c-navy-800); margin-left: 5px;
}

/* ---------- 18. 会员中心 -------------------------------------------------- */
.member-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: var(--sp-8); align-items: start; }
.member-side {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md);
  overflow: hidden; position: sticky; top: calc(var(--header-h) + var(--sp-5));
}
.member-profile { padding: var(--sp-5); background: var(--grad-hero); color: #fff; }
.member-profile .company { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.4; }
.member-profile .level { font-size: var(--fs-2xs); color: rgba(255, 255, 255, 0.72); margin-top: 4px; }
.member-menu { list-style: none; margin: 0; padding: var(--sp-2); }
.member-menu li { margin: 0; }
.member-menu a {
  display: flex; align-items: center; gap: var(--sp-3); padding: 11px var(--sp-4);
  border-radius: var(--r-sm); font-size: var(--fs-sm); color: var(--c-text-soft);
}
.member-menu a:hover { background: var(--c-gray-50); color: var(--c-navy-800); }
.member-menu a.is-active { background: var(--c-info-bg); color: var(--c-cyan-600); font-weight: 600; }
.member-menu svg { width: 17px; height: 17px; flex: none; }
.member-menu .divider { height: 1px; background: var(--c-border); margin: var(--sp-2) var(--sp-3); }

.page-title-bar { margin-bottom: var(--sp-6); }
.page-title-bar h1 { font-size: var(--fs-h2); margin-bottom: 5px; }
.page-title-bar p { font-size: var(--fs-sm); color: var(--c-text-muted); margin: 0; }

/* 权益矩阵卡 */
.benefit-card { display: flex; flex-direction: column; height: 100%; }
.benefit-card.is-featured { border-color: var(--c-cyan-500); box-shadow: 0 0 0 1px var(--c-cyan-500), var(--sh-md); }
.benefit-head { padding-bottom: var(--sp-4); border-bottom: 1px solid var(--c-border); margin-bottom: var(--sp-4); }
.benefit-name { font-size: 17px; font-weight: 700; color: var(--c-navy-800); }
.benefit-list { list-style: none; margin: 0; padding: 0; flex: 1 1 auto; }
.benefit-list li { display: flex; gap: var(--sp-2); font-size: var(--fs-2xs); color: var(--c-text-soft); padding: 6px 0; }
.benefit-list .tick { color: var(--c-success); flex: none; font-weight: 700; }
.benefit-list .cross { color: var(--c-gray-400); flex: none; }

/* 供需对接条目 */
.match-card { display: flex; flex-direction: column; gap: var(--sp-3); height: 100%; }
.match-kind {
  align-self: flex-start; padding: 3px 10px; border-radius: var(--r-xs);
  font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
}
.match-kind.is-supply { background: var(--c-success-bg); color: var(--c-success); }
.match-kind.is-demand { background: var(--c-warning-bg); color: #9A6208; }
.match-score {
  display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-2xs);
  color: var(--c-amber-600); font-weight: 600;
}
.match-score .bar { width: 54px; height: 5px; border-radius: var(--r-pill); background: var(--c-gray-200); overflow: hidden; }
.match-score .bar i { display: block; height: 100%; background: var(--grad-accent); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px; padding: 2px 8px; border-radius: var(--r-xs);
  background: var(--c-gray-100); color: var(--c-text-soft);
}
.tag.is-match { background: var(--c-warning-bg); color: #9A6208; font-weight: 600; }

/* ---------- 19. 统计 / 分页 ---------------------------------------------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-10); flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; padding: 0 11px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-border); border-radius: var(--r-sm); font-size: var(--fs-sm);
  color: var(--c-text-soft); background: #fff; font-variant-numeric: tabular-nums;
}
.pagination a:hover { border-color: var(--c-cyan-500); color: var(--c-cyan-600); }
.pagination .is-current { background: var(--c-navy-800); border-color: var(--c-navy-800); color: #fff; font-weight: 600; }
.pagination .is-disabled { opacity: 0.45; pointer-events: none; }
.pagination .ellipsis { border: 0; background: none; color: var(--c-text-muted); min-width: 20px; padding: 0; }
.pagination-info { text-align: center; font-size: var(--fs-2xs); color: var(--c-text-muted); margin-top: var(--sp-3); }

.empty-state { text-align: center; padding: var(--sp-16) var(--sp-5); color: var(--c-text-muted); }
.empty-state svg { width: 56px; height: 56px; margin: 0 auto var(--sp-4); color: var(--c-gray-300); }
.empty-state p { font-size: var(--fs-sm); margin: 0; }

/* ---------- 20. 页脚 ------------------------------------------------------ */
.site-footer { background: var(--c-navy-900); color: rgba(255, 255, 255, 0.6); font-size: var(--fs-2xs); padding-top: var(--sp-16); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--sp-10); padding-bottom: var(--sp-10); }
.footer-brand { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.footer-brand img { width: 46px; height: 46px; border-radius: var(--r-sm); object-fit: contain; }
.footer-brand-text .n { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.3; }
.footer-brand-text .s { font-size: 11px; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.1em; }
.footer-desc { line-height: 1.8; margin-bottom: var(--sp-5); max-width: 40ch; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: var(--sp-2); margin-bottom: 7px; line-height: 1.7; }
.footer-contact svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--c-cyan-500); }
.footer-col h4 { color: #fff; font-size: var(--fs-sm); margin-bottom: var(--sp-4); font-weight: 600; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255, 255, 255, 0.6); }
.footer-links a:hover { color: var(--c-cyan-500); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09); padding: var(--sp-5) 0;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap;
  line-height: 1.9;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: #fff; }
.footer-links-inline { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

/* 浮动操作按钮 */
.back-to-top {
  position: fixed; right: 22px; bottom: 26px; z-index: var(--z-header);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-border);
  background: #fff; color: var(--c-navy-800); cursor: pointer; box-shadow: var(--sh-md);
  display: grid; place-items: center; opacity: 0; visibility: hidden;
  transition: all var(--t-base) var(--ease-out);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--c-navy-800); color: #fff; border-color: var(--c-navy-800); }

/* 分页加载更多 */
.load-more { text-align: center; margin-top: var(--sp-8); }

/* ---------- 21. 后台管理 ------------------------------------------------- */
.admin-body { background: var(--c-gray-50); }
.admin-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: var(--c-navy-800); color: rgba(255, 255, 255, 0.7); display: flex; flex-direction: column; }
.admin-side-head { padding: var(--sp-5); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.admin-side-head .t { color: #fff; font-size: 15px; font-weight: 700; line-height: 1.4; }
.admin-side-head .s { font-size: 11px; color: rgba(255, 255, 255, 0.5); margin-top: 3px; }
.admin-nav { padding: var(--sp-3); flex: 1 1 auto; overflow-y: auto; }
.admin-nav-group { margin-bottom: var(--sp-4); }
.admin-nav-group > .label {
  font-size: 11px; color: rgba(255, 255, 255, 0.38); padding: 0 var(--sp-4) 6px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.admin-nav a {
  display: flex; align-items: center; gap: var(--sp-3); padding: 9px var(--sp-4);
  border-radius: var(--r-sm); font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.72); margin-bottom: 2px;
}
.admin-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.admin-nav a.is-active { background: var(--c-cyan-500); color: #fff; font-weight: 600; }
.admin-nav svg { width: 17px; height: 17px; flex: none; }
.admin-nav .badge { margin-left: auto; }

.admin-main { display: flex; flex-direction: column; min-width: 0; }
.admin-top {
  background: #fff; border-bottom: 1px solid var(--c-border); padding: 0 var(--sp-6);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: 60px; position: sticky; top: 0; z-index: 50;
}
.admin-top h1 { font-size: 17px; font-weight: 700; }
.admin-top-actions { display: flex; align-items: center; gap: var(--sp-3); }
.admin-user { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-2xs); color: var(--c-text-soft); }
.admin-user .avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--grad-cyan); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: var(--fs-2xs);
}
.admin-content { padding: var(--sp-6); flex: 1 1 auto; }

.admin-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; }
.admin-card-head {
  padding: var(--sp-5) var(--sp-6); border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap;
}
.admin-card-head h2 { font-size: 16px; }
.admin-card-head .sub { font-size: var(--fs-2xs); color: var(--c-text-muted); margin-top: 3px; }
.admin-card-body { padding: var(--sp-6); }
.admin-card-body-flush { padding: 0; }

.filter-bar {
  display: flex; gap: var(--sp-3); align-items: flex-end; flex-wrap: wrap;
  padding: var(--sp-5) var(--sp-6); background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-md); margin-bottom: var(--sp-5);
}
.filter-bar .form-row { gap: 5px; min-width: 150px; }
.filter-bar .form-row.grow { flex: 1 1 220px; }

.stat-tile { padding: var(--sp-5); background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md); }
.stat-tile .label { font-size: var(--fs-2xs); color: var(--c-text-muted); display: flex; align-items: center; gap: 6px; }
.stat-tile .value { font-size: 27px; font-weight: 800; color: var(--c-navy-800); margin-top: var(--sp-2); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat-tile .trend { font-size: 11px; color: var(--c-text-muted); margin-top: 5px; }
.stat-tile.is-accent .value { color: var(--c-amber-600); }
.stat-tile.is-success .value { color: var(--c-success); }
.stat-tile.is-cyan .value { color: var(--c-cyan-500); }

/* 后台登录页 */
.auth-page {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; background: #fff;
}
.auth-aside {
  background: var(--grad-hero); color: #fff; padding: var(--sp-16) var(--sp-12);
  display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.auth-aside::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 168, 232, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 232, 0.09) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 30% 30%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000, transparent 70%);
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside h2 { color: #fff; font-size: 26px; margin-bottom: var(--sp-4); }
.auth-aside p { color: rgba(255, 255, 255, 0.74); font-size: var(--fs-sm); line-height: 1.85; max-width: 44ch; }
.auth-aside .feature-list { list-style: none; margin: var(--sp-8) 0 0; padding: 0; }
.auth-aside .feature-list li { display: flex; gap: var(--sp-3); font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.82); margin-bottom: var(--sp-4); }
.auth-aside .feature-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--c-cyan-500); }
.auth-main { display: grid; place-items: center; padding: var(--sp-10) var(--sp-6); background: var(--c-gray-50); }
.auth-box { width: 100%; max-width: 400px; }
.auth-box .brand { justify-content: center; margin-bottom: var(--sp-8); }
.auth-box h1 { font-size: 22px; text-align: center; margin-bottom: var(--sp-2); }
.auth-box .sub { text-align: center; font-size: var(--fs-2xs); color: var(--c-text-muted); margin-bottom: var(--sp-8); }

/* ---------- 22. 动效 ------------------------------------------------------ */
/*
 * 滚动入场动效采用「渐进增强」：
 *   默认状态：[data-animate] 完全可见，不依赖 JS / 不依赖任何脚本执行；
 *   增强状态：仅当 html 带有 .js-anim 类（由 public/js/main.js 在启动时注入）时，
 *             才先把元素隐藏、再随滚动逐显。
 * 这样即便 JavaScript 被 CSP 拦截、加载失败或脚本报错，以及搜索引擎抓取原始 HTML 时，
 * 页面内容依然完整可见——避免"近半页面空白"的可用性事故。
 */
.js-anim [data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
.js-anim [data-animate].is-visible { opacity: 1; transform: none; }

@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;
  }
  .js-anim [data-animate] { opacity: 1; transform: none; }
}

/* 骨架屏 */
.skeleton { background: linear-gradient(90deg, var(--c-gray-100) 25%, var(--c-gray-200) 37%, var(--c-gray-100) 63%); background-size: 400% 100%; animation: skeleton 1.4s ease-in-out infinite; border-radius: var(--r-sm); }
@keyframes skeleton { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- 23. 响应式 ---------------------------------------------------- */
@media (max-width: 1180px) {
  .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--sp-8); }
}

@media (max-width: 1024px) {
  :root { --gutter: 20px; }
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .layout-sidebar { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .member-shell { grid-template-columns: minmax(0, 1fr); }
  .member-side { position: static; }
  .admin-shell { grid-template-columns: minmax(0, 1fr); }
  .admin-side { position: fixed; inset: 0 auto 0 0; width: 246px; transform: translateX(-100%); transition: transform var(--t-base) var(--ease-out); z-index: var(--z-drawer); }
  .admin-side.is-open { transform: none; }
  .auth-page { grid-template-columns: minmax(0, 1fr); }
  .auth-aside { display: none; }
  .quick-bar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col-3, .col-4, .col-5, .col-7, .col-8, .col-9 { grid-column: span 6; }
  .col-1, .col-2 { grid-column: span 4; }
}

@media (max-width: 768px) {
  :root { --fs-body: 15px; --header-h: 62px; --sp-16: 44px; --sp-20: 56px; --sp-12: 32px; --sp-10: 28px; }
  .section { padding: var(--sp-12) 0; }
  .grid { gap: var(--sp-4); }
  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10 { grid-column: span 12; }
  .hero-slides { height: 460px; }
  .hero-content { max-width: none; }
  .hero-controls { bottom: var(--sp-5); }
  .quick-bar { margin-top: var(--sp-6); padding: var(--sp-4); }
  .quick-bar-grid { grid-template-columns: minmax(0, 1fr); }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-2col, .fact-grid, .article-nav { grid-template-columns: minmax(0, 1fr); }
  .fact-item:nth-child(odd) { border-right: 0; }
  .fact-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--c-border); }
  .fact-item:last-child { border-bottom: 0; }
  .form-row.col-3, .form-row.col-4, .form-row.col-6, .form-row.col-8 { grid-column: span 12; }
  .event-card { flex-direction: column; }
  .event-date { width: 100%; display: flex; align-items: center; gap: var(--sp-3); }
  .event-date .m { padding: 6px 12px; }
  .event-date .d, .event-date .w { padding: 0; }
  .agenda li { grid-template-columns: minmax(0, 1fr); gap: var(--sp-1); }
  .news-item { gap: var(--sp-4); }
  .date-chip { width: 54px; }
  .topbar { display: none; }
  .admin-content { padding: var(--sp-4); }
  .admin-top { padding: 0 var(--sp-4); }
  .toast-stack { top: auto; bottom: 16px; left: 16px; right: 16px; max-width: none; }
  .back-to-top { right: 14px; bottom: 14px; }
  .board { padding: var(--sp-6); }
  .table { min-width: 560px; }
  .steps li { flex: 1 1 100%; }
}

@media (max-width: 480px) {
  .brand-name { font-size: 15px; }
  .brand-slogan { display: none; }
  /*
   * 小屏（≤480px）隐藏页头 CTA：品牌名 + 申请入会按钮 + 汉堡按钮的总宽会超出视口。
   * 「申请入会」入口在移动端仍然可达：顶栏、轮播首屏按钮与抽屉菜单中均有。
   */
  .header-actions .btn-accent { display: none; }
  .logo-wall { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-meta { gap: var(--sp-3); }
}

/* ---------- 24. 打印 ------------------------------------------------------ */
@media print {
  .site-header, .topbar, .site-footer, .back-to-top, .toast-stack,
  .sidebar, .hero-controls, .btn, .pagination { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  .container { max-width: none; padding: 0; }
  .page-hero { background: none; color: #000; padding: 0 0 12pt; }
  .page-hero h1, .page-hero .lede { color: #000; }
  .prose { font-size: 11pt; line-height: 1.7; }
  a { color: #000; text-decoration: underline; }
  .card { box-shadow: none; border-color: #ccc; }
}

/* ---------- 25. 工具类 ---------------------------------------------------- */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: var(--sp-2); } .mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); } .mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); } .mt-10 { margin-top: var(--sp-10); }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: var(--sp-2); } .mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); } .mb-5 { margin-bottom: var(--sp-5); } .mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.text-center { text-align: center; } .text-right { text-align: right; }
.text-sm { font-size: var(--fs-sm); } .text-xs { font-size: var(--fs-2xs); }
.text-muted { color: var(--c-text-muted); } .text-soft { color: var(--c-text-soft); }
.text-accent { color: var(--c-amber-600); } .text-cyan { color: var(--c-cyan-600); }
.text-navy { color: var(--c-navy-800); } .text-danger { color: var(--c-danger); }
.text-success { color: var(--c-success); }
.fw-600 { font-weight: 600; } .fw-700 { font-weight: 700; }
.nowrap { white-space: nowrap; } .break-all { word-break: break-all; }
.hidden { display: none !important; }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }
.relative { position: relative; }
