/* ==========================================================================
   必博体育主站 · 共享样式表  /assets/site.css
   框架式导航 + 切角战术板 + 非对称编辑部版式
   ========================================================================== */

/* ---------- 变量 ---------- */
:root {
  --c-grass: #0E7A6B;
  --c-grass-deep: #0A4F48;
  --c-mint: #D9F0EA;
  --c-orange: #FF6A21;
  --c-orange-soft: #FFD9C2;
  --c-navy: #14204A;
  --c-navy-soft: #2B3A70;
  --c-lime: #B8F227;
  --c-paper: #F7FAF9;
  --c-ink: #2A3B45;
  --c-clay: #C2410C;

  --rail-w: 242px;
  --topbar-h: 38px;
  --bar-h: 64px;
  --notch: 18px;
  --notch-sm: 12px;
  --maxw: 1280px;
  --gutter: clamp(16px, 3.6vw, 48px);

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --shadow-soft: 0 14px 34px -22px rgba(20, 32, 74, .55);
}

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

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

body {
  margin: 0;
  padding-left: var(--rail-w);
  padding-top: var(--topbar-h);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(115deg, rgba(14, 122, 107, .05) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(65deg, rgba(20, 32, 74, .035) 0 1px, transparent 1px 108px);
}

main,
.site-main { position: relative; z-index: 1; display: block; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .55em;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.12;
  color: var(--c-navy);
}

h1 { font-size: clamp(34px, 5vw, 64px); }
h2 { font-size: clamp(22px, 3vw, 34px); }
h3 { font-size: 18px; }

p { margin: 0 0 1em; }

a { color: var(--c-grass); text-underline-offset: 3px; }
a:hover { color: var(--c-orange); }

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

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

button { font: inherit; color: inherit; }

[hidden] { display: none !important; }

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

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  transform: translateY(-220%);
  padding: 10px 18px;
  background: var(--c-lime);
  color: var(--c-navy);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border-radius: 3px;
  transition: transform .2s ease;
}
.skip-link:focus-visible { transform: none; outline-color: var(--c-navy); }

/* ---------- 顶部细条 ---------- */
.header-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-h);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  background: var(--c-navy);
  color: #DCE6F5;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  border-bottom: 2px solid var(--c-lime);
}

.header-topbar__tagline {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #DCE6F5;
}

.header-topbar__stage {
  margin-left: auto;
  padding-left: 16px;
  border-left: 1px solid rgba(184, 242, 39, .45);
  color: var(--c-lime);
  white-space: nowrap;
}

.header-topbar__link {
  color: #FFFFFF;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 106, 33, .85);
  padding-bottom: 1px;
  white-space: nowrap;
}
.header-topbar__link:hover { color: var(--c-orange-soft); border-bottom-color: var(--c-orange-soft); }

/* ---------- 左侧导航轨 ---------- */
.header-rail {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 65;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0E7A6B 0%, #0A4F48 58%, #14204A 100%);
  border-right: 2px solid var(--c-grass);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 18px 16px;
  border-bottom: 1px solid rgba(217, 240, 234, .24);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #F7FAF9;
  min-width: 0;
}
.brand:hover { color: #FFFFFF; }

.brand__mark {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--c-orange);
  color: var(--c-navy);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 66%, 66% 100%, 0 100%);
}

.brand__text { display: flex; flex-direction: column; min-width: 0; }

.brand__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #FFFFFF;
}

.brand__line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .09em;
  color: rgba(217, 240, 234, .72);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(217, 240, 234, .4);
  border-radius: 3px;
  color: #F7FAF9;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.nav-toggle:hover { background: rgba(255, 106, 33, .28); border-color: var(--c-orange); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform .22s ease;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 主导航 ---------- */
.site-nav {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 14px 12px 24px;
}

.site-nav__list { display: flex; flex-direction: column; gap: 2px; }

.site-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px 11px 14px;
  color: #D8EAE6;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15.5px;
  letter-spacing: -.01em;
  border-left: 3px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.site-nav__link:hover,
.site-nav__link:focus-visible {
  background: rgba(217, 240, 234, .14);
  color: #FFFFFF;
  border-left-color: rgba(184, 242, 39, .7);
}
.site-nav__link[aria-current="page"] {
  background: rgba(255, 106, 33, .18);
  border-left-color: var(--c-orange);
  color: #FFFFFF;
}

.site-nav__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--c-lime);
}
.site-nav__link[aria-current="page"] .site-nav__num { color: var(--c-orange-soft); }

.site-nav__label { min-width: 0; }

/* ---------- 站内检索 ---------- */
.nav-tools {
  margin-top: 20px;
  padding: 14px 13px 13px;
  background: rgba(10, 79, 72, .55);
  border: 1px dashed rgba(184, 242, 39, .42);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.nav-tools__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--c-lime);
  text-transform: uppercase;
}

.nav-tools__input {
  width: 100%;
  margin-top: 9px;
  padding: 9px 10px;
  background: rgba(247, 250, 249, .95);
  border: 2px solid transparent;
  border-radius: 3px;
  color: var(--c-navy);
  font-family: var(--font-mono);
  font-size: 13px;
}
.nav-tools__input::placeholder { color: rgba(42, 59, 69, .55); }
.nav-tools__input:focus-visible {
  outline: none;
  border-color: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 33, .35);
}

.nav-tools__hint {
  margin: 9px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(217, 240, 234, .82);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: .01em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--c-navy);
  color: #F7FAF9;
  clip-path: polygon(0 0, calc(100% - var(--notch-sm)) 0, 100% var(--notch-sm), 100% 100%, var(--notch-sm) 100%, 0 calc(100% - var(--notch-sm)));
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { color: #F7FAF9; background: var(--c-navy-soft); }

.btn:focus-visible { outline: 3px solid var(--c-lime); outline-offset: -6px; }

.btn--accent { background: var(--c-orange); color: var(--c-navy); }
.btn--accent:hover { background: var(--c-orange-soft); color: var(--c-navy); }
.btn--accent:focus-visible { outline-color: #FFFFFF; }

.btn--ghost {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-navy);
}
.btn--ghost:hover { background: var(--c-mint); color: var(--c-grass-deep); border-color: var(--c-grass); }
.btn--ghost:focus-visible { outline-color: var(--c-orange); }

.nav-cta { margin-top: 18px; align-self: stretch; font-size: 15px; }

/* ---------- 阅读进度条 ---------- */
.progress-bar {
  position: fixed;
  top: calc(var(--topbar-h) - 3px);
  left: 0;
  width: 0;
  height: 3px;
  z-index: 120;
  background: var(--c-orange);
  box-shadow: 0 0 10px rgba(255, 106, 33, .6);
  pointer-events: none;
  transition: width .08s linear;
}

/* ---------- 容器 ---------- */
.shell {
  width: min(100% - (var(--gutter) * 2), var(--maxw));
  margin-inline: auto;
}

.shell--wide {
  width: min(100% - 24px, 1600px);
}

/* ---------- 页头与面包屑 ---------- */
.page-head {
  position: relative;
  padding: clamp(30px, 4.4vw, 56px) 0 clamp(20px, 2.6vw, 30px);
  border-bottom: 2px solid var(--c-grass);
}
.page-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 104px;
  height: 4px;
  background: var(--c-orange);
}

.crumbs {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--c-grass-deep);
}
.crumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.crumbs__list li + li::before { content: "/"; margin-right: 8px; color: rgba(42, 59, 69, .42); }
.crumbs__link {
  color: var(--c-grass-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(14, 122, 107, .38);
}
.crumbs__link:hover { color: var(--c-orange); border-bottom-color: var(--c-orange); }
.crumbs__current { color: var(--c-ink); }

/* ---------- 章节头 ---------- */
.sec-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: clamp(14px, 2vw, 24px);
  row-gap: 4px;
  margin: 0 0 clamp(20px, 3vw, 34px);
}

.sec-head__num {
  grid-row: 1 / span 2;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .1em .16em;
  min-width: 1.4em;
  background: var(--c-grass);
  color: #F7FAF9;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1;
  letter-spacing: -.02em;
  clip-path: polygon(0 0, 100% 0, 100% 66%, 76% 100%, 0 100%);
}

.sec-head__title {
  grid-column: 2;
  align-self: end;
  margin: 0;
  font-size: clamp(22px, 2.9vw, 34px);
}

.sec-head__note {
  grid-column: 2;
  margin: 0;
  max-width: 54ch;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(42, 59, 69, .78);
}

/* ---------- 非对称双栏 ---------- */
.layout-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: clamp(20px, 3.4vw, 48px);
  align-items: start;
}

/* ---------- 切角面板 ---------- */
.notch-panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: #FFFFFF;
  border: 1px solid rgba(14, 122, 107, .22);
  box-shadow: var(--shadow-soft);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}

.notch-panel--alt {
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch));
}

.notch-panel--mint { background: var(--c-mint); border-color: rgba(10, 79, 72, .28); }

/* ---------- 数据面板 ---------- */
.data-panel {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  background: var(--c-navy);
  color: #E7EEF9;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.data-panel .sec-head__num { background: var(--c-orange); color: var(--c-navy); }
.data-panel .sec-head__title { color: #FFFFFF; }
.data-panel .sec-head__note { color: rgba(231, 238, 249, .76); }
.data-panel p { color: rgba(231, 238, 249, .88); }
.data-panel a { color: var(--c-lime); }

.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--c-lime);
}
.stat__label { font-size: 13.5px; line-height: 1.55; color: rgba(231, 238, 249, .78); }
.stat--on-light .stat__value { color: var(--c-grass); }
.stat--on-light .stat__label { color: rgba(42, 59, 69, .72); }

/* ---------- 标签 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--c-mint);
  border: 1px solid rgba(14, 122, 107, .42);
  border-radius: 2px;
  color: var(--c-grass-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.chip:hover { background: var(--c-orange-soft); border-color: var(--c-orange); color: var(--c-navy); }
.chip--active { background: var(--c-orange); border-color: var(--c-orange); color: var(--c-navy); }
.chip--data { background: rgba(184, 242, 39, .18); border-color: rgba(184, 242, 39, .7); color: #EAFBD2; }

/* ---------- 横向滚动带 ---------- */
.scroll-band {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  width: 100%;
  padding: 8px 2px 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--c-grass) rgba(20, 32, 74, .12);
  -webkit-overflow-scrolling: touch;
}
.scroll-band > * { flex: 0 0 clamp(240px, 30vw, 380px); }
.scroll-band::-webkit-scrollbar { height: 8px; }
.scroll-band::-webkit-scrollbar-track { background: rgba(20, 32, 74, .1); border-radius: 8px; }
.scroll-band::-webkit-scrollbar-thumb { background: var(--c-grass); border-radius: 8px; }

/* ---------- 表格 ---------- */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.6;
}
.table th,
.table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(20, 32, 74, .12);
  vertical-align: top;
}
.table thead th {
  background: var(--c-grass-deep);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .08em;
  white-space: nowrap;
}
.table tbody tr:nth-child(even) { background: var(--c-mint); }
.table td .mono,
.table td code { font-family: var(--font-mono); }

/* ---------- 工具类 ---------- */
.mono { font-family: var(--font-mono); letter-spacing: .02em; }

.num-block {
  display: inline-block;
  padding: 3px 9px;
  background: var(--c-navy);
  color: var(--c-lime);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 74% 100%, 0 100%);
}

.slash-rule {
  height: 10px;
  margin: clamp(24px, 3.4vw, 42px) 0;
  background: repeating-linear-gradient(115deg, var(--c-grass) 0 3px, transparent 3px 15px);
  opacity: .55;
}

.text-lead {
  font-size: clamp(17px, 1.6vw, 19.5px);
  line-height: 1.72;
  color: rgba(42, 59, 69, .92);
  max-width: 40ch;
}

/* ---------- 图片容器 ---------- */
.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-mint), #BFE2D9 60%, var(--c-navy-soft));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.img-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-frame--16x9 { aspect-ratio: 16 / 9; }
.img-frame--4x3 { aspect-ratio: 4 / 3; }
.img-frame--1x1 { aspect-ratio: 1 / 1; }
.img-frame--21x9 { aspect-ratio: 21 / 9; }

/* ---------- 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .55s cubic-bezier(.22, .8, .3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 6vw, 88px);
  padding-bottom: 26px;
  color: #DCEAE6;
  border-top: 6px solid var(--c-lime);
  background:
    repeating-linear-gradient(115deg, rgba(184, 242, 39, .05) 0 1px, transparent 1px 92px),
    linear-gradient(160deg, #0A4F48 0%, #0E7A6B 44%, #14204A 100%);
}

.footer-grid {
  width: min(100% - (var(--gutter) * 2), var(--maxw));
  margin-inline: auto;
  padding-top: clamp(36px, 4.6vw, 58px);
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)) 1.5fr;
  gap: 34px 28px;
  align-items: start;
}

.footer-ident {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: #FFFFFF;
}

.footer-brand__text {
  margin: 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(220, 234, 230, .82);
}

.footer-brand__region {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 6px 12px;
  background: rgba(184, 242, 39, .14);
  border: 1px solid rgba(184, 242, 39, .48);
  color: var(--c-lime);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 76% 100%, 0 100%);
}

.footer-col__title,
.footer-contact__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-lime);
}

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

.footer-col__link {
  color: rgba(233, 244, 241, .88);
  font-size: 14.5px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.footer-col__link:hover,
.footer-col__link:focus-visible { color: #FFFFFF; border-bottom-color: var(--c-orange); }

.footer-contact {
  padding: 20px 20px 18px;
  background: rgba(20, 32, 74, .55);
  border: 1px solid rgba(217, 240, 234, .2);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.footer-contact__list { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }

.footer-contact__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(184, 242, 39, .88);
}

.footer-contact__value {
  display: block;
  color: rgba(240, 248, 246, .95);
  line-height: 1.6;
  word-break: break-word;
}

.footer-contact__note {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.68;
  color: rgba(220, 234, 230, .76);
}

.footer-legal {
  width: min(100% - (var(--gutter) * 2), var(--maxw));
  margin: clamp(30px, 3.6vw, 46px) auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(217, 240, 234, .22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .03em;
  color: rgba(220, 234, 230, .74);
}

.footer-legal__copy { margin-left: auto; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .layout-split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  html { scroll-padding-top: calc(var(--topbar-h) + var(--bar-h) + 16px); }

  body {
    padding-left: 0;
    padding-top: calc(var(--topbar-h) + var(--bar-h));
  }

  .header-topbar { gap: 12px; padding: 0 13px; font-size: 11.5px; }
  .header-topbar__stage { padding-left: 11px; }

  .header-rail {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    max-height: calc(100vh - var(--topbar-h));
    background: transparent;
    border-right: 0;
    overflow: visible;
  }

  .header-bar {
    height: var(--bar-h);
    padding: 0 16px;
    background: linear-gradient(120deg, #0A4F48 0%, #0E7A6B 100%);
    border-bottom: 2px solid var(--c-lime);
  }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--topbar-h) - var(--bar-h) - 6px);
    overflow-y: auto;
    padding: 12px 12px 22px;
    background: linear-gradient(180deg, #0E7A6B 0%, #0A4F48 100%);
    border-bottom: 2px solid var(--c-lime);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .24s ease, visibility .2s ease;
  }

  .header-rail[data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-cta { margin-bottom: 6px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-legal__copy { margin-left: 0; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }

  .header-topbar__tagline { display: none; }
  .header-topbar__stage { margin-left: 0; }

  .brand__line { display: none; }

  .sec-head { grid-template-columns: auto minmax(0, 1fr); }
  .sec-head__note { font-size: 14px; }

  .footer-grid { grid-template-columns: 1fr; }
  .scroll-band > * { flex: 0 0 min(82vw, 320px); }
  .table { font-size: 13.5px; }
  .table th,
  .table td { padding: 10px 10px; }
}

/* ==========================================================================
   动效降级
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
  .progress-bar { transition: none; }
  .scroll-band { scroll-behavior: auto; }
}
