/* ==========================================================================
   盈嘉体育 · 全站共享样式 /assets/site.css
   设计 DNA：侧边导览式布局 / 数据竞技场 / 深空蓝×活力橙×荧光绿
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --deep-blue: #0A1B3D;
  --blue-raised: #142647;
  --cream: #EDE7E0;
  --orange: #FF6B35;
  --neon: #39FF14;
  --rock: #8A9BB0;
  --terra: #D17B5A;
  --moss: #8A9A5B;

  --font-head: "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-data: "JetBrains Mono", "SF Mono", monospace;

  --content-max: 1120px;
  --sidebar-w: 280px;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --z-skip: 200;
  --z-progress: 120;
  --z-header: 100;
  --z-totop: 90;
  --z-base: 1;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin-left: var(--sidebar-w);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--cream);
  background: var(--deep-blue);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

ul,
ol {
  list-style: none;
}

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

address {
  font-style: normal;
}

a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--neon);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--cream);
  line-height: 1.16;
}

h1 {
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(28px, 3.5vw, 48px);
}

h3 {
  font-size: clamp(22px, 2.5vw, 32px);
}

h4 {
  font-size: 18px;
}

p {
  margin: 0 0 1em;
}

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

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--deep-blue);
}

::-webkit-scrollbar-thumb {
  background: var(--blue-raised);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--rock);
}

/* ---------- 3. 可见焦点 ---------- */
:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 4. 布局骨架 ---------- */
.main-content {
  flex: 1 0 auto;
  width: 100%;
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: var(--z-skip);
  display: inline-block;
  padding: 10px 24px;
  background: var(--orange);
  color: var(--deep-blue);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
  transition: top 0.25s ease;
}

.skip-link:hover {
  color: var(--deep-blue);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- 6. 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: var(--sidebar-w);
  right: 0;
  height: 3px;
  z-index: var(--z-progress);
  pointer-events: none;
  background: rgba(138, 155, 176, 0.15);
}

.scroll-progress::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--scroll-y, 0%);
  background: linear-gradient(90deg, var(--orange), var(--neon));
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.5);
}

/* ---------- 7. 头部 / 侧边导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-header);
  width: var(--sidebar-w);
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, #0C1E42 0%, #08142D 100%);
  border-right: 1px solid rgba(138, 155, 176, 0.14);
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.3);
}

.site-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  width: 2px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0% 5%,
    var(--orange) 5% 9%,
    transparent 9% 20%,
    var(--neon) 20% 23%,
    transparent 23% 36%,
    var(--orange) 36% 40%,
    transparent 40% 58%,
    var(--neon) 58% 60%,
    transparent 60% 76%,
    var(--orange) 76% 80%,
    transparent 80% 100%
  );
  opacity: 0.4;
}

.header-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 20px 20px;
}

/* 品牌 */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.2s ease;
}

.brand-link:hover {
  background: rgba(20, 38, 71, 0.7);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--orange);
  color: var(--deep-blue);
  border-radius: 14px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(255, 107, 53, 0.35);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.2;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.brand-tag {
  font-size: 11px;
  color: var(--rock);
  letter-spacing: 0.14em;
}

/* 导航 */
.site-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 32px;
  min-height: 0;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  color: var(--cream);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background: rgba(20, 38, 71, 0.75);
  color: var(--cream);
  text-decoration: none;
}

.nav-link[aria-current="page"] {
  border-left-color: var(--orange);
  background: rgba(20, 38, 71, 0.9);
}

.nav-link[aria-current="page"] .nav-index {
  color: var(--neon);
}

.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}

.nav-index {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--rock);
  min-width: 26px;
  letter-spacing: 0.06em;
}

.nav-label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* 状态指示 */
.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(20, 38, 71, 0.55);
  border: 1px solid rgba(57, 255, 20, 0.12);
}

.status-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.status-text {
  font-size: 12px;
  color: var(--rock);
  letter-spacing: 0.06em;
}

/* ---------- 8. 移动导航按钮 ---------- */
.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--blue-raised);
  border: 1px solid rgba(138, 155, 176, 0.25);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--orange);
  background: rgba(20, 38, 71, 0.8);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

.nav-toggle-line {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.nav-toggle-line:nth-child(1) { top: 14px; }
.nav-toggle-line:nth-child(2) { top: 23px; }
.nav-toggle-line:nth-child(3) { top: 32px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

/* ---------- 9. 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: var(--z-totop);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--deep-blue);
  box-shadow: 0 6px 24px rgba(255, 107, 53, 0.4);
  cursor: pointer;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.back-to-top:hover {
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.65);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top-icon {
  font-size: 20px;
  line-height: 1;
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  flex-shrink: 0;
  width: 100%;
  position: relative;
  z-index: var(--z-base);
  background: linear-gradient(180deg, #0B1D40 0%, #07142B 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--orange) 0% 16%,
    transparent 16% 26%,
    var(--neon) 26% 33%,
    transparent 33% 52%,
    var(--orange) 52% 58%,
    transparent 58% 74%,
    var(--terra) 74% 79%,
    transparent 79% 88%,
    var(--neon) 88% 92%,
    transparent 92% 100%
  );
  opacity: 0.8;
}

.footer-inner,
.footer-meta {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 48px;
  padding: 56px 32px 40px;
}

.footer-brand-link {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.footer-brand-link:hover {
  color: var(--orange);
  text-decoration: none;
}

.footer-slogan {
  margin-top: 4px;
  font-size: 14px;
  color: var(--rock);
  letter-spacing: 0.04em;
}

.footer-trust {
  margin-top: 18px;
  max-width: 42ch;
  padding-left: 14px;
  border-left: 2px solid var(--moss);
  font-size: 14px;
  line-height: 1.8;
  color: var(--rock);
}

.footer-heading {
  margin-bottom: 18px;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.4em;
  font-weight: 600;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-list a::before {
  content: "";
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--rock);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--neon);
}

.footer-links-list a:hover::before {
  background: var(--neon);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.7);
}

.footer-contact p,
.footer-contact address {
  font-size: 14px;
  color: var(--rock);
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-mail {
  font-family: var(--font-data);
  font-size: 13px !important;
  color: var(--cream) !important;
  word-break: break-all;
}

.footer-hours {
  font-size: 13px !important;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding: 18px 32px;
  border-top: 1px solid rgba(138, 155, 176, 0.16);
  font-size: 13px;
  color: var(--rock);
}

.footer-phone {
  font-family: var(--font-data);
  color: var(--cream);
}

/* ---------- 11. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--deep-blue);
}

.btn-primary:hover {
  background: #FF7F4D;
  color: var(--deep-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(138, 155, 176, 0.5);
}

.btn-ghost:hover {
  border-color: var(--neon);
  color: var(--neon);
}

/* ---------- 12. 徽章 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: var(--blue-raised);
  color: var(--rock);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.badge-season {
  background: rgba(209, 123, 90, 0.16);
  color: var(--terra);
  border: 1px solid rgba(209, 123, 90, 0.35);
}

.badge-live {
  background: rgba(57, 255, 20, 0.1);
  color: var(--neon);
  border: 1px solid rgba(57, 255, 20, 0.3);
}

/* ---------- 13. 卡片 ---------- */
.card {
  background: var(--blue-raised);
  border: 1px solid rgba(138, 155, 176, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 20, 0.4);
  box-shadow: 0 10px 36px rgba(57, 255, 20, 0.06);
}

/* ---------- 14. 面包屑 ---------- */
.breadcrumb {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--rock);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb li + li::before {
  content: "·";
  color: var(--rock);
}

.breadcrumb a {
  color: var(--rock);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--cream);
}

/* ---------- 15. 章节标题 ---------- */
.section-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 24px;
  font-size: clamp(24px, 2.8vw, 32px);
}

.section-num {
  font-family: var(--font-data);
  font-size: 14px;
  color: var(--orange);
  letter-spacing: 0.1em;
  line-height: 2.4;
}

.title-cloud {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.title-cloud .title-main {
  font-size: clamp(28px, 3.5vw, 48px);
}

.title-cloud .title-note {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--rock);
  letter-spacing: 0.2em;
  opacity: 0.75;
  margin-top: 4px;
}

/* ---------- 16. 图片容器 ---------- */
.img-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(138, 155, 176, 0.18);
  background:
    radial-gradient(circle at 28% 30%, rgba(255, 107, 53, 0.16), transparent 60%),
    linear-gradient(140deg, var(--blue-raised), #0B1B3A);
}

.img-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.015) 0 1px,
    transparent 1px 4px
  );
  z-index: 1;
}

.img-frame[data-caption]::after {
  content: attr(data-caption);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px 16px 12px;
  font-size: 12px;
  color: var(--cream);
  background: linear-gradient(transparent, rgba(10, 27, 61, 0.88));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.img-frame:hover[data-caption]::after {
  opacity: 1;
}

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

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

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

.img-frame--square {
  aspect-ratio: 1 / 1;
}

/* ---------- 17. 数据流装饰线 ---------- */
.data-flow {
  position: relative;
  height: 1px;
  margin: 40px 0;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.3), transparent);
  overflow: hidden;
}

.data-flow::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.8);
  animation: dataTravel 4s linear infinite;
}

@keyframes dataTravel {
  0% { left: 0%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ---------- 18. 数据表 ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-data);
  font-size: 14px;
}

.data-table th {
  padding: 12px 16px;
  text-align: left;
  color: var(--rock);
  font-weight: 600;
  border-bottom: 1px solid rgba(138, 155, 176, 0.35);
  letter-spacing: 0.04em;
}

.data-table td {
  padding: 12px 16px;
  color: var(--cream);
  border-bottom: 1px solid rgba(138, 155, 176, 0.12);
}

.data-table tbody tr {
  transition: background 0.15s ease;
}

.data-table tbody tr:hover {
  background: rgba(20, 38, 71, 0.6);
}

.data-highlight {
  color: var(--neon);
  font-weight: 700;
}

/* ---------- 19. 指标卡 ---------- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.kpi-card {
  background: var(--blue-raised);
  border: 1px solid rgba(138, 155, 176, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.kpi-card:hover {
  border-color: rgba(57, 255, 20, 0.35);
  transform: translateY(-3px);
}

.kpi-label {
  font-size: 13px;
  color: var(--rock);
  letter-spacing: 0.08em;
}

.kpi-value {
  margin-top: 10px;
  font-family: var(--font-data);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--neon);
}

.kpi-delta {
  margin-top: 10px;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--moss);
}

/* ---------- 20. 信任声明条 ---------- */
.trust-banner {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--blue-raised);
  border: 1px solid rgba(138, 155, 176, 0.14);
  border-left: 3px solid var(--moss);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--rock);
  line-height: 1.8;
}

/* ---------- 21. 屏幕阅读器辅助 ---------- */
.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;
}

/* ---------- 22. 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ---------- 23. 平板 / 手机 ---------- */
@media (max-width: 959px) {
  body {
    margin-left: 0;
  }

  .site-header {
    position: sticky;
    top: 0;
    width: 100%;
    height: auto;
    background: rgba(10, 27, 61, 0.96);
    border-right: none;
    border-bottom: 1px solid rgba(138, 155, 176, 0.2);
    box-shadow: none;
  }

  .site-header::after {
    display: none;
  }

  .header-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: auto;
    padding: 10px 16px;
  }

  .brand-link {
    padding: 4px 8px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 20px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(255, 107, 53, 0.3);
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-tag {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    flex: none;
    flex-basis: 100%;
    display: block;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
  }

  .site-nav[data-open] {
    max-height: 540px;
    overflow-y: auto;
  }

  .nav-list {
    padding: 8px 16px 4px;
    gap: 2px;
  }

  .nav-link {
    padding: 12px 16px;
  }

  .nav-link[aria-current="page"]::before {
    right: 16px;
  }

  .header-status {
    margin: 12px 16px 16px;
    background: rgba(20, 38, 71, 0.5);
  }

  .scroll-progress {
    left: 0;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 44px 24px 32px;
  }

  .footer-meta {
    padding: 16px 24px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .card {
    padding: 20px;
  }

  .title-cloud .title-note {
    display: none;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .status-dot {
    animation: none;
  }

  .data-flow::before {
    animation: none;
    display: none;
  }
}
