/* ============================================================
   WM 完美体育 · 共享外壳样式 /assets/site.css
   夜间球场指挥台 · 深空蓝黑 + 电光青 + 荧光橙
   ============================================================ */

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

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

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

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

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

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

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

/* ---------- 02 tokens ---------- */
:root {
  --ink-950: #05080F;
  --ink-900: #070D18;
  --ink-800: #0C1524;
  --ink-700: #18263D;

  --cyan: #2BE0E6;
  --orange: #FF7A18;
  --grass: #45D483;
  --fog: #E9F0F8;
  --steel: #8DA0B8;
  --alert: #FF4D63;
  --gold: #FFC845;

  --cyan-08: rgba(43, 224, 230, 0.08);
  --cyan-16: rgba(43, 224, 230, 0.16);
  --orange-10: rgba(255, 122, 24, 0.1);
  --orange-18: rgba(255, 122, 24, 0.18);

  --font-display: "Barlow Condensed", "HarmonyOS Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-label: "Barlow Semi Condensed", "HarmonyOS Sans SC", "PingFang SC", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;

  --header-h: 104px;
  --radius: 2px;
  --shadow-hard: 6px 6px 0 rgba(5, 8, 15, 0.92);
  --shadow-deep: 10px 12px 0 rgba(5, 8, 15, 0.96);
  --ease: cubic-bezier(0.22, 0.9, 0.3, 1);
  --shell: min(100% - 32px, 1280px);
}

/* ---------- 03 基础排版 ---------- */
body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--ink-950);
  background-image:
    radial-gradient(1100px 680px at 84% -6%, rgba(43, 224, 230, 0.13), transparent 62%),
    radial-gradient(820px 560px at 4% -4%, rgba(255, 122, 24, 0.09), transparent 58%),
    linear-gradient(180deg, #05080F 0%, #070D18 46%, #05080F 100%);
  background-repeat: no-repeat;
  color: var(--fog);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fog);
  text-wrap: balance;
}

h1 { font-size: clamp(38px, 7vw, 96px); }
h2 { font-size: clamp(28px, 3.6vw, 48px); }
h3 { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 18px; line-height: 1.35; letter-spacing: 0; }

p { line-height: 1.75; }

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

::selection { background: var(--cyan); color: #04161A; }

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

[id="main-content"] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- 04 skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 400;
  padding: 10px 18px;
  background: var(--cyan);
  color: #04161A;
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}

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

/* ---------- 05 header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.88) 0%, rgba(5, 8, 15, 0.5) 58%, rgba(5, 8, 15, 0) 100%);
  border-bottom: 2px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: var(--ink-800);
  border-bottom-color: var(--ink-700);
  box-shadow: 0 12px 34px rgba(5, 8, 15, 0.6);
}

/* 顶部仪表 rail */
.header-rail {
  display: flex;
  align-items: center;
  gap: 12px;
  width: var(--shell);
  margin-inline: auto;
  padding-block: 7px;
  max-height: 40px;
  overflow: hidden;
  border-bottom: 1px solid rgba(24, 38, 61, 0.7);
  transition: max-height 0.28s var(--ease), padding 0.28s var(--ease), opacity 0.24s var(--ease);
}

.site-header.is-scrolled .header-rail {
  max-height: 0;
  padding-block: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.rail-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--steel);
  white-space: nowrap;
}

.rail-text--mono {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.06em;
}

.rail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-18);
  animation: wm-pulse 2.6s ease-in-out infinite;
}

.rail-sep {
  width: 1px;
  height: 12px;
  background: var(--ink-700);
}

@keyframes wm-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* 主条 */
.header-bar {
  position: relative;
  z-index: 140;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  width: var(--shell);
  margin-inline: auto;
  padding-block: 14px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s var(--ease);
}

.brand:hover { transform: translateY(-2px); }

.brand-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 24%, rgba(43, 224, 230, 0.38), rgba(12, 21, 36, 1) 72%);
  box-shadow: 0 0 0 4px var(--cyan-08);
  flex: none;
}

.brand-badge::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--ink-950);
}

.brand-badge__mark {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fog);
}

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}

.brand-word__en {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--fog);
}

.brand-word__cn {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--steel);
}

/* 导航 */
.primary-nav { justify-self: center; min-width: 0; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1.2vw, 16px);
}

.nav-item { display: block; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 8px;
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--steel);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 2px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.26s var(--ease);
}

.nav-link:hover { color: var(--fog); }
.nav-link:hover::after { transform: scaleX(1); }

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

/* 右侧动作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

.sync-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--steel);
  white-space: nowrap;
}

.sync-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grass);
  box-shadow: 0 0 0 3px rgba(69, 212, 131, 0.16);
  animation: wm-pulse 2.4s ease-in-out infinite;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  background: transparent;
  color: var(--fog);
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn--solid {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04161A;
  box-shadow: 6px 6px 0 var(--cyan-16);
}

.btn--solid:hover {
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 rgba(43, 224, 230, 0.26);
}

.btn--ghost:hover { background: var(--cyan-08); }

.btn--accent {
  background: var(--orange);
  border-color: var(--orange);
  color: #1A0A00;
  box-shadow: 6px 6px 0 var(--orange-18);
}

.btn--accent:hover {
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 rgba(255, 122, 24, 0.28);
}

.btn--sm { padding: 8px 14px; font-size: 12px; letter-spacing: 0.1em; }

/* 移动开关 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--ink-700);
  border-radius: var(--radius);
  background: rgba(12, 21, 36, 0.82);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

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

.nav-toggle__bars {
  display: grid;
  gap: 5px;
  width: 20px;
}

.nav-toggle__bars i {
  display: block;
  height: 2px;
  background: var(--fog);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* 抽屉底部信息（桌面隐藏） */
.nav-foot { display: none; }

.nav-foot__label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

.nav-foot__value {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fog);
  word-break: break-all;
}

.nav-foot__meta {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

/* 滚动进度 */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  pointer-events: none;
  background: transparent;
}

.scroll-meter i {
  display: block;
  height: 100%;
  width: calc(var(--scroll, 0) * 100%);
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

/* ---------- 06 footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(56px, 9vw, 140px);
  padding-top: clamp(40px, 6vw, 72px);
  background: linear-gradient(180deg, var(--ink-800) 0%, #060B14 90%);
  border-top: 2px solid var(--ink-700);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--orange) 42%, rgba(24, 38, 61, 0) 82%);
}

.site-footer::after {
  content: "V3.1";
  position: absolute;
  right: -10px;
  bottom: -18px;
  font-family: var(--font-mono);
  font-size: clamp(80px, 16vw, 220px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: rgba(24, 38, 61, 0.5);
  pointer-events: none;
  user-select: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
  width: var(--shell);
  margin-inline: auto;
  padding-bottom: clamp(32px, 5vw, 56px);
}

.footer-brand { display: grid; align-content: start; gap: 14px; }

.brand--footer { margin-bottom: 2px; }
.brand--footer .brand-badge { width: 44px; height: 44px; }

.footer-tagline {
  max-width: 26ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
}

.footer-version {
  justify-self: start;
  padding: 5px 10px;
  border: 2px solid var(--ink-700);
  border-radius: var(--radius);
  background: rgba(5, 8, 15, 0.5);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.footer-col { display: grid; align-content: start; gap: 14px; }

.footer-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
}

.footer-title::before {
  content: "";
  width: 12px;
  height: 2px;
  background: var(--cyan);
  flex: none;
}

.footer-links { display: grid; gap: 10px; }

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--steel);
  transition: color 0.2s var(--ease);
}

.footer-link::before {
  content: "";
  width: 6px;
  height: 2px;
  background: var(--ink-700);
  flex: none;
  transition: width 0.2s var(--ease), background-color 0.2s var(--ease);
}

.footer-link:hover { color: var(--fog); }
.footer-link:hover::before { width: 14px; background: var(--cyan); }

.contact-list { display: grid; gap: 12px; }

.contact-list li { display: grid; gap: 2px; }

.contact-key {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

.contact-value {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--fog);
  overflow-wrap: anywhere;
}

.footer-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--steel);
}

.footer-base {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  width: var(--shell);
  margin-inline: auto;
  padding-block: 20px 30px;
  border-top: 2px solid var(--ink-700);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.footer-icp {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--steel);
}

.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal .footer-link { font-size: 12px; }

/* ---------- 07 通用布局 ---------- */
.container { width: var(--shell); margin-inline: auto; }

.page-shell {
  width: var(--shell);
  margin-inline: auto;
  padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px));
  padding-bottom: clamp(32px, 6vw, 80px);
}

.layout-with-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.rail {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 16px;
}

/* ---------- 08 面包屑 ---------- */
.breadcrumb {
  margin-bottom: clamp(20px, 3vw, 32px);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--steel);
}

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

.breadcrumb li + li::before {
  content: "/";
  color: var(--ink-700);
  font-family: var(--font-mono);
}

.breadcrumb a { color: var(--steel); transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--fog); }

/* ---------- 09 基础组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

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

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 36px);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink-700);
}

.divider {
  height: 2px;
  border: 0;
  margin-block: clamp(28px, 4vw, 56px);
  background: linear-gradient(90deg, var(--cyan) 0%, rgba(24, 38, 61, 0.9) 42%, rgba(24, 38, 61, 0) 100%);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 2px solid var(--ink-700);
  border-radius: var(--radius);
  background: var(--ink-800);
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  line-height: 1.4;
}

.tag--live { border-color: var(--orange); color: var(--orange); }
.tag--up { border-color: var(--grass); color: var(--grass); }
.tag--champion { border-color: var(--gold); color: var(--gold); }

.panel {
  padding: clamp(20px, 2.4vw, 32px);
  border: 2px solid var(--ink-700);
  border-radius: var(--radius);
  background: var(--ink-800);
  box-shadow: var(--shadow-hard);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
  border-color: #22334F;
}

.panel--accent { border-left: 6px solid var(--cyan); }
.panel--live { border-color: var(--orange); box-shadow: 6px 6px 0 var(--orange-18); }

.panel--tilt { transform: rotate(-3deg); }
.panel--tilt:hover { transform: rotate(-3deg) translateY(-4px); }

.stat-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.02em;
  line-height: 1;
  font-size: clamp(28px, 4vw, 56px);
  color: var(--orange);
}

.stat-num--cyan { color: var(--cyan); }

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--ink-700);
  border-radius: var(--radius);
  background-color: var(--ink-800);
  background-image:
    radial-gradient(circle at 72% 18%, rgba(43, 224, 230, 0.2), transparent 58%),
    linear-gradient(155deg, #0C1524 0%, #05080F 88%);
  box-shadow: var(--shadow-hard);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(5, 8, 15, 0.22) 0 1px, transparent 1px 5px);
  mix-blend-mode: multiply;
}

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

.media-frame--badge {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border-color: var(--cyan);
}

.prose {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.9;
}

.prose p + p { margin-top: 1.1em; }

.prose h2 {
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  font-size: clamp(24px, 2.6vw, 34px);
}

.prose h3 { margin-top: 1.4em; margin-bottom: 0.5em; }

.prose ul { display: grid; gap: 10px; margin-block: 1em; }

.prose ul li { position: relative; padding-left: 22px; }

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

/* 联赛标签页 */
.league-tabs { display: grid; }

.league-tabs__list {
  display: flex;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 4px;
  overflow-x: auto;
  border: 2px solid var(--ink-700);
  border-radius: var(--radius);
  background: var(--ink-800);
}

.league-tab {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--steel);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.league-tab:hover { color: var(--fog); background: rgba(43, 224, 230, 0.1); }

.league-tab[aria-selected="true"] {
  background: var(--cyan);
  color: #04161A;
  box-shadow: 0 0 0 2px rgba(43, 224, 230, 0.28);
}

.tab-panel { padding-top: clamp(16px, 2vw, 24px); }
.tab-panel[hidden] { display: none; }

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

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

/* ---------- 10 响应式 ---------- */
@media (max-width: 1240px) and (min-width: 1081px) {
  .nav-link { font-size: 13px; padding: 10px 6px; }
  .nav-link::after { left: 6px; right: 6px; }
  .sync-state { display: none; }
}

@media (max-width: 1080px) {
  :root { --header-h: 98px; }

  .header-bar {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding-block: 12px;
  }

  .header-actions { gap: 10px; }
  .sync-state { display: none; }
  .nav-toggle { display: grid; }

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    padding: calc(var(--header-h) + 24px) 24px 40px;
    overflow-y: auto;
    background:
      radial-gradient(680px 420px at 92% 0%, rgba(43, 224, 230, 0.14), transparent 62%),
      linear-gradient(165deg, #070D18 0%, #05080F 58%, #08111E 100%);
    border-bottom: 2px solid var(--ink-700);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.34s var(--ease), opacity 0.28s var(--ease), visibility 0.28s linear;
  }

  .primary-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 16px 4px;
    font-size: 19px;
    letter-spacing: 0.06em;
    color: var(--fog);
    border-bottom: 2px solid var(--ink-700);
  }

  .nav-link::after { left: 4px; right: auto; width: 24px; bottom: 10px; }
  .nav-link[aria-current="page"] { color: var(--cyan); }

  .nav-foot {
    display: grid;
    gap: 6px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 2px solid var(--ink-700);
  }

  body.is-nav-open { overflow: hidden; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .layout-with-rail { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; }
}

@media (max-width: 720px) {
  :root { --header-h: 76px; }

  .header-rail { display: none; }
  .brand-word__en { font-size: 15px; }
  .brand-word__cn { font-size: 10px; letter-spacing: 0.2em; }
  .brand-badge { width: 36px; height: 36px; }

  .header-actions .btn--solid {
    padding: 9px 12px;
    font-size: 12px;
    letter-spacing: 0.04em;
    box-shadow: 4px 4px 0 var(--cyan-16);
  }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-base { justify-content: flex-start; gap: 10px 18px; font-size: 11px; }
  .footer-legal { gap: 8px 14px; }
  .page-shell { padding-top: calc(var(--header-h) + 28px); }
}

@media (max-width: 460px) {
  .header-actions .btn--solid { display: none; }
  .skip-link { font-size: 13px; }
}

/* ---------- 11 动效降级 ---------- */
@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;
  }

  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .panel--tilt, .panel--tilt:hover { transform: none; }
  .brand:hover, .panel:hover, .btn--solid:hover, .btn--accent:hover { transform: none; }
}
