/* ==========================================================================
   B体育APP — 共享站点样式 /assets/site.css
   语言：暗夜蓝连续画布 + 24° 斜切光轨 + 霓虹橙索引 + 电光青数据线
   ========================================================================== */

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

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

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
table { border-collapse: collapse; }

/* ---------- 2. Tokens ---------- */
:root {
  /* 自然矿物 × 赛场夜光 */
  --night: #071427;
  --field: #0E1F3A;
  --orange: #FF6A1A;
  --orange-2: #FF8C42;
  --cyan: #2BE3D6;
  --silver: #C7D0DA;
  --rock: #3A4757;
  --ivory: #F4F1EA;
  --clay: #B4573A;
  --moss: #6E8B5A;

  --line: rgba(58, 71, 87, .6);
  --line-soft: rgba(58, 71, 87, .35);
  --dim: rgba(199, 208, 218, .55);

  /* 字体 */
  --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", ui-monospace, SFMono-Regular, Menlo, Consolas, "DejaVu Sans Mono", monospace;

  /* 8 倍数间距体系 */
  --gutter: clamp(18px, 4vw, 48px);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 32px;
  --space-4: 64px;
  --space-5: 128px;

  /* 形状 */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;
  --slant: 24deg;

  --ease: cubic-bezier(.22, .7, .3, 1);
}

/* ---------- 3. 基础排版与画布 ---------- */
body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  background-color: var(--night);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 24° 斜向网格底纹 */
body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(24deg, rgba(199, 208, 218, .045) 0 1px, transparent 1px 104px),
    repeating-linear-gradient(-66deg, rgba(43, 227, 214, .028) 0 1px, transparent 1px 104px);
}

/* 左下橙光轨 / 右上青光晕 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(58vw 44vw at 4% -8%, rgba(255, 106, 26, .16), transparent 70%),
    radial-gradient(52vw 42vw at 102% 10%, rgba(43, 227, 214, .10), transparent 72%);
}

main { position: relative; z-index: 1; display: block; }
#main-content { scroll-margin-top: 96px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.012em;
  color: var(--ivory);
}

p { color: var(--silver); }
strong, b { font-weight: 700; color: var(--ivory); }
small { font-size: .82em; }

::selection { background: var(--orange); color: var(--night); }

/* 焦点环：全站统一电光青 */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 4. 无障碍跳转 ---------- */
.bs-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: #04101f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  transform: translateY(-180%);
  transition: transform .18s var(--ease);
}
.bs-skip:focus,
.bs-skip:focus-visible { transform: translateY(0); }

/* ---------- 5. 头部 ---------- */
.bs-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 20, 39, .86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: background .24s var(--ease), box-shadow .24s var(--ease);
}

.bs-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255, 106, 26, .7),
    rgba(58, 71, 87, .5) 26%,
    rgba(43, 227, 214, .45) 78%,
    transparent);
}

.bs-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 48px);
  width: 100%;
  max-width: 1320px;
  min-height: 76px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: min-height .24s var(--ease);
}

.bs-header[data-stuck] {
  background: rgba(7, 20, 39, .97);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .45);
}
.bs-header[data-stuck] .bs-header__inner { min-height: 62px; }

/* 品牌 */
.bs-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.bs-brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(142deg, var(--orange), var(--orange-2) 62%, #ffb27a);
  color: var(--night);
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  transform: skewX(-8deg);
  box-shadow: 0 0 0 1px rgba(255, 106, 26, .35), 0 10px 26px rgba(255, 106, 26, .28);
  transition: transform .16s var(--ease);
}
.bs-brand:hover .bs-brand__mark { transform: skewX(-8deg) translateY(-2px); }

.bs-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.bs-brand__name {
  display: block;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--ivory);
  transform: skewX(-6deg);
  transform-origin: left bottom;
}

.bs-brand__slogan {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .34em;
  color: var(--cyan);
  opacity: .92;
}

/* 栏目索引 */
.bs-nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.bs-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1.4vw, 20px);
}

.bs-nav__item { position: relative; }

.bs-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--silver);
  transition: color .16s var(--ease), transform .16s var(--ease);
}

.bs-nav__link::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 3px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s var(--ease);
}

.bs-nav__link:hover { color: var(--ivory); transform: translateY(-2px); }
.bs-nav__link:hover::after { transform: scaleX(1); }

.bs-nav__link[aria-current="page"] { color: var(--orange); }
.bs-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--orange);
}
.bs-nav__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(43, 227, 214, .16);
}

.bs-nav__meta {
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--rock);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .26em;
  color: var(--dim);
  white-space: nowrap;
}

/* 移动端按钮 */
.bs-nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 106, 26, .45);
  background: rgba(255, 106, 26, .1);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.bs-nav-toggle:hover { background: rgba(255, 106, 26, .18); border-color: var(--orange); }

.bs-nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 16px;
}
.bs-nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.bs-header[data-open] .bs-nav-toggle__bars span:nth-child(1) { transform: translateY(2.75px) rotate(45deg); }
.bs-header[data-open] .bs-nav-toggle__bars span:nth-child(2) { transform: translateY(-2.75px) rotate(-45deg); }

.bs-nav-toggle__label {
  font-family: var(--font-mono);
  line-height: 1;
}

/* 24° 斜切光轨 + 进度轨 */
.bs-header__slash { display: none; }

.bs-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(58, 71, 87, .55);
  z-index: 2;
}
.bs-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--orange), var(--orange-2) 46%, var(--cyan));
}

/* ---------- 6. 页脚 ---------- */
.bs-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(64px, 10vw, 140px);
  background: linear-gradient(180deg, rgba(14, 31, 58, .55), var(--field) 26%, #08182e);
  border-top: 1px solid var(--line);
  color: var(--silver);
  overflow: hidden;
}

.bs-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  pointer-events: none;
  background: radial-gradient(58% 100% at 10% 0%, rgba(255, 106, 26, .15), transparent 70%);
}

.bs-footer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 60vw);
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

.bs-footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) var(--gutter) 0;
}

.bs-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr 1.5fr;
  gap: clamp(28px, 4vw, 56px);
}

.bs-footer__col { min-width: 0; }

.bs-footer__brand {
  display: inline-block;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--ivory);
  transform: skewX(-6deg);
  transform-origin: left bottom;
}

.bs-footer__slogan {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .42em;
  color: var(--orange);
}

.bs-footer__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 6px 15px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(110, 139, 90, .45);
  background: rgba(110, 139, 90, .12);
  font-size: 12px;
  letter-spacing: .02em;
  color: #a9bd98;
}
.bs-footer__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 3px rgba(110, 139, 90, .22);
}

.bs-footer__title {
  margin-bottom: 18px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .32em;
  color: var(--dim);
}

.bs-footer__list {
  display: grid;
  gap: 10px;
}

.bs-footer__link {
  display: inline-block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--silver);
  transition: color .16s var(--ease), transform .16s var(--ease);
}
.bs-footer__link:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.bs-footer__address {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.bs-footer__line {
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
  word-break: break-word;
}
.bs-footer__line:nth-child(1),
.bs-footer__line:nth-child(2) {
  font-family: var(--font-mono);
  letter-spacing: .02em;
  color: var(--ivory);
}

.bs-footer__note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--dim);
}

.bs-footer__legal-line {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(199, 208, 218, .42);
}

.bs-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(40px, 6vw, 72px);
  padding: 20px 0 34px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(199, 208, 218, .5);
}

.bs-footer__copy { font-family: var(--font-mono); font-size: 11px; color: inherit; }

.bs-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.bs-footer__legal .bs-footer__link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(199, 208, 218, .5);
}
.bs-footer__legal .bs-footer__link:hover {
  color: var(--cyan);
  transform: none;
}

/* ---------- 7. 容器与分区 ---------- */
.bs-shell {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.bs-section {
  position: relative;
  padding-block: clamp(56px, 9vw, 120px);
}

.bs-section__head {
  display: grid;
  gap: 14px;
  max-width: 40em;
  margin-bottom: clamp(28px, 4vw, 56px);
}

.bs-section__title {
  font-size: clamp(26px, 3.8vw, 46px);
  font-weight: 900;
  letter-spacing: -.015em;
}

.bs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .32em;
  color: var(--cyan);
}
.bs-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--cyan);
  opacity: .7;
}

.bs-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--orange);
}

.bs-rule {
  height: 1px;
  margin-block: clamp(32px, 5vw, 64px);
  border: 0;
  background: linear-gradient(90deg, var(--orange), rgba(58, 71, 87, .7) 32%, transparent 100%);
}

/* ---------- 8. 栅格 ---------- */
.bs-grid {
  display: grid;
  gap: clamp(16px, 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)); }

/* ---------- 9. 按钮 ---------- */
.bs-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--orange);
  color: #0b1420;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  box-shadow: 0 10px 28px rgba(255, 106, 26, .22);
  transition: background .16s var(--ease), transform .16s var(--ease), box-shadow .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.bs-btn:hover {
  background: var(--orange-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 106, 26, .32);
}
.bs-btn:active { transform: translateY(0); }

.bs-btn--ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(199, 208, 218, .34);
  box-shadow: none;
}
.bs-btn--ghost:hover {
  background: rgba(199, 208, 218, .07);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: none;
}

.bs-btn--cyan {
  background: var(--cyan);
  color: #04161f;
  box-shadow: 0 10px 28px rgba(43, 227, 214, .2);
}
.bs-btn--cyan:hover {
  background: #6cf0e6;
  box-shadow: 0 16px 34px rgba(43, 227, 214, .28);
}

/* ---------- 10. 面包屑 ---------- */
.bs-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--dim);
}
.bs-crumb__link { color: inherit; transition: color .16s var(--ease); }
.bs-crumb__link:hover { color: var(--orange); }
.bs-crumb__sep { color: var(--rock); }
.bs-crumb [aria-current="page"] { color: var(--ivory); }

/* ---------- 11. 正文 ---------- */
.bs-prose {
  max-width: 40em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--silver);
}
.bs-prose > * + * { margin-top: 1.15em; }
.bs-prose h2,
.bs-prose h3 {
  margin-top: 1.9em;
  font-size: clamp(20px, 2.4vw, 26px);
}
.bs-prose strong { font-weight: 700; color: var(--ivory); }
.bs-prose a {
  color: var(--orange);
  border-bottom: 1px solid rgba(255, 106, 26, .45);
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.bs-prose a:hover { color: var(--orange-2); border-color: var(--orange-2); }
.bs-prose ul,
.bs-prose ol { display: grid; gap: .5em; padding-left: 1.2em; list-style: disc; }
.bs-prose code {
  font-family: var(--font-mono);
  font-size: .92em;
  letter-spacing: .04em;
  color: var(--cyan);
}

/* ---------- 12. 面板与指标 ---------- */
.bs-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(14, 31, 58, .94), rgba(10, 26, 48, .72));
}
.bs-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 2px;
  background: var(--orange);
}

.bs-metric { display: grid; gap: 6px; }
.bs-metric__value {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--orange);
}
.bs-metric__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--dim);
}

/* ---------- 13. 图片容器（页面阶段放置图片占位） ---------- */
.bs-figure {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(148deg, rgba(14, 31, 58, .95), rgba(8, 24, 46, .85)),
    repeating-linear-gradient(24deg, rgba(43, 227, 214, .08) 0 1px, transparent 1px 22px);
}
.bs-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bs-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(24deg, rgba(244, 241, 234, .05) 0 1px, transparent 1px 8px);
}
.bs-figure--4x3 { aspect-ratio: 4 / 3; }
.bs-figure--1x1 { aspect-ratio: 1 / 1; }

/* ---------- 14. 标签 ---------- */
.bs-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(43, 227, 214, .34);
  background: rgba(43, 227, 214, .08);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  line-height: 1.6;
  color: var(--cyan);
}
.bs-tag--orange {
  border-color: rgba(255, 106, 26, .4);
  background: rgba(255, 106, 26, .1);
  color: var(--orange);
}
.bs-tag--clay {
  border-color: rgba(180, 87, 58, .45);
  background: rgba(180, 87, 58, .14);
  color: #d98b6f;
}
.bs-tag--moss {
  border-color: rgba(110, 139, 90, .45);
  background: rgba(110, 139, 90, .14);
  color: #a9bd98;
}

/* ---------- 15. 滚动显现 ---------- */
.bs-motion [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .6s var(--ease) var(--reveal-delay, 0ms),
    transform .6s var(--ease) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.bs-motion [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1024px) {
  .bs-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 901px) {
  .bs-header { overflow: hidden; }
  .bs-header__slash {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(120px, 16vw, 240px);
    height: 1px;
    pointer-events: none;
    opacity: .82;
    transform: translate(-50%, -50%) rotate(-24deg);
    background: linear-gradient(90deg,
      transparent,
      rgba(255, 106, 26, .85) 30%,
      rgba(43, 227, 214, .72) 78%,
      transparent);
  }
}

@media (max-width: 900px) {
  .bs-header__inner { min-height: 66px; }
  .bs-header[data-stuck] .bs-header__inner { min-height: 58px; }

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

  .bs-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 6px var(--gutter) 22px;
    background: var(--night);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 48px rgba(0, 0, 0, .55);
  }
  .bs-header[data-open] .bs-nav { display: flex; }

  .bs-nav__list { flex-direction: column; align-items: stretch; gap: 0; }

  .bs-nav__item { border-bottom: 1px solid var(--line-soft); }
  .bs-nav__item:last-child { border-bottom: 0; }

  .bs-nav__link {
    display: block;
    padding: 15px 2px;
    font-size: 16px;
    transform: none;
  }
  .bs-nav__link::after { display: none; }
  .bs-nav__link:hover { transform: none; color: var(--orange); }
  .bs-nav__link[aria-current="page"]::before {
    left: auto;
    right: 2px;
    top: 50%;
  }

  .bs-nav__meta { display: none; }

  .bs-grid--2 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .bs-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .bs-grid--3,
  .bs-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .bs-footer__bottom { justify-content: flex-start; }
  .bs-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
  .bs-motion [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .bs-progress__bar { transition: none; }
}
