@charset "UTF-8";
/* ==========================================================================
   赛历 / SEASON INDEX — BHE 领域留学 · 国际竞赛赛季数据库
   纯代码视觉：无位图、无切片，图标与图形全部由 SVG / CSS 绘制。

   视觉基准：https://www.bhevip.com/ （BHE 领域留学官网）
   色板直接取自官网样式表：
     主色    #E73656  官网品牌红（按钮 / 眉标短划 / 强调数字 / 当前导航）
     深色    #1D2143  官网标题色，同时充当深色区块底色
     最深    #16143E  官网顶栏与页脚最深处
     浅底    #F5FAFF / #EEF3F8  官网冷调浅色区
     辅助    #2457AA  官网次级蓝，仅用于链接态
   红是「强调」而不是「底色」：只落在眉标短划、按钮、当前项与关键数字上，
   正文与大面积区块仍然是白 / 浅灰蓝 / 深藏青，与官网的克制程度一致。
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 官网色板 */
  --navy: #1D2143;        /* 标题 / 深色区块（官网 h1–h6 色） */
  --red: #E73656;         /* 品牌红（官网主色） */
  --red-sm: #C42743;      /* 派生 · 小字红，白底 4.5:1 以上 */
  --navy-deep: #16143E;   /* 官网最深色 · 顶栏 / 页脚 */
  --blue: #2457AA;        /* 官网次级蓝 · 仅链接态 */
  --ink: #23283D;         /* 正文 */
  --text2: #6B7189;       /* 次级文字 */
  --muted: #898A9C;       /* 弱化文字（官网灰） */
  --border: #E7ECF3;      /* 1px 边界 */
  --surface: #F5FAFF;     /* 浅底（官网冷调浅蓝） */
  --surface-2: #EEF3F8;   /* 更进一档的浅底 */
  --white: #FFFFFF;

  /* 品牌红衍生：只在需要「一点点红」的地方用，避免色块化 */
  --brand-05: rgba(231, 54, 86, .05);
  --brand-10: rgba(231, 54, 86, .10);
  --brand-18: rgba(231, 54, 86, .18);

  /* 中性衍生（由 navy 生成，带官网的冷蓝倾向） */
  --ink-04: rgba(29, 33, 67, .04);
  --ink-06: rgba(29, 33, 67, .06);
  --ink-08: rgba(29, 33, 67, .08);
  --ink-12: rgba(29, 33, 67, .12);
  --ink-18: rgba(29, 33, 67, .18);
  --ink-32: rgba(29, 33, 67, .32);
  --ink-56: rgba(29, 33, 67, .56);

  /* 字体：官网标题用 Roboto、正文用 Muli。两者都未随包分发，
     本地 Inter 作为同族替代（同为新怪诞体，字面宽度接近），
     再往下退回系统字体，保证离线可用。 */
  --font: "Roboto", "Muli", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;

  /* 字号阶梯：官网 h1 60/72、h2 46/56，行高约 1.2、字距接近 0。
     原稿是 -0.024em + 1.04 的编辑型排版，收紧过度会离官网的稳重感更远。 */
  --fs-display: clamp(2.25rem, 4vw, 3.5rem);
  --fs-h2: clamp(1.625rem, 2.7vw, 2.375rem);
  --fs-h3: 1.0625rem;
  --fs-lead: clamp(1.0625rem, 1.3vw, 1.1875rem);
  --fs-body: 1rem;
  --fs-sm: .8125rem;
  --fs-xs: .75rem;
  --fs-num: clamp(1.75rem, 2.5vw, 2.25rem);

  /* 行高与字距：向官网靠，大字不再压行 */
  --lh-display: 1.16;
  --lh-h2: 1.24;
  --track-tight: -.012em;

  /* 栅格与节奏：官网容器约 1140–1200，区块留白大而均匀 */
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 7vw, 112px);
  --gap: clamp(16px, 2vw, 28px);

  /* 圆角：官网卡片基本是直角或 3px，只有按钮做全胶囊（100px） */
  --r-sm: 3px;
  --r-md: 4px;
  --r-lg: 6px;
  --r-pill: 100px;

  /* 阴影：官网几乎不用投影，靠 1px 浅边与底色分区；只在浮层保留极浅一层 */
  --shadow-1: 0 1px 2px rgba(29, 33, 67, .04);
  --shadow-2: 0 2px 6px rgba(29, 33, 67, .06), 0 18px 40px -22px rgba(29, 33, 67, .18);

  /* 毛玻璃 */
  --glass-bg: rgba(255, 255, 255, .78);
  --glass-brd: rgba(29, 33, 67, .07);

  --ease: cubic-bezier(.22, .68, .28, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .24s;
}

/* ---------- 2. 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.01em; line-height: 1.24; color: var(--navy); }
h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--track-tight); font-weight: 700; }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: -.014em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--white); }

[hidden] { display: none !important; }

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

/* ---------- 3. 布局原语 ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--navy-deep); color: rgba(255, 255, 255, .94); }
.section--hair { border-top: 1px solid var(--border); }
.section--hair-b { border-bottom: 1px solid var(--border); }

.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 12px var(--gap); align-items: end; margin-bottom: clamp(28px, 3.4vw, 44px); }
.head h2 { font-size: var(--fs-h2); }
.head__aside { color: var(--text2); font-size: var(--fs-sm); line-height: 1.7; }
.head__aside strong { color: var(--ink); font-weight: 600; }
.section--dark .head__aside { color: rgba(255, 255, 255, .62); font-size: .875rem; line-height: 1.72; }
.section--dark .head__aside strong { color: #fff; }

.mono-num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- 4. 顶栏 ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.site-head.is-stuck { border-bottom-color: var(--border); }
.site-head__inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 68px;
}

/* ① 品牌标识：唯一使用 --navy + --red 的地方 */
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand__mark { width: 26px; height: 26px; flex: 0 0 26px; color: var(--navy); }
.brand__mark circle { fill: var(--red); }
.brand__word {
  font-size: 1.0625rem; font-weight: 700; letter-spacing: -.02em;
  color: var(--navy); line-height: 1;
}
.brand__sub {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text2); line-height: 1; margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  padding: 9px 12px; border-radius: var(--r-sm);
  font-size: .875rem; color: var(--text2);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--ink); background: var(--surface); }
/* ② 当前导航项 */
.nav__link[aria-current="true"] { color: var(--navy); font-weight: 600; }
.nav__link[aria-current="true"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px; background: var(--navy); border-radius: 2px;
}

.head-meta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); color: var(--text2);
  border: 1px solid var(--border); border-radius: var(--r-pill);
  padding: 5px 11px 5px 9px;
}
.head-meta__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-32); }

/* ---------- 5. 按钮 ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  background: transparent;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-size: .9375rem; font-weight: 500; letter-spacing: .01em;
  cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
/* 悬停填充：Construc 的按钮是「一块色从下往上 scale(0,1) 铺满」，
   比直接换背景色多一帧交代，成本只有一个伪元素。
   z-index:-1 配合 isolation，填充压在文字之下、底色之上。 */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .44s var(--ease-out);
}
.btn:hover::before { transform: scaleY(1); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }

/* ③ 关键 CTA：全站唯一使用 --navy 填充的按钮
   结构与 Synex 的「文字 + 内嵌圆箭头」一致：胶囊包住一个深一档的圆，
   hover 时圆转 45°，方向感来自旋转而不是位移动画 */
.btn--primary {
  background: var(--navy); color: var(--white);
  padding: 5px 6px 5px 22px; gap: 14px;
  box-shadow: 0 1px 2px rgba(22, 20, 62, .18), 0 10px 26px -14px rgba(22, 20, 62, .5);
}
.btn--primary:hover { background: var(--navy-deep); }
.btn--primary::before { background: rgba(255, 255, 255, .1); }
.btn__dot {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
  transition: transform .4s var(--ease-out), background-color var(--dur) var(--ease);
}
.btn--primary:hover .btn__dot { transform: rotate(-45deg); background: rgba(255, 255, 255, .22); }
.btn__dot svg { width: 15px; height: 15px; }

/* 其余按钮一律中性 */
.btn--ghost { border-color: var(--border); color: var(--ink); background: var(--white); box-shadow: var(--shadow-1); }
.btn--ghost::before { background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink-32); }
.btn--quiet { color: var(--text2); padding-inline: 10px; }
.btn--quiet::before { background: var(--surface); }
.btn--quiet:hover { color: var(--ink); }
.btn--sm { min-height: 36px; padding: 0 12px; font-size: var(--fs-sm); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: var(--white);
  color: var(--text2); cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.icon-btn:hover { color: var(--ink); border-color: var(--ink-32); background: var(--surface); }
.icon-btn svg { width: 17px; height: 17px; }

/* ---------- 6. Hero ---------- */
/* 构图借 Construc index-four：一半留给文案，一半用一个大圆盘承载视觉锚点。
   原作是「深色照片 + 亮黄圆」的明暗分割；本项目没有素材可用，
   改成「白底文案 + 深藏蓝圆盘」——同样是明度切分，
   而深藏蓝正是色板里唯一允许大面积使用的深色，不越界。 */
.hero {
  position: relative;
  padding-block: clamp(36px, 4.4vw, 64px) clamp(52px, 6vw, 88px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero > * { position: relative; z-index: 1; }
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(28px, 3.6vw, 56px);
  align-items: center;
}
.hero__copy { min-width: 0; }

/* 眉标：Construc 用 "//" 开头的单行小字替代图形装饰，
   成本极低，却立刻把页面拉进「技术文档」的语气 */
.hero__eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--fs-sm); color: var(--text2);
  letter-spacing: .05em;
  margin-bottom: clamp(16px, 1.9vw, 24px);
}
.hero__eyebrow i { font-style: normal; font-weight: 600; letter-spacing: 0; color: var(--ink-32); }

/* 标题回到半栏后，76px 会单字成行；首屏上限收到 60px，整句仍是两行。
   max-width 用 em 而不是 ch：ch 在中文里只有半个字宽，会把整句挤成三行。 */
.hero h1 { font-size: clamp(2.125rem, 4.1vw, 3.75rem); max-width: 9.4em; }
.hero h1 em { font-style: normal; color: rgba(29, 33, 67, .42); }

.hero__lead {
  margin-top: clamp(18px, 2.1vw, 26px);
  font-size: var(--fs-lead); color: var(--text2);
  max-width: 38ch; line-height: 1.66;
  /* 中文可在任意字间断行，text-wrap:pretty 对 CJK 几乎无效，
     真正的办法是给不能拆的词加 nowrap（见 .nw），让断点落在词组边界 */
  text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: clamp(22px, 2.6vw, 32px); }
.nw { white-space: nowrap; }

/* 数字条：借 Construc 计数条的排法（四项等距、数字压粗、上发丝线），
   底色从深藏蓝换成白底，与站点其余部分同调 */
.hero__stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, auto));
  justify-content: start;
  gap: 0 clamp(20px, 2.8vw, 38px);
  margin-top: clamp(28px, 3.4vw, 44px);
  padding-top: clamp(18px, 2vw, 26px);
  border-top: 1px solid var(--border);
}
.hero__stats li { display: flex; flex-direction: column; gap: 2px; }
.hero__stats b {
  font-size: clamp(1.375rem, 1.9vw, 1.75rem);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero__stats span { font-size: var(--fs-xs); color: var(--text2); white-space: nowrap; }
@keyframes numIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 首屏分级入场：Construc 用 fadeInDown / fadeInLeft / fadeInRight 各配
   1.5s→2s 的延迟，节奏感来自「一块比一块晚」。这里保留延迟阶梯，
   但位移统一向上——中文字块横移会让行首对齐在动画里抖动。 */
.hero__eyebrow, .hero__lead, .hero__cta, .hero__stats {
  animation: heroUp .7s var(--ease-out) both;
}
.hero__eyebrow { animation-delay: .06s; }
.hero__lead { animation-delay: .36s; }
.hero__cta { animation-delay: .46s; }
.hero__stats { animation-delay: .56s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* 圆盘：stage 定尺寸与轨道环，disc 负责裁切与填充。
   轨道环比圆盘大 4.5%，用 1px 中性线勾出一道「被裁掉的更大结构」，
   这是 Construc 那张首屏里几何形状互相咬合的手感，不用位图也能做。 */
.hero__stage {
  position: relative;
  width: 100%; max-width: 560px; margin-left: auto;
  aspect-ratio: 1 / 1;
  animation: discIn 1s var(--ease-out) both;
  animation-delay: .1s;
}
.hero__stage::before {
  content: ""; position: absolute; inset: -4.5%; border-radius: 50%;
  border: 1px solid var(--ink-08); pointer-events: none;
}
.hero__stage::after {
  content: ""; position: absolute; inset: -4.5%; border-radius: 50%;
  border: 1px solid var(--ink-12); pointer-events: none;
  animation: orbit 9s cubic-bezier(.2, .6, .3, 1) infinite;
}
@keyframes discIn { from { opacity: 0; transform: scale(.93); } to { opacity: 1; transform: none; } }
@keyframes orbit {
  0%   { transform: scale(.86); opacity: 0; }
  22%  { opacity: .9; }
  100% { transform: scale(1.22); opacity: 0; }
}

.hero__disc {
  position: relative; overflow: hidden;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--navy-deep);
  display: grid; place-items: center;
  padding: clamp(26px, 3.2vw, 44px);
  box-shadow: 0 2px 6px rgba(22, 20, 62, .16), 0 34px 70px -38px rgba(22, 20, 62, .6);
}

/* 代码绘制的走线纹理（_work/trace.py 生成的内联 SVG）。
   Construc 的深色区靠一张 PCB 走线底图撑住的，这里用同一套语汇现画一份：
   细线、90° 直角 + 45° 倒角、端点过孔。赛季本来就是「节点 + 连线」。 */
.trace {
  position: absolute; inset: 0; width: 100%; height: 100%;
  color: #fff; opacity: .085; pointer-events: none;
}
.section--dark { position: relative; overflow: hidden; }
.section--dark > .trace { opacity: .055; }
.section--dark > .wrap { position: relative; z-index: 1; }

/* 圆盘内的图：白灰阶，靠不透明度分层，不引入新色相。
   hero__chart 必须撑满，否则 grid 的 place-items:center 会把它压成
   max-content 宽——图只占圆盘中间一小块，四周全是空的。 */
.hero__chart { width: 90%; }
.chart__cap {
  display: flex; justify-content: space-between; gap: 10px;
  margin: 0 0 14px; padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  font-size: var(--fs-xs); color: rgba(255, 255, 255, .6);
}
.chart__cap span:first-child { color: #fff; font-weight: 600; }
.chart__plot {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px; align-items: end;
  grid-template-rows: minmax(0, 1fr);
  height: clamp(140px, 14.6vw, 188px);
  padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.chart__bar {
  position: relative;
  background: rgba(255, 255, 255, .28);
  height: var(--h);
  min-height: 4px;
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  transition: background-color var(--dur) var(--ease), transform .28s var(--ease-out);
  animation: barIn .62s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 26ms);
}
.chart__bar:hover { background: rgba(255, 255, 255, .52); transform: scaleY(1.04); }
.chart__bar--peak { background: #fff; }
@keyframes barIn { from { transform: scaleY(.02); opacity: .35; } to { transform: scaleY(1); opacity: 1; } }
.chart__bar--peak::after {
  content: attr(data-v); position: absolute; left: 50%; bottom: 100%;
  transform: translate(-50%, -6px);
  font-size: var(--fs-xs); font-weight: 600; color: #fff;
  font-variant-numeric: tabular-nums;
}
.chart__axis {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px; margin-top: 8px;
}
.chart__axis span { font-size: 10px; color: rgba(255, 255, 255, .52); text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- 7. KPI ---------- */
/* 核对摘要条：本轮数据核查的结果先亮出来，避免「改了什么」只藏在文档里 */
/* 核对条做成「台面」而不是卡片：底色比页面低一档，视觉上明显轻于下面的 KPI，
   免得两排四宫格互相抢 */
.astrip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
  background: var(--surface);
  border-radius: var(--r-md);
}
.astrip__c { padding: 14px 18px 13px; }
.astrip__c + .astrip__c { border-left: 1px solid var(--border); }
.astrip__n {
  display: inline; margin-right: 6px;
  font-size: 1.0625rem; font-weight: 600;
  letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums;
}
.astrip__l { display: inline; font-size: var(--fs-sm); color: var(--ink); }
.astrip__d { margin-top: 3px; font-size: var(--fs-xs); color: var(--text2); line-height: 1.45; }

/* 适龄改成官方原文后变长，表格里限两行，完整内容在 title 与详情抽屉里 */
.clamp2 {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.55;
}

.kpis {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; background: var(--white);
  box-shadow: var(--shadow-1);
}
.kpi { padding: clamp(18px, 2.2vw, 26px); border-right: 1px solid var(--border); }
.kpi:last-child { border-right: 0; }
.kpi__n { font-size: var(--fs-num); font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi__n small { font-size: .56em; font-weight: 500; color: var(--text2); margin-left: 4px; letter-spacing: 0; }
.kpi__l { margin-top: 10px; font-size: var(--fs-sm); color: var(--ink); font-weight: 500; }
.kpi__d { margin-top: 3px; font-size: var(--fs-xs); color: var(--text2); }

/* 洞察 */
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.note {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(18px, 2.2vw, 24px); background: var(--white);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.note:hover { border-color: var(--ink-18); transform: translateY(-2px); }
.note__ico {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.note__ico svg { width: 18px; height: 18px; }
.note h3 { font-size: var(--fs-h3); margin-bottom: 6px; }
.note p { font-size: var(--fs-sm); color: var(--text2); line-height: 1.62; }
.note b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- 8. 赛季热力矩阵 ---------- */
.heat-wrap { position: relative; }
.heat-scroll { overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.scroll-hint { display: none; }
@media (max-width: 640px) {
  .scroll-hint { display: block; font-size: var(--fs-xs); color: var(--text2); margin-bottom: 8px; }
  .heat-wrap::after {
    content: ""; position: absolute; top: 0; right: 0; bottom: 4px; width: 32px;
    background: linear-gradient(to right, rgba(244, 245, 247, 0), var(--surface));
    pointer-events: none;
  }
}
.heat {
  display: grid;
  grid-template-columns: 116px repeat(12, minmax(0, 1fr));
  gap: 4px;
  min-width: 660px;
}
.heat__corner { }
.heat__mh {
  font-size: 11px; color: var(--text2); text-align: center;
  padding-bottom: 6px; font-variant-numeric: tabular-nums;
}
.heat__mh.is-peak { color: var(--ink); font-weight: 600; }
.heat__rl {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: var(--fs-sm); color: var(--ink); padding-right: 6px;
}
.heat__rl span:last-child { color: var(--text2); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.heat__c {
  height: 34px; border: 0; border-radius: var(--r-sm);
  background: rgba(29, 33, 67, var(--a, .04));
  color: var(--fg, var(--text2));
  font-size: var(--fs-xs); font-variant-numeric: tabular-nums;
  cursor: pointer; padding: 0;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.heat__c[data-n="0"] { cursor: default; color: var(--ink-32); }
.heat__c:hover { transform: scale(1.06); box-shadow: inset 0 0 0 1px var(--ink); }
.heat__c[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.heat__totals .heat__c { background: transparent; cursor: default; font-weight: 600; color: var(--ink); height: 26px; }
.heat__totals .heat__c:hover { transform: none; box-shadow: none; }

.legend { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--text2); }
.legend i { width: 16px; height: 12px; border-radius: 3px; background: rgba(29, 33, 67, var(--a)); }

/* 月度载荷（按形式堆叠） */
.load { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; height: 152px; margin-top: 4px; }
.load__col { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 2px; }
.load__seg { width: 100%; min-height: 2px; border-radius: 2px; }
/* 四种形式的填充只在这里定义一次：柱体与图例共用同一组选择器，
   避免出现「图例有色、柱体透明」这类漂移。 */
.load__seg[data-f="个人赛"], .load-legend i[data-f="个人赛"] { background: var(--ink); }
.load__seg[data-f="个人 + 团队"], .load-legend i[data-f="个人 + 团队"] {
  background: var(--ink-32);
}
.load__seg[data-f="团队赛"], .load-legend i[data-f="团队赛"] {
  background: repeating-linear-gradient(135deg, var(--ink-56) 0 2px, var(--ink-18) 2px 5px);
}
.load__seg[data-f="作品 / 研究型"], .load-legend i[data-f="作品 / 研究型"] {
  background-image: radial-gradient(var(--ink-32) 1px, transparent 1.2px);
  background-size: 4px 4px; background-color: var(--ink-04);
}
.load__axis { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.load__axis span { font-size: 11px; color: var(--text2); text-align: center; font-variant-numeric: tabular-nums; }
.load-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: var(--fs-xs); color: var(--text2); margin-top: 14px; }
.load-legend span { display: inline-flex; align-items: center; gap: 6px; }
.load-legend i { width: 14px; height: 10px; border-radius: 2px; }

/* ---------- 9. 深色结构区 ---------- */
.struct { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: start; }

.sgrid { display: grid; grid-template-columns: 46px repeat(5, minmax(0, 1fr)); gap: 4px; }
.sgrid__h, .sgrid__v { font-size: 11px; color: rgba(255, 255, 255, .5); display: flex; align-items: center; justify-content: center; }
.sgrid__h { padding-bottom: 4px; }
.sgrid__v { justify-content: flex-start; padding-right: 4px; font-variant-numeric: tabular-nums; }
.sc {
  aspect-ratio: 4 / 3; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, var(--a, .04));
  color: var(--fg, rgba(255, 255, 255, .8));
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(.875rem, 1.5vw, 1.25rem); font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--dur) var(--ease);
}
.sc--empty { color: rgba(255, 255, 255, .22); font-weight: 400; }
.sc--lit { color: var(--navy); }
.sc--lit.sc--empty { color: rgba(29, 33, 67, .55); }
.sc--hot { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.sgrid__note { grid-column: 1 / -1; margin-top: 14px; font-size: var(--fs-xs); color: rgba(255, 255, 255, .58); }
.sgrid__note b { color: #fff; font-weight: 600; }

.bars { display: grid; gap: 18px; }
.bars__note { margin-top: 18px; font-size: var(--fs-xs); line-height: 1.65; color: rgba(255, 255, 255, .58); }
.bars__note strong { color: #fff; font-weight: 600; }
.bars__group > h3 { font-size: var(--fs-sm); color: rgba(255, 255, 255, .55); font-weight: 500; margin-bottom: 10px; }
.bar-row { display: grid; grid-template-columns: 104px minmax(0, 1fr) 42px; gap: 12px; align-items: center; padding: 5px 0; }
.bar-row__l { font-size: var(--fs-sm); color: rgba(255, 255, 255, .82); }
.bar-row__t { height: 8px; background: rgba(255, 255, 255, .12); border-radius: var(--r-pill); overflow: hidden; }
.bar-row__t i { display: block; height: 100%; background: rgba(255, 255, 255, .78); border-radius: var(--r-pill); }
.bar-row__v { font-size: var(--fs-sm); text-align: right; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }

/* ---------- 10. 赛事库 ---------- */
.lib__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.lib__top h2 { font-size: var(--fs-h2); }
.lib__count { font-size: var(--fs-sm); color: var(--text2); font-variant-numeric: tabular-nums; }
.lib__count b { color: var(--ink); font-weight: 600; }
.lib__intro { max-width: 68ch; margin: 0 0 18px; font-size: var(--fs-sm); line-height: 1.72; color: var(--text2); }

.toolbar { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr)) auto; gap: 8px; margin-bottom: 12px; }
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 13px; width: 16px; height: 16px; color: var(--text2); pointer-events: none; }
.search input {
  width: 100%; height: 44px; padding: 0 40px 0 38px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--white); font: inherit; font-size: .9375rem; color: var(--ink);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.search input::placeholder { color: var(--text2); }
.search input:focus { border-color: var(--ink); outline: none; background: var(--white); }
.search__clear {
  position: absolute; right: 6px; width: 30px; height: 30px;
  display: none; align-items: center; justify-content: center;
  border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text2); cursor: pointer;
}
.search__clear.is-on { display: flex; }
.search__clear:hover { background: var(--surface); color: var(--ink); }

.sel { position: relative; }
.sel::after {
  content: ""; position: absolute; right: 14px; top: 50%;
  width: 7px; height: 7px; margin-top: -5px;
  border-right: 1.5px solid var(--text2); border-bottom: 1.5px solid var(--text2);
  transform: rotate(45deg); pointer-events: none;
}
.sel select {
  width: 100%; height: 44px; padding: 0 32px 0 12px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--white); font: inherit; font-size: .875rem; color: var(--ink);
  appearance: none; -webkit-appearance: none; cursor: pointer;
  transition: border-color var(--dur) var(--ease);
}
.sel select:hover { border-color: var(--ink-32); }
.sel select:focus { border-color: var(--ink); outline: none; }
.sel select[data-on="1"] { border-color: var(--ink); font-weight: 500; }

.toolbar__end { display: flex; gap: 10px; align-items: center; }
/* 「只看在办」用系统勾选框，不另造控件；命中区靠 label 撑到 44px */
.onlyon {
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 10px; cursor: pointer;
  font-size: var(--fs-sm); color: var(--text2); white-space: nowrap;
}
.onlyon:hover { color: var(--ink); }
.onlyon input { width: 15px; height: 15px; accent-color: var(--ink); cursor: pointer; }
.onlyon input:checked + span { color: var(--ink); }
.viewtoggle { display: inline-flex; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.viewtoggle button {
  height: 42px; padding: 0 12px; border: 0; background: var(--white);
  color: var(--text2); font-size: var(--fs-sm); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.viewtoggle button svg { width: 15px; height: 15px; }
.viewtoggle button + button { border-left: 1px solid var(--border); }
.viewtoggle button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; min-height: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 6px 0 10px;
  border: 1px solid var(--border); border-radius: var(--r-pill);
  background: var(--white); font-size: var(--fs-xs); color: var(--text2);
}
.chip b { color: var(--ink); font-weight: 500; }
.chip button { border: 0; background: transparent; color: var(--text2); cursor: pointer; display: inline-flex; padding: 2px; border-radius: 50%; }
.chip button:hover { background: var(--surface); color: var(--ink); }
.chip button svg { width: 12px; height: 12px; }

/* 表格 */
.tablewrap { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.tablescroll { overflow-x: auto; }
.tablewrap.is-empty .tablescroll, .tablewrap.is-empty .pager { display: none; }
table.lib { width: 100%; border-collapse: collapse; font-size: .9375rem; }
table.lib thead th {
  background: var(--surface); color: var(--text2);
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: .02em;
  text-align: left; padding: 11px 14px; white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
table.lib thead th.is-sortable { cursor: pointer; user-select: none; }
table.lib thead th.is-sortable:hover { color: var(--ink); }
table.lib thead th .sarrow { display: inline-block; width: 0; height: 0; margin-left: 5px; vertical-align: 1px; border-left: 3px solid transparent; border-right: 3px solid transparent; }
table.lib thead th[aria-sort="ascending"] .sarrow { border-bottom: 4px solid var(--ink); }
table.lib thead th[aria-sort="descending"] .sarrow { border-top: 4px solid var(--ink); }
table.lib thead th[aria-sort="none"] .sarrow,
table.lib thead th:not([aria-sort]) .sarrow { border-top: 4px solid var(--ink-18); }

table.lib tbody td:nth-child(3) { white-space: nowrap; }
table.lib tbody td { padding: 13px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.lib tbody tr:last-child td { border-bottom: 0; }
table.lib tbody tr { cursor: pointer; transition: background-color var(--dur) var(--ease); }
table.lib tbody tr:hover { background: var(--surface); }
table.lib tbody tr.is-picked { background: var(--surface); }
.c-name { min-width: 210px; }
.c-name b { display: block; font-weight: 600; font-size: .9375rem; line-height: 1.35; }
.c-name span { display: block; font-size: var(--fs-xs); color: var(--text2); margin-top: 2px; }
.c-cat { white-space: nowrap; color: var(--text2); font-size: var(--fs-sm); }
.c-grade { color: var(--text2); font-size: var(--fs-sm); max-width: 210px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.55; }
.c-nowrap { white-space: nowrap; }

.rating { display: inline-flex; align-items: center; gap: 6px; }
.rating__cells { display: inline-flex; gap: 2px; }
.rating__cells i { width: 8px; height: 14px; border-radius: 2px; background: var(--ink-08); }
.rating__cells i.on { background: var(--ink); }
.rating__v { font-size: var(--fs-xs); color: var(--text2); font-variant-numeric: tabular-nums; }
.rating__v b { color: var(--ink); font-weight: 600; }

.mstrip { display: inline-flex; gap: 2px; }
.mstrip i { width: 6px; height: 16px; border-radius: 1px; background: var(--border); }
.mstrip i.on { background: var(--ink-56); }

.rowacts { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.pick {
  position: relative;
  width: 18px; height: 18px; border: 1px solid var(--ink-32); border-radius: 4px;
  background: var(--white); display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: transparent; flex: 0 0 18px;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.pick svg { width: 11px; height: 11px; }
.pick[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pick:hover { border-color: var(--ink); }
.pick::after { content: ""; position: absolute; inset: -12px; }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--border); }
.pager__info { font-size: var(--fs-xs); color: var(--text2); font-variant-numeric: tabular-nums; }
.pager__btns { display: flex; gap: 6px; align-items: center; }
.pager__btns button {
  min-width: 34px; height: 34px; border: 1px solid var(--border); background: var(--white);
  border-radius: var(--r-sm); font-size: var(--fs-sm); color: var(--text2); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 10px;
}
.pager__btns button:hover:not(:disabled) { border-color: var(--ink-32); color: var(--ink); background: var(--surface); }
.pager__btns button:disabled { opacity: .4; cursor: default; }
.pager__btns button[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.empty { padding: 56px 20px; text-align: center; color: var(--text2); font-size: .9375rem; }
.empty b { display: block; color: var(--ink); font-size: 1.0625rem; margin-bottom: 6px; }

/* 卡片视图 */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.card {
  border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--white);
  padding: 20px; cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.card:hover { border-color: var(--ink-18); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.card.is-picked { border-color: var(--ink-32); background: var(--surface); }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card__cat { font-size: var(--fs-xs); color: var(--text2); letter-spacing: .02em; }
.card h3 { font-size: 1.0625rem; line-height: 1.35; margin-top: 6px; }
.card__en { font-size: var(--fs-xs); color: var(--text2); margin-top: 3px; }
.card__desc { font-size: var(--fs-sm); color: var(--text2); line-height: 1.6; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: var(--r-sm); background: var(--surface); color: var(--text2);
  font-size: 11px; white-space: nowrap;
}
.cards__more { display: flex; justify-content: center; margin-top: var(--gap); }

/* ---------- 11. 抽屉 ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 70; background: rgba(29, 33, 67, .34);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), visibility 0s linear .22s;
}
.scrim.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .22s var(--ease), visibility 0s; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 71;
  width: min(540px, 100vw); background: var(--white);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .3s var(--ease), visibility 0s linear .3s;
}
.drawer.open { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
.drawer__head {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 20px 20px 16px; border-bottom: 1px solid var(--border);
}
.drawer__head h2 { font-size: 1.25rem; line-height: 1.3; }
.drawer__head p { font-size: var(--fs-xs); color: var(--text2); margin-top: 4px; }
.drawer__body { padding: 20px; overflow-y: auto; overscroll-behavior: contain; }
.drawer__body h3 { font-size: var(--fs-sm); color: var(--text2); font-weight: 500; margin: 22px 0 10px; }
.drawer__body h3:first-child { margin-top: 0; }
.dgrid { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 8px 12px; font-size: var(--fs-sm); }
.dgrid dt { color: var(--text2); }
.dgrid dd { margin: 0; color: var(--ink); }
.dtl { display: grid; gap: 6px; }
.dtl li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; font-size: var(--fs-sm); align-items: baseline; }
.dtl li span:first-child { color: var(--text2); font-variant-numeric: tabular-nums; }
.drawer__link { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.drawer__note { margin-top: 16px; font-size: var(--fs-xs); color: var(--red-sm); line-height: 1.6; }
.drawer__p { font-size: .875rem; color: var(--ink); line-height: 1.68; }
.drawer__cycle {
  font-size: .8125rem; color: var(--ink); line-height: 1.7;
  padding: 12px 14px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border);
}
.drawer__src { margin-top: 10px; font-size: var(--fs-xs); color: var(--text2); line-height: 1.6; }
.drawer__src a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.drawer__alert {
  margin: 0 0 18px; padding: 10px 12px;
  font-size: var(--fs-sm); color: var(--ink);
  background: var(--surface); border-radius: var(--r-md);
  border-left: 3px solid var(--ink-32);
}
.drawer__fix {
  margin: 10px 0 0; padding: 9px 12px;
  font-size: .8125rem; color: var(--ink); line-height: 1.66;
  background: var(--surface); border-radius: var(--r-md);
  border-left: 3px solid var(--ink-18);
}
.rating--none {
  display: inline-block; font-size: var(--fs-xs); color: var(--text2);
  border: 1px solid var(--ink-18); border-radius: 999px; padding: 1px 8px;
  letter-spacing: .02em; white-space: nowrap;
}
.drawer__hint { font-size: var(--fs-xs); color: var(--text2); }
.drawer__fix b { display: block; font-weight: 600; font-size: 11px; letter-spacing: .04em; color: var(--text2); margin-bottom: 3px; }

/* 状态徽标：中性灰，停办与更名不靠颜色区分 */
.tag--off {
  background: transparent; color: var(--text2);
  border: 1px solid var(--ink-18); margin-left: 8px;
  height: 18px; padding: 0 6px; font-size: 10px; letter-spacing: .02em;
}
.drawer__foot { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; gap: 8px; }

/* ---------- 12. 对比 ---------- */
.cmp { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--white); overflow: hidden; }
.cmp__empty { padding: 32px 20px 36px; text-align: center; color: var(--text2); }
.cmp__fig { width: min(258px, 72%); height: auto; margin: 0 auto 14px; color: var(--ink-32); }
.cmp__empty b { display: block; color: var(--ink); font-size: 1.0625rem; margin-bottom: 6px; }
.cmp__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.cmp__slots { display: flex; flex-wrap: wrap; gap: 6px; }
.cmpslot { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 4px 0 10px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--border); font-size: var(--fs-xs); }
.cmpslot button { border: 0; background: transparent; color: var(--text2); cursor: pointer; display: inline-flex; padding: 2px; }
.cmpslot button svg { width: 12px; height: 12px; }
.cmp__scroll { overflow-x: auto; }
table.cmp-t { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 520px; }
table.cmp-t th, table.cmp-t td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
table.cmp-t thead th { background: var(--white); font-size: .9375rem; }
table.cmp-t thead th:first-child,
table.cmp-t tbody th { position: sticky; left: 0; z-index: 1; background: var(--white); }
table.cmp-t tbody tr:hover th { background: var(--white); }
table.cmp-t thead th span { display: block; font-size: var(--fs-xs); color: var(--text2); font-weight: 400; margin-top: 2px; }
table.cmp-t tbody th { color: var(--text2); font-weight: 400; white-space: nowrap; width: 120px; }
table.cmp-t tbody tr:last-child th, table.cmp-t tbody tr:last-child td { border-bottom: 0; }
table.cmp-t td.is-best { font-weight: 600; }

.cmpbar {
  position: fixed; left: 50%; bottom: 20px; z-index: 55;
  transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 14px;
  padding: 10px 10px 10px 18px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--white);
  transition: transform .3s var(--ease);
  max-width: calc(100vw - 32px);
}
.cmpbar.is-on { transform: translate(-50%, 0); }
.cmpbar__t { font-size: var(--fs-sm); white-space: nowrap; }
.cmpbar__t b { font-variant-numeric: tabular-nums; }
.cmpbar .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .28); color: var(--white); }
.cmpbar .btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }

.cmp__hint { display: none; font-size: var(--fs-xs); color: var(--text2); padding: 10px 14px 0; }

/* ---------- 13. 数据口径 ---------- */
.method { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px); }
.method h2 { font-size: var(--fs-h2); }
.method__lead { margin-top: 14px; color: var(--text2); font-size: var(--fs-lead); }
.mstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 28px; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--border); }
.mstats > div { background: var(--white); padding: 12px 14px; }
.mstats dt { font-size: var(--fs-xs); color: var(--text2); }
.mstats dd { margin: 2px 0 0; font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

.mlist { display: grid; gap: 0; }
.mlist li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.mlist li:first-child { padding-top: 0; }
.mlist li:last-child { border-bottom: 0; }
.mlist__i { color: var(--text2); }
.mlist__i svg { width: 16px; height: 16px; margin-top: 3px; }
.mlist b { display: block; font-size: var(--fs-sm); font-weight: 600; }
.mlist span { display: block; font-size: var(--fs-sm); color: var(--text2); margin-top: 3px; }
.mlist .warn { color: var(--red-sm); }

/* ---------- 14. 页脚 ---------- */
.foot { border-top: 1px solid var(--border); background: var(--surface); padding-block: clamp(40px, 5vw, 64px) 28px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr)); gap: var(--gap); }
.foot__brand .brand__mark { color: var(--ink); }
.foot__brand .brand__word { color: var(--ink); }
.foot p { font-size: var(--fs-sm); color: var(--text2); margin-top: 12px; max-width: 40ch; }
.foot h3 { font-size: var(--fs-xs); color: var(--text2); font-weight: 500; margin-bottom: 10px; }
.foot ul { display: grid; gap: 7px; }
.foot a { font-size: var(--fs-sm); color: var(--text2); }
.foot a:hover { color: var(--ink); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--border); font-size: var(--fs-xs); color: var(--text2); }

/* ---------- 15. AOS 覆盖 ---------- */
[data-aos] { will-change: transform, opacity; }
html:not(.aos-on) [data-aos] { opacity: 1 !important; transform: none !important; }

/* ---------- 15b. 过渡断言：滚动显色 ----------
   Synex 的 .text_invert-2：渐变背景 + background-clip:text，
   GSAP 把 background-position-x 从 100% 推到 0，文字随滚动「刷」出深色。
   这里不引 GSAP，用同一个 CSS 机制 + rAF 计算进度，效果一致、零依赖。
   初始背景位 100% = 只露出渐变后半段（浅），滚到 0% = 整段变深。 */
.bridge {
  padding-block: clamp(56px, 6.5vw, 96px) clamp(40px, 4.5vw, 64px);
  border-bottom: 1px solid var(--border);
}
.bridge__t {
  font-size: clamp(1.75rem, 3.9vw, 3.25rem);
  line-height: 1.26;
  letter-spacing: -.022em;
  font-weight: 600;
}
.bridge__t[data-scrub] {
  background-image: linear-gradient(to right, var(--ink) 50%, var(--ink-18) 50%);
  background-size: 200% 100%;
  background-position-x: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* 不支持 background-clip:text 的浏览器回落到实色 */
  -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .bridge__t[data-scrub] { color: var(--ink); -webkit-text-fill-color: var(--ink); background: none; }
}
.bridge__note {
  margin-top: clamp(18px, 2.2vw, 26px);
  max-width: 52ch;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--text2);
}

/* ---------- 15c. 逐字揭示 ----------
   Synex 用 GSAP SplitText 把标题拆成 char，配 clip-path + x 位移 + power4.out。
   这里用「外层裁切 + 内层上移」的纯 CSS 版本，JS 只负责包一层 span。 */
.split-line { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-line > i {
  display: inline-block; font-style: normal;
  transform: translateY(105%);
  animation: charUp .82s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 26ms);
  animation-play-state: paused;
}
.is-split .split-line > i { animation-play-state: running; }
@keyframes charUp { to { transform: translateY(0); } }
.split-sp { display: inline-block; width: .28em; }

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__in { gap: clamp(22px, 3vw, 40px); }
  .hero__stage { max-width: 440px; }
  .toolbar { grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 1fr)); }
  .toolbar__end { grid-column: 1 / -1; justify-content: flex-end; }
  .struct, .method { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 108px; }
  .site-head__inner { flex-wrap: wrap; min-height: 0; padding-block: 12px 0; gap: 0; }
  .nav {
    order: 3; width: 100%; display: flex; justify-content: space-between;
    gap: 0; margin-top: 8px; border-top: 1px solid var(--border); padding-top: 2px;
  }
  .nav__link { padding: 9px 6px; font-size: .8125rem; border-radius: 0; }
  .nav__link[aria-current="true"]::after { left: 6px; right: 6px; bottom: 0; }
  .head-meta { display: none; }
  /* 首屏改为上下堆叠：圆盘退化成深色圆角面板，
     既保住「深色承载图表」的识别，又不在竖屏里白占 400px 高度 */
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: clamp(26px, 4vw, 36px); }
  /* 平板单栏时面板不再撑满：12 根柱子摊到 728px 会又扁又宽 */
  .hero__stage { max-width: 600px; margin-inline: auto; aspect-ratio: auto; }
  .hero__stage::before, .hero__stage::after { display: none; }
  .hero__disc { height: auto; border-radius: var(--r-lg); padding: 22px 22px 16px; }
  .hero h1 { max-width: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .astrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi:nth-child(2n) { border-right: 0; }
  .kpi:nth-child(-n + 2) { border-bottom: 1px solid var(--border); }
  .notes { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card__foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .head { grid-template-columns: minmax(0, 1fr); }
  .foot__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --section-y: 56px; --fs-display: 2.5rem; }
  .hero h1 { letter-spacing: -.02em; }
  /* 四项数字在 390px 下排不进一行，切成 2×2 */
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 18px; }
  .hero__stats b { font-size: 1.3125rem; }
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .astrip { grid-template-columns: minmax(0, 1fr); }
  /* 单列后竖分隔线要改成横线，否则四条会连成一条竖线 */
  .astrip__c + .astrip__c { border-left: 0; border-top: 1px solid var(--border); }
  .kpi { border-right: 0; border-bottom: 1px solid var(--border); }
  .kpi:last-child { border-bottom: 0; }
  .kpi:nth-child(-n + 2) { border-bottom: 1px solid var(--border); }
  .toolbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .search { grid-column: 1 / -1; }
  .toolbar__end { grid-column: 1 / -1; justify-content: space-between; }
  .viewtoggle { flex: 1; }
  .viewtoggle button { flex: 1; justify-content: center; }
  .heat { grid-template-columns: 88px repeat(12, minmax(0, 1fr)); min-width: 560px; }
  .heat__c { height: 30px; font-size: 10px; }
  .heat__rl { font-size: var(--fs-xs); }
  .heat__rl span:last-child { display: none; }
  .load { height: 120px; }
  .sgrid { grid-template-columns: 34px repeat(5, minmax(0, 1fr)); }
  .bar-row { grid-template-columns: 92px minmax(0, 1fr) 34px; }
  .bar-row__l { white-space: nowrap; font-size: var(--fs-xs); }
  .h2, .head h2, .method h2, .lib__top h2 { font-size: 1.5rem; }
  .cmpbar { left: 12px; right: 12px; bottom: 12px; transform: translateY(140%); border-radius: var(--r-lg); max-width: none; padding: 10px 10px 10px 14px; }
  .cmpbar.is-on { transform: none; }
  .cmpbar__t { font-size: var(--fs-xs); }
  .cmp__hint { display: block; }
  .drawer { width: 100vw; }
  .foot__top { grid-template-columns: minmax(0, 1fr); }
  .pager { flex-direction: column; align-items: stretch; }
  .pager__btns { justify-content: space-between; }
}

/* ---------- 17. 降级 ---------- */
.no-js .toolbar, .no-js .viewtoggle, .no-js .chips, .no-js .pager, .no-js .cards,
.no-js .cmpbar, .no-js .rowacts, .no-js .legend-interactive { display: none !important; }
.no-js .tablescroll { display: block; }
.no-js [data-aos] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  /* 无限循环的那一个必须单独关掉：时长压到 .001ms 会让它变成高频闪烁 */
  .hero__stage::after { animation: none !important; opacity: 0; }
}

/* ==========================================================================
   18. BHE 品牌层 —— 对齐 https://www.bhevip.com/ 的视觉语言
   官网的做法：深色信息条 → 白色导航（红字激活）→ 大红胶囊按钮 →
   眉标前的红色短划 → 深藏青整块页脚（栏目名下有红色短划）。
   这一层把上面这些特征落地，不改任何功能类名。
   ========================================================================== */

/* ---------- 18.1 品牌条（对应官网顶部的深色信息条） ---------- */
.brandbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .68);
  font-size: var(--fs-xs);
  line-height: 1.5;
}
.brandbar__in {
  display: flex; align-items: stretch; justify-content: space-between;
  gap: 16px; min-height: 36px;
}
.brandbar__own { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brandbar__k { color: #fff; font-weight: 600; letter-spacing: .04em; }
.brandbar__sep { width: 1px; height: 11px; background: rgba(255, 255, 255, .26); }
.brandbar__meta { display: flex; align-items: stretch; gap: 16px; white-space: nowrap; }
.brandbar__note { display: flex; align-items: center; color: rgba(255, 255, 255, .52); }
/* 右侧红块：官网顶栏末尾那块品牌红按钮的同构做法 */
.brandbar__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding-inline: 14px; margin-right: calc(var(--gutter) * -1);
  background: var(--red); color: #fff; font-weight: 500;
  transition: background-color var(--dur) var(--ease);
}
.brandbar__link:hover { background: var(--red-sm); }
.brandbar__link svg { width: 12px; height: 12px; }

/* ---------- 18.2 品牌锁版：BHE 红字 + 竖线 + 赛历 ---------- */
.brand { gap: 11px; }
.brand__bhe {
  font-size: 1.5rem; font-weight: 800; line-height: 1;
  letter-spacing: .015em; color: var(--red);
}
.brand__rule { width: 1px; height: 20px; background: var(--border); flex: 0 0 1px; }
.brand__txt { display: flex; flex-direction: column; }
.brand__word { letter-spacing: .01em; }
.brand__sub { letter-spacing: .07em; color: var(--muted); }

/* ---------- 18.3 导航：激活项用品牌红 ---------- */
.nav__link:hover { color: var(--red); background: transparent; }
.nav__link[aria-current="true"] { color: var(--red); font-weight: 600; }
.nav__link[aria-current="true"]::after { background: var(--red); }

/* ---------- 18.4 按钮：主按钮改品牌红胶囊，次按钮改深色描边 ---------- */
.btn--primary {
  background: var(--red); color: #fff;
  box-shadow: 0 6px 18px -10px rgba(231, 54, 86, .75);
}
.btn--primary:hover { background: var(--red-sm); }
.btn--primary::before { background: rgba(255, 255, 255, .16); }
.btn__dot { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .26); }
.btn--primary:hover .btn__dot { background: rgba(255, 255, 255, .26); }

.btn--ghost {
  border-color: var(--navy); color: var(--navy);
  background: var(--white); box-shadow: none;
}
.btn--ghost::before { background: var(--brand-05); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); }

.icon-btn:hover { color: var(--red); border-color: var(--brand-18); background: var(--brand-05); }

/* ---------- 18.5 眉标前的红色短划（官网的标志性装饰） ---------- */
.dash {
  display: inline-block; width: 24px; height: 2px;
  background: var(--red); flex: 0 0 auto;
}
.hero__eyebrow { gap: 10px; letter-spacing: .03em; color: var(--text2); }
.hero__eyebrow .dash { width: 26px; }

.sec-eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .16em; color: var(--red);
}
.sec-eyebrow .dash { width: 26px; }

/* ---------- 18.6 区块底色：浅区用官网冷调，深区用官网藏青 ---------- */
.section--surface { background: var(--surface); }
.section--dark, .section--dark.bg { background: var(--navy); }
/* 基础规则把标题统一成藏青，深色区必须显式改回白色 */
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .head__aside { color: rgba(255, 255, 255, .66); }

/* ---------- 18.7 首屏 ---------- */
.hero h1 em { color: var(--text2); }
.hero__disc { background: var(--navy-deep); }
/* 峰值柱改品牌红：官网在深色区就是用红点缀，比纯白更有归属感 */
.chart__bar--peak { background: var(--red); }
.chart__bar--peak::after { color: #fff; }
.hero__stats b { color: var(--navy); }

/* ---------- 18.8 分类筛选与表格：激活态改红 ---------- */
.chip[aria-pressed="true"] { border-color: var(--red); color: var(--red); background: var(--brand-05); }
.heat__c[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--red); }
.heat__c:hover { box-shadow: inset 0 0 0 1px var(--navy); }
/* 视图切换的激活段：深藏青底 + 白字，与官网的深色块一致；
   红字放在深底上对比不足，不用。 */
.viewtoggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* ---------- 18.9 版权与使用说明 ---------- */
.notice { background: var(--surface-2); border-top: 1px solid var(--border); }
.notice__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: var(--gap);
}
.notice__c {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
  border-radius: var(--r-md);
  padding: 22px 22px 24px;
}
.notice__c h3 { font-size: .9375rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.notice__c p { font-size: var(--fs-sm); color: var(--text2); line-height: 1.8; margin: 0; }
.notice__c a { color: var(--blue); border-bottom: 1px solid var(--brand-18); }
.notice__c a:hover { color: var(--red); }

/* ---------- 18.10 页脚：整块深藏青 ---------- */
.foot {
  background: var(--navy-deep);
  border-top: 0;
  padding-block: clamp(48px, 5.4vw, 76px) 22px;
  color: rgba(255, 255, 255, .66);
}
.foot .brand__word { color: #fff; }
.foot .brand__sub { color: rgba(255, 255, 255, .46); }
.foot .brand__rule { background: rgba(255, 255, 255, .22); }
.foot p { color: rgba(255, 255, 255, .58); }
.foot h3 {
  position: relative;
  font-size: .9375rem; font-weight: 600; color: #fff;
  margin-bottom: 12px; padding-bottom: 10px;
}
/* 栏目名下的红色短划：官网页脚每个栏目标题的固定装饰 */
.foot h3::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 22px; height: 2px; background: var(--red);
}
.foot ul { gap: 8px; }
.foot a { color: rgba(255, 255, 255, .62); }
.foot a:hover { color: #fff; }
.foot__site {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; padding-bottom: 3px;
  font-size: var(--fs-sm); font-weight: 500; color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .32);
}
.foot__site:hover { color: var(--red); border-bottom-color: var(--red); }
.foot__site svg { width: 14px; height: 14px; }
.foot__bottom {
  margin-top: 40px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .48);
}
.foot__legal {
  margin-top: 12px; max-width: none;
  font-size: var(--fs-xs); line-height: 1.75;
  color: rgba(255, 255, 255, .34);
}

/* ---------- 18.11 响应式 ---------- */
@media (max-width: 1024px) {
  .brandbar__note { display: none; }
}
@media (max-width: 860px) {
  .brand__sub { display: none; }
  .brand__rule { display: none; }
  .brand__bhe { font-size: 1.3125rem; }
  .notice__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .brandbar__in { min-height: 32px; }
  .brandbar__own { gap: 7px; font-size: 11px; }
  .brandbar__sep { height: 9px; }
  .brandbar__link { padding-inline: 10px; font-size: 11px; }
  .notice__grid { grid-template-columns: minmax(0, 1fr); }
  .notice__c { padding: 18px 18px 20px; }
  .sec-eyebrow { letter-spacing: .1em; }
  .dash, .hero__eyebrow .dash, .sec-eyebrow .dash { width: 18px; }
  .foot__bottom { flex-direction: column; gap: 6px; }
}
