/* =========================================================
   万搏体育主站 · 共享样式 /assets/site.css
   夜场大屏观赛视觉体系：深空蓝暗部 + 荧光青脉冲 + 暖橙行动色
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

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

ul, ol { list-style: none; }

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

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

button { background: none; border: 0; }

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

table { border-collapse: collapse; border-spacing: 0; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  --ink-900: #060F26;
  --ink-850: #0A1730;
  --ink-800: #0E1F45;
  --ink-700: #17306B;
  --line: #1B2E5C;

  --cyan: #2BE6C8;
  --cyan-deep: #14A894;
  --orange: #FF8A3D;
  --orange-deep: #E3651C;

  --text: #E8F1FF;
  --muted: #93A4C4;
  --text-soft: #C3D2EC;

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);

  --r-xl: 34px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-pill: 999px;

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

  --ease: cubic-bezier(.22, .68, .35, 1);
  --shadow-1: 0 18px 48px -24px rgba(0, 0, 0, .85);
  --shadow-2: 0 30px 70px -34px rgba(0, 0, 0, .95);

  --header-h: 150px;
}

/* ---------- 3. 基础排版 ---------- */
html { background: var(--ink-900); }

body {
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1200px 620px at 84% -12%, rgba(23, 48, 107, .85), transparent 62%),
    radial-gradient(880px 520px at 6% 4%, rgba(20, 168, 148, .16), transparent 66%),
    linear-gradient(180deg, #08142E 0%, var(--ink-900) 44%, #04091A 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.02em;
}

h1 {
  font-size: clamp(40px, 7.4vw, 92px);
  transform: skewX(-1.5deg);
  transform-origin: left bottom;
}

h2 { font-size: clamp(28px, 4.4vw, 44px); }
h3 { font-size: clamp(20px, 2.6vw, 26px); }
h4 { font-size: clamp(17px, 1.8vw, 20px); }

p { max-width: 38em; }

strong { font-weight: 900; }

::selection {
  background: rgba(43, 230, 200, .28);
  color: #FFFFFF;
}

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

/* 等宽数字：积分、轮次、版本号、备案号统一使用 */
.num,
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

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

.stack > * + * { margin-top: 1.15rem; }

.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.lede {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.8;
  color: var(--text-soft);
}

.muted { color: var(--muted); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--cyan);
}

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

/* ---------- 5. 跳至主要内容 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: #04211C;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-220%);
  transition: transform .22s var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- 6. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(6, 15, 38, .97) 0%, rgba(8, 20, 46, .9) 100%);
  border-bottom: 1px solid rgba(27, 46, 92, .95);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

/* 6.1 上层窄带 */
.header-utility {
  position: relative;
  overflow: hidden;
  background: rgba(4, 9, 26, .55);
  border-bottom: 1px solid rgba(27, 46, 92, .7);
}
.header-utility::after {
  content: "";
  position: absolute;
  inset: -60% -10%;
  background: linear-gradient(105deg, transparent 42%, rgba(43, 230, 200, .09) 44%, transparent 56%);
  pointer-events: none;
}
.header-utility__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  padding-block: 7px;
}
.header-signature {
  max-width: none;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.tool-link {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 13px;
  color: var(--muted);
  transition: color .24s var(--ease), border-color .24s var(--ease), background-color .24s var(--ease);
}
.tool-link:hover,
.tool-link:focus-visible {
  color: var(--cyan);
  border-color: rgba(43, 230, 200, .38);
  background: rgba(43, 230, 200, .07);
}
.header-icp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: rgba(147, 164, 196, .75);
  white-space: nowrap;
}

/* 6.2 下层主栏目带 */
.header-main { position: relative; }

.header-main__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 38px);
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand__mark {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  flex: none;
  background: conic-gradient(from 140deg, var(--cyan), var(--ink-700) 46%, var(--orange) 100%);
  box-shadow: 0 0 0 1px rgba(43, 230, 200, .38), 0 12px 28px -14px rgba(43, 230, 200, .75);
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 5px;
  background: var(--ink-900);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -.01em;
  transform: skewX(-1.5deg);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 6.3 主导航 */
.primary-nav { margin-left: auto; }

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1.2vw, 12px);
}
.primary-nav__list a {
  position: relative;
  display: inline-block;
  padding: 10px 12px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  transition: color .24s var(--ease), background-color .24s var(--ease);
}
.primary-nav__list a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(43, 230, 200, .15));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--ease);
}
.primary-nav__list a:hover { color: var(--text); }
.primary-nav__list a:hover::after { transform: scaleX(1); }

.primary-nav__list a[aria-current="page"] { color: var(--text); }
.primary-nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

/* 6.4 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(43, 230, 200, .3);
  background: rgba(23, 48, 107, .6);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .24s var(--ease), background-color .24s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); background: rgba(23, 48, 107, .92); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color .28s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .28s var(--ease);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.site-header[data-open] .nav-toggle__bars { background: transparent; }
.site-header[data-open] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* 6.5 联赛标签轨道 */
.league-rail {
  background: rgba(14, 31, 69, .45);
  border-top: 1px solid rgba(27, 46, 92, .8);
}
.league-rail__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 9px;
}
.league-rail__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.league-rail__track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-block: 2px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.league-rail__track::-webkit-scrollbar { height: 4px; }
.league-rail__track::-webkit-scrollbar-track { background: transparent; }
.league-rail__track::-webkit-scrollbar-thumb {
  background: rgba(43, 230, 200, .35);
  border-radius: 4px;
}

.league-chip {
  flex: none;
  padding: 6px 15px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(27, 46, 92, .95);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color .22s var(--ease), border-color .22s var(--ease), background-color .22s var(--ease), box-shadow .22s var(--ease);
}
.league-chip:hover {
  color: var(--text);
  border-color: rgba(43, 230, 200, .5);
}
.league-chip[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  border-color: transparent;
  color: #1B0C02;
  box-shadow: 0 10px 24px -14px rgba(255, 138, 61, .95);
}

/* 6.6 阅读进度 */
.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}
.read-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  box-shadow: 0 0 14px rgba(43, 230, 200, .7);
  transition: width .12s linear;
}

/* ---------- 7. 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), background-color .24s var(--ease), border-color .24s var(--ease), color .24s var(--ease);
}
.btn--sm { padding: 7px 16px; font-size: 13px; }

.btn--orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #201005;
  box-shadow: 0 14px 34px -18px rgba(255, 138, 61, .95);
}
.btn--orange::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 138, 61, .85);
  opacity: 0;
  pointer-events: none;
}
.btn--orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -16px rgba(255, 138, 61, 1);
}
.btn--orange:hover::after { opacity: 1; animation: echoPulse 1.6s var(--ease) infinite; }

.btn--ghost {
  background: transparent;
  border-color: rgba(43, 230, 200, .45);
  color: var(--cyan);
}
.btn--ghost:hover {
  background: rgba(43, 230, 200, .1);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.btn--cyan {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  color: #04211C;
  box-shadow: 0 14px 34px -20px rgba(43, 230, 200, .95);
}
.btn--cyan:hover { transform: translateY(-2px); }

@keyframes echoPulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.24); opacity: 0; }
}

/* ---------- 8. 图片容器（供页面阶段放图） ---------- */
.media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, var(--ink-700) 0%, var(--ink-900) 72%);
  box-shadow: var(--shadow-1);
}
.media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 18% 6%, rgba(43, 230, 200, .22), transparent 58%),
    radial-gradient(90% 80% at 88% 98%, rgba(255, 138, 61, .2), transparent 62%);
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(43, 230, 200, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 230, 200, .09) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 120% at 72% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(120% 120% at 72% 0%, #000 0%, transparent 78%);
}
.media > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--wide { aspect-ratio: 16 / 7; }
.media--banner { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 4 / 5; }
.media--tablet { aspect-ratio: 4 / 3; }

.media__caption {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding: clamp(18px, 3vw, 30px);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--text-soft);
}

.media__tag {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  background: rgba(6, 15, 38, .78);
  border: 1px solid rgba(43, 230, 200, .45);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
}

/* ---------- 9. 章节 / 卡片 / 表格 / 面包屑 ---------- */
.section {
  position: relative;
  padding-block: clamp(52px, 8vw, 112px);
}

.section__index {
  font-family: var(--font-mono);
  font-size: clamp(36px, 6.6vw, 72px);
  line-height: 1;
  letter-spacing: .02em;
  color: rgba(147, 164, 196, .22);
  transition: color .42s var(--ease);
}
.section.is-active .section__index { color: rgba(43, 230, 200, .85); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(27, 46, 92, .95);
  background: linear-gradient(160deg, rgba(23, 48, 107, .75), rgba(14, 31, 69, .62));
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 230, 200, .45);
  box-shadow: var(--shadow-1);
}
.card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--cyan);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid rgba(27, 46, 92, .95);
  background: rgba(14, 31, 69, .55);
  box-shadow: var(--shadow-1);
}
table.data {
  width: 100%;
  min-width: 520px;
  font-size: 15px;
}
table.data th,
table.data td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: middle;
}
table.data thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data tbody tr:nth-child(even) { background: rgba(23, 48, 107, .42); }
table.data tbody tr { transition: background-color .2s var(--ease); }
table.data tbody tr:hover { background: rgba(43, 230, 200, .09); }
table.data td.num { color: var(--cyan); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: clamp(16px, 2.6vw, 26px);
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(147, 164, 196, .5);
}
.breadcrumb a { transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---------- 10. 进场动效协议 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 11. 轻提示 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 120;
  max-width: min(86vw, 420px);
  padding: 11px 22px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(43, 230, 200, .5);
  background: linear-gradient(135deg, rgba(23, 48, 107, .98), rgba(14, 31, 69, .98));
  color: var(--text);
  font-size: 14px;
  box-shadow: var(--shadow-2);
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 12. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 7vw, 96px);
  border-top: 1px solid rgba(27, 46, 92, .9);
  background: linear-gradient(180deg, rgba(8, 20, 46, .35) 0%, rgba(4, 9, 26, .96) 100%);
}
.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: clamp(28px, 4vw, 46px);
  border-bottom: 1px solid rgba(27, 46, 92, .7);
}
.footer-brand__tag {
  max-width: 34em;
  font-size: 14px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
  padding-block: clamp(32px, 5vw, 56px);
}

.footer-col__title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer-col ul {
  display: grid;
  gap: 11px;
}
.footer-col a {
  font-size: 14px;
  color: var(--muted);
  transition: color .22s var(--ease);
}
.footer-col a:hover { color: var(--text); }

.footer-contact { gap: 16px !important; }

.footer-contact__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(27, 46, 92, .85);
}
.footer-contact__label {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(147, 164, 196, .7);
}
.footer-contact__value {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  word-break: break-word;
}

.copy-btn {
  flex: none;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(43, 230, 200, .4);
  background: transparent;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  transition: background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.copy-btn:hover {
  background: rgba(43, 230, 200, .12);
  border-color: var(--cyan);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(27, 46, 92, .7);
}
.footer-bottom__note {
  max-width: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(147, 164, 196, .8);
}

.footer-echo {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 26%, var(--orange) 74%, transparent 100%);
  opacity: .85;
}

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 128px; }
  html { scroll-padding-top: 128px; }

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

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: var(--gutter);
    right: var(--gutter);
    margin-left: 0;
    display: none;
    padding: 14px;
    border-radius: var(--r-lg);
    border: 1px solid rgba(43, 230, 200, .28);
    background: linear-gradient(170deg, #0E1F45 0%, #081228 100%);
    box-shadow: var(--shadow-2);
  }
  .site-header[data-open] .primary-nav {
    display: block;
    animation: navIn .28s var(--ease);
  }
  .primary-nav__list {
    display: grid;
    gap: 2px;
  }
  .primary-nav__list a {
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 16px;
  }
  .primary-nav__list a::after { display: none; }
  .primary-nav__list a[aria-current="page"] {
    background: rgba(43, 230, 200, .12);
    color: var(--cyan);
  }

  .header-main__inner { min-height: 64px; }
}

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

@media (max-width: 720px) {
  .header-utility__inner { min-height: 38px; }
  .header-signature { font-size: 12px; }
  .league-rail__label { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .header-icp { display: none; }
  .nav-toggle__label { display: none; }
  .header-signature { letter-spacing: .01em; }
  h1 { transform: none; }
}

/* ---------- 14. 偏好设置 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .btn--orange:hover::after { animation: none; opacity: 0; }
}
