/* =========================================================
   米乐赛场 · 共享站点样式 /assets/site.css
   深空蓝底 + 荧光绿轨迹 + 暖橙赛事高亮
   ========================================================= */

:root {
  /* 色板 */
  --ink-0: #0A1026;   /* 深空蓝 · 主背景 */
  --ink-1: #111D3D;   /* 面板蓝 */
  --ink-2: #1A2B55;   /* 抬升蓝 */
  --ink-3: #2E447A;   /* 网格蓝 */
  --lime: #3DFF88;    /* 荧光绿 · 主强调 */
  --lime-soft: #B7FFD2;/* 柔光绿 */
  --orange: #FF9A3D;  /* 暖橙 · 赛事高亮 */
  --link: #6FA8FF;    /* 链接蓝 */
  --text: #F4F8FF;    /* 主文字白 */
  --muted: #A8B6D8;   /* 次文字灰蓝 */
  --alert: #FF6B4A;   /* 警示橙红 */

  /* 形状 */
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
  --r-pill: 999px;

  /* 尺度 */
  --rail-w: 272px;
  --header-h: 64px;
  --wrap-w: 1240px;

  /* 字体 */
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular,
    Menlo, Consolas, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--ink-0);
  background-image:
    linear-gradient(rgba(46, 68, 122, 0.20) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 68, 122, 0.20) 1px, transparent 1px),
    radial-gradient(120% 78% at 82% -12%, rgba(61, 255, 136, 0.09), transparent 56%),
    radial-gradient(95% 70% at -4% 108%, rgba(111, 168, 255, 0.09), transparent 62%);
  background-size: 72px 72px, 72px 72px, 100% 100%, 100% 100%;
  background-attachment: fixed, fixed, scroll, scroll;
}

body.nav-locked { overflow: hidden; }

img, svg, video, canvas { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }
hr { border: 0; border-top: 1px dashed var(--ink-3); margin: 2rem 0; }

/* ---------------- 中文排版 ---------------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  font-weight: 250;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h2 { font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1.15; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.5rem); }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 700; }
small { font-size: 0.8125rem; }

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover { color: var(--lime); }

::selection { background: var(--lime); color: #061207; }

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

/* ---------------- 通用布局 ---------------- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap-w));
  margin-inline: auto;
}
.wrap--narrow {
  width: min(100% - 2.5rem, 780px);
  margin-inline: auto;
}

.site-main { display: block; min-height: 60vh; }
#main-content { display: block; outline: none; }

.content-section { padding-block: clamp(2.5rem, 7vw, 5rem); }
.content-section--tight { padding-block: clamp(1.75rem, 4vw, 3rem); }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }
.grid--2,
.grid--3 { grid-template-columns: minmax(0, 1fr); }

.auto-grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

@media (min-width: 700px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------------- 小标题 / 标签 ---------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  background: currentColor;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.3em 0.85em;
  border-radius: var(--r-pill);
  border: 1px solid var(--ink-3);
  background: rgba(26, 43, 85, 0.7);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.tag--lime {
  color: var(--lime);
  border-color: rgba(61, 255, 136, 0.42);
  background: rgba(61, 255, 136, 0.08);
}
.tag--orange {
  color: var(--orange);
  border-color: rgba(255, 154, 61, 0.42);
  background: rgba(255, 154, 61, 0.1);
}

/* ---------------- 按钮 ---------------- */
.btn {
  --btn-bg: var(--ink-2);
  --btn-fg: var(--text);
  --btn-bd: var(--ink-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.82em 1.5em;
  border-radius: var(--r-pill);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }

.btn--primary {
  --btn-bg: var(--lime);
  --btn-fg: #061207;
  --btn-bd: var(--lime);
}
.btn--primary:hover { box-shadow: 0 0 0 5px rgba(61, 255, 136, 0.18); }

.btn--accent {
  --btn-bg: var(--orange);
  --btn-fg: #231000;
  --btn-bd: var(--orange);
}
.btn--accent:hover { box-shadow: 0 0 0 5px rgba(255, 154, 61, 0.2); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--lime-soft);
  --btn-bd: var(--ink-3);
}
.btn--ghost:hover {
  --btn-fg: var(--lime);
  --btn-bd: var(--lime);
}

/* ---------------- 卡片 / 数据 / 面板 ---------------- */
.card {
  position: relative;
  padding: clamp(1.25rem, 2.6vw, 1.9rem);
  border: 1px solid var(--ink-3);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(26, 43, 85, 0.85), rgba(17, 29, 61, 0.94));
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
  border-color: rgba(61, 255, 136, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 18px 42px -28px rgba(61, 255, 136, 0.65);
}
.card--accent { border-color: rgba(255, 154, 61, 0.42); }
.card--accent:hover {
  border-color: var(--orange);
  box-shadow: 0 18px 42px -28px rgba(255, 154, 61, 0.75);
}
.card-title { margin: 0 0 0.5rem; font-size: 1.125rem; font-weight: 700; }
.card-text { margin: 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.7; }

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

.stat { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lime);
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------------- 面包屑 ---------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--muted);
}
.breadcrumb li { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb li + li::before { content: "/"; color: var(--ink-3); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---------------- 图片容器（供页面阶段使用） ---------------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--ink-3);
  border-radius: var(--r-lg);
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(120% 120% at 18% 0%, rgba(61, 255, 136, 0.14), transparent 56%),
    linear-gradient(160deg, var(--ink-2), var(--ink-0));
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(46, 68, 122, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 68, 122, 0.42) 1px, transparent 1px);
  background-size: 40px 40px;
}
.media-frame > img,
.media-frame > picture > img,
.media-frame > video {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tight { border-radius: var(--r-md); }

/* ---------------- 跳转链接 ---------------- */
.skip-link {
  position: fixed;
  left: 1rem;
  top: -120px;
  z-index: 200;
  padding: 0.7rem 1.15rem;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: #061207;
  font-size: 0.875rem;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0.75rem; color: #061207; }

/* =========================================================
   头部：移动端顶栏 / 桌面端侧边轨道
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding: 0.6rem clamp(1rem, 4vw, 1.6rem);
  background: linear-gradient(180deg, rgba(10, 16, 38, 0.97) 0%, rgba(10, 16, 38, 0.9) 70%, rgba(10, 16, 38, 0.78) 100%);
  border-bottom: 1px solid var(--ink-3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* 品牌 */
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--text); }
.brand-name {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-name::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.5rem;
  border-radius: 2px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(61, 255, 136, 0.85);
  transform: translateY(-2px);
}
.brand-sub {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap;
}

/* 抽屉按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  padding: 0.55rem 1rem;
  border: 1px solid var(--ink-3);
  border-radius: var(--r-pill);
  background: var(--ink-2);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.nav-toggle:hover { border-color: var(--lime); color: var(--lime); }
.nav-toggle-lines {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
}
.nav-toggle-lines span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.site-header[data-open="true"] .nav-toggle-lines span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle-lines span:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle-lines span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 导航：移动端抽屉 */
.site-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  bottom: 0;
  z-index: 59;
  display: flex;
  flex-direction: column;
  width: min(86vw, 340px);
  padding: 1.25rem 1rem 1.75rem;
  overflow-y: auto;
  border-right: 1px solid var(--ink-3);
  background: linear-gradient(180deg, #0A1026 0%, #111D3D 100%);
  transform: translateX(-104%);
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 0.68, 0.35, 1), visibility 0.28s ease;
}
.site-nav[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
}

.nav-rail-label {
  margin: 0 0 0.9rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 2px;
  background: var(--lime);
  transform: translateY(-50%);
  transition: height 0.2s ease;
}
.nav-link:hover {
  color: var(--text);
  background: var(--ink-2);
  border-color: var(--ink-3);
  transform: translateX(3px);
}
.nav-link:hover::before { height: 58%; }

.nav-index {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  transition: color 0.18s ease;
}
.nav-text { flex: 1 1 auto; min-width: 0; }

.nav-link[aria-current="page"] {
  color: #061207;
  background: var(--lime);
  border-color: var(--lime);
  font-weight: 600;
}
.nav-link[aria-current="page"] .nav-index { color: rgba(6, 18, 7, 0.7); }
.nav-link[aria-current="page"]::before { background: #061207; height: 58%; }

/* 第 4 项 · 栏目入口暖橙标记 */
.nav-link--accent { color: var(--text); }
.nav-link--accent .nav-index { color: var(--orange); }
.nav-link--accent::after {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 154, 61, 0.16);
}
.nav-link--accent:hover { border-color: rgba(255, 154, 61, 0.55); }
.nav-link--accent[aria-current="page"] {
  color: #231000;
  background: var(--orange);
  border-color: var(--orange);
}
.nav-link--accent[aria-current="page"] .nav-index { color: rgba(35, 16, 0, 0.7); }
.nav-link--accent[aria-current="page"]::after { background: #231000; box-shadow: none; }
.nav-link--accent[aria-current="page"]::before { background: #231000; }

/* 轨道底部 */
.nav-rail-foot {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--ink-3);
}
.nav-coord {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.nav-favorite {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
}
.nav-cta {
  width: 100%;
  font-size: 0.8125rem;
  padding: 0.7em 1.1em;
}

/* 阅读进度 */
.rail-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--lime), var(--orange));
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  transition: transform 0.12s linear;
}

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  border-top: 1px solid var(--ink-3);
  background: linear-gradient(180deg, #0A1026 0%, #0D1730 45%, #0A1026 100%);
  color: var(--muted);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(46, 68, 122, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 68, 122, 0.2) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 72%);
}

.footer-inner {
  position: relative;
  width: min(100% - 2.5rem, var(--wrap-w));
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

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

.footer-col-title {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}

.footer-logo {
  position: relative;
  margin: 0 0 0.55rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text);
}
.footer-logo::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-left: 0.55rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(61, 255, 136, 0.9);
  vertical-align: middle;
}

.footer-tagline {
  max-width: 32ch;
  margin: 0 0 0.9rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted);
}

.footer-coord {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: rgba(168, 182, 216, 0.72);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-list a {
  position: relative;
  display: inline-block;
  color: var(--muted);
  font-size: 0.9375rem;
}
.footer-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--lime);
  transition: width 0.22s ease;
}
.footer-list a:hover { color: var(--text); }
.footer-list a:hover::after { width: 100%; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 0;
}
.footer-contact-item { min-width: 0; }
.footer-contact dt {
  margin-bottom: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.footer-contact dd {
  margin: 0;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  margin-top: clamp(2rem, 5vw, 3.25rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink-3);
  font-size: 0.8125rem;
  color: var(--muted);
}
.footer-base p { margin: 0; }
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

/* =========================================================
   滚动显现
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}
html:not(.js) [data-reveal] {
  opacity: 1;
  transform: none;
}

/* =========================================================
   响应式
   ========================================================= */
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    width: var(--rail-w);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1.75rem;
    min-height: 100vh;
    padding: 1.75rem 1.25rem 1.5rem;
    border-bottom: 0;
    border-right: 1px solid var(--ink-3);
    background: linear-gradient(180deg, #0A1026 0%, #0F1A38 55%, #0A1026 100%);
  }

  .brand { flex-direction: column; gap: 0.1rem; }
  .brand-sub { display: inline; }
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    flex: 1 1 auto;
    width: auto;
    padding: 0;
    overflow: visible;
    border-right: 0;
    background: transparent;
    transform: none;
    visibility: visible;
    transition: none;
  }

  .nav-link { padding: 0.7rem 0.85rem; }

  .nav-rail-foot { margin-top: auto; }

  .rail-progress {
    left: auto;
    right: -1px;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--lime), var(--orange));
    transform: scaleY(var(--progress, 0));
    transform-origin: center top;
  }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 2.5rem; }
  .footer-inner { width: min(100% - 4rem, var(--wrap-w)); }
}

@media (min-width: 1440px) {
  .site-header { padding-inline: 1.6rem; }
}

/* =========================================================
   可访问性
   ========================================================= */
@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;
  }

  .site-nav { transition: none; }
  .rail-progress { transition: none; }

  [data-reveal],
  html:not(.js) [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .card:hover,
  .btn:hover,
  .nav-link:hover { transform: none; }
}
