/* ===== 新世纪体育赛 · 共享样式表 /assets/site.css ===== */

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

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

body {
  margin: 0;
  background: var(--spx-mist);
  color: var(--spx-ink);
  font-family: var(--spx-font-head);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(30px, 4.2vw, 56px); }
h2 { font-size: clamp(24px, 3vw, 38px); }
h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 800; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

img, svg, video { max-width: 100%; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

a {
  color: var(--spx-deep);
  text-decoration: none;
}
a:hover { color: var(--spx-orange); }

button { font: inherit; }

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

/* --- 变量 --- */
:root {
  --spx-deep: #0B1E3A;
  --spx-orange: #FF5A1F;
  --spx-lime: #45F08C;
  --spx-silver: #C7CED8;
  --spx-mist: #F4F7FB;
  --spx-indigo: #2A2F6B;
  --spx-teal: #0E3B44;
  --spx-wine: #7A1F35;
  --spx-ink: #070C14;
  --spx-amber: #FFC24B;

  --spx-max: 1200px;
  --spx-gutter: clamp(16px, 4vw, 48px);
  --spx-header-h: 104px;
  --spx-ease: cubic-bezier(.2, .7, .2, 1);

  --spx-font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  --spx-font-data: "JetBrains Mono", "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, "Courier New", monospace;
}

/* --- 主内容锚点 --- */
#main-content {
  display: block;
  padding-top: var(--spx-header-h);
  scroll-margin-top: var(--spx-header-h);
}
#main-content.spx-main--flush { padding-top: 0; }

/* --- 跳转链接 --- */
.spx-skip {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 200;
  padding: 11px 18px;
  background: var(--spx-lime);
  color: var(--spx-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: top .2s var(--spx-ease);
}
.spx-skip:focus { top: 12px; color: var(--spx-ink); }

/* ============ 头部 ============ */
.spx-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  color: var(--spx-mist);
  transition: background-color .3s var(--spx-ease), box-shadow .3s var(--spx-ease);
}

.spx-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 20, .74) 0%, rgba(7, 12, 20, .28) 58%, rgba(7, 12, 20, 0) 100%);
  pointer-events: none;
  transition: opacity .3s var(--spx-ease);
}

.spx-header.is-stuck {
  background: var(--spx-deep);
  box-shadow: 0 1px 0 rgba(199, 206, 216, .18), 0 22px 44px -34px rgba(0, 0, 0, .95);
}
.spx-header.is-stuck::before { opacity: 0; }

.spx-header:has(.spx-nav[data-open]) {
  background: var(--spx-deep);
}
.spx-header:has(.spx-nav[data-open])::before { opacity: 0; }

/* 顶部批次条 */
.spx-utility {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(199, 206, 216, .16);
}
.spx-utility__inner {
  max-width: var(--spx-max);
  margin: 0 auto;
  padding: 7px var(--spx-gutter);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .06em;
  color: rgba(244, 247, 251, .76);
}
.spx-utility__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--spx-lime);
  box-shadow: 0 0 0 3px rgba(69, 240, 140, .18);
}
.spx-utility__text { min-width: 0; }
.spx-utility__meta {
  margin-left: auto;
  font-family: var(--spx-font-data);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--spx-silver);
}

/* 主导航行 */
.spx-header__bar { position: relative; z-index: 2; }

.spx-header__inner {
  max-width: var(--spx-max);
  margin: 0 auto;
  padding: 0 var(--spx-gutter);
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.spx-header__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--spx-lime);
  transition: width .12s linear;
}

/* 品牌 */
.spx-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--spx-mist);
  text-decoration: none;
}
.spx-brand:hover { color: #fff; }

.spx-brand__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--spx-orange);
  color: #fff;
  font-family: var(--spx-font-head);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.02em;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}
.spx-brand__text { display: block; min-width: 0; }
.spx-brand__name {
  display: block;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.25;
  white-space: nowrap;
}
.spx-brand__sub {
  display: block;
  font-family: var(--spx-font-data);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  line-height: 1.4;
  color: var(--spx-silver);
  white-space: nowrap;
}

/* 移动菜单按钮 */
.spx-nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(199, 206, 216, .42);
  color: var(--spx-mist);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}
.spx-nav-toggle:hover { border-color: var(--spx-lime); color: var(--spx-lime); }
.spx-nav-toggle:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--spx-lime);
}
.spx-nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
}
.spx-nav-toggle__bars::before,
.spx-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform .24s var(--spx-ease), top .24s var(--spx-ease);
}
.spx-nav-toggle__bars::before { top: -5px; }
.spx-nav-toggle__bars::after { top: 5px; }
.spx-nav-toggle[aria-expanded="true"] .spx-nav-toggle__bars { background: transparent; }
.spx-nav-toggle[aria-expanded="true"] .spx-nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.spx-nav-toggle[aria-expanded="true"] .spx-nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
.spx-nav-toggle__label { white-space: nowrap; }

/* 导航 */
.spx-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.spx-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.spx-nav__item { margin: 0; }

.spx-nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 11px;
  color: rgba(244, 247, 251, .84);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: color .2s var(--spx-ease);
}
.spx-nav__link::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 3px;
  height: 2px;
  background: var(--spx-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s var(--spx-ease);
}
.spx-nav__link:hover { color: #fff; }
.spx-nav__link:hover::after { transform: scaleX(1); }
.spx-nav__link[aria-current="page"] { color: #fff; }
.spx-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.spx-nav__link[aria-current="page"] .spx-nav__num { color: var(--spx-lime); }

.spx-nav__num {
  font-family: var(--spx-font-data);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--spx-silver);
  transition: color .2s var(--spx-ease);
}

.spx-nav__cta { margin-left: 12px; }

/* ============ 通用按钮 ============ */
.spx-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--spx-orange);
  color: #fff;
  font-family: var(--spx-font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: background-color .24s var(--spx-ease), color .24s var(--spx-ease), transform .24s var(--spx-ease), box-shadow .24s var(--spx-ease);
}
.spx-cta:hover {
  background: var(--spx-lime);
  color: var(--spx-ink);
  transform: translateY(-2px);
}
.spx-cta:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--spx-lime);
}
.spx-cta--sm { padding: 10px 16px; font-size: 14px; }
.spx-cta--ghost {
  background: transparent;
  color: var(--spx-mist);
  box-shadow: inset 0 0 0 1px rgba(199, 206, 216, .5);
}
.spx-cta--ghost:hover {
  background: rgba(69, 240, 140, .12);
  color: var(--spx-lime);
  box-shadow: inset 0 0 0 1px var(--spx-lime);
}
.spx-cta--onlight {
  background: transparent;
  color: var(--spx-deep);
  box-shadow: inset 0 0 0 1px rgba(11, 30, 58, .38);
}
.spx-cta--onlight:hover {
  background: var(--spx-deep);
  color: var(--spx-mist);
  box-shadow: inset 0 0 0 1px var(--spx-deep);
}

/* ============ 布局与分区 ============ */
.spx-wrap {
  width: 100%;
  max-width: var(--spx-max);
  margin-inline: auto;
  padding-inline: var(--spx-gutter);
}

.spx-section { padding-block: clamp(48px, 6vw, 96px); }
.spx-section--tight { padding-block: clamp(28px, 3.5vw, 56px); }

.spx-band--deep { background: var(--spx-deep); color: var(--spx-mist); }
.spx-band--teal { background: var(--spx-teal); color: var(--spx-mist); }
.spx-band--indigo { background: var(--spx-indigo); color: var(--spx-mist); }
.spx-band--wine { background: var(--spx-wine); color: var(--spx-mist); }
.spx-band--mist { background: var(--spx-mist); color: var(--spx-ink); }

.spx-band--deep a,
.spx-band--teal a,
.spx-band--indigo a,
.spx-band--wine a { color: var(--spx-mist); }
.spx-band--deep a:hover,
.spx-band--teal a:hover,
.spx-band--indigo a:hover,
.spx-band--wine a:hover { color: var(--spx-lime); }

.spx-band--deep .spx-rule,
.spx-band--teal .spx-rule,
.spx-band--indigo .spx-rule,
.spx-band--wine .spx-rule { border-top-color: rgba(199, 206, 216, .24); }

.spx-rule {
  border: 0;
  border-top: 1px solid rgba(11, 30, 58, .14);
  margin-block: clamp(26px, 4vw, 52px);
}

/* 编号章节 */
.spx-chapter {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}
.spx-chapter--flip { grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); }
.spx-chapter--flip .spx-chapter__aside { order: 2; }
.spx-chapter--flip .spx-chapter__body { order: 1; }

.spx-chapter__num {
  margin: 0 0 10px;
  font-family: var(--spx-font-data);
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.03em;
  color: rgba(11, 30, 58, .16);
  transition: color .3s var(--spx-ease);
}
.spx-band--deep .spx-chapter__num,
.spx-band--teal .spx-chapter__num,
.spx-band--indigo .spx-chapter__num,
.spx-band--wine .spx-chapter__num { color: rgba(199, 206, 216, .28); }

.spx-chapter.is-active .spx-chapter__num { color: var(--spx-orange); }

.spx-chapter__aside { position: relative; }
.spx-chapter__body { min-width: 0; }

.spx-eyebrow {
  margin: 0 0 10px;
  font-family: var(--spx-font-data);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--spx-orange);
}

.spx-lead {
  max-width: 60ch;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.7;
}

/* 卡片 */
.spx-card {
  position: relative;
  padding: clamp(18px, 2vw, 26px);
  background: #fff;
  border: 1px solid rgba(11, 30, 58, .12);
  transition: transform .24s var(--spx-ease), border-color .24s var(--spx-ease), box-shadow .24s var(--spx-ease);
}
.spx-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, transparent 0 49%, rgba(255, 90, 31, .9) 50% 100%);
  pointer-events: none;
}
.spx-card:hover {
  transform: translateY(-4px);
  border-color: var(--spx-lime);
  box-shadow: 0 20px 36px -28px rgba(11, 30, 58, .75);
}
.spx-card:hover::after {
  background: linear-gradient(135deg, transparent 0 49%, var(--spx-lime) 50% 100%);
}
.spx-band--deep .spx-card,
.spx-band--teal .spx-card,
.spx-band--indigo .spx-card,
.spx-band--wine .spx-card {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(199, 206, 216, .22);
  color: var(--spx-mist);
}

/* 展览说明牌标签 */
.spx-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 8px;
  border-left: 3px solid var(--spx-orange);
  background: rgba(11, 30, 58, .06);
  color: var(--spx-deep);
  font-family: var(--spx-font-data);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.spx-tag--lime { border-left-color: var(--spx-lime); }
.spx-tag--indigo { border-left-color: var(--spx-indigo); background: rgba(42, 47, 107, .1); }
.spx-tag--wine { border-left-color: var(--spx-wine); }
.spx-tag--dark {
  background: rgba(255, 255, 255, .07);
  color: var(--spx-silver);
  border-left-color: var(--spx-lime);
}

/* 图片容器基础规则 */
.spx-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--spx-deep) 0%, var(--spx-teal) 100%);
}
.spx-media > img,
.spx-media > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spx-media--wide { aspect-ratio: 21 / 9; }
.spx-media--square { aspect-ratio: 1 / 1; }
.spx-media--portrait { aspect-ratio: 3 / 4; }
.spx-media--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4%), calc(100% - 4%) 100%, 0 100%);
}
.spx-media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  background: linear-gradient(0deg, rgba(7, 12, 20, .88) 0%, rgba(7, 12, 20, 0) 100%);
  color: var(--spx-mist);
  font-family: var(--spx-font-data);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .06em;
}

/* 面包屑 */
.spx-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-family: var(--spx-font-data);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--spx-silver);
}
.spx-crumbs li { display: inline-flex; align-items: center; }
.spx-crumbs li::after { content: "/"; margin-left: 6px; opacity: .6; }
.spx-crumbs li:last-child::after { content: ""; margin: 0; }
.spx-crumbs a {
  color: inherit;
  border-bottom: 1px solid rgba(199, 206, 216, .45);
}
.spx-crumbs a:hover { color: var(--spx-orange); border-color: var(--spx-orange); }

/* ============ 页脚 ============ */
.spx-footer {
  position: relative;
  overflow: hidden;
  background: var(--spx-ink);
  color: var(--spx-mist);
}
.spx-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--spx-orange) 0 16%,
    var(--spx-lime) 16% 24%,
    var(--spx-indigo) 24% 64%,
    var(--spx-teal) 64% 100%);
}
.spx-footer::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(69, 240, 140, .14);
  box-shadow: inset 0 0 0 42px rgba(42, 47, 107, .3);
  pointer-events: none;
}

.spx-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--spx-max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 82px) var(--spx-gutter) clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.9fr) minmax(0, 1.25fr);
  gap: clamp(28px, 4vw, 56px);
}

.spx-footer__brand {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--spx-mist);
}
.spx-footer__tagline {
  max-width: 26ch;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(244, 247, 251, .78);
}
.spx-footer__stamp {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid rgba(69, 240, 140, .35);
  color: var(--spx-lime);
  font-family: var(--spx-font-data);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.spx-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.spx-footer__col { min-width: 0; }

.spx-footer__col-title {
  margin: 0 0 14px;
  font-family: var(--spx-font-data);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--spx-silver);
}

.spx-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.spx-footer__link {
  display: inline-block;
  color: rgba(244, 247, 251, .86);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--spx-ease), border-color .2s var(--spx-ease);
}
.spx-footer__link:hover {
  color: var(--spx-lime);
  border-bottom-color: var(--spx-lime);
}

.spx-footer__contact {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}
.spx-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 247, 251, .86);
}
.spx-contact__value {
  font-family: var(--spx-font-data);
  font-size: 13.5px;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
.spx-contact--wide { color: rgba(244, 247, 251, .72); }
.spx-contact--wide .spx-contact__value {
  font-family: var(--spx-font-head);
  font-size: 14px;
  line-height: 1.7;
}
.spx-copy {
  padding: 5px 9px;
  background: transparent;
  border: 1px solid rgba(199, 206, 216, .36);
  color: var(--spx-silver);
  font-family: var(--spx-font-head);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .2s var(--spx-ease), border-color .2s var(--spx-ease), background-color .2s var(--spx-ease);
}
.spx-copy:hover { border-color: var(--spx-lime); color: var(--spx-lime); }
.spx-copy.is-done {
  background: var(--spx-lime);
  border-color: var(--spx-lime);
  color: var(--spx-ink);
}
.spx-copy:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--spx-lime);
}

.spx-footer__service {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(199, 206, 216, .74);
}

.spx-footer__base {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(199, 206, 216, .16);
}
.spx-footer__base-inner {
  max-width: var(--spx-max);
  margin: 0 auto;
  padding: 18px var(--spx-gutter) 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--spx-silver);
}
.spx-footer__legal { margin: 0; }
.spx-footer__note {
  margin: 0;
  color: rgba(199, 206, 216, .7);
}
.spx-top {
  padding: 9px 14px;
  background: transparent;
  border: 1px solid rgba(199, 206, 216, .36);
  color: var(--spx-silver);
  font-family: var(--spx-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background-color .2s var(--spx-ease), color .2s var(--spx-ease), border-color .2s var(--spx-ease);
}
.spx-top:hover {
  background: var(--spx-orange);
  border-color: var(--spx-orange);
  color: #fff;
}
.spx-top:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--spx-lime);
}

/* ============ 显现动效 ============ */
@media (prefers-reduced-motion: no-preference) {
  html.spx-js [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .32s var(--spx-ease), transform .32s var(--spx-ease);
  }
  html.spx-js [data-reveal].is-inview {
    opacity: 1;
    transform: none;
  }
}

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .spx-footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .spx-footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 1020px) {
  :root { --spx-header-h: 92px; }

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

  .spx-nav {
    position: fixed;
    top: var(--spx-header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--spx-header-h));
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--spx-gutter) 30px;
    background: var(--spx-deep);
    border-top: 2px solid var(--spx-orange);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  }
  .spx-nav[data-open] { display: flex; }

  .spx-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .spx-nav__link {
    justify-content: flex-start;
    padding: 16px 0;
    font-size: 19px;
    border-bottom: 1px solid rgba(199, 206, 216, .14);
  }
  .spx-nav__link::after { display: none; }
  .spx-nav__link[aria-current="page"] { color: var(--spx-lime); }
  .spx-nav__num { font-size: 11px; color: var(--spx-silver); }

  .spx-nav__cta {
    margin: 22px 0 0;
    width: 100%;
    padding: 15px 20px;
    font-size: 15px;
  }

  .spx-chapter,
  .spx-chapter--flip { grid-template-columns: minmax(0, 1fr); }
  .spx-chapter--flip .spx-chapter__aside { order: 0; }
  .spx-chapter--flip .spx-chapter__body { order: 0; }
}

@media (max-width: 760px) {
  .spx-utility__meta { display: none; }
  .spx-utility__text { font-size: 11.5px; letter-spacing: .04em; }

  .spx-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .spx-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .spx-footer__base-inner { flex-direction: column; align-items: flex-start; }
  .spx-footer__base-inner .spx-top { align-self: flex-start; }
}

@media (max-width: 480px) {
  .spx-brand__sub { letter-spacing: .16em; }
  .spx-footer__cols { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
