/* =========================================================
   BOB体官网主站 — 共享样式 /assets/site.css
   视觉母题：深夜体育数据编辑室 · 堆叠面板 · 悬浮胶囊
   ========================================================= */

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

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

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

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

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

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; }

/* ---------- 2. Tokens ---------- */
:root {
  --bb-ink: #070B14;
  --bb-panel: #0E1526;
  --bb-panel-2: #141E36;

  --bb-cyan: #22E0D6;
  --bb-orange: #FF7A1A;
  --bb-violet: #A238FF;
  --bb-magenta: #FF2D6E;

  --bb-steel: #8A94A6;
  --bb-text: #F2F6FF;
  --bb-text-2: #A7B2C7;

  --bb-ok: #3DD68C;
  --bb-warn: #FFC24B;

  --bb-line: rgba(138, 148, 166, .22);
  --bb-line-strong: rgba(34, 224, 214, .45);
  --bb-line-violet: rgba(162, 56, 255, .42);

  --bb-font-head: "Arial Black", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --bb-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --bb-font-mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;

  --bb-shell: 1200px;
  --bb-gutter: 20px;
  --bb-radius: 16px;
  --bb-radius-lg: 24px;
  --bb-ease: cubic-bezier(.2, .72, .28, 1);
}

/* ---------- 3. Base & 中文排版 ---------- */
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(120% 62% at 84% -6%, rgba(162, 56, 255, .13), transparent 58%),
    radial-gradient(96% 52% at 6% 2%, rgba(34, 224, 214, .09), transparent 60%),
    var(--bb-ink);
  background-attachment: fixed;
  color: var(--bb-text);
  font-family: var(--bb-font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

p, li, dd { overflow-wrap: break-word; word-break: normal; }

main { display: block; }
main:focus { outline: none; }

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

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

/* ---------- 4. 通用工具类 ---------- */
.bb-shell {
  width: 100%;
  max-width: var(--bb-shell);
  margin-inline: auto;
  padding-inline: var(--bb-gutter);
}

.bb-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

.bb-divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--bb-line-strong), transparent);
}

.bb-section { padding-block: clamp(48px, 7vw, 88px); }
.bb-section--tight { padding-block: clamp(30px, 4vw, 52px); }

/* ---------- 5. 标签 / 标题 / 正文 ---------- */
.bb-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--bb-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bb-cyan);
}

.bb-label::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.bb-label--orange { color: var(--bb-orange); }
.bb-label--violet { color: #C88BFF; }

.bb-title {
  margin: 0;
  font-family: var(--bb-font-head);
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--bb-text);
  transform: skewX(-2deg);
  transform-origin: left bottom;
}

.bb-title--hero {
  font-size: clamp(48px, 8.4vw, 96px);
  line-height: .98;
}

.bb-lead {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.72;
  color: var(--bb-text-2);
}

/* ---------- 6. 面板 / 纸叠 ---------- */
.bb-panel {
  position: relative;
  background: linear-gradient(158deg, var(--bb-panel) 0%, #0B1220 100%);
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  padding: clamp(18px, 2.4vw, 28px);
}

.bb-plate {
  box-shadow:
    9px 9px 0 -1px rgba(34, 224, 214, .13),
    18px 18px 0 -2px rgba(162, 56, 255, .09);
}

.bb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--bb-line);
  background: rgba(20, 30, 54, .72);
  font-family: var(--bb-font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--bb-text-2);
  white-space: nowrap;
}

.bb-chip--cyan { color: var(--bb-cyan); border-color: rgba(34, 224, 214, .36); }
.bb-chip--orange { color: var(--bb-orange); border-color: rgba(255, 122, 26, .36); }
.bb-chip--violet { color: #C88BFF; border-color: var(--bb-line-violet); }

.bb-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--bb-line);
  border-radius: 14px;
  background: var(--bb-panel);
}

.bb-stat__value {
  font-family: var(--bb-font-mono);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--bb-cyan);
  font-variant-numeric: tabular-nums;
}

.bb-stat__label {
  font-size: 13px;
  color: var(--bb-text-2);
}

/* ---------- 7. 按钮 ---------- */
.bb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .22s var(--bb-ease), color .22s var(--bb-ease),
              border-color .22s var(--bb-ease), box-shadow .22s var(--bb-ease),
              transform .22s var(--bb-ease);
}

.bb-btn:hover { transform: translateY(-1px); }
.bb-btn:active { transform: translateY(0); }

.bb-btn--primary {
  background: var(--bb-cyan);
  color: #04141A;
  box-shadow: 0 12px 26px -16px rgba(34, 224, 214, .95);
}
.bb-btn--primary:hover { background: #63F2EA; }

.bb-btn--orange {
  background: var(--bb-orange);
  color: #1A0C02;
  box-shadow: 0 12px 26px -16px rgba(255, 122, 26, .95);
}
.bb-btn--orange:hover { background: #FF9445; }

.bb-btn--ghost {
  background: rgba(20, 30, 54, .7);
  border-color: var(--bb-line);
  color: var(--bb-text);
}
.bb-btn--ghost:hover { border-color: var(--bb-line-strong); color: var(--bb-cyan); }

.bb-btn--sm { padding: 9px 17px; font-size: 14px; }

/* ---------- 8. 网格与横向带 ---------- */
.bb-grid { display: grid; gap: 20px; }
.bb-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.bb-grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.bb-grid--aside { grid-template-columns: 1.62fr 1fr; align-items: start; }

@media (max-width: 860px) {
  .bb-grid--aside { grid-template-columns: 1fr; }
}

.bb-rail {
  display: flex;
  gap: 18px;
  margin-inline: -4px;
  padding: 6px 4px 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--bb-panel-2) transparent;
  overscroll-behavior-x: contain;
}

.bb-rail > * {
  flex: 0 0 clamp(258px, 32vw, 340px);
  scroll-snap-align: start;
}

.bb-rail.is-drag { cursor: grabbing; scroll-snap-type: none; }

.bb-rail::-webkit-scrollbar { height: 6px; }
.bb-rail::-webkit-scrollbar-track { background: transparent; }
.bb-rail::-webkit-scrollbar-thumb { background: var(--bb-panel-2); border-radius: 3px; }

/* ---------- 9. 章节目录 ---------- */
.bb-toc {
  position: sticky;
  top: 104px;
  padding-left: 18px;
  border-left: 2px solid var(--bb-line);
}

.bb-toc a {
  position: relative;
  display: block;
  padding: 7px 0;
  font-size: 14px;
  color: var(--bb-text-2);
  text-decoration: none;
  transition: color .2s var(--bb-ease);
}

.bb-toc a:hover { color: var(--bb-text); }

.bb-toc a.is-current { color: var(--bb-cyan); }

.bb-toc a.is-current::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  width: 2px;
  height: 18px;
  transform: translateY(-50%);
  background: var(--bb-cyan);
  box-shadow: 0 0 12px rgba(34, 224, 214, .8);
}

@media (max-width: 860px) {
  .bb-toc { position: static; }
}

/* ---------- 10. 面包屑 ---------- */
.bb-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--bb-font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--bb-steel);
}

.bb-breadcrumb__link {
  color: var(--bb-text-2);
  text-decoration: none;
  transition: color .2s var(--bb-ease);
}

.bb-breadcrumb__link:hover { color: var(--bb-cyan); }

.bb-breadcrumb__sep { color: var(--bb-line-strong); }

.bb-breadcrumb [aria-current="page"] { color: var(--bb-text); }

/* ---------- 11. 长文排版 ---------- */
.bb-prose {
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--bb-text-2);
}

.bb-prose > * + * { margin-top: 1.1em; }

.bb-prose h2 {
  margin-top: 1.7em;
  padding-top: .6em;
  border-top: 1px solid var(--bb-line);
  font-family: var(--bb-font-head);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--bb-text);
  transform: skewX(-2deg);
  transform-origin: left bottom;
}

.bb-prose h3 {
  margin-top: 1.5em;
  font-size: 19px;
  color: var(--bb-text);
}

.bb-prose strong { color: var(--bb-text); }

.bb-prose a {
  color: var(--bb-cyan);
  text-underline-offset: 3px;
}

.bb-prose ul { display: grid; gap: .6em; list-style: none; }

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

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

.bb-prose blockquote {
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--bb-violet);
  color: var(--bb-text);
}

.bb-prose code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--bb-panel-2);
  font-family: var(--bb-font-mono);
  font-size: .92em;
  color: var(--bb-cyan);
}

/* ---------- 12. 图片容器基础规则 ---------- */
.bb-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  background:
    linear-gradient(140deg, rgba(34, 224, 214, .12), rgba(162, 56, 255, .14)),
    var(--bb-panel);
}

.bb-media > img,
.bb-media > picture > img,
.bb-media > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bb-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-bottom: 2px solid rgba(34, 224, 214, .5);
  background: linear-gradient(to top, rgba(7, 11, 20, .58), transparent 46%);
}

.bb-media--wide { aspect-ratio: 21 / 9; }
.bb-media--tall { aspect-ratio: 3 / 4; }
.bb-media--square { aspect-ratio: 1 / 1; }

.bb-media--stamp {
  border-style: dashed;
  border-color: var(--bb-line-violet);
}

/* ---------- 13. 显现动效 ---------- */
html.bb-js [data-reveal] {
  opacity: 0;
  transform: translateY(20px) scale(.995);
}

html.bb-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .62s var(--bb-ease), transform .62s var(--bb-ease);
}

/* ---------- 14. 页头 ---------- */
.bb-skip {
  position: absolute;
  left: 50%;
  top: -60px;
  z-index: 90;
  padding: 10px 18px;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  background: var(--bb-cyan);
  color: #04141A;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top .2s var(--bb-ease);
}

.bb-skip:focus { top: 0; }

.bb-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 12px var(--bb-gutter) 0;
}

.bb-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--bb-shell);
  margin-inline: auto;
  padding: 9px 14px 9px 18px;
  border: 1px solid var(--bb-line);
  border-radius: 999px;
  background: rgba(14, 21, 38, .84);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .95);
  transition: box-shadow .3s var(--bb-ease), border-color .3s var(--bb-ease);
}

.bb-header.is-scrolled .bb-header__bar {
  border-color: var(--bb-line-strong);
  box-shadow: 0 26px 50px -24px rgba(0, 0, 0, 1), 0 0 0 1px rgba(34, 224, 214, .08);
}

/* 品牌 */
.bb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--bb-text);
}

.bb-brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--bb-cyan), var(--bb-violet) 62%, var(--bb-magenta));
  box-shadow: 0 0 18px -4px rgba(34, 224, 214, .8);
}

.bb-brand__mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--bb-ink);
}

.bb-brand__mark::before {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: var(--bb-cyan);
  animation: bb-pulse 3s ease-in-out infinite;
}

.bb-brand__text { display: flex; flex-direction: column; line-height: 1.06; }

.bb-brand__name {
  font-family: var(--bb-font-head);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -.01em;
  color: var(--bb-text);
}

.bb-brand__tag {
  font-family: var(--bb-font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bb-steel);
}

.bb-brand--footer .bb-brand__name { font-size: 19px; }
.bb-brand--footer .bb-brand__tag { font-size: 10.5px; letter-spacing: .24em; }

/* 导航 */
.bb-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.bb-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.bb-nav__list::-webkit-scrollbar { display: none; }

.bb-nav__link {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--bb-text-2);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--bb-ease), color .2s var(--bb-ease);
}

.bb-nav__link:hover {
  background: var(--bb-panel-2);
  color: var(--bb-text);
}

.bb-nav__link[aria-current="page"] {
  background: var(--bb-cyan);
  color: #04141A;
  box-shadow: 0 10px 22px -14px rgba(34, 224, 214, 1);
}

/* 右端 */
.bb-header__tail {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.bb-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--bb-font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--bb-ok);
  white-space: nowrap;
}

.bb-live__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bb-ok);
  box-shadow: 0 0 0 4px rgba(61, 214, 140, .16);
  animation: bb-pulse 3s ease-in-out infinite;
}

@keyframes bb-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .42; transform: scale(.76); }
}

/* 汉堡 */
.bb-burger {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--bb-line);
  border-radius: 999px;
  background: var(--bb-panel-2);
  color: var(--bb-text);
  cursor: pointer;
}

.bb-burger__bars {
  position: relative;
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color .2s var(--bb-ease);
}

.bb-burger__bars::before,
.bb-burger__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .24s var(--bb-ease), top .24s var(--bb-ease);
}

.bb-burger__bars::before { top: -5px; }
.bb-burger__bars::after { top: 5px; }

[data-nav-toggle][aria-expanded="true"] .bb-burger__bars { background: transparent; }
[data-nav-toggle][aria-expanded="true"] .bb-burger__bars::before { top: 0; transform: rotate(45deg); }
[data-nav-toggle][aria-expanded="true"] .bb-burger__bars::after { top: 0; transform: rotate(-45deg); }

/* 滚动进度线 */
.bb-progress {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: rgba(138, 148, 166, .16);
  overflow: hidden;
  pointer-events: none;
}

.bb-progress__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--bb-cyan), var(--bb-violet) 52%, var(--bb-orange));
  transition: width .12s linear;
}

/* 返回顶部 */
.bb-totop {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px 11px 13px;
  border: 1px solid rgba(34, 224, 214, .4);
  border-radius: 999px;
  background: rgba(14, 21, 38, .93);
  color: var(--bb-text);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: 0 22px 42px -24px rgba(0, 0, 0, .98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity .3s var(--bb-ease), transform .3s var(--bb-ease),
              visibility .3s var(--bb-ease), border-color .2s var(--bb-ease);
}

.bb-totop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.bb-totop:hover { border-color: var(--bb-cyan); }

.bb-totop__arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid var(--bb-cyan);
}

/* ---------- 15. 页脚 ---------- */
.bb-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--bb-line);
  background:
    radial-gradient(120% 74% at 10% 0%, rgba(34, 224, 214, .10), transparent 56%),
    radial-gradient(96% 68% at 92% 6%, rgba(162, 56, 255, .12), transparent 60%),
    linear-gradient(180deg, #080D18, var(--bb-ink));
  color: var(--bb-text-2);
}

.bb-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bb-cyan), var(--bb-violet) 46%, var(--bb-orange));
  opacity: .9;
}

.bb-footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) minmax(0, 2fr);
  gap: 40px 48px;
  padding: 56px 0 44px;
}

.bb-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bb-footer__blurb {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.72;
  color: var(--bb-steel);
}

.bb-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

.bb-footer__title {
  margin-bottom: 14px;
  font-family: var(--bb-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bb-cyan);
}

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

.bb-footer__link {
  font-size: 14.5px;
  color: var(--bb-text-2);
  text-decoration: none;
  transition: color .2s var(--bb-ease), padding-left .2s var(--bb-ease);
}

.bb-footer__link:hover {
  color: var(--bb-cyan);
  padding-left: 5px;
}

.bb-footer__list--plain { gap: 12px; }

.bb-footer__line {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bb-steel);
  overflow-wrap: anywhere;
}

.bb-footer__line .bb-mono { font-size: 13.5px; color: var(--bb-text-2); }

.bb-footer__legal {
  display: grid;
  gap: 12px;
  padding: 22px 0 38px;
  border-top: 1px solid var(--bb-line);
}

.bb-footer__note {
  max-width: 72ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--bb-steel);
}

.bb-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

.bb-footer__icp,
.bb-footer__copy {
  font-family: var(--bb-font-mono);
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--bb-steel);
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1080px) {
  .bb-nav__link { padding: 8px 11px; font-size: 13.5px; }
  .bb-live { display: none; }
}

@media (max-width: 960px) {
  .bb-footer__top { grid-template-columns: 1fr; gap: 34px; padding: 44px 0 36px; }
  .bb-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .bb-header { padding: 10px 12px 0; }

  .bb-header__bar {
    justify-content: space-between;
    padding: 8px 10px 8px 14px;
  }

  .bb-brand__tag { display: none; }

  .bb-header__tail { display: none; }

  .bb-burger { display: inline-flex; }

  .bb-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex: none;
    padding: 10px;
    border: 1px solid var(--bb-line);
    border-radius: 22px;
    background: rgba(14, 21, 38, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 28px 52px -22px rgba(0, 0, 0, .98);
  }

  .bb-nav[data-open] { display: block; }

  .bb-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 0;
    overflow: visible;
  }

  .bb-nav__link {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 15px;
  }

  .bb-progress { left: 16px; right: 16px; }
}

@media (max-width: 620px) {
  :root { --bb-gutter: 16px; }

  .bb-footer__cols { grid-template-columns: 1fr 1fr; gap: 26px 18px; }

  .bb-totop { right: 14px; bottom: 16px; padding: 10px 14px 10px 12px; }
  .bb-totop__text { display: none; }

  .bb-rail > * { flex: 0 0 78vw; }
}

/* ---------- 17. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  html.bb-js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .bb-btn:hover,
  .bb-totop:hover { transform: none; }

  .bb-footer__link:hover { padding-left: 0; }
}
