/* ==========================================================================
   BY体育官方正 /assets/site.css
   共享设计系统：高原数据档案库 · 深蓝/青/亮橙
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --color-deep-blue: #0B2447;
  --color-cyan: #00C8E0;
  --color-orange: #FF6B35;
  --color-white: #FFFFFF;
  --color-snow: #F5F7FA;
  --color-ink: #1A1A1A;
  --color-graphite: #4D4D4D;
  --color-border: #D0D5DD;

  --font-heading: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-number: "SF Mono", "Roboto Mono", ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;

  --radius-card: 12px;
  --shadow-card: 0 2px 8px rgba(11, 36, 71, 0.06);
  --shadow-float: 0 12px 28px rgba(11, 36, 71, 0.14);
  --max-width: 1200px;
  --header-height: 84px;
  --transition: 0.25s ease;
}

/* ---------- 2. 重置与基础排版 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-ink);
  background: var(--color-deep-blue);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol,
menu {
  list-style: none;
}

a {
  color: var(--color-deep-blue);
  text-decoration: none;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-ink);
  letter-spacing: 0.01em;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--color-cyan);
  color: var(--color-deep-blue);
}

/* ---------- 3. 焦点与无障碍 ---------- */
:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 500;
  display: inline-block;
  padding: 10px 20px;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  transform: translateY(-80px);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.is-hidden {
  display: none !important;
}

/* ---------- 4. 通用容器与主内容 ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.site-main {
  padding-top: var(--header-height);
  background: var(--color-snow);
  min-height: 70vh;
}

.site-main--flush {
  padding-top: 0;
  background: transparent;
}

#main-content {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

/* ---------- 5. 悬浮胶囊头部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 20px 0;
  pointer-events: none;
}

.site-header__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px 8px 18px;
  background: rgba(11, 36, 71, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 200, 224, 0.22);
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(3, 12, 28, 0.38);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.brand__text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: opacity var(--transition);
}

.brand:hover .brand__text {
  opacity: 0.85;
}

.brand__badge {
  font-family: var(--font-number);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 2px 6px;
  background: var(--color-cyan);
  color: var(--color-deep-blue);
  border-radius: 3px;
  transform: translateY(1px);
}

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

.site-nav__link {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-nav__link:hover {
  color: var(--color-white);
  background: rgba(0, 200, 224, 0.16);
  border-color: rgba(0, 200, 224, 0.2);
}

.site-nav__link[aria-current="page"] {
  background: var(--color-cyan);
  color: var(--color-deep-blue);
  border-color: var(--color-cyan);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 200, 224, 0.35);
}

.site-nav__link[aria-current="page"]:hover {
  background: var(--color-cyan);
  color: var(--color-deep-blue);
}

.site-header__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 200, 224, 0.3);
  background: rgba(11, 36, 71, 0.4);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.site-header__toggle:hover {
  border-color: var(--color-cyan);
}

.site-header__toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-cyan);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 6. 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-orange));
  z-index: 200;
}

/* ---------- 7. 页脚档案区 ---------- */
.site-footer {
  position: relative;
  background: var(--color-deep-blue);
  color: rgba(255, 255, 255, 0.74);
  overflow: hidden;
  border-top: 1px solid rgba(0, 200, 224, 0.18);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 200, 224, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 224, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
}

.site-footer__mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 0;
  pointer-events: none;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: var(--color-white);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: var(--color-cyan);
}

.site-footer__top {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 52px 24px 40px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr;
  gap: 48px;
}

.site-footer__brand {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.brand--footer .brand__text {
  font-size: 1.4rem;
}

.site-footer__trust {
  max-width: 32em;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.58);
  border-left: 2px solid var(--color-cyan);
  padding-left: 14px;
  margin-bottom: 0;
}

.site-footer__block {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer__heading {
  font-family: var(--font-number);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-orange) !important;
  margin-bottom: 0;
}

.site-footer__list,
.site-footer__contact-list {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__copyright,
.site-footer__icp {
  font-family: var(--font-number);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.46);
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

.site-footer__icp a {
  color: rgba(255, 255, 255, 0.46);
}

.site-footer__icp a:hover {
  color: var(--color-cyan);
}

/* ---------- 8. 顶部按钮 ---------- */
.top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-deep-blue);
  color: var(--color-cyan);
  border: 1px solid rgba(0, 200, 224, 0.45);
  box-shadow: 0 8px 22px rgba(11, 36, 71, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.2s ease;
}

.top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.top-btn:hover {
  background: var(--color-cyan);
  color: var(--color-deep-blue);
}

/* ---------- 9. 章节与标题 ---------- */
.section {
  padding-block: clamp(48px, 8vw, 88px);
}

.section--dark {
  background: var(--color-deep-blue);
  color: rgba(255, 255, 255, 0.84);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5 {
  color: var(--color-white);
}

.section--dark a {
  color: var(--color-cyan);
}

.section--dark a:hover {
  color: var(--color-orange);
}

.section--light {
  background: var(--color-white);
}

.section--tint {
  background: var(--color-snow);
}

.section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 32px;
}

.section-head__index {
  font-family: var(--font-number);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-head__index::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-orange);
  flex-shrink: 0;
}

.section-head__title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.section-head__desc {
  max-width: 42em;
  color: var(--color-graphite);
  margin-top: 4px;
}

.section--dark .section-head__desc {
  color: rgba(255, 255, 255, 0.7);
}

.index-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-number);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-orange);
}

.index-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.index-label--cyan {
  color: var(--color-cyan);
}

/* ---------- 10. 网格与分屏 ---------- */
.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.visual-panel {
  position: relative;
  min-height: 320px;
  border-radius: 24px;
  border: 1px solid rgba(0, 200, 224, 0.28);
  background:
    linear-gradient(160deg, rgba(0, 200, 224, 0.1) 0%, rgba(11, 36, 71, 0) 60%),
    var(--color-deep-blue);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* ---------- 11. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn--primary {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.3);
}

.btn--primary:hover {
  background: #E85320;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 107, 53, 0.42);
}

.btn--ghost {
  border-color: rgba(0, 200, 224, 0.5);
  color: var(--color-cyan);
}

.btn--ghost:hover {
  border-color: var(--color-cyan);
  background: rgba(0, 200, 224, 0.08);
  color: var(--color-cyan);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--color-deep-blue);
  color: var(--color-white);
}

.btn--dark:hover {
  background: #133A6E;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(11, 36, 71, 0.3);
}

/* ---------- 12. 卡片与资料组件 ---------- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.data-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.data-card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--color-cyan);
  opacity: 0.7;
}

.data-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

.data-card__num {
  font-family: var(--font-number);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-deep-blue);
  font-variant-numeric: tabular-nums;
}

.data-card__num--cyan {
  color: var(--color-cyan);
}

.data-card__num--orange {
  color: var(--color-orange);
}

.data-card__label {
  display: block;
  margin-top: 6px;
  font-size: 0.875rem;
  color: var(--color-graphite);
}

.archive-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-cyan);
  border-radius: 4px 12px 12px 4px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.archive-card::before {
  content: "";
  position: absolute;
  top: -2px;
  right: 18px;
  width: 42px;
  height: 10px;
  background: var(--color-cyan);
  border-radius: 0 0 6px 6px;
  opacity: 0.85;
}

.archive-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
  border-left-color: var(--color-orange);
}

.aside-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-orange);
  border-radius: 4px var(--radius-card) var(--radius-card) 4px;
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.aside-card__index {
  display: block;
  font-family: var(--font-number);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 6px;
}

.aside-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.aside-card p {
  font-size: 0.875rem;
  color: var(--color-graphite);
  line-height: 1.7;
}

/* ---------- 13. 标签与筛选 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: var(--color-snow);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-family: var(--font-number);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--color-graphite);
  white-space: nowrap;
}

.tag--cyan {
  background: rgba(0, 200, 224, 0.1);
  border-color: rgba(0, 200, 224, 0.35);
  color: #007A8A;
}

.tag--orange {
  background: rgba(255, 107, 53, 0.1);
  border-color: rgba(255, 107, 53, 0.35);
  color: #C2410C;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-graphite);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--color-cyan);
  color: var(--color-deep-blue);
}

.filter-btn.is-active,
.filter-btn[aria-pressed="true"] {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
}

.filter-btn.is-active:hover,
.filter-btn[aria-pressed="true"]:hover {
  background: #E85320;
  border-color: #E85320;
  color: var(--color-white);
}

.section--dark .filter-btn {
  background: var(--color-deep-blue);
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.8);
}

.section--dark .filter-btn:hover {
  border-color: var(--color-cyan);
  color: var(--color-white);
}

.section--dark .filter-btn.is-active,
.section--dark .filter-btn[aria-pressed="true"] {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
}

/* ---------- 14. 面包屑 ---------- */
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 24px 0;
  font-family: var(--font-number);
  font-size: 0.85rem;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin: 0 10px;
  color: var(--color-border);
}

.breadcrumb__link {
  color: var(--color-graphite);
}

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

.breadcrumb__item[aria-current="page"] {
  color: var(--color-deep-blue);
  font-weight: 700;
}

/* ---------- 15. 图片容器 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--color-snow);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

.media-frame--16-9 {
  aspect-ratio: 16 / 9;
}

.media-frame--4-3 {
  aspect-ratio: 4 / 3;
}

.media-frame--1-1 {
  aspect-ratio: 1 / 1;
}

.media-frame--3-4 {
  aspect-ratio: 3 / 4;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.media-frame:hover img {
  transform: scale(1.03);
}

.media-frame__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 16px;
  color: var(--color-graphite);
  font-family: var(--font-number);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  background: repeating-linear-gradient(45deg, rgba(11, 36, 71, 0.03) 0, rgba(11, 36, 71, 0.03) 8px, transparent 8px, transparent 16px);
}

/* ---------- 16. 页面 Hero 与目录布局 ---------- */
.page-hero {
  position: relative;
  background: var(--color-deep-blue);
  color: rgba(255, 255, 255, 0.86);
  padding: clamp(72px, 10vw, 120px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: 0;
  width: 60%;
  height: 100%;
  background:
    linear-gradient(135deg, transparent 30%, rgba(0, 200, 224, 0.06) 30%, rgba(0, 200, 224, 0.06) 50%, transparent 50%),
    linear-gradient(225deg, transparent 40%, rgba(255, 107, 53, 0.06) 40%, rgba(255, 107, 53, 0.06) 55%, transparent 55%);
  background-size: 64px 64px;
  pointer-events: none;
}

.page-hero__outer {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: 24px;
}

.page-hero__index {
  font-family: var(--font-number);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.page-hero__index::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-cyan);
}

.page-hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.12;
  max-width: 14em;
}

.page-hero__desc {
  margin-top: 18px;
  max-width: 42em;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero--slant {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
}

.layout-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.layout-detail__aside {
  position: sticky;
  top: calc(var(--header-height) + 16px);
  display: grid;
  gap: 20px;
}

/* ---------- 17. 响应式 ---------- */
@media (max-width: 980px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout-detail {
    grid-template-columns: 1fr;
  }

  .layout-detail__aside {
    position: static;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .site-header__toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(11, 36, 71, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 200, 224, 0.25);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 24px 48px rgba(3, 12, 28, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    pointer-events: none;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
  }

  .site-nav__item + .site-nav__item {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .site-nav__link {
    display: block;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
  }

  .site-nav__link:hover {
    background: rgba(0, 200, 224, 0.12);
    border-color: transparent;
    color: var(--color-white);
  }

  .site-nav__link[aria-current="page"],
  .site-nav__link[aria-current="page"]:hover {
    background: rgba(0, 200, 224, 0.15);
    color: var(--color-cyan);
    border-color: transparent;
    box-shadow: inset 3px 0 0 var(--color-cyan);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 12px 0;
  }

  .site-header__inner {
    padding: 6px 10px 6px 14px;
  }

  .brand__badge {
    display: none;
  }

  .brand__text {
    font-size: 1.1rem;
  }

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

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px 32px;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .top-btn {
    right: 16px;
    bottom: 16px;
  }
}

/* ---------- 18. 减少动效偏好 ---------- */
@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;
  }
}
