/* ==========================================================================
   B体育旧版本 — 共享样式表 /assets/site.css
   深夜球场数据台 × 技术蓝图
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: #0A1512;
}
body { margin: 0; }
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink:        #0A1512;
  --ink-2:      #101F1B;
  --panel:      #16211F;
  --text:       #E9F2EE;
  --muted:      #9DB1AA;
  --cyan:       #3BE8C6;
  --orange:     #FF7A2F;
  --grid:       #2A4A42;
  --teal:       #1E9C86;
  --glass:      rgba(244, 251, 248, 0.06);
  --glass-2:    rgba(244, 251, 248, 0.10);

  --line:       rgba(42, 74, 66, 0.85);
  --line-soft:  rgba(42, 74, 66, 0.55);

  --font-narrow: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
                 "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-serif:  "Songti SC", "Source Han Serif SC", "Noto Serif SC", "SimSun",
                 Georgia, "Times New Roman", serif;
  --font-mono:   ui-monospace, "SFMono-Regular", Menlo, Consolas,
                 "Roboto Mono", "Courier New", monospace;

  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-20: 1.25rem;
  --fs-28: 1.75rem;
  --fs-44: 2.75rem;
  --fs-72: 4.5rem;
  --fs-96: 6rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --wrap: 1240px;
  --header-h: 84px;
  --radius: 3px;
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-narrow);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: transparent;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 蓝图网格 + 夜间球场光斑 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(900px 520px at 78% -6%, rgba(30, 156, 134, 0.20), transparent 68%),
    radial-gradient(680px 420px at 6% 14%, rgba(59, 232, 198, 0.08), transparent 70%),
    linear-gradient(rgba(42, 74, 66, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 74, 66, 0.22) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
}

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

::selection { background: rgba(59, 232, 198, 0.28); color: #FFFFFF; }

#main-content { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- 4. 布局容器 ---------- */
.bs-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}
.bs-wrap--narrow { max-width: 860px; }

.bs-page-top { padding-top: var(--header-h); }

.bs-section { padding-block: clamp(48px, 7vw, 96px); }
.bs-section--tight { padding-block: clamp(28px, 4vw, 52px); }

.bs-grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 32px);
}
.bs-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 5. 文字组件 ---------- */
.bs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.bs-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--orange);
  flex: 0 0 auto;
}

.bs-h1 {
  font-family: var(--font-narrow);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--text);
}
.bs-h2 {
  font-family: var(--font-narrow);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  line-height: 1.16;
  letter-spacing: -0.008em;
  color: var(--text);
}
.bs-h3 {
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.45;
  color: var(--text);
}
.bs-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.7;
}
.bs-lead {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.9;
  color: var(--muted);
  max-width: 40em;
}
.bs-p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 38em;
}
.bs-p + .bs-p { margin-top: 1em; }

.bs-idx {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* ---------- 6. 按钮 ---------- */
.bs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  background: var(--glass);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease),
              color 0.22s var(--ease), transform 0.22s var(--ease);
}
.bs-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(59, 232, 198, 0.10);
}
.bs-btn:active { transform: translateY(1px); }

.bs-btn--sm { padding: 8px 14px; font-size: 13px; letter-spacing: 0.08em; }

.bs-btn--ghost {
  background: rgba(244, 251, 248, 0.03);
  border-color: rgba(42, 74, 66, 0.9);
  color: var(--muted);
}
.bs-btn--ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(59, 232, 198, 0.08);
}

.bs-btn--solid {
  background: var(--orange);
  border-color: var(--orange);
  color: #180A03;
  font-weight: 700;
}
.bs-btn--solid:hover {
  background: #FF9455;
  border-color: #FF9455;
  color: #180A03;
}

.bs-btn--cyan {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #06201A;
  font-weight: 700;
}
.bs-btn--cyan:hover {
  background: #6BF2D8;
  border-color: #6BF2D8;
  color: #06201A;
}

/* ---------- 7. 徽章 / 等宽索引戳 ---------- */
.bs-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(42, 74, 66, 0.9);
  border-radius: var(--radius);
  background: rgba(244, 251, 248, 0.04);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  color: var(--muted);
  white-space: nowrap;
  line-height: 1.4;
}
.bs-stamp__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(59, 232, 198, 0.16);
  animation: bs-pulse 2.6s var(--ease) infinite;
}
.bs-stamp__text { display: inline-block; }

@keyframes bs-pulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 3px rgba(59, 232, 198, 0.16); }
  50%      { opacity: 0.5; box-shadow: 0 0 0 6px rgba(59, 232, 198, 0.04); }
}

/* ---------- 8. 面板 ---------- */
.bs-panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px);
}
.bs-panel--glass {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(244, 251, 248, 0.10);
}
.bs-panel--link {
  display: block;
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease),
              background 0.24s var(--ease);
}
.bs-panel--link:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  background: #182524;
}

/* 索引列表 */
.bs-index-list { border-top: 1px solid var(--line); }
.bs-index-list > li {
  border-bottom: 1px solid var(--line-soft);
  padding: 16px 4px;
  transition: background 0.2s var(--ease);
}
.bs-index-list > li:hover { background: rgba(244, 251, 248, 0.03); }

/* ---------- 9. 面包屑 ---------- */
.bs-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.bs-crumb a { transition: color 0.2s var(--ease); }
.bs-crumb a:hover { color: var(--cyan); }
.bs-crumb__sep { color: var(--grid); }

/* ---------- 10. 响应式图片容器 ---------- */
.bs-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background-color: #0D1A16;
  background-image:
    radial-gradient(120% 90% at 18% 0%, rgba(30, 156, 134, 0.24), transparent 62%),
    radial-gradient(90% 70% at 96% 100%, rgba(59, 232, 198, 0.10), transparent 60%),
    linear-gradient(rgba(42, 74, 66, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 74, 66, 0.35) 1px, transparent 1px);
  background-size: auto, auto, 32px 32px, 32px 32px;
}
.bs-media > img,
.bs-media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) contrast(1.06);
}
.bs-media--21x9 { aspect-ratio: 21 / 9; }
.bs-media--4x3  { aspect-ratio: 4 / 3; }
.bs-media--1x1  { aspect-ratio: 1 / 1; }
.bs-media--3x4  { aspect-ratio: 3 / 4; }
.bs-media__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  background: linear-gradient(to top, rgba(10, 21, 18, 0.94), rgba(10, 21, 18, 0));
}

/* ---------- 11. 显现动效 ---------- */
.bs-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.bs-reveal.is-in { opacity: 1; transform: none; }

/* ---------- 12. 顶部导航 ---------- */
.bs-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 18px 0;
  color: var(--text);
  background: linear-gradient(to bottom, rgba(10, 21, 18, 0.78), rgba(10, 21, 18, 0));
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: padding 0.24s var(--ease), background 0.24s var(--ease),
              border-color 0.24s var(--ease), backdrop-filter 0.24s var(--ease),
              box-shadow 0.24s var(--ease);
}
.bs-header[data-scrolled] {
  padding: 10px 0;
  background: rgba(16, 31, 27, 0.95);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 46px -30px #000000;
}

.bs-skip {
  position: absolute;
  left: clamp(16px, 4vw, 40px);
  top: 8px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 10px 16px;
  background: var(--cyan);
  color: #06201A;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  transition: transform 0.22s var(--ease);
}
.bs-skip:focus { transform: translateY(0); }

.bs-header__grid {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

/* 品牌 */
.bs-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.bs-brand__mark {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--grid);
  border-radius: 2px;
  background: linear-gradient(140deg, rgba(59, 232, 198, 0.16), rgba(30, 156, 134, 0.03));
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.bs-brand__mark::before,
.bs-brand__mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
}
.bs-brand__mark::before {
  top: -1px; left: -1px;
  border-top: 1px solid var(--cyan);
  border-left: 1px solid var(--cyan);
}
.bs-brand__mark::after {
  bottom: -1px; right: -1px;
  border-bottom: 1px solid var(--cyan);
  border-right: 1px solid var(--cyan);
}
.bs-brand__text { display: block; min-width: 0; }
.bs-brand__name {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.bs-brand__slogan {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

/* 导航 */
.bs-nav { justify-self: center; min-width: 0; }
.bs-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.bs-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 13px;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.bs-nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
.bs-nav__link:hover { color: var(--text); }
.bs-nav__link:hover::after { transform: scaleX(1); }
.bs-nav__link[aria-current="page"] { color: var(--text); }
.bs-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  box-shadow: 0 0 12px rgba(59, 232, 198, 0.8);
}

/* 头部右侧 */
.bs-header__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
  min-width: 0;
}

/* 汉堡按钮 */
.bs-navtoggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  background: var(--glass);
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.bs-navtoggle:hover { border-color: var(--cyan); color: var(--cyan); }
.bs-navtoggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 11px;
  flex: 0 0 auto;
}
.bs-navtoggle__bars::before,
.bs-navtoggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--cyan);
  transition: transform 0.24s var(--ease);
}
.bs-navtoggle__bars::before { top: 0; }
.bs-navtoggle__bars::after  { bottom: 0; }
[data-nav-toggle][aria-expanded="true"] .bs-navtoggle__bars::before {
  transform: translateY(4.75px) rotate(45deg);
}
[data-nav-toggle][aria-expanded="true"] .bs-navtoggle__bars::after {
  transform: translateY(-4.75px) rotate(-45deg);
}
.bs-navtoggle__label { display: inline-block; }

/* ---------- 13. 页脚 ---------- */
.bs-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 110px);
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  color: var(--muted);
  overflow: hidden;
}
.bs-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(42, 74, 66, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 74, 66, 0.34) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}
.bs-footer::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--wrap), 100% - 32px);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(59, 232, 198, 0.55), transparent);
}

.bs-footer__grid {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 84px) clamp(16px, 4vw, 40px) clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: clamp(28px, 4vw, 60px);
}

.bs-footer__brand { min-width: 0; }
.bs-footer__brandname {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--text);
}
.bs-footer__tagline {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}
.bs-footer__note {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 34ch;
}

.bs-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
  min-width: 0;
}
.bs-footer__col { min-width: 0; }

.bs-footer__coltitle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.bs-footer__coltitle::before {
  content: "";
  width: 12px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--orange);
}

.bs-footer__links li + li { margin-top: 10px; }
.bs-footer__links a {
  display: inline-block;
  padding-left: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.bs-footer__links a:hover {
  color: var(--cyan);
  padding-left: 8px;
}

.bs-footer__contact { min-width: 0; }
.bs-footer__line {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.75;
}
.bs-footer__line + .bs-footer__line { margin-top: 10px; }
.bs-footer__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--orange);
  padding-top: 3px;
}
.bs-footer__val {
  color: var(--text);
  word-break: break-word;
}
.bs-footer__contact .bs-footer__note {
  margin-top: 16px;
  max-width: 32ch;
}

.bs-footer__bottom {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 18px clamp(16px, 4vw, 40px) 34px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.bs-footer__legal {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.bs-totop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  background: var(--glass);
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
              background 0.2s var(--ease);
}
.bs-totop:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(59, 232, 198, 0.10);
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1180px) {
  .bs-brand__slogan { display: none; }
  .bs-nav__link { padding: 9px 10px; font-size: 14px; }
  .bs-nav__link::after { left: 10px; right: 10px; }
}

@media (max-width: 1040px) {
  .bs-stamp { display: none; }
}

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

  .bs-header__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }
  .bs-navtoggle { display: inline-flex; grid-column: 2; justify-self: end; }
  .bs-header__meta { display: none; }

  .bs-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.34s var(--ease), opacity 0.24s var(--ease),
                visibility 0.24s var(--ease), margin-top 0.34s var(--ease),
                padding 0.34s var(--ease);
  }
  .bs-nav[data-open] {
    max-height: 520px;
    opacity: 1;
    visibility: visible;
    margin-top: 14px;
    padding: 10px 0 14px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(10, 21, 18, 0.97);
    overflow-y: auto;
  }
  .bs-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .bs-nav__link {
    display: block;
    padding: 14px 6px;
    font-size: 16px;
    letter-spacing: 0.05em;
    color: var(--text);
    border-bottom: 1px solid var(--line-soft);
  }
  .bs-nav__link::after { display: none; }
  .bs-nav__link[aria-current="page"] {
    color: var(--cyan);
    padding-left: 16px;
    box-shadow: inset 3px 0 0 var(--orange);
  }
  .bs-nav__list > li:last-child .bs-nav__link { border-bottom: 0; }
}

@media (max-width: 1000px) {
  .bs-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  }
  .bs-footer__brand { grid-column: 1 / -1; }
  .bs-footer__note { max-width: 52ch; }
}

@media (max-width: 860px) {
  .bs-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .bs-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .bs-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-footer__contact .bs-footer__note { max-width: none; }
  .bs-grid--2, .bs-grid--3, .bs-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .bs-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .bs-footer__cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .bs-brand__name { font-size: 15.5px; }
  .bs-brand__mark { width: 34px; height: 34px; font-size: 16px; }
}

/* ---------- 15. 无障碍与动效降级 ---------- */
@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;
  }
  .bs-reveal { opacity: 1 !important; transform: none !important; }
  .bs-stamp__dot { animation: none; }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #C6D6D0;
    --line: rgba(120, 170, 155, 0.9);
  }
}
