/* =========================================================
   B体育登录 · 共享样式 /assets/site.css
   冰蓝 × 深空灰 × 荧光绿，极细边界与微阴影
   ========================================================= */

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

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

body {
  margin: 0;
  padding-top: var(--bs-header-h);
  font-family: var(--bs-font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--bs-ink);
  background: var(--bs-paper);
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- 2. 变量 ---------- */
:root {
  --bs-ice: #00A8E8;
  --bs-ice-deep: #00679A;
  --bs-ice-light: #7FD8F5;
  --bs-ice-mist: #E6F5FC;
  --bs-ink: #1C1F26;
  --bs-graphite: #2B3038;
  --bs-cloud: #EDF1F4;
  --bs-lime: #C6FF00;
  --bs-lime-deep: #9ACC00;
  --bs-amber: #FFB020;
  --bs-paper: #FFFFFF;

  --bs-hair: rgba(28, 31, 38, 0.14);
  --bs-hair-strong: rgba(28, 31, 38, 0.26);
  --bs-hair-dark: rgba(255, 255, 255, 0.14);

  --bs-shadow-1: 0 1px 2px rgba(28, 31, 38, 0.06);
  --bs-shadow-2: 0 4px 8px rgba(28, 31, 38, 0.08);

  --bs-font-display: "HarmonyOS Sans SC", "Source Han Sans SC", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --bs-font-body: "PingFang SC", "Noto Sans SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --bs-header-h: 68px;
  --bs-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 920px) {
  :root { --bs-header-h: 60px; }
}

/* ---------- 3. 焦点与可达性 ---------- */
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--bs-ice);
  outline-offset: 2px;
}

.bs-skip {
  position: fixed;
  left: 16px;
  top: -120px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--bs-lime);
  color: var(--bs-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.16s var(--bs-ease);
}
.bs-skip:focus { top: 16px; }

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

/* ---------- 4. 排版 ---------- */
.bs-h1 {
  font-family: var(--bs-font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.bs-h2 {
  font-family: var(--bs-font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.bs-h3 {
  font-family: var(--bs-font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.3;
}
.bs-lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.7;
  color: #3A424E;
}
.bs-measure { max-width: 38em; }

.bs-mono {
  font-family: var(--bs-font-mono);
  font-size: 0.86em;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.bs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--bs-ice-deep);
}
.bs-eyebrow::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--bs-ice);
}

.bs-side-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #6A7480;
}
.bs-side-label--vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.16em;
}

.bs-kv { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.bs-kv__k { font-size: 12px; letter-spacing: 0.08em; color: #6A7480; }
.bs-kv__v { font-family: var(--bs-font-mono); font-size: 14px; color: var(--bs-ink); }

/* ---------- 5. 布局工具 ---------- */
.bs-shell {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  .bs-shell { padding: 0 18px; }
}

.bs-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px 24px;
}
.bs-col-main { grid-column: 1 / span 7; }
.bs-col-rail { grid-column: 8 / span 2; }
.bs-col-aside { grid-column: 10 / span 3; }

@media (max-width: 1080px) {
  .bs-col-main { grid-column: 1 / span 8; }
  .bs-col-rail { display: none; }
  .bs-col-aside { grid-column: 9 / span 4; }
}
@media (max-width: 880px) {
  .bs-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 16px; }
  .bs-col-main,
  .bs-col-aside { grid-column: 1 / -1; }
}

.bs-rail {
  position: sticky;
  top: calc(var(--bs-header-h) + 28px);
}
.bs-rail__num {
  font-family: var(--bs-font-mono);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bs-hair-strong);
  line-height: 1;
}
.bs-rail__num--active { color: var(--bs-ice); }

.bs-stack > * + * { margin-top: 16px; }
.bs-stack--lg > * + * { margin-top: 32px; }
.bs-inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bs-rule { height: 1px; background: var(--bs-hair); border: 0; margin: 0; }

/* ---------- 6. 分区 ---------- */
.bs-hero {
  position: relative;
  margin-top: calc(var(--bs-header-h) * -1);
  padding-top: calc(var(--bs-header-h) + 88px);
  padding-bottom: 88px;
  background: var(--bs-ink);
  color: #fff;
  overflow: hidden;
}
.bs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(127, 216, 245, 0.09) 1px, transparent 1px),
    linear-gradient(180deg, rgba(127, 216, 245, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.bs-hero > * { position: relative; z-index: 1; }
.bs-hero .bs-h1 { color: #fff; }
.bs-hero .bs-lede { color: rgba(255, 255, 255, 0.74); }

.bs-section {
  padding: 96px 0;
  border-top: 1px solid var(--bs-hair);
}
.bs-section--dark {
  background: var(--bs-ink);
  color: rgba(255, 255, 255, 0.78);
  border-top-color: var(--bs-graphite);
}
.bs-section--dark .bs-h1,
.bs-section--dark .bs-h2,
.bs-section--dark .bs-h3 { color: #fff; }
.bs-section--dark .bs-lede { color: rgba(255, 255, 255, 0.72); }
.bs-section--mist { background: var(--bs-ice-mist); }
.bs-section--cloud { background: var(--bs-cloud); }

@media (max-width: 768px) {
  .bs-hero { padding-top: calc(var(--bs-header-h) + 56px); padding-bottom: 56px; }
  .bs-section { padding: 64px 0; }
}

/* ---------- 7. 头部 ---------- */
.bs-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  color: #fff;
  background: linear-gradient(180deg, rgba(28, 31, 38, 0.74) 0%, rgba(28, 31, 38, 0.36) 56%, rgba(28, 31, 38, 0) 100%);
  transition: background-color 0.18s var(--bs-ease), box-shadow 0.18s var(--bs-ease);
}
.bs-header[data-solid="true"] {
  background: var(--bs-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 6px 18px rgba(28, 31, 38, 0.22);
}

.bs-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--bs-header-h);
}

.bs-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  text-decoration: none;
  color: inherit;
}
.bs-brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--bs-ice);
  color: #062431;
  font-family: var(--bs-font-mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.bs-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.bs-brand__name {
  font-family: var(--bs-font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.bs-brand__tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.6);
}

.bs-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.bs-nav__list { display: flex; align-items: center; gap: 2px; }
.bs-nav__link {
  position: relative;
  display: block;
  padding: 8px 13px;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  transition: color 0.16s var(--bs-ease), background-color 0.16s var(--bs-ease);
}
.bs-nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  background: var(--bs-lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.16s var(--bs-ease);
}
.bs-nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.bs-nav__link[aria-current="page"] { color: #fff; }
.bs-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.bs-nav__note { display: none; }

.bs-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.bs-quick {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13.5px;
  text-decoration: none;
  color: #fff;
  transition: background-color 0.16s var(--bs-ease), border-color 0.16s var(--bs-ease), color 0.16s var(--bs-ease);
}
.bs-quick:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}
.bs-quick--key {
  background: var(--bs-ice);
  border-color: var(--bs-ice);
  color: #062431;
  font-weight: 600;
}
.bs-quick--key:hover {
  background: #33BAEE;
  border-color: #33BAEE;
  color: #062431;
}

.bs-burger {
  display: none;
  position: relative;
  width: 42px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.16s var(--bs-ease), border-color 0.16s var(--bs-ease);
}
.bs-burger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}
.bs-burger__box {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 12px;
  transform: translate(-50%, -50%);
}
.bs-burger__box span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  transition: transform 0.18s var(--bs-ease), opacity 0.18s var(--bs-ease);
}
.bs-burger__box span:nth-child(1) { top: 0; }
.bs-burger__box span:nth-child(2) { bottom: 0; }
.bs-header[data-open="true"] .bs-burger__box span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.bs-header[data-open="true"] .bs-burger__box span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

.bs-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}
.bs-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--bs-ice);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------- 8. 头部响应式 ---------- */
@media (max-width: 920px) {
  .bs-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px 0 20px;
    background: var(--bs-ink);
    border-top: 1px solid var(--bs-graphite);
    border-bottom: 1px solid var(--bs-graphite);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
    max-height: calc(100vh - var(--bs-header-h));
    overflow-y: auto;
  }
  .bs-header[data-open="true"] .bs-nav { display: block; }

  .bs-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 18px;
  }
  .bs-nav__link {
    padding: 14px 4px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .bs-nav__link::after {
    left: 4px;
    right: auto;
    width: 22px;
    bottom: 8px;
  }
  .bs-nav__link[aria-current="page"] {
    background: rgba(0, 168, 232, 0.14);
  }
  .bs-nav__note {
    display: block;
    margin: 16px 18px 0;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.42);
  }
  .bs-burger { display: block; }
}

@media (max-width: 760px) {
  .bs-quick { display: none; }
  .bs-brand__tag { display: none; }
}

/* ---------- 9. 页脚 ---------- */
.bs-footer {
  position: relative;
  background: var(--bs-ink);
  color: rgba(255, 255, 255, 0.66);
  font-size: 14.5px;
  line-height: 1.7;
}
.bs-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--bs-ice) 0%, var(--bs-ice-light) 46%, var(--bs-lime) 100%);
}

.bs-footer__top {
  display: grid;
  grid-template-columns: 1.3fr 2.6fr 1.6fr;
  gap: 48px;
  padding: 72px 0 56px;
}

.bs-footer__brand { min-width: 0; }
.bs-footer__wordmark {
  font-family: var(--bs-font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
}
.bs-footer__tag {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--bs-ice-light);
}
.bs-footer__stamp {
  margin-top: 18px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.48);
}

.bs-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.bs-footer__title {
  font-family: var(--bs-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #fff;
}
.bs-footer__title::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin-top: 10px;
  background: var(--bs-ice);
}
.bs-footer__list { margin-top: 16px; }
.bs-footer__list li + li { margin-top: 10px; }
.bs-footer__list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--bs-ease), border-color 0.16s var(--bs-ease);
}
.bs-footer__list a:hover {
  color: #fff;
  border-bottom-color: var(--bs-lime);
}

.bs-footer__contact { min-width: 0; }
.bs-footer__address {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--bs-font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  word-break: break-word;
}
.bs-footer__line { display: block; }
.bs-footer__note {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.48);
}

.bs-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 22px 0 32px;
  border-top: 1px solid var(--bs-graphite);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}
.bs-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.bs-footer__legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 0.16s var(--bs-ease), border-color 0.16s var(--bs-ease);
}
.bs-footer__legal a:hover {
  color: #fff;
  border-color: var(--bs-ice);
}
.bs-footer__icp { font-family: var(--bs-font-mono); letter-spacing: 0.02em; }

@media (max-width: 1080px) {
  .bs-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 56px 0 40px;
  }
  .bs-footer__contact { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .bs-footer__top { grid-template-columns: 1fr; }
  .bs-footer__nav { grid-template-columns: 1fr; gap: 28px; }
  .bs-footer__base { justify-content: flex-start; }
}

/* ---------- 10. 通用组件 ---------- */
.bs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--bs-ink);
  background: transparent;
  color: var(--bs-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s var(--bs-ease), color 0.16s var(--bs-ease), border-color 0.16s var(--bs-ease);
}
.bs-btn:hover { background: var(--bs-ink); color: #fff; }
.bs-btn--solid {
  background: var(--bs-ice);
  border-color: var(--bs-ice);
  color: #062431;
}
.bs-btn--solid:hover {
  background: #33BAEE;
  border-color: #33BAEE;
  color: #062431;
}
.bs-btn--ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}
.bs-btn--ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--bs-ink);
}

.bs-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #5C6673;
}
.bs-breadcrumb a {
  text-decoration: none;
  border-bottom: 1px solid var(--bs-hair);
  transition: color 0.16s var(--bs-ease), border-color 0.16s var(--bs-ease);
}
.bs-breadcrumb a:hover {
  color: var(--bs-ice-deep);
  border-color: var(--bs-ice);
}
.bs-breadcrumb__sep { color: var(--bs-hair-strong); }

.bs-card {
  padding: 24px;
  background: var(--bs-paper);
  border: 1px solid var(--bs-hair);
  box-shadow: var(--bs-shadow-1);
}
.bs-card--muted { background: var(--bs-cloud); box-shadow: none; }
.bs-card--mist {
  background: var(--bs-ice-mist);
  border-color: rgba(0, 168, 232, 0.22);
  box-shadow: none;
}
.bs-section--dark .bs-card {
  background: var(--bs-graphite);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.8);
}

.bs-check {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  background: var(--bs-cloud);
  border-left: 2px solid transparent;
  transition: background-color 0.16s var(--bs-ease), border-color 0.16s var(--bs-ease);
}
.bs-check:hover {
  background: var(--bs-ice-mist);
  border-left-color: var(--bs-ice);
}

.bs-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.bs-status--ok { background: var(--bs-lime); color: var(--bs-ink); }
.bs-status--pending { background: var(--bs-amber); color: var(--bs-ink); }
.bs-status--info { background: var(--bs-ice); color: #062431; }
.bs-status--quiet { background: var(--bs-cloud); color: #3A424E; }

.bs-aside {
  padding-left: 20px;
  border-left: 1px solid var(--bs-hair);
}
.bs-aside__item + .bs-aside__item {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--bs-hair);
}
.bs-aside__key {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #6A7480;
}
.bs-section--dark .bs-aside { border-left-color: var(--bs-hair-dark); }
.bs-section--dark .bs-aside__key { color: rgba(255, 255, 255, 0.5); }

/* 图片容器：页面阶段直接放入 <img> 即可 */
.bs-figure {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--bs-hair);
  background: linear-gradient(135deg, #E6F5FC 0%, #EDF1F4 100%);
}
.bs-figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bs-figure--16x9 { aspect-ratio: 16 / 9; }
.bs-figure--4x3 { aspect-ratio: 4 / 3; }
.bs-figure--1x1 { aspect-ratio: 1 / 1; }
.bs-figure--21x9 { aspect-ratio: 21 / 9; }
.bs-figure__caption {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #5C6673;
}
.bs-section--dark .bs-figure {
  border-color: var(--bs-hair-dark);
  background: linear-gradient(135deg, #2B3038 0%, #1C1F26 100%);
}
.bs-section--dark .bs-figure__caption { color: rgba(255, 255, 255, 0.5); }

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