/* ============================================================
   /assets/site.css — 博业体育赛事 共享外壳
   赛场指挥台：暗场墨绿 + 荧光青 + 红黄牌状态色
   ============================================================ */

/* ---------- 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, p, ul, ol, li, figure, blockquote, dl, dd, fieldset {
  margin: 0;
}

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

img, svg, picture, video { max-width: 100%; }
img { height: auto; }

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

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

[hidden] { display: none !important; }

/* ---------- tokens ---------- */
:root {
  --ink: #06110E;
  --ink-2: #0B1B16;
  --ink-3: #0C1F19;
  --league: #17564A;
  --cyan: #4FF0C0;
  --cyan-soft: #A8FFE4;
  --cream: #F3EADA;
  --cream-2: #E6D9C2;
  --red: #D8492B;
  --yellow: #F2C230;
  --text: #EAF3EF;
  --paper-ink: #1A1410;
  --muted: #7F958C;
  --muted-paper: #6B5E4E;

  --line: rgba(79, 240, 192, 0.16);
  --line-strong: rgba(79, 240, 192, 0.38);
  --line-paper: rgba(26, 20, 16, 0.16);

  --r-pill: 999px;
  --r-lg: 32px;
  --r-md: 20px;
  --r-sm: 12px;

  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Impact, var(--font-sans);
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, "Cascadia Mono", "Roboto Mono", Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-float: 0 26px 62px -34px rgba(0, 0, 0, 0.95);
  --gutter: clamp(18px, 4vw, 40px);
  --maxw: 1280px;
}

/* ---------- 中文排版基线 ---------- */
body {
  min-height: 100%;
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 520px at 18% -12%, rgba(23, 86, 74, 0.5), transparent 70%),
    radial-gradient(900px 480px at 92% 4%, rgba(79, 240, 192, 0.08), transparent 62%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--cyan);
  color: #04120E;
}

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

#main-content { scroll-margin-top: 118px; }

/* ---------- 容器与画布分区 ---------- */
.by-container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.by-container--tight { max-width: 900px; }

.by-band {
  position: relative;
  padding-block: clamp(52px, 7.5vw, 108px);
}

.by-band--ink { background-color: var(--ink); color: var(--text); }
.by-band--deep { background-color: var(--ink-3); color: var(--text); }
.by-band--league {
  background-image: linear-gradient(158deg, var(--league) 0%, var(--ink-3) 68%, var(--ink) 100%);
  color: var(--text);
}
.by-band--paper {
  background-color: var(--cream);
  background-image: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  color: var(--paper-ink);
}

.by-gridlines {
  background-image:
    linear-gradient(to right, rgba(79, 240, 192, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(79, 240, 192, 0.07) 1px, transparent 1px);
  background-size: 76px 76px;
}

.by-band--paper.by-gridlines {
  background-image:
    linear-gradient(to right, rgba(26, 20, 16, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26, 20, 16, 0.07) 1px, transparent 1px);
  background-size: 76px 76px;
}

/* ---------- 排版组件 ---------- */
.by-display {
  font-family: var(--font-cond), var(--font-sans);
  font-weight: 900;
  font-size: clamp(2.75rem, 9vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-transform: none;
}

.by-h1 {
  font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.by-h2 {
  font-weight: 800;
  font-size: clamp(1.55rem, 3.1vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.by-h3 {
  font-weight: 800;
  font-size: clamp(1.08rem, 1.9vw, 1.35rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.by-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan);
}

.by-band--paper .by-eyebrow { color: var(--red); }

.by-lede {
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(234, 243, 239, 0.82);
}

.by-band--paper .by-lede { color: rgba(26, 20, 16, 0.78); }

.by-prose { font-size: 16.5px; line-height: 1.78; }
.by-prose p { max-width: 64ch; }
.by-prose p + p { margin-top: 1em; }
.by-prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.by-band--paper .by-prose a { color: var(--red); }

.by-note--v {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.by-rule {
  height: 1px;
  border: 0;
  background: var(--line);
}
.by-band--paper .by-rule { background: var(--line-paper); }

/* ---------- 栅格 ---------- */
.by-grid { display: grid; gap: clamp(18px, 2.6vw, 32px); }
.by-grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.by-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.by-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.by-grid--split { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }

.by-stack > * + * { margin-top: var(--stack, 18px); }

@media (max-width: 900px) {
  .by-grid--two,
  .by-grid--three,
  .by-grid--split { grid-template-columns: 1fr; }
}

/* ---------- 按钮 ---------- */
.by-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.by-btn--primary {
  background: var(--cyan);
  color: #04120E;
  box-shadow: 0 0 0 1px rgba(79, 240, 192, 0.5), 0 12px 30px -18px rgba(79, 240, 192, 0.9);
}
.by-btn--primary:hover {
  background: var(--cyan-soft);
  transform: translateY(-1px);
}

.by-btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.by-btn--ghost:hover {
  background: rgba(79, 240, 192, 0.1);
  color: var(--cyan-soft);
  border-color: var(--cyan);
}

.by-btn--red {
  background: var(--red);
  color: var(--cream);
}
.by-btn--red:hover { background: #E85B3C; transform: translateY(-1px); }

.by-btn--sm { padding: 9px 16px; font-size: 13px; }

.by-band--paper .by-btn--ghost {
  color: var(--paper-ink);
  border-color: rgba(26, 20, 16, 0.28);
}
.by-band--paper .by-btn--ghost:hover {
  background: rgba(26, 20, 16, 0.06);
  color: var(--paper-ink);
  border-color: var(--paper-ink);
}

.by-link-quiet {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(127, 149, 140, 0.6);
  white-space: nowrap;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
.by-link-quiet:hover { color: var(--cyan); text-decoration-color: var(--cyan); }

/* ---------- 状态胶囊 ---------- */
.by-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: rgba(79, 240, 192, 0.08);
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.by-chip--cyan { background: rgba(79, 240, 192, 0.12); color: var(--cyan-soft); border-color: var(--line-strong); }
.by-chip--league { background: var(--league); color: var(--cyan-soft); border-color: transparent; }
.by-chip--red { background: var(--red); color: var(--cream); border-color: transparent; }
.by-chip--yellow { background: var(--yellow); color: #241A06; border-color: transparent; }

/* ---------- 数据脉冲 ---------- */
.by-pulse {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(79, 240, 192, 0.55);
  animation: by-pulse 2.4s var(--ease) infinite;
}

@keyframes by-pulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(79, 240, 192, 0.5); }
  50% { transform: scale(0.78); opacity: 0.65; box-shadow: 0 0 0 7px rgba(79, 240, 192, 0); }
}

/* ---------- 统计与数据行 ---------- */
.by-stat { display: flex; flex-direction: column; gap: 4px; }

.by-stat__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
}
.by-band--paper .by-stat__num { color: var(--red); }

.by-stat__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.by-band--paper .by-stat__label { color: var(--muted-paper); }

.by-datarow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease);
}
.by-band--paper .by-datarow { border-bottom-color: var(--line-paper); }

.by-datarow:hover { background: rgba(79, 240, 192, 0.07); }
.by-band--paper .by-datarow:hover { background: rgba(26, 20, 16, 0.05); }

.by-datarow__key {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15.5px;
  font-weight: 500;
}

.by-datarow__val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--cyan);
  white-space: nowrap;
}
.by-band--paper .by-datarow__val { color: var(--paper-ink); }

.by-datarow__arrow {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  opacity: 0.4;
  transform: translateX(0);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease), color 0.22s var(--ease);
}
.by-datarow:hover .by-datarow__arrow {
  transform: translateX(4px);
  opacity: 1;
  color: var(--cyan);
}

/* ---------- 图片容器基础规则 ---------- */
.by-figure { margin: 0; display: grid; gap: 10px; }

.by-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-md);
  background-color: var(--league);
  background-image: linear-gradient(148deg, var(--league) 0%, var(--ink-3) 72%, var(--ink) 100%);
}

.by-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(79, 240, 192, 0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(79, 240, 192, 0.14) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.5;
}

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

.by-media--16x9 { aspect-ratio: 16 / 9; }
.by-media--4x3 { aspect-ratio: 4 / 3; }
.by-media--4x5 { aspect-ratio: 4 / 5; }
.by-media--1x1 { aspect-ratio: 1 / 1; }

.by-figure__caption {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.by-band--paper .by-figure__caption { color: var(--muted-paper); }

/* ---------- 筛选胶囊 ---------- */
.by-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.by-filter__btn {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.by-filter__btn:hover { color: var(--cyan-soft); border-color: var(--line-strong); }

.by-filter__btn[aria-pressed="true"] {
  background: var(--cyan);
  border-color: transparent;
  color: #04120E;
}

.by-band--paper .by-filter__btn { color: var(--muted-paper); border-color: var(--line-paper); }
.by-band--paper .by-filter__btn:hover { color: var(--paper-ink); border-color: var(--paper-ink); }
.by-band--paper .by-filter__btn[aria-pressed="true"] { background: var(--paper-ink); color: var(--cream); }

.by-empty {
  display: none;
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.by-empty[data-empty="show"] { display: block; }

/* ---------- 面包屑 ---------- */
.by-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.by-breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.by-breadcrumb li + li::before { content: "/"; color: rgba(127, 149, 140, 0.55); }
.by-breadcrumb a { color: var(--muted); transition: color 0.2s var(--ease); }
.by-breadcrumb a:hover { color: var(--cyan); }
.by-breadcrumb [aria-current="page"] { color: var(--cyan-soft); }

/* ---------- 入场显现协议 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

[data-reveal="in"] {
  opacity: 1;
  transform: none;
}

/* ============================================================
   页头：悬浮胶囊浮岛
   ============================================================ */
.by-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: #04120E;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}
.by-skip:focus { transform: translateY(0); }

.by-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 14px var(--gutter) 0;
  background-image: linear-gradient(
    180deg,
    rgba(6, 17, 14, 0.94) 0%,
    rgba(6, 17, 14, 0.62) 58%,
    rgba(6, 17, 14, 0) 100%
  );
}

.by-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 26px);
  padding: 9px 12px 9px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background-color: rgba(12, 31, 25, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: max-width 0.32s var(--ease), padding 0.32s var(--ease),
    background-color 0.32s var(--ease), border-color 0.32s var(--ease),
    box-shadow 0.32s var(--ease);
}

.by-header[data-condensed="true"] .by-header__inner {
  max-width: 1120px;
  padding: 6px 10px 6px 20px;
  background-color: rgba(6, 17, 14, 0.94);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-float);
}

.by-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 0 0 auto;
  min-width: 0;
}

.by-brand__mark {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  white-space: nowrap;
}

.by-brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.by-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

.by-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.by-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: rgba(234, 243, 239, 0.78);
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.by-nav__link:hover {
  background: rgba(79, 240, 192, 0.1);
  color: var(--cyan-soft);
}

.by-nav__link[aria-current="page"] {
  background: rgba(79, 240, 192, 0.14);
  color: var(--cyan-soft);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.by-nav__link[aria-current="page"]::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  flex: 0 0 auto;
}

.by-nav__cta { display: none; }

.by-header__aside {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.by-navtoggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: rgba(79, 240, 192, 0.06);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.by-navtoggle:hover { background: rgba(79, 240, 192, 0.14); color: var(--cyan-soft); }

.by-navtoggle__bars {
  position: relative;
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color 0.25s var(--ease);
}

.by-navtoggle__bars::before,
.by-navtoggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.28s var(--ease);
}
.by-navtoggle__bars::before { top: -6px; }
.by-navtoggle__bars::after { top: 6px; }

.by-navtoggle[aria-expanded="true"] .by-navtoggle__bars { background: transparent; }
.by-navtoggle[aria-expanded="true"] .by-navtoggle__bars::before { transform: translateY(6px) rotate(45deg); }
.by-navtoggle[aria-expanded="true"] .by-navtoggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.by-navtoggle__label { white-space: nowrap; }

/* 滚动进度细线 */
.by-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(79, 240, 192, 0.1);
  pointer-events: none;
}

.by-progress__bar {
  display: block;
  height: 100%;
  background-image: linear-gradient(90deg, var(--league) 0%, var(--cyan) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.12s linear;
}

@media (max-width: 1180px) {
  .by-link-quiet { display: none; }
  .by-nav__link { padding: 9px 11px; font-size: 13.5px; }
}

@media (max-width: 1024px) {
  .by-chip { display: none; }
}

/* ---------- 移动端：胶囊展开为浮岛面板 ---------- */
@media (max-width: 900px) {
  .by-header { padding-top: 10px; }

  .by-header__inner {
    padding: 8px 8px 8px 16px;
    gap: 10px;
  }

  .by-brand__mark { font-size: 16px; }
  .by-brand__sub { font-size: 9px; letter-spacing: 0.16em; }

  .by-header__aside > .by-btn { display: none; }
  .by-navtoggle { display: inline-flex; }

  .by-nav {
    position: absolute;
    top: calc(100% + 6px);
    left: clamp(10px, 3vw, 24px);
    right: clamp(10px, 3vw, 24px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    max-height: calc(100vh - 132px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 26px;
    background-color: rgba(8, 24, 20, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 34px 68px -34px #000;
  }

  .by-header[data-open="true"] .by-nav {
    display: flex;
    animation: by-drop 0.28s var(--ease);
  }

  .by-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }

  .by-nav__link {
    display: flex;
    justify-content: flex-start;
    padding: 13px 16px;
    border-radius: 16px;
    font-size: 16px;
  }

  .by-nav__cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px dashed var(--line-strong);
  }
}

@keyframes by-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   页脚
   ============================================================ */
.by-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 0 26px;
  border-top: 1px solid var(--line);
  background-color: var(--ink);
  color: var(--text);
}

.by-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(880px 420px at 10% -18%, rgba(23, 86, 74, 0.6), transparent 72%),
    linear-gradient(to right, rgba(79, 240, 192, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(79, 240, 192, 0.06) 1px, transparent 1px);
  background-size: auto, 80px 80px, 80px 80px;
}

.by-footer > * { position: relative; z-index: 1; }

.by-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.85fr)) minmax(0, 1.4fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: start;
}

.by-footer__brand { display: grid; gap: 8px; justify-items: start; }

.by-footer__mark {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.by-footer__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
}

.by-footer__meta {
  max-width: 26ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.by-footer__brand .by-btn { margin-top: 6px; }

.by-footer__col { display: grid; gap: 12px; }

.by-footer__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.by-footer__links { display: grid; gap: 8px; }

.by-footer__links a {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(234, 243, 239, 0.8);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.by-footer__links a:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.by-footer__contact { display: grid; gap: 7px; }

.by-footer__line {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: rgba(127, 149, 140, 0.95);
  word-break: break-word;
}

.by-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: clamp(34px, 5vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.by-footer__legal-item {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(234, 243, 239, 0.72);
}

.by-footer__legal-item--muted { color: var(--muted); }

.by-footer__note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  margin-left: auto;
  max-width: 46ch;
}

@media (max-width: 1080px) {
  .by-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .by-footer__brand { grid-column: 1 / -1; }
  .by-footer__col--contact { grid-column: 1 / -1; }
  .by-footer__note { margin-left: 0; }
}

@media (max-width: 620px) {
  .by-footer__grid { grid-template-columns: 1fr; }
  .by-footer__legal { flex-direction: column; align-items: flex-start; gap: 6px; }
  .by-footer__brand .by-btn { width: 100%; }
}

/* ============================================================
   可访问性与动效降级
   ============================================================ */
@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .by-pulse { animation: none; opacity: 1; }
  .by-progress__bar { transition: none; }
  .by-btn:hover,
  .by-footer__links a:hover,
  .by-datarow:hover .by-datarow__arrow { transform: none; }
}
