/* =========================================================
   幻影体育 · HYTY — 共享样式 /assets/site.css
   深墨蓝长卷 / 双层信息导航 / 编辑部索引 / 全息面板
   ========================================================= */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, figcaption,
blockquote, dl, dd, dt { margin: 0; }

ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

table { border-collapse: collapse; width: 100%; }

hr {
  border: 0;
  border-top: 1px solid var(--mist-600);
  margin: 0;
}

/* ---------- 2. 变量 ---------- */
:root {
  color-scheme: dark;

  /* 核心色调 */
  --ink-900: #070C1F;
  --violet-900: #1A1140;
  --indigo-800: #101A3D;
  --mist-600: #2A3670;

  /* 强调色调 */
  --cyan-400: #3FF0E4;
  --orange-500: #FF7A2F;
  --magenta-500: #FF4D8D;
  --teal-500: #12A38A;

  /* 辅助色调 */
  --paper-100: #E8ECF7;
  --slate-400: #9AA6C8;
  --white: #FFFFFF;

  /* 字体 */
  --font-head: "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace,
               SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  /* 结构与间距 */
  --shell: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 2px;
  --radius-lg: 6px;

  /* 层级 */
  --z-header: 90;
  --z-drawer: 130;

  /* 动效 */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 260ms;
  --dur-slow: 520ms;

  /* 描边与面板 */
  --line: 1px solid var(--mist-600);
  --panel: linear-gradient(160deg, rgba(16, 26, 61, 0.96) 0%, rgba(26, 17, 64, 0.9) 100%);
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-head);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--paper-100);
  background-color: var(--ink-900);
  background-image: linear-gradient(180deg, #070C1F 0%, #101A3D 46%, #1A1140 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.hy-no-scroll { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0.04em;
  color: var(--white);
}

h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); }
h4 { font-size: 18px; }

p { color: var(--paper-100); }

small { font-size: 13px; color: var(--slate-400); }

strong, b { font-weight: 800; color: var(--white); }

.hy-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* 焦点可见 */
:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.hy-skip:focus { outline-offset: 0; }

/* ---------- 4. 布局容器 ---------- */
.hy-shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hy-section {
  position: relative;
  padding-block: clamp(48px, 8vw, 96px);
}

.hy-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 18px;
  margin-bottom: 28px;
}

.hy-section__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(46px, 8vw, 108px);
  line-height: 0.86;
  letter-spacing: 0.02em;
  color: var(--mist-600);
  font-variant-numeric: tabular-nums;
}

.hy-section__title {
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.08em;
}

.hy-section__lead {
  flex: 1 1 320px;
  min-width: 240px;
  font-size: 16px;
  color: var(--slate-400);
  line-height: 1.75;
  max-width: 46ch;
}

.hy-grid {
  display: grid;
  gap: 24px;
}

.hy-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hy-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hy-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 5. 头部 ---------- */
.hy-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: linear-gradient(180deg, rgba(7, 12, 31, 0.99) 0%, rgba(7, 12, 31, 0.92) 100%);
  border-bottom: 1px solid var(--mist-600);
  transition: box-shadow var(--dur) var(--ease-out);
}

.hy-header[data-scrolled="true"] {
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9);
}

/* 跳过链接 */
.hy-skip {
  position: absolute;
  top: -80px;
  left: var(--gutter);
  z-index: 200;
  display: inline-block;
  padding: 10px 18px;
  background: var(--cyan-400);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top var(--dur-fast) var(--ease-out);
}

.hy-skip:focus { top: 10px; }

/* 滚动进度 */
.hy-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-400) 0%, var(--orange-500) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  will-change: transform;
}

/* 上层品牌说明条 */
.hy-upper {
  background: linear-gradient(90deg, var(--violet-900) 0%, var(--ink-900) 62%, var(--ink-900) 100%);
  border-bottom: 1px solid rgba(42, 54, 112, 0.55);
}

.hy-upper__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  padding-block: 7px;
}

.hy-upper__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.hy-brand__mark {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-900);
  background: var(--cyan-400);
  padding: 2px 6px;
  border-radius: var(--radius);
}

.hy-brand__text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--paper-100);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hy-upper__note {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--slate-400);
  white-space: nowrap;
}

.hy-upper__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 版本脉冲徽标 */
.hy-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--orange-500);
  border: 1px solid rgba(255, 122, 47, 0.42);
  background: rgba(255, 122, 47, 0.08);
  border-radius: 999px;
}

.hy-pulse--quiet { margin-top: 18px; }

.hy-pulse__dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--orange-500);
  animation: hy-pulse 2.4s ease-in-out infinite;
}

.hy-pulse__label { color: var(--slate-400); font-family: var(--font-head); letter-spacing: 0.04em; }
.hy-pulse__ver { color: var(--orange-500); font-weight: 700; }

@keyframes hy-pulse {
  0%, 100% { opacity: 0.4; box-shadow: 0 0 0 0 rgba(255, 122, 47, 0.45); }
  50%      { opacity: 1;   box-shadow: 0 0 0 4px rgba(255, 122, 47, 0); }
}

/* 快捷入口 */
.hy-quicklink {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cyan-400);
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(63, 240, 228, 0.38);
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.hy-quicklink:hover,
.hy-quicklink:focus-visible {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* 下层栏目带 */
.hy-navbar { background: rgba(16, 26, 61, 0.72); }

.hy-navbar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
}

.hy-nav { margin-inline-start: auto; }

.hy-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hy-nav__item { position: relative; }

.hy-nav__link {
  position: relative;
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--paper-100);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.hy-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--cyan-400);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease-out);
}

.hy-nav__link:hover {
  color: var(--white);
  background: rgba(63, 240, 228, 0.08);
}

.hy-nav__link:hover::after { transform: scaleX(1); }

.hy-nav__link[aria-current="page"] { color: var(--cyan-400); }
.hy-nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* 头部行动按钮 */
.hy-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--ink-900);
  background: var(--cyan-400);
  border: 1px solid var(--cyan-400);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.hy-cta:hover,
.hy-cta:focus-visible {
  background: transparent;
  color: var(--cyan-400);
  transform: translateY(-2px);
}

/* 汉堡按钮 */
.hy-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  background: transparent;
  border: 1px solid var(--mist-600);
  border-radius: var(--radius);
  color: var(--paper-100);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.hy-nav-toggle:hover { border-color: var(--cyan-400); color: var(--cyan-400); }

.hy-nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background-color var(--dur) var(--ease-out);
}

.hy-nav-toggle__bars::before,
.hy-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease-out);
}

.hy-nav-toggle__bars::before { top: -6px; }
.hy-nav-toggle__bars::after { top: 6px; }

.hy-header[data-open="true"] .hy-nav-toggle__bars { background: transparent; }
.hy-header[data-open="true"] .hy-nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.hy-header[data-open="true"] .hy-nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* 侧滑抽屉 */
.hy-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-drawer);
  width: min(348px, 88vw);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 22px 30px;
  overflow-y: auto;
  background: linear-gradient(200deg, var(--indigo-800) 0%, var(--violet-900) 100%);
  border-left: 1px solid var(--mist-600);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}

.hy-drawer[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
  transition: transform var(--dur) var(--ease-out), visibility 0s;
}

.hy-drawer__title {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--cyan-400);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mist-600);
}

.hy-drawer__list { display: flex; flex-direction: column; }

.hy-drawer__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper-100);
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 54, 112, 0.6);
  transition: color var(--dur-fast) var(--ease-out), padding-left var(--dur-fast) var(--ease-out);
}

.hy-drawer__link:hover,
.hy-drawer__link:focus-visible {
  color: var(--cyan-400);
  padding-left: 10px;
}

.hy-drawer__link[aria-current="page"] { color: var(--cyan-400); }

.hy-drawer__num {
  font-size: 12px;
  color: var(--slate-400);
}

.hy-drawer__link[aria-current="page"] .hy-drawer__num { color: var(--orange-500); }

.hy-drawer__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--mist-600);
}

.hy-drawer__cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 11px 18px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cyan-400);
  background: transparent;
  border: 1px solid var(--cyan-400);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.hy-drawer__cta:hover,
.hy-drawer__cta:focus-visible {
  background: var(--cyan-400);
  color: var(--ink-900);
}

.hy-drawer__meta {
  font-size: 12px;
  color: var(--slate-400);
  letter-spacing: 0.04em;
}

/* 遮罩 */
.hy-scrim {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-drawer) - 1);
  background: rgba(7, 12, 31, 0.74);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}

.hy-scrim[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur) var(--ease-out), visibility 0s;
}

/* ---------- 6. 页脚 ---------- */
.hy-footer {
  margin-top: clamp(56px, 9vw, 104px);
  padding-block: 56px 24px;
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--violet-900) 100%);
  border-top: 1px solid var(--mist-600);
}

.hy-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
  gap: 32px 24px;
}

.hy-footer__col--brand { max-width: 40ch; }

.hy-footer__brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
}

.hy-footer__desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate-400);
  max-width: 34ch;
}

.hy-footer__title {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--cyan-400);
  text-transform: uppercase;
}

.hy-footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.hy-footer__link {
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--paper-100);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.hy-footer__link:hover,
.hy-footer__link:focus-visible {
  color: var(--cyan-400);
  border-bottom-color: rgba(63, 240, 228, 0.55);
}

.hy-footer__link[aria-current="page"] {
  color: var(--cyan-400);
  border-bottom-color: rgba(63, 240, 228, 0.55);
}

.hy-footer__item {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-400);
  word-break: break-word;
}

.hy-footer__item .hy-mono { color: var(--paper-100); font-size: 13px; }

.hy-footer__bottom {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--mist-600);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}

.hy-footer__legal {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--slate-400);
}

/* ---------- 7. 通用组件 ---------- */
.hy-breadcrumb {
  padding-block: 20px 4px;
  font-size: 13px;
  color: var(--slate-400);
}

.hy-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hy-breadcrumb__link {
  color: var(--slate-400);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.hy-breadcrumb__link:hover { color: var(--cyan-400); }

.hy-breadcrumb__sep {
  color: var(--mist-600);
  user-select: none;
}

/* 正文容器 */
.hy-prose {
  max-width: 72ch;
  font-size: 16.5px;
  line-height: 1.8;
}

.hy-prose > * + * { margin-top: 1.2em; }

.hy-prose h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-top: 2em;
  letter-spacing: 0.06em;
}

.hy-prose h3 {
  font-size: clamp(19px, 2vw, 22px);
  margin-top: 1.7em;
  letter-spacing: 0.05em;
}

.hy-prose ul,
.hy-prose ol {
  padding-left: 1.4em;
  list-style: disc;
}

.hy-prose ol { list-style: decimal; }

.hy-prose li + li { margin-top: 0.45em; }

.hy-prose li::marker { color: var(--cyan-400); }

.hy-prose a {
  color: var(--cyan-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(63, 240, 228, 0.45);
}

.hy-prose a:hover { color: var(--white); border-bottom-color: var(--white); }

.hy-prose blockquote {
  border-left: 2px solid var(--cyan-400);
  padding-left: 18px;
  color: var(--slate-400);
}

.hy-prose code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  padding: 2px 6px;
  color: var(--cyan-400);
  background: rgba(42, 54, 112, 0.6);
  border-radius: var(--radius);
}

/* 卡片 */
.hy-card {
  position: relative;
  display: block;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--mist-600);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.hy-card:hover,
.hy-card:focus-within {
  border-color: var(--cyan-400);
  transform: translateY(-2px);
}

.hy-card__eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan-400);
}

.hy-card__title {
  margin-top: 8px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
}

.hy-card__text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--slate-400);
}

/* 按钮 */
.hy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-900);
  background: var(--cyan-400);
  border: 1px solid var(--cyan-400);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.hy-button:hover,
.hy-button:focus-visible {
  background: transparent;
  color: var(--cyan-400);
  transform: translateY(-2px);
}

.hy-button--ghost {
  color: var(--cyan-400);
  background: transparent;
}

.hy-button--ghost:hover,
.hy-button--ghost:focus-visible {
  background: var(--cyan-400);
  color: var(--ink-900);
}

/* 状态徽标 */
.hy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: 1px solid currentColor;
  border-radius: 999px;
  white-space: nowrap;
}

.hy-badge--new  { color: var(--orange-500);  background: rgba(255, 122, 47, 0.08); }
.hy-badge--ok   { color: var(--teal-500);    background: rgba(18, 163, 138, 0.1); }
.hy-badge--warn { color: var(--magenta-500); background: rgba(255, 77, 141, 0.1); }
.hy-badge--info { color: var(--cyan-400);    background: rgba(63, 240, 228, 0.08); }

/* 标签页 */
.hy-tabs { position: relative; }

.hy-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--mist-600);
}

.hy-tabs__tab {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--slate-400);
  cursor: pointer;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out);
}

.hy-tabs__tab:hover {
  color: var(--paper-100);
  background: rgba(63, 240, 228, 0.06);
}

.hy-tabs__tab[aria-selected="true"] {
  color: var(--cyan-400);
  border-bottom-color: var(--cyan-400);
}

.hy-tabs__panel { padding-top: 22px; }
.hy-tabs__panel[hidden] { display: none; }

/* 图片容器（供页面阶段放置占位） */
.hy-figure { margin: 0; }

.hy-figure__frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--mist-600);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--indigo-800) 0%, var(--violet-900) 100%);
}

.hy-figure__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(63, 240, 228, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 240, 228, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hy-figure__frame img,
.hy-figure__frame picture,
.hy-figure__frame svg,
.hy-figure__frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hy-figure--wide .hy-figure__frame { aspect-ratio: 21 / 9; }
.hy-figure--square .hy-figure__frame { aspect-ratio: 1 / 1; }
.hy-figure--tall .hy-figure__frame { aspect-ratio: 3 / 4; }

.hy-figure__caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate-400);
}

/* ---------- 8. 显现动效 ---------- */
html.hy-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

html.hy-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 9. 响应式 ---------- */
@media (max-width: 1024px) {
  .hy-nav,
  .hy-cta { display: none; }

  .hy-nav-toggle { display: inline-flex; }

  .hy-upper__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .hy-upper__note { display: none; }

  .hy-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hy-grid--3,
  .hy-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1025px) {
  .hy-drawer,
  .hy-scrim { display: none; }
}

@media (max-width: 768px) {
  .hy-section__num { font-size: clamp(40px, 12vw, 64px); }
  .hy-section__lead { flex-basis: 100%; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .hy-quicklink { display: none; }
  .hy-pulse__label { display: none; }
  .hy-nav-toggle__text { display: none; }

  .hy-footer { padding-block: 40px 20px; }
  .hy-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hy-footer__col--brand { max-width: none; }
  .hy-footer__bottom { margin-top: 28px; }

  .hy-grid--2,
  .hy-grid--3,
  .hy-grid--4 { grid-template-columns: 1fr; }

  .hy-card { padding: 18px; }
  .hy-prose { font-size: 16px; }
}

/* ---------- 10. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hy-pulse__dot { animation: none !important; opacity: 1 !important; }

  html.hy-js [data-reveal],
  html.hy-js [data-reveal].is-visible {
    opacity: 1 !important;
    transform: none !important;
  }

  .hy-card:hover,
  .hy-card:focus-within,
  .hy-button:hover,
  .hy-cta:hover,
  .hy-drawer__link:hover { transform: none !important; }

  .hy-progress { transition: none !important; }
}
