/* ==========================================================================
   乐竞体育 CN 通道 · /assets/site.css
   共享外壳：重置 / 设计令牌 / 中文排版 / 页头 / 页脚 / 基础组件
   ========================================================================== */

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

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

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

ul, ol { list-style: none; }

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

button { cursor: pointer; }

a { color: inherit; text-decoration: none; }

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

/* --- 2. 设计令牌 --------------------------------------------------------- */
:root {
  color-scheme: dark;

  --ink-deep:  #06101C;
  --ink-base:  #0A1A2F;
  --ink-panel: #12263F;
  --line:      #38495C;
  --muted:     #6B7C8F;
  --cyan:      #2FE0D0;
  --cyan-soft: #9BF2EA;
  --orange:    #FF7A29;
  --paper:     #F4F8FB;
  --green:     #3DD68C;
  --amber:     #F2B03D;

  --line-soft:  rgba(56, 73, 92, 0.62);
  --tint-cyan:  rgba(47, 224, 208, 0.10);
  --tint-orange:rgba(255, 122, 41, 0.10);

  --font-display: "Barlow Condensed", "Noto Sans SC", "Source Han Sans SC",
                  "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body:    "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
                  "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system,
                  "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular,
                  Menlo, Consolas, "Courier New", monospace;

  --fs-12: 12px;
  --fs-14: 14px;
  --fs-17: 17px;
  --fs-22: clamp(19px, 1.5vw, 22px);
  --fs-30: clamp(23px, 2.2vw, 30px);
  --fs-44: clamp(29px, 3.6vw, 44px);
  --fs-64: clamp(34px, 5.6vw, 64px);

  --shell: 1320px;
  --gutter: clamp(16px, 5vw, 68px);
  --radius: 6px;
  --radius-sm: 4px;
  --panel-gap: clamp(20px, 3vw, 40px);

  --shadow-panel: 0 1px 0 rgba(244, 248, 251, 0.04),
                  0 16px 34px -24px rgba(0, 0, 0, 0.95);
  --shadow-hover: 0 1px 0 rgba(47, 224, 208, 0.16),
                  0 20px 40px -22px rgba(0, 0, 0, 0.95);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur-fast: 120ms;
  --dur: 160ms;
  --dur-slow: 240ms;
}

/* --- 3. 基础排版与页面底色 ------------------------------------------------ */
body {
  min-height: 100vh;
  background-color: var(--ink-base);
  background-image:
    radial-gradient(1100px 560px at 8% -12%, rgba(47, 224, 208, 0.10), transparent 60%),
    radial-gradient(900px 520px at 98% 2%, rgba(255, 122, 41, 0.07), transparent 58%),
    linear-gradient(180deg, var(--ink-base) 0%, #081525 100%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--fs-17);
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.005em;
  color: var(--paper);
}

h1 { font-size: var(--fs-64); }
h2 { font-size: var(--fs-44); }
h3 { font-size: var(--fs-30); }
h4 { font-size: var(--fs-22); }
h5, h6 { font-size: var(--fs-17); }

strong { font-weight: 700; color: #FFFFFF; }

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

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

#main-content { scroll-margin-top: 16px; }

/* --- 4. 布局外壳 --------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-main {
  display: block;
  padding-block: clamp(24px, 4vw, 56px);
}

/* --- 5. 页头 ------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 0;
  z-index: 200;
  transform: translateY(-160%);
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--ink-deep);
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: transform var(--dur) var(--ease);
}

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

.site-header {
  position: relative;
  z-index: 60;
  background: linear-gradient(180deg, rgba(6, 16, 28, 0.97), rgba(10, 26, 47, 0.88));
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(47, 224, 208, 0.55) 22%,
    rgba(255, 122, 41, 0.38) 62%,
    transparent 100%);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.header-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.header-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 20px 0 15px;
}

.header-tagline {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--paper);
  transition: color var(--dur) var(--ease);
}

.brand-mark {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 41, 0.16);
  transform: translateY(-4px);
}

.brand-channel {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  letter-spacing: 0.22em;
  color: var(--cyan);
  white-space: nowrap;
}

.brand:hover .brand-name,
.brand:focus-visible .brand-name { color: var(--cyan-soft); }

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-bottom: 14px;
}

.nav {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav::-webkit-scrollbar { display: none; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  width: max-content;
  margin-inline: auto;
  padding: 2px;
}

.nav-item { flex: none; }

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: 0.09em;
  color: rgba(244, 248, 251, 0.72);
  white-space: nowrap;
  transition: color var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.nav-link:hover {
  color: var(--paper);
  background: var(--tint-cyan);
  border-color: rgba(47, 224, 208, 0.28);
}

.nav-link[aria-current="page"] {
  color: var(--ink-deep);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 700;
  box-shadow: 0 8px 20px -12px rgba(47, 224, 208, 0.9);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(47, 224, 208, 0.38);
  border-radius: var(--radius-sm);
  background: rgba(47, 224, 208, 0.07);
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.18em;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.nav-toggle:hover {
  background: rgba(47, 224, 208, 0.14);
  border-color: rgba(47, 224, 208, 0.6);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease), bottom var(--dur) var(--ease);
}

.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 4px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  bottom: 4.5px;
  transform: rotate(-45deg);
}

/* --- 6. 页脚 ------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(48px, 7vw, 96px);
  background: linear-gradient(180deg, var(--ink-deep) 0%, #04090F 100%);
  border-top: 1px solid var(--line);
  color: rgba(244, 248, 251, 0.72);
  font-size: var(--fs-14);
}

.site-footer::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(47, 224, 208, 0.62) 0%,
    rgba(255, 122, 41, 0.45) 52%,
    transparent 100%);
}

.footer-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 64px) var(--gutter) 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) 2fr;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(26px, 3.4vw, 44px);
  border-bottom: 1px solid var(--line-soft);
}

.footer-logo {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-22);
  letter-spacing: 0.04em;
  color: var(--paper);
  transition: color var(--dur) var(--ease);
}

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

.footer-note {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  color: var(--muted);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 36px);
}

.footer-col { min-width: 0; }

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-col-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(47, 224, 208, 0.5), transparent);
}

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

.footer-list a {
  display: inline-block;
  font-size: var(--fs-14);
  color: rgba(244, 248, 251, 0.7);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.footer-list a:hover {
  color: var(--cyan-soft);
  transform: translateX(3px);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 36px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}

.footer-contact-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.footer-label {
  flex: none;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  color: var(--muted);
}

.footer-value {
  font-size: var(--fs-14);
  color: var(--paper);
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
}

.footer-address {
  font-size: var(--fs-14);
  color: var(--muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* --- 7. 按钮 / 徽标 / 标签 ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: 0.06em;
  background: transparent;
  color: var(--paper);
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.btn-cyan {
  background: linear-gradient(180deg, rgba(47, 224, 208, 0.18), rgba(47, 224, 208, 0.07));
  border-color: rgba(47, 224, 208, 0.55);
  color: var(--cyan-soft);
}

.btn-cyan:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-deep);
  box-shadow: 0 12px 24px -14px rgba(47, 224, 208, 0.85);
}

.btn-orange {
  background: var(--orange);
  border-color: var(--orange);
  color: #170800;
  font-weight: 700;
}

.btn-orange:hover {
  background: #FF9352;
  border-color: #FF9352;
  box-shadow: 0 14px 26px -16px rgba(255, 122, 41, 0.9);
}

.btn-ghost {
  background: rgba(6, 16, 28, 0.4);
  border-color: var(--line);
  color: rgba(244, 248, 251, 0.82);
}

.btn-ghost:hover {
  background: var(--tint-cyan);
  border-color: var(--cyan);
  color: var(--cyan-soft);
}

.btn-compact {
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  line-height: 1.5;
  color: var(--muted);
  white-space: nowrap;
}

.badge-test {
  color: var(--orange);
  border-color: rgba(255, 122, 41, 0.5);
  background: var(--tint-orange);
}

.badge-test::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.badge-live {
  color: var(--green);
  border-color: rgba(61, 214, 140, 0.45);
  background: rgba(61, 214, 140, 0.1);
}

.badge-live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.badge-hold {
  color: var(--amber);
  border-color: rgba(242, 176, 61, 0.45);
  background: rgba(242, 176, 61, 0.1);
}

.badge-hold::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 16, 28, 0.5);
  color: rgba(244, 248, 251, 0.7);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}

.chip:hover {
  border-color: rgba(47, 224, 208, 0.5);
  color: var(--cyan-soft);
}

.chip[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-deep);
  font-weight: 600;
}

/* --- 8. 面板 / 章节头 / 数据网格 / 图片容器 ------------------------------ */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 38px);
  background: linear-gradient(180deg, rgba(18, 38, 63, 0.92), rgba(10, 26, 47, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
}

.panel + .panel { margin-top: var(--panel-gap); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 28px;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 18px;
  height: 1px;
  background: var(--cyan);
}

.lede {
  max-width: 62ch;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.7;
  color: rgba(244, 248, 251, 0.88);
}

.note {
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--muted);
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 1px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--line-soft);
  overflow: hidden;
}

.data-grid > * {
  min-width: 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(18, 38, 63, 0.9), rgba(10, 26, 47, 0.9));
}

.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--ink-deep);
  background-image:
    linear-gradient(180deg, rgba(47, 224, 208, 0.09), transparent 58%),
    repeating-linear-gradient(90deg, rgba(56, 73, 92, 0.5) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(56, 73, 92, 0.5) 0 1px, transparent 1px 64px);
}

.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 4 / 5; }

/* --- 9. 面包屑与长文 ----------------------------------------------------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  color: var(--muted);
}

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

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "/";
  margin: 0 0.6em;
  color: var(--line);
}

.breadcrumb a {
  color: rgba(244, 248, 251, 0.72);
  transition: color var(--dur) var(--ease);
}

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

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

.prose {
  max-width: 70ch;
  font-size: var(--fs-17);
  line-height: 1.8;
  color: rgba(244, 248, 251, 0.9);
}

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

.prose h2,
.prose h3 { margin-top: 1.8em; }

.prose ul {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

.prose ul li {
  position: relative;
  padding-left: 1.3em;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 1px;
  background: var(--cyan);
}

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(47, 224, 208, 0.35);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.prose a:hover {
  color: var(--cyan-soft);
  border-bottom-color: var(--cyan-soft);
}

/* --- 10. 动效与筛选态 ---------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

[data-filter-tags] {
  transition: opacity var(--dur-fast) linear;
}

[data-filter-tags].is-filtered-out { opacity: 0; }

/* --- 11. 工具类 ---------------------------------------------------------- */
.text-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.text-muted { color: var(--muted); }
.text-cyan { color: var(--cyan); }
.text-orange { color: var(--orange); }

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

/* --- 12. 响应式 ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 860px) {
  .header-top {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 16px 0 12px;
  }

  .brand { order: 1; }
  .brand-name { font-size: clamp(24px, 8vw, 34px); }
  .brand-channel { font-size: var(--fs-12); letter-spacing: 0.18em; }

  .header-tagline {
    order: 2;
    font-size: 11px;
    letter-spacing: 0.1em;
    max-width: 100%;
  }

  .header-tools {
    order: 3;
    justify-self: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-nav-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    align-self: flex-start;
    order: 1;
  }

  .nav {
    order: 2;
    display: none;
  }

  .nav[data-open] { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: auto;
    margin: 10px 0 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(18, 38, 63, 0.75);
    box-shadow: var(--shadow-panel);
  }

  .nav-link {
    justify-content: flex-start;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: var(--fs-17);
  }

  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .footer-nav { grid-template-columns: 1fr; }
  .footer-contact { grid-template-columns: 1fr; }
  .btn { padding: 10px 16px; }
}

/* --- 13. 降低动效 -------------------------------------------------------- */
@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;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .scroll-progress { display: none; }
}
