/* =========================================================
   亚新体育 · 全站共享样式 /assets/site.css
   高原夜空蓝 + 青海湖青 / 极细描边 / 斜切角 / 等宽数字
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

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

body, h1, h2, h3, h4, p, ul, ol, dl, dd, dt, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
dl, dd { margin: 0; }

:root {
  --yx-night: #0A1A33;
  --yx-night-2: #12294D;
  --yx-night-3: #081426;
  --yx-lake: #0FA3A0;
  --yx-lake-soft: #6FD3CE;
  --yx-lake-wash: rgba(15, 163, 160, 0.12);
  --yx-orange: #FF6A17;
  --yx-orange-wash: rgba(255, 106, 23, 0.14);
  --yx-lime: #B8FF4A;
  --yx-paper: #F5F7F6;
  --yx-mist: #E7ECEA;
  --yx-ink: #3A4653;
  --yx-ink-2: #6B7C8C;
  --yx-alert: #E4472F;
  --yx-line: rgba(10, 26, 51, 0.14);
  --yx-line-soft: rgba(10, 26, 51, 0.08);
  --yx-line-dark: rgba(111, 211, 206, 0.22);
  --yx-radius: 14px;
  --yx-radius-lg: 22px;
  --yx-shadow: 0 2px 12px rgba(10, 26, 51, 0.10);
  --yx-shadow-lg: 0 18px 44px rgba(8, 20, 38, 0.22);
  --yx-container: 1240px;
  --yx-gap: 24px;
  --yx-sans: "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --yx-mono: ui-monospace, "JetBrains Mono", "Roboto Mono", SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  --yx-tilt: -1.6deg;
}

html[data-compact] {
  --yx-container: 1040px;
  --yx-gap: 18px;
}

body {
  font-family: var(--yx-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--yx-ink);
  background: var(--yx-paper);
  overflow-x: hidden;
}

html[data-compact] body { font-size: 15.5px; }
html[data-compact] .yx-section { padding-block: clamp(44px, 6vw, 82px); }
html[data-compact] .yx-card { padding: 18px; }

:focus-visible {
  outline: 2px solid var(--yx-lake);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 容器与分区 ---------- */
.yx-container {
  width: 100%;
  max-width: var(--yx-container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.yx-section { padding-block: clamp(64px, 9vw, 118px); position: relative; }
.yx-section--dark { background: var(--yx-night); color: rgba(245, 247, 246, 0.82); }
.yx-section--paper { background: var(--yx-paper); }
.yx-section--mist { background: var(--yx-mist); }
.yx-band { border-block: 1px solid var(--yx-line-soft); }

/* ---------- 文字层级 ---------- */
.yx-eyebrow {
  font-family: var(--yx-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yx-lake);
}

.yx-title, .yx-h2, .yx-h3 {
  font-weight: 900;
  letter-spacing: -0.022em;
  line-height: 1.14;
  color: var(--yx-night);
}

.yx-title {
  font-size: clamp(34px, 4.6vw, 56px);
  display: inline-block;
  transform: skewX(var(--yx-tilt));
}
.yx-h2 { font-size: clamp(26px, 3vw, 34px); }
.yx-h3 { font-size: 22px; }

.yx-lede {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--yx-ink-2);
  max-width: 46ch;
}

.yx-prose { max-width: 38em; color: var(--yx-ink); }
.yx-prose p + p { margin-top: 1.1em; }
.yx-prose h2, .yx-prose h3 { margin-block: 1.6em 0.6em; }

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

.yx-section--dark .yx-title,
.yx-section--dark .yx-h2,
.yx-section--dark .yx-h3 { color: #FFFFFF; }
.yx-section--dark .yx-lede,
.yx-section--dark .yx-prose { color: rgba(245, 247, 246, 0.72); }
.yx-section--dark .yx-eyebrow { color: var(--yx-lake-soft); }

/* ---------- 编号章节 ---------- */
.yx-chapter {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2vw, 26px);
}
.yx-chapter__num {
  font-family: var(--yx-mono);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--yx-lake);
  transform: skewX(var(--yx-tilt));
  display: inline-block;
}
.yx-chapter__body { display: flex; flex-direction: column; gap: 6px; }

/* ---------- 按钮 ---------- */
.yx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  transition: transform 0.18s ease, background-color 0.18s ease,
              border-color 0.18s ease, color 0.18s ease;
}
.yx-btn--primary {
  background: var(--yx-orange);
  color: #20130A;
  box-shadow: 0 6px 18px rgba(255, 106, 23, 0.28);
}
.yx-btn--primary:hover { background: #FF7D33; transform: translateY(-1px); }
.yx-btn--ghost {
  border-color: var(--yx-line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--yx-night);
}
.yx-btn--ghost:hover { border-color: var(--yx-lake); color: var(--yx-lake); }
.yx-btn--light {
  border-color: var(--yx-line-dark);
  background: rgba(111, 211, 206, 0.08);
  color: var(--yx-paper);
}
.yx-btn--light:hover { border-color: var(--yx-lake-soft); color: #FFFFFF; }
.yx-btn--sm { padding: 9px 16px; font-size: 14px; }

/* ---------- 标签 ---------- */
.yx-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--yx-line);
  font-size: 13px;
  font-weight: 600;
  color: var(--yx-ink-2);
  white-space: nowrap;
}
.yx-tag--lake { color: #07514F; border-color: rgba(15, 163, 160, 0.4); background: var(--yx-lake-wash); }
.yx-tag--orange { color: #8A3405; border-color: rgba(255, 106, 23, 0.42); background: var(--yx-orange-wash); }
.yx-tag--lime { color: #2C4A00; border-color: rgba(160, 220, 60, 0.55); background: rgba(184, 255, 74, 0.22); }

/* ---------- 卡片与数据 ---------- */
.yx-card {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--yx-line-soft);
  border-radius: var(--yx-radius);
  background: #FFFFFF;
  box-shadow: var(--yx-shadow);
}
.yx-card--dark {
  background: var(--yx-night-2);
  border-color: var(--yx-line-dark);
  color: rgba(245, 247, 246, 0.86);
  box-shadow: none;
}
.yx-card--score { border-bottom-right-radius: 0; }
.yx-card--score::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, transparent 48%, rgba(111, 211, 206, 0.55) 49%, rgba(111, 211, 206, 0.1) 100%);
  pointer-events: none;
}
.yx-card__label {
  display: block;
  font-family: var(--yx-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yx-ink-2);
  margin-bottom: 10px;
}
.yx-card--dark .yx-card__label { color: rgba(111, 211, 206, 0.78); }
.yx-card__value {
  font-family: var(--yx-mono);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--yx-night);
}
.yx-card--dark .yx-card__value { color: #FFFFFF; }

.yx-score {
  font-family: var(--yx-mono);
  font-weight: 700;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--yx-lime);
  display: inline-block;
  transform: skewX(var(--yx-tilt));
}
.yx-score__sep { color: var(--yx-orange); padding-inline: 0.08em; }

/* ---------- 时间轴 ---------- */
.yx-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 24px;
}
.yx-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--yx-lake), rgba(111, 211, 206, 0.12));
}
.yx-timeline__item { position: relative; }
.yx-timeline__time {
  display: block;
  font-family: var(--yx-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--yx-ink-2);
}
.yx-timeline__dot {
  position: absolute;
  left: -24px;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--yx-lake);
  background: var(--yx-paper);
}
.yx-timeline__dot--live {
  background: var(--yx-orange);
  border-color: var(--yx-orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 23, 0.16);
}

/* ---------- 可展开组 ---------- */
.yx-accordion { border-top: 1px solid var(--yx-line-soft); }
.yx-accordion__item { border-bottom: 1px solid var(--yx-line-soft); }
.yx-accordion__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: var(--yx-night);
  transition: color 0.18s ease;
}
.yx-accordion__head:hover { color: var(--yx-lake); }
.yx-accordion__icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--yx-lake);
}
.yx-accordion__icon::before,
.yx-accordion__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}
.yx-accordion__icon::after { transition: transform 0.2s ease; transform: translateY(-50%) rotate(90deg); }
.yx-accordion__head[aria-expanded="true"] .yx-accordion__icon::after { transform: translateY(-50%) rotate(0deg); }
.yx-accordion__panel {
  overflow: hidden;
  height: 0;
  transition: height 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}
.yx-accordion__body {
  padding: 0 4px 22px;
  max-width: 38em;
  color: var(--yx-ink);
  font-size: 16px;
}

/* ---------- 索引条与旁注 ---------- */
.yx-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--yx-line-soft);
  border-radius: var(--yx-radius);
  background: #FFFFFF;
  box-shadow: var(--yx-shadow);
}
.yx-index__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--yx-ink-2);
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.yx-index__item:hover { color: var(--yx-lake); border-color: rgba(15, 163, 160, 0.32); background: var(--yx-lake-wash); }
.yx-index__num { font-family: var(--yx-mono); font-size: 13px; font-weight: 700; color: var(--yx-lake); }

.yx-toc {
  position: sticky;
  top: 118px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 16px;
  border-left: 1px solid var(--yx-line-soft);
  font-size: 14px;
}
.yx-toc__link { color: var(--yx-ink-2); transition: color 0.18s ease; }
.yx-toc__link:hover { color: var(--yx-lake); }
.yx-toc__link.is-active { color: var(--yx-lake); font-weight: 700; }

/* ---------- 网格与拼贴 ---------- */
.yx-grid { display: grid; gap: var(--yx-gap); }
.yx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yx-grid--split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }

.yx-collage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--yx-gap);
}
.yx-collage__cell { grid-column: span 4; }
.yx-collage__cell--lead { grid-column: span 6; grid-row: span 2; }

/* ---------- 媒体容器（页面阶段放图） ---------- */
.yx-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--yx-line-soft);
  border-radius: var(--yx-radius);
  aspect-ratio: 16 / 9;
  background: linear-gradient(140deg, var(--yx-night) 0%, var(--yx-night-2) 55%, #0C3746 100%);
}
.yx-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.85) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.05;
  pointer-events: none;
}
.yx-media--wide { aspect-ratio: 21 / 9; }
.yx-media--tall { aspect-ratio: 4 / 5; }
.yx-media--square { aspect-ratio: 1 / 1; }
.yx-media__img { width: 100%; height: 100%; object-fit: cover; }
.yx-media__caption { margin-top: 10px; font-size: 14px; color: var(--yx-ink-2); }

/* ---------- 面包屑 ---------- */
.yx-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--yx-ink-2);
}
.yx-crumbs__link {
  color: var(--yx-ink-2);
  text-decoration: underline;
  text-decoration-color: rgba(15, 163, 160, 0.45);
  text-underline-offset: 4px;
  transition: color 0.18s ease;
}
.yx-crumbs__link:hover { color: var(--yx-lake); }
.yx-crumbs__sep { color: var(--yx-lake-soft); }
.yx-crumbs__current { color: var(--yx-night); font-weight: 600; }

/* ---------- 表格 ---------- */
.yx-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.yx-table th {
  text-align: left;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yx-ink-2);
  border-bottom: 1px solid var(--yx-line);
}
.yx-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--yx-line-soft);
  color: var(--yx-ink);
}
.yx-table tbody tr:nth-child(even) { background: var(--yx-mist); }

/* ---------- 装饰 ---------- */
.yx-rule { height: 1px; border: 0; background: var(--yx-line-soft); margin-block: clamp(32px, 5vw, 64px); }
.yx-rule--dark { background: var(--yx-line-dark); }
.yx-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: radial-gradient(rgba(255, 255, 255, 0.9) 1px, transparent 1px);
  background-size: 3px 3px;
}
.yx-diagonal {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(111, 211, 206, 0), rgba(111, 211, 206, 0.85), rgba(111, 211, 206, 0));
  transform-origin: left center;
  transform: rotate(var(--yx-rot, 0deg)) scaleX(0);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.yx-diagonal.is-in { transform: rotate(var(--yx-rot, 0deg)) scaleX(1); }

/* ---------- 显现 ---------- */
.yx-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.yx-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 跳过链接 ---------- */
.yx-skip {
  position: fixed;
  left: 50%;
  top: -72px;
  z-index: 140;
  transform: translateX(-50%);
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--yx-lime);
  color: #14260A;
  font-size: 14px;
  font-weight: 700;
  transition: top 0.2s ease;
}
.yx-skip:focus { top: 14px; }

/* ---------- 悬浮胶囊头部 ---------- */
.yx-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: clamp(14px, 2vw, 22px) clamp(16px, 3vw, 32px);
  pointer-events: none;
}
.yx-header__shell {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  width: 100%;
  max-width: var(--yx-container);
  margin-inline: auto;
  padding: 9px 10px 9px 18px;
  border: 1px solid rgba(111, 211, 206, 0.24);
  border-radius: 999px;
  background: rgba(18, 41, 77, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 10px 30px rgba(6, 16, 32, 0.24);
  color: var(--yx-paper);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.yx-header[data-scrolled] .yx-header__shell {
  background: rgba(10, 26, 51, 0.9);
  box-shadow: 0 14px 36px rgba(4, 12, 26, 0.38);
}

.yx-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.yx-brand__mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yx-lake);
  box-shadow: 0 0 0 4px rgba(15, 163, 160, 0.18);
  flex: 0 0 auto;
}
.yx-brand__name {
  display: inline-block;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  transform: skewX(var(--yx-tilt));
}
.yx-brand__round {
  font-family: var(--yx-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border: 1px solid rgba(184, 255, 74, 0.42);
  border-radius: 999px;
  color: var(--yx-lime);
}

.yx-nav { margin-inline: auto; }
.yx-nav__list { display: flex; align-items: center; gap: 4px; }
.yx-nav__link {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(245, 247, 246, 0.78);
  transition: color 0.18s ease, background-color 0.18s ease;
}
.yx-nav__link:hover { color: #FFFFFF; background: rgba(111, 211, 206, 0.12); }
.yx-nav__link[aria-current="page"] { background: var(--yx-lake); color: #042A29; }
.yx-nav__link[aria-current="page"]:hover { background: var(--yx-lake); color: #042A29; }

.yx-nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(111, 211, 206, 0.3);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--yx-paper);
  flex: 0 0 auto;
}
.yx-nav-toggle:hover { border-color: var(--yx-lake-soft); color: #FFFFFF; }
.yx-nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transition: border-color 0.2s ease;
}
.yx-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}
.yx-header[data-open] .yx-nav-toggle__bars { border-color: transparent; }
.yx-header[data-open] .yx-nav-toggle__bars::after { transform: translateY(-50%) rotate(45deg); }

.yx-header__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.yx-mode {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid rgba(111, 211, 206, 0.28);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(245, 247, 246, 0.8);
  transition: border-color 0.18s ease, color 0.18s ease;
}
.yx-mode:hover { border-color: var(--yx-lake-soft); color: #FFFFFF; }
.yx-mode[aria-pressed="true"] { border-color: rgba(184, 255, 74, 0.55); color: var(--yx-lime); }
.yx-mode__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(111, 211, 206, 0.6);
  flex: 0 0 auto;
}
.yx-mode[aria-pressed="true"] .yx-mode__dot { background: var(--yx-lime); }

.yx-rail {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(111, 211, 206, 0.32);
  border-radius: 50%;
  color: var(--yx-paper);
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.yx-rail:hover { border-color: var(--yx-lime); background: rgba(184, 255, 74, 0.08); color: var(--yx-lime); }
.yx-rail__arrow {
  width: 9px;
  height: 9px;
  border-left: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg) translate(1px, 1px);
}

.yx-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(111, 211, 206, 0.12);
  pointer-events: none;
}
.yx-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--yx-lake), var(--yx-lime));
  transition: width 0.12s linear;
}

/* ---------- 页脚 ---------- */
.yx-footer {
  position: relative;
  overflow: hidden;
  background: var(--yx-night);
  color: rgba(245, 247, 246, 0.72);
  padding-block: clamp(48px, 7vw, 84px) clamp(24px, 4vw, 40px);
}
.yx-footer__glow {
  position: absolute;
  left: -12%;
  top: -35%;
  width: 65%;
  height: 150%;
  background: radial-gradient(circle at 32% 34%, rgba(15, 163, 160, 0.22), transparent 66%);
  pointer-events: none;
}
.yx-footer .yx-container { position: relative; z-index: 1; }

.yx-footer__band {
  padding-block: clamp(20px, 3vw, 30px);
  border-top: 1px solid var(--yx-line-dark);
}
.yx-footer__band:first-of-type { border-top: 0; padding-top: 0; }

.yx-sub { position: relative; }
.yx-sub__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  margin-bottom: 20px;
}
.yx-foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  transform: skewX(var(--yx-tilt));
}
.yx-foot-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  transform: skewX(var(--yx-tilt));
}
.yx-sub__invite { font-size: 15px; color: rgba(111, 211, 206, 0.85); max-width: 46ch; }

.yx-sub__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.yx-sub__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(111, 211, 206, 0.2);
  border-radius: var(--yx-radius);
  background: rgba(18, 41, 77, 0.6);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  color: rgba(245, 247, 246, 0.6);
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}
.yx-sub__item:hover { border-color: rgba(111, 211, 206, 0.45); color: rgba(245, 247, 246, 0.9); }
.yx-sub__item[aria-pressed="true"] {
  border-color: rgba(184, 255, 74, 0.5);
  background: rgba(184, 255, 74, 0.09);
  color: #FFFFFF;
}
.yx-sub__mark {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(111, 211, 206, 0.5);
  border-radius: 5px;
}
.yx-sub__item[aria-pressed="true"] .yx-sub__mark {
  border-color: var(--yx-lime);
  background: rgba(184, 255, 74, 0.16);
}
.yx-sub__item[aria-pressed="true"] .yx-sub__mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--yx-lime);
  border-bottom: 2px solid var(--yx-lime);
  transform: rotate(40deg);
}
.yx-sub__name { white-space: nowrap; }
.yx-sub__preview {
  margin-top: 16px;
  font-family: var(--yx-mono);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: rgba(184, 255, 74, 0.88);
}

.yx-footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}
.yx-foot-col__title {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--yx-lake-soft);
}
.yx-foot-col__list { display: flex; flex-direction: column; gap: 10px; }
.yx-foot-link {
  font-size: 15px;
  color: rgba(245, 247, 246, 0.66);
  transition: color 0.18s ease;
}
.yx-foot-link:hover { color: var(--yx-lime); }

.yx-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 44px);
}
.yx-meta { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 46px); }
.yx-meta__row { display: flex; flex-direction: column; gap: 4px; }
.yx-meta__key {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(111, 211, 206, 0.72);
}
.yx-meta__val { font-size: 15px; color: rgba(245, 247, 246, 0.86); }
.yx-meta__val--mono { font-family: var(--yx-mono); font-weight: 700; letter-spacing: 0.02em; }
.yx-icp { font-size: 13px; color: rgba(245, 247, 246, 0.48); }

.yx-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(20px, 3vw, 30px);
  padding-top: 22px;
  border-top: 1px solid var(--yx-line-dark);
}
.yx-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.yx-legal__link {
  font-size: 14px;
  color: rgba(245, 247, 246, 0.72);
  text-decoration: underline;
  text-decoration-color: rgba(111, 211, 206, 0.42);
  text-underline-offset: 4px;
  transition: color 0.18s ease;
}
.yx-legal__link:hover { color: var(--yx-lime); }
.yx-footer__copy { font-size: 13px; color: rgba(245, 247, 246, 0.46); }

/* ---------- 桌面端：滚动后收缩为左侧竖排浮岛 ---------- */
@media (min-width: 901px) {
  .yx-header[data-scrolled] .yx-header__shell {
    position: fixed;
    left: clamp(14px, 2vw, 24px);
    top: clamp(14px, 2vw, 24px);
    width: auto;
    max-width: none;
    margin: 0;
    flex-direction: column;
    gap: 10px;
    padding: 12px 10px;
    border-radius: 999px;
  }
  .yx-header[data-scrolled] .yx-brand__name,
  .yx-header[data-scrolled] .yx-brand__round,
  .yx-header[data-scrolled] .yx-header__actions { display: none; }
  .yx-header[data-scrolled] .yx-nav { display: none; margin: 0; }
  .yx-header[data-scrolled] .yx-nav-toggle { display: inline-flex; padding: 10px; }
  .yx-header[data-scrolled] .yx-nav-toggle__label { display: none; }
  .yx-header[data-scrolled] .yx-rail { display: inline-flex; }
  .yx-header[data-scrolled][data-open] .yx-nav {
    display: block;
    position: absolute;
    left: calc(100% + 12px);
    top: 0;
    padding: 10px;
    border: 1px solid rgba(111, 211, 206, 0.24);
    border-radius: var(--yx-radius-lg);
    background: rgba(10, 26, 51, 0.96);
    box-shadow: var(--yx-shadow-lg);
  }
  .yx-header[data-scrolled][data-open] .yx-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .yx-header[data-scrolled][data-open] .yx-nav__link {
    display: block;
    padding: 10px 16px;
    border-radius: var(--yx-radius);
    white-space: nowrap;
  }
}

/* ---------- 平板 ---------- */
@media (max-width: 1024px) {
  .yx-collage__cell { grid-column: span 6; }
  .yx-collage__cell--lead { grid-column: span 12; grid-row: auto; }
  .yx-grid--split { grid-template-columns: 1fr; }
  .yx-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 移动端导航 ---------- */
@media (max-width: 900px) {
  .yx-header__shell { padding: 8px 8px 8px 14px; }
  .yx-brand__round { display: none; }
  .yx-nav-toggle { display: inline-flex; }
  .yx-mode__text { display: none; }
  .yx-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    margin: 0;
    padding: 10px;
    border: 1px solid rgba(111, 211, 206, 0.24);
    border-radius: var(--yx-radius-lg);
    background: rgba(10, 26, 51, 0.97);
    box-shadow: var(--yx-shadow-lg);
  }
  .yx-header[data-open] .yx-nav { display: block; }
  .yx-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .yx-nav__link { display: block; padding: 12px 14px; border-radius: var(--yx-radius); }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .yx-grid--2, .yx-grid--3 { grid-template-columns: 1fr; }
  .yx-collage__cell, .yx-collage__cell--lead { grid-column: span 12; }
  .yx-sub__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yx-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yx-toc { position: static; border-left: 0; padding-left: 0; }
  .yx-chapter { flex-direction: row; gap: 12px; }
}

@media (max-width: 480px) {
  html { scroll-padding-top: 96px; }
  .yx-header__actions .yx-btn { display: none; }
  .yx-sub__grid { grid-template-columns: 1fr; }
  .yx-footer__links { grid-template-columns: 1fr; }
  .yx-meta { flex-direction: column; gap: 16px; }
  .yx-card__value { font-size: clamp(34px, 12vw, 48px); }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .yx-diagonal { transform: rotate(var(--yx-rot, 0deg)); }
  .yx-js [data-reveal] { opacity: 1; transform: none; }
}
