/* ==========================================================================
   博业体育主站 · 共享样式 /assets/site.css
   技术蓝图式网格 + 战术板色彩体系
   ========================================================================== */

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

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

body {
  margin: 0;
  background-color: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }

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

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table { border-collapse: collapse; }

main { display: block; }

/* 蓝图网格底纹：从顶部放射淡出 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(36, 52, 95, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 52, 95, 0.42) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 72%);
  opacity: 0.85;
}

.site-header,
.site-footer,
main,
.page-body { position: relative; z-index: 1; }

::selection { background: var(--cyan); color: #04121a; }

/* ---------- 2. 变量 ---------- */
:root {
  --bg-0: #070C1B;
  --bg-1: #0E1730;
  --bg-2: #16224A;
  --cyan: #22E0D6;
  --orange: #FF7A29;
  --mist: #7CC9E8;
  --text: #F2F6FF;
  --muted: #A9B6D4;
  --line: #24345F;
  --alert: #FF5C7A;

  --shell: 1240px;

  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 22px;

  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-data: "JetBrains Mono", "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --t-fast: 180ms;
  --t-base: 240ms;
  --t-slow: 320ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --shadow-1: 0 18px 44px -30px rgba(0, 0, 0, 0.95);
  --shadow-2: 0 24px 52px -26px rgba(0, 0, 0, 0.9);
}

/* ---------- 3. 中文排版与焦点 ---------- */
@media (min-width: 768px) {
  body { font-size: 17px; }
}

h1, h2, h3, h4 { line-height: 1.35; font-weight: 700; }

.display {
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.16;
}

.mono,
.data,
[data-num] {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -72px;
  z-index: 120;
  padding: 10px 18px;
  background: var(--cyan);
  color: #04121a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  transition: top var(--t-base) var(--ease);
}

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

/* ---------- 4. 布局工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) { .shell { padding-inline: 32px; } }
@media (min-width: 1200px) { .shell { padding-inline: 40px; } }

.section { padding-block: 64px; }

@media (min-width: 1024px) { .section { padding-block: 96px; } }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.split { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }

@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
}

.stack { display: grid; gap: 16px; }
.stack--lg { gap: 28px; }

.prose {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text);
}

.prose p + p { margin-top: 1em; }
.prose h2, .prose h3 { margin-top: 1.7em; margin-bottom: 0.6em; }

.prose ul { margin-top: 0.7em; }
.prose li { position: relative; padding-left: 22px; margin-top: 0.5em; }

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 12px;
  height: 1px;
  background: var(--cyan);
}

.prose strong { color: var(--cyan); font-weight: 600; }

/* ---------- 5. 通用组件 ---------- */
.card {
  position: relative;
  display: block;
  padding: 22px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  color: var(--text);
  text-decoration: none;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-1);
}

.frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(158deg, rgba(22, 34, 74, 0.92), rgba(14, 23, 48, 0.96));
  padding: 28px;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--cyan);
  pointer-events: none;
}

.frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
  border-radius: var(--radius-l) 0 0 0;
}

.frame::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 var(--radius-l) 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: transform var(--t-base) var(--ease), background-color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease), color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: 0 12px 26px -18px rgba(34, 224, 214, 0.75);
}

.btn--solid {
  background: var(--orange);
  border-color: var(--orange);
  color: #1a0b02;
  font-weight: 700;
}

.btn--solid:hover {
  background: #ff8b45;
  border-color: #ff8b45;
  color: #1a0b02;
  box-shadow: 0 14px 30px -16px rgba(255, 122, 41, 0.85);
}

.btn--ghost {
  background: rgba(22, 34, 74, 0.7);
  color: var(--cyan);
}

.btn--ghost:hover { color: var(--text); }

.btn--sm {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 13.5px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--font-data);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--mist);
  background: rgba(22, 34, 74, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}

.tag--hot { color: #1a0b02; background: var(--orange); border-color: var(--orange); font-weight: 700; }
.tag--live { color: var(--cyan); border-color: rgba(34, 224, 214, 0.55); }
.tag--alert { color: var(--alert); border-color: rgba(255, 92, 122, 0.55); }

.index-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.index-tag::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--cyan);
}

.ruler {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 20px;
}

.ruler span {
  width: 1px;
  height: 6px;
  background: var(--line);
}

.ruler span:nth-child(5n + 1) {
  height: 14px;
  background: rgba(34, 224, 214, 0.72);
}

/* 图片占位容器：页面阶段放入 <img> 或 .media__ph */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(140deg, var(--bg-2), var(--bg-1) 70%);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }

.media__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-data);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  background-image:
    linear-gradient(rgba(36, 52, 95, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 52, 95, 0.55) 1px, transparent 1px);
  background-size: 40px 40px;
}

.media__cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 9px;
  font-family: var(--font-data);
  font-size: 11.5px;
  color: var(--mist);
  background: rgba(7, 12, 27, 0.78);
  border: 1px solid var(--line);
  border-radius: 6px;
}

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

.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color var(--t-fast) var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* 数据表 */
.data-table-wrap {
  overflow-x: auto;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}

.data-table {
  width: 100%;
  min-width: 560px;
  font-size: 15px;
}

.data-table th,
.data-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  background: var(--bg-2);
  font-family: var(--font-data);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
  font-weight: 600;
  white-space: nowrap;
}

.data-table tbody tr { transition: background-color var(--t-fast) var(--ease); }
.data-table tbody tr:hover { background: rgba(34, 224, 214, 0.07); }
.data-table td[data-num] { text-align: right; color: var(--cyan); }

/* 时间轴 */
.timeline {
  position: relative;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), var(--line) 62%, transparent);
}

.timeline__item {
  position: relative;
  padding: 0 0 24px 10px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 8px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--bg-0);
  transition: border-color var(--t-base) var(--ease), background-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.timeline__item:hover::before {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 224, 214, 0.18);
}

.timeline__stamp {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.timeline__title { margin-top: 2px; font-size: 16px; font-weight: 700; color: var(--text); }
.timeline__text { margin-top: 4px; font-size: 14.5px; color: var(--muted); }

/* 编号索引列表 */
.index-list { display: grid; }

.index-list__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 16px 4px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: padding-left var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.index-list__item::before {
  content: attr(data-index);
  font-family: var(--font-data);
  font-size: 12.5px;
  color: var(--mist);
}

.index-list__item:hover { padding-left: 14px; border-color: var(--cyan); }

/* ---------- 6. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: var(--text);
  background: rgba(7, 12, 27, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan) 16%, var(--orange) 84%, transparent);
  opacity: 0.45;
  pointer-events: none;
}

.header-upper {
  border-bottom: 1px dashed rgba(36, 52, 95, 0.85);
  background: linear-gradient(90deg, rgba(22, 34, 74, 0.6), rgba(7, 12, 27, 0) 68%);
}

.header-upper__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
  transition: min-height var(--t-slow) var(--ease);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--text);
  text-decoration: none;
}

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  transition: border-color var(--t-base) var(--ease);
}

.brand__mark::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--cyan);
  border-radius: 4px;
  transform: skewX(-8deg);
}

.brand:hover .brand__mark { border-color: var(--cyan); }

.brand__text { display: grid; gap: 1px; }

.brand__name {
  font-size: 16.5px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand__line {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
  line-height: 1.3;
}

.header-statement {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: opacity var(--t-base) var(--ease), visibility var(--t-base) var(--ease);
}

.header-statement::before {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 1px;
  background: var(--line);
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 5px 12px;
  font-family: var(--font-data);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}

.header-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 224, 214, 0.16);
  animation: status-pulse 2600ms var(--ease) infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

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

.header-lower { position: relative; }

.header-lower__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 10px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), top var(--t-base) var(--ease), bottom var(--t-base) var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { bottom: 4px; transform: rotate(-45deg); }

.primary-nav { flex: 1 1 auto; min-width: 0; }

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

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

.primary-nav__list a {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-s);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.primary-nav__list a:hover {
  color: var(--text);
  background: var(--bg-1);
}

.primary-nav__list a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

.primary-nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}

.primary-nav__cta { display: none; }

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

.league-strip__label {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.league-strip__list {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.league-strip__list::-webkit-scrollbar { display: none; }

.league-strip__list a {
  display: inline-block;
  padding: 5px 11px;
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.league-strip__list a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(34, 224, 214, 0.08);
}

.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.header-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan) 55%, var(--orange) 100%);
  transition: width 120ms linear;
}

/* 滚动后：上层收薄，声明隐去 */
.site-header[data-scrolled] .header-upper__inner { min-height: 54px; }

@media (min-width: 901px) {
  .site-header[data-scrolled] .header-statement {
    opacity: 0;
    visibility: hidden;
  }
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 72px;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(14, 23, 48, 0.9) 0%, #050912 58%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--orange) 46%, rgba(255, 122, 41, 0) 100%);
}

.footer-tick {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0;
  padding: 12px 20px 0;
  border-bottom: 1px dashed rgba(36, 52, 95, 0.6);
}

.footer-tick span {
  width: 1px;
  height: 6px;
  background: var(--line);
}

.footer-tick span:nth-child(5n + 1) {
  height: 14px;
  background: rgba(34, 224, 214, 0.5);
}

.footer-main {
  display: grid;
  gap: 40px;
  padding-block: 48px 36px;
}

@media (min-width: 700px) {
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 44px; }
}

.brand--footer .brand__mark { width: 30px; height: 30px; }
.brand--footer .brand__name { font-size: 16px; }

.footer-note {
  max-width: 34ch;
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.footer-status-line {
  margin-top: 14px;
  padding-left: 14px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.7;
  color: var(--mist);
  border-left: 2px solid var(--cyan);
}

.footer-col__title {
  margin-bottom: 16px;
  padding-bottom: 10px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.footer-col__list { font-size: 15px; }
.footer-col__list li + li { margin-top: 10px; }

.footer-col__list a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.footer-col__list a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 1px;
  margin-right: 9px;
  background: var(--line);
  transition: width var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}

.footer-col__list a:hover { color: var(--cyan); }
.footer-col__list a:hover::before { width: 14px; background: var(--cyan); }

.footer-contact { display: grid; gap: 12px; }

.footer-contact li {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.footer-contact__k {
  flex: 0 0 46px;
  font-family: var(--font-data);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.footer-contact__v {
  min-width: 0;
  font-family: var(--font-data);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text);
  word-break: break-word;
}

.footer-contact__note {
  margin-top: 16px;
  padding-left: 12px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  border-left: 2px solid var(--line);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 26px;
  padding-block: 18px 32px;
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.footer-legal__copy { color: var(--muted); }
.footer-legal__icp { font-family: var(--font-data); letter-spacing: 0.04em; color: var(--muted); }

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal__links a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.footer-legal__links a:hover { color: var(--cyan); }

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  font-size: 13px;
  color: var(--text);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.to-top:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ---------- 8. 显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

html:not([data-js]) [data-reveal] {
  opacity: 1;
  transform: none;
}

/* ---------- 9. 移动端头部 ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .header-upper__inner {
    gap: 12px;
    min-height: 58px;
  }

  .header-statement,
  .header-status { display: none; }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 70;
    display: none;
    max-height: min(72vh, 520px);
    overflow-y: auto;
    background: var(--bg-1);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
  }

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

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

  .primary-nav__list a {
    display: block;
    padding: 15px 24px;
    font-size: 16px;
    border-bottom: 1px solid rgba(36, 52, 95, 0.55);
    border-radius: 0;
  }

  .primary-nav__list a:hover { background: rgba(22, 34, 74, 0.8); }

  .primary-nav__list a[aria-current="page"] {
    color: var(--cyan);
    background: rgba(34, 224, 214, 0.08);
  }

  .primary-nav__list a[aria-current="page"]::after {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
    border-radius: 0;
  }

  .primary-nav__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 24px 20px;
    border-top: 1px solid var(--line);
  }

  .league-strip {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .league-strip__label { display: none; }
  .league-strip__list { padding-bottom: 4px; }
}

@media (max-width: 560px) {
  .header-actions { display: none; }
  .brand__line { display: none; }
  .footer-tick { padding-inline: 12px; }
}

/* ---------- 10. 动效降级 ---------- */
@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;
  }

  .header-progress__bar { transition: none; }
}
