/* ==========================================================================
   龙珠体育官网 · 共享样式  /assets/site.css
   设计基调：看台呼吸 —— 煤黑与深墨绿作底，信号橙与荧光黄点状发力
   ========================================================================== */

/* --- 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, figcaption, blockquote, dl, dd {
  margin: 0;
}

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

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

img { 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; }

/* --- 2. 变量 ------------------------------------------------------------- */
:root {
  /* 色彩体系 */
  --bo-coal:   #0E1412;
  --bo-ink:    #12352B;
  --bo-orange: #FF6A2B;
  --bo-lime:   #D8F24A;
  --bo-red:    #D8382E;
  --bo-white:  #F2F5F3;
  --bo-paper:  #EFE7D6;
  --bo-muted:  #9AAAA2;
  --bo-line:   #3A4A44;
  --bo-amber:  #E3A72F;

  /* 字体 */
  --bo-font-display: "Arial Narrow", "Helvetica Neue", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --bo-font-text: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --bo-font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", "Noto Sans Mono CJK SC", monospace;

  /* 页框尺寸 */
  --bo-topbar-h: 64px;
  --bo-rail-w: 112px;
  --bo-aside-w: 64px;
  --bo-gutter: clamp(16px, 3vw, 40px);
  --bo-max: 1280px;

  --bo-radius: 2px;
}

/* --- 3. 基础与中文排版 --------------------------------------------------- */
body {
  min-height: 100vh;
  margin: 0;
  background: var(--bo-coal);
  color: var(--bo-white);
  font-family: var(--bo-font-text);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--bo-font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p { text-wrap: pretty; }

strong, b { font-weight: 700; }

::selection {
  background: var(--bo-lime);
  color: var(--bo-coal);
}

:focus-visible {
  outline: 2px solid var(--bo-lime);
  outline-offset: 2px;
}

/* 主内容为固定页框让位 */
#main-content {
  display: block;
  padding-top: var(--bo-topbar-h);
  padding-left: var(--bo-rail-w);
  padding-right: var(--bo-aside-w);
  min-height: 62vh;
}

/* --- 4. 跳过链接 --------------------------------------------------------- */
.bo-skip-link {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--bo-lime);
  color: var(--bo-coal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: var(--bo-radius);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.bo-skip-link:focus { transform: translateY(0); }

/* --- 5. 头部：顶部横条 --------------------------------------------------- */
.bo-header { position: relative; z-index: 60; }

.bo-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bo-topbar-h);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  padding-inline: clamp(14px, 2.2vw, 26px);
  background: var(--bo-coal);
  border-bottom: 1px solid var(--bo-line);
}

.bo-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  min-width: 0;
  color: var(--bo-white);
}

.bo-brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 2px solid var(--bo-orange);
  border-radius: 50%;
}

.bo-brand__mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--bo-lime);
}

.bo-brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.bo-brand__name {
  font-family: var(--bo-font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.bo-brand__line {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--bo-muted);
  white-space: nowrap;
}

.bo-topbar__cta { flex: 0 0 auto; }

/* --- 6. 按钮 ------------------------------------------------------------- */
.bo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--bo-line);
  border-radius: var(--bo-radius);
  background: transparent;
  color: var(--bo-white);
  font-family: var(--bo-font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.bo-btn--primary {
  background: var(--bo-orange);
  border-color: var(--bo-orange);
  color: #140C07;
}

.bo-btn--primary:hover,
.bo-btn--primary:focus-visible {
  background: var(--bo-lime);
  border-color: var(--bo-lime);
  color: var(--bo-coal);
}

.bo-btn--ghost:hover,
.bo-btn--ghost:focus-visible {
  border-color: var(--bo-lime);
  color: var(--bo-lime);
}

/* --- 7. 移动导航按钮 ----------------------------------------------------- */
.bo-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--bo-line);
  border-radius: var(--bo-radius);
  color: var(--bo-white);
  font-family: var(--bo-font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.bo-nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
}

.bo-nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.bo-nav-toggle[aria-expanded="true"] { border-color: var(--bo-lime); color: var(--bo-lime); }

.bo-nav-toggle[aria-expanded="true"] .bo-nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.bo-nav-toggle[aria-expanded="true"] .bo-nav-toggle__bars span:nth-child(2) { opacity: 0; }
.bo-nav-toggle[aria-expanded="true"] .bo-nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- 8. 左侧导航轨 ------------------------------------------------------- */
.bo-nav {
  position: fixed;
  top: var(--bo-topbar-h);
  left: 0;
  bottom: 0;
  width: var(--bo-rail-w);
  z-index: 65;
  display: flex;
  flex-direction: column;
  padding: 22px 0 26px;
  background: var(--bo-ink);
  border-right: 1px solid var(--bo-line);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.bo-nav__kicker {
  padding: 0 16px 14px;
  font-size: 10.5px;
  letter-spacing: 0.34em;
  color: var(--bo-orange);
  font-weight: 700;
}

.bo-nav__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.bo-nav__link {
  position: relative;
  display: block;
  padding: 13px 20px 13px 20px;
  color: var(--bo-muted);
  font-family: var(--bo-font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  border-left: 3px solid transparent;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.bo-nav__link:hover,
.bo-nav__link:focus-visible {
  color: var(--bo-white);
  background: rgba(242, 245, 243, 0.05);
}

.bo-nav__link[aria-current="page"] {
  color: var(--bo-white);
  border-left-color: var(--bo-orange);
  background: rgba(255, 106, 43, 0.09);
}

.bo-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--bo-lime);
}

/* --- 9. 右侧快捷轨 ------------------------------------------------------- */
.bo-aside {
  position: fixed;
  top: var(--bo-topbar-h);
  right: 0;
  bottom: 0;
  width: var(--bo-aside-w);
  z-index: 65;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--bo-coal);
  border-left: 1px solid var(--bo-line);
}

.bo-aside__link {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 16px 0;
  color: var(--bo-muted);
  font-family: var(--bo-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  border-top: 1px solid var(--bo-line);
  border-bottom: 1px solid var(--bo-line);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.bo-aside__link:hover,
.bo-aside__link:focus-visible {
  color: var(--bo-lime);
  border-color: var(--bo-orange);
}

/* --- 10. 阅读进度与抽屉遮罩 --------------------------------------------- */
.bo-progress {
  position: fixed;
  top: var(--bo-topbar-h);
  right: var(--bo-aside-w);
  width: 2px;
  height: calc(100% - var(--bo-topbar-h));
  z-index: 80;
  background: rgba(154, 170, 162, 0.16);
  pointer-events: none;
}

.bo-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--bo-lime);
  transform-origin: top center;
  transform: scaleY(0);
}

.bo-scrim {
  position: fixed;
  top: var(--bo-topbar-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 62;
  background: rgba(14, 20, 18, 0.72);
}

.bo-scrim[hidden] { display: none; }

/* --- 11. 页脚 ------------------------------------------------------------ */
.bo-footer {
  padding-left: var(--bo-rail-w);
  padding-right: var(--bo-aside-w);
  background: var(--bo-ink);
  border-top: 1px solid var(--bo-line);
  color: var(--bo-white);
}

.bo-footer__inner {
  max-width: var(--bo-max);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) var(--bo-gutter) clamp(24px, 3vw, 36px);
}

.bo-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 56px);
}

.bo-footer__brand { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

.bo-footer__brandname {
  font-family: var(--bo-font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.bo-footer__summary {
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--bo-muted);
}

.bo-footer__coltitle {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bo-line);
  font-family: var(--bo-font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--bo-orange);
}

.bo-footer__list { display: flex; flex-direction: column; gap: 9px; }

.bo-footer__link {
  font-size: 14px;
  color: var(--bo-muted);
  word-break: break-word;
  transition: color 0.16s ease;
}

.bo-footer__link:hover,
.bo-footer__link:focus-visible { color: var(--bo-lime); }

.bo-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
  margin-top: clamp(28px, 4vw, 52px);
  padding-top: 18px;
  border-top: 1px solid var(--bo-line);
  font-size: 12.5px;
  color: var(--bo-muted);
}

.bo-footer__copy { color: var(--bo-white); }

.bo-footer__note { max-width: 46ch; }

.bo-footer__icp { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

/* --- 12. 通用布局组件 --------------------------------------------------- */
.bo-container {
  width: 100%;
  max-width: var(--bo-max);
  margin-inline: auto;
  padding-inline: var(--bo-gutter);
}

.bo-section {
  position: relative;
  padding-block: clamp(48px, 7vw, 104px);
}

.bo-section--tight { padding-block: clamp(26px, 4vw, 54px); }
.bo-section--ink { background: var(--bo-ink); }
.bo-section--paper { background: var(--bo-paper); color: var(--bo-coal); }
.bo-section--paper .bo-kicker { color: var(--bo-red); }
.bo-section--paper .bo-lede { color: #2C3A34; }

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

.bo-grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.bo-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bo-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bo-grid--5-7 { grid-template-columns: 5fr 7fr; }
.bo-grid--3-9 { grid-template-columns: 3fr 9fr; }

/* --- 13. 文本组件 ------------------------------------------------------- */
.bo-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--bo-font-display);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.32em;
  color: var(--bo-orange);
}

.bo-title {
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.02em;
}

.bo-title--xl {
  font-size: clamp(42px, 7.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.bo-lede {
  max-width: 56ch;
  font-size: clamp(15px, 1.2vw, 17.5px);
  line-height: 1.85;
  color: var(--bo-muted);
}

.bo-num {
  font-family: var(--bo-font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}

/* --- 14. 卡片与标签 ----------------------------------------------------- */
.bo-card {
  padding: clamp(18px, 2.2vw, 28px);
  background: var(--bo-ink);
  border: 1px solid var(--bo-line);
  border-radius: var(--bo-radius);
}

.bo-card--paper {
  background: var(--bo-paper);
  border-color: #D6CBB4;
  color: var(--bo-coal);
}

.bo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid currentColor;
  border-radius: var(--bo-radius);
  font-family: var(--bo-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.bo-tag--lime { color: var(--bo-lime); }
.bo-tag--orange { color: var(--bo-orange); }
.bo-tag--red { color: var(--bo-red); }
.bo-tag--amber { color: var(--bo-amber); }

/* --- 15. 图片容器基础规则 ----------------------------------------------- */
.bo-figure {
  --bo-figure-ratio: 16 / 9;
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bo-ink);
  border: 1px solid var(--bo-line);
  border-radius: var(--bo-radius);
}

.bo-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(242, 245, 243, 0.05) 0 1px,
    transparent 1px 14px
  );
}

.bo-figure__img {
  display: block;
  width: 100%;
  aspect-ratio: var(--bo-figure-ratio);
  object-fit: cover;
  background: var(--bo-ink);
}

.bo-figure__cap {
  padding: 10px 14px;
  background: rgba(14, 20, 18, 0.72);
  border-top: 1px solid var(--bo-line);
  font-size: 12.5px;
  color: var(--bo-muted);
}

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

/* --- 16. 面包屑 --------------------------------------------------------- */
.bo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--bo-muted);
}

.bo-breadcrumb a { color: var(--bo-muted); transition: color 0.16s ease; }
.bo-breadcrumb a:hover,
.bo-breadcrumb a:focus-visible { color: var(--bo-lime); }
.bo-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--bo-line); }
.bo-breadcrumb li[aria-current="page"] { color: var(--bo-white); }

/* --- 17. 显现动效 ------------------------------------------------------- */
.bo-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.52s ease, transform 0.52s ease;
}

.bo-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --- 18. 响应式 --------------------------------------------------------- */
@media (max-width: 1080px) {
  :root {
    --bo-rail-w: 0px;
    --bo-aside-w: 0px;
    --bo-topbar-h: 60px;
  }

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

  .bo-nav {
    width: min(78vw, 300px);
    padding-top: 26px;
    border-right: 1px solid var(--bo-line);
    transform: translateX(-102%);
    transition: transform 0.3s ease;
    will-change: transform;
  }

  .bo-nav[data-open] { transform: translateX(0); }

  .bo-nav__link { font-size: 16px; padding: 15px 22px; }

  .bo-aside { display: none; }
}

@media (max-width: 980px) {
  .bo-grid--2,
  .bo-grid--3,
  .bo-grid--5-7,
  .bo-grid--3-9 { grid-template-columns: minmax(0, 1fr); }

  .bo-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bo-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .bo-brand__line { display: none; }
  .bo-brand__name { font-size: 15.5px; }
  .bo-topbar__cta { padding: 10px 14px; font-size: 13px; }
  .bo-nav-toggle__label { display: none; }
  .bo-title--xl { font-size: clamp(34px, 11vw, 54px); }
  .bo-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .bo-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .bo-topbar__cta { display: none; }
}

/* --- 19. 无障碍：减少动态效果 ------------------------------------------- */
@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;
  }

  .bo-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .bo-nav { transition: none; }
  .bo-progress__bar { transition: none; }
}
