/* ==========================================================================
   宝威体育赛事 — /assets/site.css
   共享层：reset / 变量 / 中文排版 / 页头 / 页脚 / 通用组件 / 栅格
   ========================================================================== */

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

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

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

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

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

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

button { background: none; border: 0; }

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; width: 100%; }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #050A16;
  --panel: #0A1426;
  --line: #182740;
  --cyan: #2CF2D6;
  --orange: #FF7A1F;
  --silver: #C3CFDD;
  --white: #F2F7FF;
  --cyan-deep: #0B6E66;
  --amber: #FFC24B;
  --paper: #E8E2D6;
  --paper-ink: #16202F;

  --font-head: "Oswald", "Barlow Condensed", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", 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", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --shell: 1240px;
  --gap: 24px;
  --pad: 24px;
  --r-sm: 2px;
  --r-md: 6px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 基底与中文排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--silver);
  background-color: var(--ink);
  background-image:
    radial-gradient(1200px 620px at 74% -12%, rgba(44, 242, 214, .07), transparent 62%),
    radial-gradient(900px 520px at -8% 104%, rgba(255, 122, 31, .06), transparent 60%),
    linear-gradient(rgba(24, 39, 64, .30) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 39, 64, .30) 1px, transparent 1px);
  background-size: auto, auto, 96px 96px, 96px 96px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-wrap: balance;
}

h1 { font-size: clamp(42px, 7.4vw, 112px); }
h2 { font-size: clamp(26px, 3.4vw, 48px); }
h3 { font-size: clamp(21px, 2.3vw, 34px); }
h4 { font-size: 20px; line-height: 1.3; letter-spacing: 0; }

p { max-width: 68ch; }

strong, b { font-weight: 700; color: var(--white); }

::selection { background: var(--cyan); color: var(--ink); }

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

/* ---------- 4. 容器与辅助类 ---------- */
.bw-shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--pad);
}

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

.bw-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  font-weight: 700;
  color: var(--cyan);
}

.bw-mono {
  font-family: var(--font-mono);
  font-size: .92em;
  letter-spacing: .01em;
  word-break: break-word;
}

.bw-link {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.bw-link:hover, .bw-link:focus-visible { color: #ff9145; }
.bw-link:visited { color: var(--silver); }

#main-content { display: block; }

/* ---------- 5. 页面骨架：网格 ---------- */
.bw-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.bw-col-3 { grid-column: span 3; }
.bw-col-4 { grid-column: span 4; }
.bw-col-5 { grid-column: span 5; }
.bw-col-6 { grid-column: span 6; }
.bw-col-7 { grid-column: span 7; }
.bw-col-8 { grid-column: span 8; }
.bw-col-9 { grid-column: span 9; }
.bw-col-12 { grid-column: span 12; }

/* ---------- 6. 分区头 ---------- */
.bw-section { padding: 72px 0; }

.bw-section__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.bw-section__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cyan);
  white-space: nowrap;
}
.bw-section__index::before {
  content: "— ";
  color: var(--line);
}

.bw-section__note {
  font-size: 14px;
  color: var(--silver);
  opacity: .82;
  max-width: 52ch;
  margin-left: auto;
}

/* ---------- 7. 正文容器 ---------- */
.bw-prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--silver);
}
.bw-prose p + p { margin-top: 1.05em; }
.bw-prose h2 { margin: 2.1em 0 .6em; }
.bw-prose h3 { margin: 1.8em 0 .5em; }
.bw-prose ul, .bw-prose ol {
  margin: 1em 0;
  padding-left: 1.2em;
}
.bw-prose ul li { list-style: none; position: relative; padding-left: 1em; }
.bw-prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .72em;
  width: 8px; height: 1px;
  background: var(--cyan);
}
.bw-prose ol { list-style: decimal; }
.bw-prose ol li { margin: .35em 0; padding-left: .2em; }

.bw-paper {
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: var(--r-md);
  padding: 30px;
}
.bw-paper h2, .bw-paper h3 { color: var(--ink); }
.bw-paper .bw-num { color: var(--cyan-deep); }
.bw-paper a { color: var(--cyan-deep); text-decoration: underline; }

/* ---------- 8. 按钮 ---------- */
.bw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.bw-btn:active { transform: translateY(1px); }

.bw-btn--accent {
  background: var(--orange);
  color: #0A1426;
}
.bw-btn--accent:hover, .bw-btn--accent:focus-visible { background: #FF9445; }

.bw-btn--ghost {
  background: rgba(10, 20, 38, .6);
  border-color: var(--line);
  color: var(--white);
}
.bw-btn--ghost:hover, .bw-btn--ghost:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.bw-btn--cyan {
  background: var(--cyan);
  color: #04211E;
}
.bw-btn--cyan:hover, .bw-btn--cyan:focus-visible { background: #57F7E1; }

.bw-btn--sm { height: 32px; padding: 0 14px; font-size: 13px; }
.bw-btn--lg { height: 50px; padding: 0 28px; font-size: 16px; }

/* ---------- 9. 面板 / 比分牌 / 标签 ---------- */
.bw-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
}
.bw-panel--flush { padding: 0; overflow: hidden; }

.bw-scoreboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.bw-scoreboard__side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.bw-scoreboard__team {
  font-size: 15px;
  color: var(--white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bw-scoreboard__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}
.bw-scoreboard__value--dim { color: var(--silver); }

.bw-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--silver);
  white-space: nowrap;
}
.bw-tag--cyan { border-color: rgba(44, 242, 214, .5); color: var(--cyan); }
.bw-tag--amber { border-color: rgba(255, 194, 75, .5); color: var(--amber); }

/* ---------- 10. 图片容器（页面阶段放置占位图） ---------- */
.bw-figure {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.bw-figure__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(24, 39, 64, .75) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 39, 64, .75) 1px, transparent 1px);
  background-size: 32px 32px;
}
.bw-figure__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.06);
}

.bw-figure--tall .bw-figure__media { aspect-ratio: 3 / 4; }
.bw-figure--square .bw-figure__media { aspect-ratio: 1 / 1; }
.bw-figure--wide .bw-figure__media { aspect-ratio: 21 / 9; }

.bw-figure__cap {
  display: block;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
  color: var(--silver);
}

/* ---------- 11. 面包屑 ---------- */
.bw-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 22px 0 0;
  font-size: 13px;
  color: var(--silver);
}
.bw-breadcrumb a { color: var(--silver); transition: color .2s var(--ease); }
.bw-breadcrumb a:hover, .bw-breadcrumb a:focus-visible { color: var(--cyan); }
.bw-breadcrumb__sep { color: var(--line); }
.bw-breadcrumb [aria-current="page"] { color: var(--white); }

/* ---------- 12. 显现动效协议 ---------- */
html[data-reveal="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .36s var(--ease), transform .36s var(--ease);
}
html[data-reveal="on"] [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
html[data-reveal="on"] .bw-stagger > [data-reveal]:nth-child(1) { transition-delay: 0s; }
html[data-reveal="on"] .bw-stagger > [data-reveal]:nth-child(2) { transition-delay: .06s; }
html[data-reveal="on"] .bw-stagger > [data-reveal]:nth-child(3) { transition-delay: .12s; }
html[data-reveal="on"] .bw-stagger > [data-reveal]:nth-child(4) { transition-delay: .18s; }
html[data-reveal="on"] .bw-stagger > [data-reveal]:nth-child(5) { transition-delay: .24s; }
html[data-reveal="on"] .bw-stagger > [data-reveal]:nth-child(6) { transition-delay: .30s; }
html[data-reveal="on"] .bw-stagger > [data-reveal]:nth-child(7) { transition-delay: .36s; }
html[data-reveal="on"] .bw-stagger > [data-reveal]:nth-child(8) { transition-delay: .42s; }

/* ---------- 13. 返回顶部 ---------- */
.bw-totop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(10, 20, 38, .92);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease),
              visibility .25s var(--ease), background-color .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease);
}
.bw-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.bw-totop:hover, .bw-totop:focus-visible {
  border-color: var(--cyan);
  background: var(--cyan-deep);
  color: var(--white);
}

/* ==========================================================================
   页头
   ========================================================================== */
.bw-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(5, 10, 22, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bw-header__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
  pointer-events: none;
}

.bw-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 130;
  padding: 10px 18px;
  background: var(--orange);
  color: #0A1426;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: top .2s var(--ease);
}
.bw-skip:focus { top: 0; }

.bw-header__barinner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 70px;
}

/* 品牌 */
.bw-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.bw-brand__mark {
  position: relative;
  display: block;
  width: 18px;
  height: 22px;
  flex: 0 0 auto;
}
.bw-brand__mark::before,
.bw-brand__mark::after {
  content: "";
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan), rgba(44, 242, 214, .18));
}
.bw-brand__mark::before { left: 0; }
.bw-brand__mark::after { right: 0; }
.bw-brand__mark i {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--orange);
}
.bw-brand__name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--white);
  white-space: nowrap;
}

/* 实时状态条 */
.bw-livebar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  color: var(--silver);
  white-space: nowrap;
  max-width: none;
}
.bw-livebar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(44, 242, 214, .14);
  flex: 0 0 auto;
}

/* 导航 */
.bw-nav { margin-left: auto; }
.bw-nav__list {
  display: flex;
  align-items: center;
  gap: 22px;
}
.bw-nav__item { display: block; }
.bw-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--silver);
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.bw-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s var(--ease);
}
.bw-nav__link:hover,
.bw-nav__link:focus-visible { color: var(--white); }
.bw-nav__link:hover::after,
.bw-nav__link:focus-visible::after { transform: scaleX(1); }
.bw-nav__link[aria-current="page"] { color: var(--white); }
.bw-nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* 右上工具区 */
.bw-header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.bw-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--silver);
  font-size: 13px;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.bw-search:hover, .bw-search:focus-visible {
  border-color: var(--cyan);
  color: var(--white);
}
.bw-search__icon {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  flex: 0 0 auto;
}
.bw-search__icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 6px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg);
}

.bw-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.bw-nav-toggle:hover, .bw-nav-toggle:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}
.bw-nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}
.bw-nav-toggle__bars::before,
.bw-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: top .25s var(--ease), transform .25s var(--ease);
}
.bw-nav-toggle__bars::before { top: 0; }
.bw-nav-toggle__bars::after { top: 10px; }
.bw-header[data-open] .bw-nav-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.bw-header[data-open] .bw-nav-toggle__bars::after { top: 5px; transform: rotate(-45deg); }

/* 赛程日历时间轴 */
.bw-timeline {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 20, 38, .92), rgba(5, 10, 22, .88));
}
.bw-timeline__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  transition: height .28s var(--ease);
}
.bw-header--compact .bw-timeline__inner { height: 46px; }

.bw-timeline__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--cyan);
  white-space: nowrap;
  flex: 0 0 auto;
}

.bw-timeline__arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.bw-timeline__arrow:hover,
.bw-timeline__arrow:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.bw-timeline__track {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 2px;
}
.bw-timeline__track::-webkit-scrollbar { display: none; }

.bw-timeline__day {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(5, 10, 22, .6);
  color: var(--silver);
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease),
              color .2s var(--ease);
}
.bw-timeline__day:hover { border-color: var(--cyan); }
.bw-timeline__day[aria-pressed="true"] {
  background: var(--cyan-deep);
  border-color: var(--cyan);
  color: var(--white);
}
.bw-timeline__day-w {
  font-size: 11px;
  letter-spacing: .06em;
  opacity: .85;
}
.bw-timeline__day-d {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.bw-timeline__day[aria-pressed="true"] .bw-timeline__day-d { color: var(--cyan); }

.bw-timeline__day--today::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex: 0 0 auto;
}

@keyframes bwDayPulse {
  0%   { box-shadow: 0 0 0 0 rgba(44, 242, 214, .55); }
  100% { box-shadow: 0 0 0 10px rgba(44, 242, 214, 0); }
}
.bw-timeline__day--today[aria-pressed="true"] {
  animation: bwDayPulse .7s var(--ease) 1;
}

.bw-header--compact .bw-timeline__day { padding: 2px 10px; min-height: 30px; }
.bw-header--compact .bw-timeline__day-w { display: none; }
.bw-header--compact .bw-timeline__day-d { font-size: 13px; }

/* 抽屉打开时锁定滚动 */
html[data-nav-open] { overflow: hidden; }

/* ==========================================================================
   页脚
   ========================================================================== */
.bw-footer {
  margin-top: 88px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 20, 38, .78), rgba(5, 10, 22, 1));
}

.bw-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 56px 0 36px;
}

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

.bw-brand--footer { margin-bottom: 4px; }

.bw-footer__desc {
  margin-top: 14px;
  max-width: 24em;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

.bw-footer__title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--cyan);
  line-height: 1.4;
}
.bw-footer__title::before {
  content: "— ";
  color: var(--line);
}

.bw-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
}
.bw-footer__links a {
  color: var(--silver);
  transition: color .2s var(--ease);
}
.bw-footer__links a:hover,
.bw-footer__links a:focus-visible { color: var(--cyan); }
.bw-footer__links a:visited { color: var(--silver); }

.bw-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 36px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--silver);
}
.bw-footer__meta p { max-width: none; }
.bw-footer__meta .bw-mono { color: var(--white); }

.bw-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 20px 0 34px;
  font-size: 12px;
  color: var(--silver);
  opacity: .85;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .bw-nav__list { gap: 16px; }
  .bw-nav__link { font-size: 13px; }
}

@media (max-width: 1080px) {
  :root { --pad: 20px; --gap: 20px; }

  .bw-livebar { display: none; }
  .bw-nav-toggle { display: inline-flex; }

  .bw-nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    margin: 0;
    padding: 96px 24px 48px;
    background: rgba(5, 10, 22, .985);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1.5rem);
    transition: opacity .28s var(--ease), transform .28s var(--ease),
                visibility .28s var(--ease);
  }
  .bw-header[data-open] .bw-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .bw-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .bw-nav__item { border-bottom: 1px solid var(--line); }
  .bw-nav__link {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 18px 0;
    font-size: 20px;
    min-height: 56px;
  }
  .bw-nav__link::before {
    content: attr(data-index);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--orange);
    flex: 0 0 auto;
  }
  .bw-nav__link::after { display: none; }

  .bw-col-3, .bw-col-4, .bw-col-5 { grid-column: span 6; }

  .bw-section { padding: 56px 0; }
  .bw-section__note { margin-left: 0; }

  .bw-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; padding: 44px 0 30px; }
}

@media (max-width: 840px) {
  .bw-timeline__label { display: none; }
  .bw-timeline__day-w { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(38px, 10.5vw, 64px); }

  .bw-grid { gap: 16px; }
  .bw-col-3, .bw-col-4, .bw-col-5,
  .bw-col-6, .bw-col-7, .bw-col-8, .bw-col-9 { grid-column: span 12; }

  .bw-header__barinner { min-height: 64px; gap: 12px; }
  .bw-btn { min-height: 44px; }
  .bw-search { height: 44px; }
  .bw-totop { right: 14px; bottom: 14px; }

  .bw-paper { padding: 22px; }
  .bw-panel { padding: 18px; }
}

@media (max-width: 620px) {
  .bw-header__cta { display: none; }
  .bw-brand__name { font-size: 15px; letter-spacing: .04em; }
  .bw-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .bw-footer__meta { flex-direction: column; gap: 8px; }
  .bw-scoreboard { flex-direction: column; align-items: flex-start; gap: 10px; }
}

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

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

  html[data-reveal="on"] [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .bw-timeline__track { scroll-behavior: auto; }
}
