/* =========================================================
   竞技宝赛事 · 共享外壳样式
   文件路径：/assets/site.css
   内容：重置 / 变量 / 中文排版 / 双层头部 / 页脚 / 通用组件
   ========================================================= */

:root {
  --ax-ink: #061712;
  --ax-charcoal: #0D1110;
  --ax-paper: #F4EBDD;
  --ax-paper-muted: #CFC2AE;
  --ax-cyan: #35F2D0;
  --ax-orange: #FF6B2C;
  --ax-purple: #A77BFF;
  --ax-grid: #20302B;
  --ax-glass: #F4EBDD14;
  --ax-success: #8CFF7A;
  --ax-alert: #FF4D6D;
  --ax-deep-paper: #E4D7C3;
  --ax-ink-soft: #1A0B03;

  --ax-font-display: "Barlow Condensed", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --ax-font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", sans-serif;
  --ax-font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --ax-wrap: 1200px;
  --ax-gutter: clamp(16px, 4vw, 40px);
  --ax-radius: 2px;
  --ax-ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  background-color: var(--ax-ink);
  color: var(--ax-paper);
  font-family: var(--ax-font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: var(--ax-cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }

::selection { background-color: var(--ax-cyan); color: var(--ax-ink); }

:focus-visible {
  outline: 2px solid var(--ax-cyan);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }

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

/* ---------- 跳至主要内容 ---------- */
.ax-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  display: inline-block;
  padding: 11px 20px;
  transform: translateY(-180%);
  background-color: var(--ax-cyan);
  color: var(--ax-ink);
  font-family: var(--ax-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--ax-radius);
  transition: transform .2s var(--ax-ease);
}
.ax-skip:focus,
.ax-skip:focus-visible {
  transform: translateY(0);
  outline-offset: 4px;
}

/* ---------- 品牌锁定 ---------- */
.ax-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  color: var(--ax-paper);
  text-decoration: none;
}
.ax-brand__mark {
  font-family: var(--ax-font-display);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .02em;
}
.ax-brand__line {
  font-family: var(--ax-font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ax-paper-muted);
}
.ax-brand:hover .ax-brand__mark,
.ax-brand:focus-visible .ax-brand__mark { color: var(--ax-cyan); }

/* =========================================================
   头部
   ========================================================= */
.ax-header {
  position: relative;
  z-index: 60;
  background-color: var(--ax-ink);
}

/* --- 上层信息带 --- */
.ax-header__top {
  background-color: var(--ax-charcoal);
  border-bottom: 1px solid var(--ax-grid);
  position: relative;
}
.ax-header__top::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: min(180px, 30vw);
  height: 1px;
  background: linear-gradient(90deg, var(--ax-cyan), transparent);
}
.ax-header__top-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px clamp(12px, 2vw, 28px);
  min-height: 66px;
  padding-block: 10px;
}

.ax-header__note {
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ax-paper-muted);
}

.ax-pulse {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--ax-cyan);
  box-shadow: 0 0 0 0 rgba(53, 242, 208, .5);
  animation: ax-pulse 2.4s ease-out infinite;
}
@keyframes ax-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(53, 242, 208, .5); }
  70%  { box-shadow: 0 0 0 9px rgba(53, 242, 208, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 242, 208, 0); }
}

.ax-utility {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.ax-utility__link {
  display: inline-block;
  padding: 8px 13px;
  background-color: transparent;
  border: 1px solid var(--ax-grid);
  border-radius: var(--ax-radius);
  color: var(--ax-paper-muted);
  font-family: var(--ax-font-display);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s var(--ax-ease), border-color .18s var(--ax-ease), background-color .18s var(--ax-ease);
}
.ax-utility__link:hover,
.ax-utility__link:focus-visible {
  color: var(--ax-cyan);
  border-color: var(--ax-cyan);
}
.ax-utility__link--cta {
  background-color: var(--ax-orange);
  border-color: var(--ax-orange);
  color: var(--ax-ink-soft);
}
.ax-utility__link--cta:hover,
.ax-utility__link--cta:focus-visible {
  background-color: var(--ax-paper);
  border-color: var(--ax-paper);
  color: var(--ax-ink);
}

/* --- 下层栏目带 --- */
.ax-header__bottom {
  position: relative;
  background-color: var(--ax-ink);
  border-bottom: 1px solid var(--ax-grid);
}
.ax-header__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
}

.ax-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 70;
  display: none;
  padding-inline: var(--ax-gutter);
  padding-block: 4px 8px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  background-color: var(--ax-charcoal);
  border-bottom: 1px solid var(--ax-grid);
  box-shadow: 0 22px 40px rgba(0, 0, 0, .55);
}
.ax-nav[data-open] {
  display: block;
  animation: ax-nav-in .2s var(--ax-ease) both;
}
@keyframes ax-nav-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ax-nav__list {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.ax-nav__item { width: 100%; }

.ax-nav__link {
  position: relative;
  display: block;
  padding: 14px 12px;
  color: var(--ax-paper-muted);
  font-family: var(--ax-font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .06em;
  text-decoration: none;
  border-bottom: 1px solid var(--ax-grid);
  transition: color .18s var(--ax-ease), background-color .18s var(--ax-ease);
}
.ax-nav__item:last-child .ax-nav__link { border-bottom: 0; }
.ax-nav__link::after { display: none; }

.ax-nav__link:hover,
.ax-nav__link:focus-visible {
  color: var(--ax-paper);
  background-color: var(--ax-glass);
}
.ax-nav__link[aria-current="page"] {
  color: var(--ax-cyan);
  background-color: var(--ax-glass);
  box-shadow: inset 3px 0 0 var(--ax-cyan);
}

/* --- 移动端按钮 --- */
.ax-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background-color: transparent;
  border: 1px solid var(--ax-grid);
  border-radius: var(--ax-radius);
  color: var(--ax-paper);
  font-family: var(--ax-font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .18s var(--ax-ease), border-color .18s var(--ax-ease);
}
.ax-nav-toggle:hover,
.ax-nav-toggle:focus-visible {
  color: var(--ax-cyan);
  border-color: var(--ax-cyan);
}
.ax-nav-toggle__lines {
  position: relative;
  display: block;
  width: 16px;
  height: 12px;
}
.ax-nav-toggle__lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: currentColor;
  transition: transform .2s var(--ax-ease), opacity .2s var(--ax-ease), top .2s var(--ax-ease);
}
.ax-nav-toggle__lines span:nth-child(1) { top: 0; }
.ax-nav-toggle__lines span:nth-child(2) { top: 5px; }
.ax-nav-toggle__lines span:nth-child(3) { top: 10px; }
[data-nav-toggle][aria-expanded="true"] .ax-nav-toggle__lines span:nth-child(1) { top: 5px; transform: rotate(45deg); }
[data-nav-toggle][aria-expanded="true"] .ax-nav-toggle__lines span:nth-child(2) { opacity: 0; }
[data-nav-toggle][aria-expanded="true"] .ax-nav-toggle__lines span:nth-child(3) { top: 5px; transform: rotate(-45deg); }
.ax-nav-toggle__label { line-height: 1; }

/* --- 桌面端头部 --- */
@media (min-width: 900px) {
  .ax-header__note { display: flex; }
  .ax-nav-toggle { display: none; }
  .ax-nav,
  .ax-nav[data-open] {
    position: static;
    display: block;
    width: 100%;
    padding: 0;
    max-height: none;
    overflow: visible;
    background-color: transparent;
    border-bottom: 0;
    box-shadow: none;
    animation: none;
  }
  .ax-nav__list { flex-direction: row; flex-wrap: wrap; align-items: stretch; }
  .ax-nav__item { width: auto; }
  .ax-nav__link {
    padding: 16px clamp(10px, 1.4vw, 20px);
    font-size: 14px;
    letter-spacing: .1em;
    border-bottom: 0;
  }
  .ax-nav__link::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 0;
    display: block;
    height: 2px;
    background-color: var(--ax-cyan);
    transition: left .22s var(--ax-ease), right .22s var(--ax-ease);
  }
  .ax-nav__link:hover,
  .ax-nav__link:focus-visible {
    color: var(--ax-paper);
    background-color: var(--ax-glass);
  }
  .ax-nav__link:hover::after,
  .ax-nav__link:focus-visible::after { left: 0; right: 0; }
  .ax-nav__link[aria-current="page"] {
    color: var(--ax-cyan);
    background-color: transparent;
    box-shadow: none;
  }
  .ax-nav__link[aria-current="page"]::after {
    left: 0;
    right: 0;
    box-shadow: 0 0 12px rgba(53, 242, 208, .7);
  }
}

@media (max-width: 899px) {
  .ax-header__note { display: none; }
  .ax-header__top-inner { min-height: 0; padding-block: 12px; }
  .ax-header__bottom-inner { min-height: 56px; }
  .ax-brand__mark { font-size: 19px; }
  .ax-utility__link { padding: 7px 10px; font-size: 11px; letter-spacing: .1em; }
}

@media (max-width: 560px) {
  .ax-utility__link:not(.ax-utility__link--cta) { display: none; }
  .ax-brand__line { font-size: 9px; letter-spacing: .1em; }
}

/* =========================================================
   页脚
   ========================================================= */
.ax-footer {
  position: relative;
  background-color: var(--ax-ink);
  border-top: 1px solid var(--ax-grid);
  padding-block: clamp(40px, 6vw, 76px) clamp(24px, 3vw, 36px);
}
.ax-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(300px, 45vw);
  height: 2px;
  background: linear-gradient(90deg, var(--ax-cyan), var(--ax-orange) 60%, transparent);
}
.ax-footer__inner {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
}
.ax-footer__masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 32px;
}
.ax-brand--footer .ax-brand__mark { font-size: clamp(22px, 3vw, 28px); }
.ax-footer__tag {
  font-family: var(--ax-font-display);
  font-size: clamp(17px, 2.4vw, 25px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  color: var(--ax-deep-paper);
}

.ax-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 26px clamp(16px, 3vw, 40px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--ax-grid);
}
.ax-footer__col { min-width: 0; }
.ax-footer__title {
  margin-bottom: 14px;
  font-family: var(--ax-font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ax-cyan);
}
.ax-footer__col--contact .ax-footer__title { color: var(--ax-orange); }

.ax-footer__list {
  display: grid;
  gap: 9px;
}
.ax-footer__list--plain li {
  font-family: var(--ax-font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ax-paper-muted);
  word-break: break-word;
}
.ax-footer__link {
  display: inline-block;
  padding-block: 2px;
  color: var(--ax-paper-muted);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ax-ease), border-color .18s var(--ax-ease);
}
.ax-footer__link:hover,
.ax-footer__link:focus-visible {
  color: var(--ax-paper);
  border-bottom-color: var(--ax-cyan);
}

.ax-footer__meta {
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--ax-grid);
}
.ax-footer__note {
  max-width: 72ch;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ax-paper-muted);
}
.ax-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  font-family: var(--ax-font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ax-paper-muted);
}
.ax-footer__copy { letter-spacing: .04em; }
.ax-footer__icp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  border: 1px solid var(--ax-grid);
  border-radius: var(--ax-radius);
  color: var(--ax-paper-muted);
}
.ax-footer__icp::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--ax-purple);
}

/* =========================================================
   通用排版与内容组件
   ========================================================= */
.ax-section { padding-block: clamp(48px, 7vw, 96px); }
.ax-section--charcoal { background-color: var(--ax-charcoal); }
.ax-section--paper {
  background-color: var(--ax-deep-paper);
  color: var(--ax-ink);
}
.ax-section--paper .ax-chapter { color: #0F6E5C; }
.ax-section--paper .ax-chapter::after { background: linear-gradient(90deg, #B9A98F, transparent); }
.ax-section--paper .ax-prose { color: #12211C; }

.ax-chapter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(18px, 2.4vw, 28px);
  font-family: var(--ax-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ax-cyan);
}
.ax-chapter::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--ax-grid), transparent);
}

.ax-h1, .ax-h2, .ax-h3 {
  font-family: var(--ax-font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: .01em;
}
.ax-h1 { font-size: clamp(40px, 7vw, 72px); }
.ax-h2 { font-size: clamp(28px, 4vw, 40px); }
.ax-h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; line-height: 1.24; }

.ax-prose {
  max-width: 68ch;
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--ax-paper);
}
.ax-prose p { margin-bottom: 1.15em; }
.ax-prose p:last-child { margin-bottom: 0; }
.ax-prose a { color: var(--ax-cyan); }
.ax-prose strong { font-weight: 600; color: var(--ax-paper); }

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

.ax-card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background-color: var(--ax-charcoal);
  border: 1px solid var(--ax-grid);
  border-radius: var(--ax-radius);
  transition: border-color .2s var(--ax-ease), background-color .2s var(--ax-ease), transform .2s var(--ax-ease);
}
.ax-card:hover { border-color: var(--ax-cyan); }
.ax-card--glass {
  background-color: var(--ax-glass);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-color: rgba(244, 235, 221, .14);
}

.ax-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ax-font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ax-paper-muted);
}
.ax-label--cyan { color: var(--ax-cyan); }
.ax-label--orange { color: var(--ax-orange); }
.ax-label--purple { color: var(--ax-purple); }
.ax-label--success { color: var(--ax-success); }
.ax-label--alert { color: var(--ax-alert); }

.ax-num {
  font-family: var(--ax-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.ax-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--ax-radius);
  font-family: var(--ax-font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ax-ease), border-color .18s var(--ax-ease), color .18s var(--ax-ease);
}
.ax-btn--primary {
  background-color: var(--ax-orange);
  border-color: var(--ax-orange);
  color: var(--ax-ink-soft);
}
.ax-btn--primary:hover,
.ax-btn--primary:focus-visible {
  background-color: var(--ax-cyan);
  border-color: var(--ax-cyan);
  color: var(--ax-ink);
}
.ax-btn--ghost {
  background-color: transparent;
  border-color: var(--ax-grid);
  color: var(--ax-paper);
}
.ax-btn--ghost:hover,
.ax-btn--ghost:focus-visible {
  border-color: var(--ax-cyan);
  color: var(--ax-cyan);
}

.ax-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-family: var(--ax-font-mono);
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: .08em;
  color: var(--ax-paper-muted);
}
.ax-breadcrumb li { display: flex; align-items: center; gap: 10px; }
.ax-breadcrumb li + li::before {
  content: "/";
  color: var(--ax-grid);
}
.ax-breadcrumb a {
  color: var(--ax-paper-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ax-ease), border-color .18s var(--ax-ease);
}
.ax-breadcrumb a:hover,
.ax-breadcrumb a:focus-visible {
  color: var(--ax-cyan);
  border-bottom-color: var(--ax-cyan);
}
.ax-breadcrumb [aria-current="page"] { color: var(--ax-paper); }

.ax-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}
.ax-table th {
  padding: 12px 14px;
  background-color: var(--ax-glass);
  border-bottom: 1px solid var(--ax-grid);
  font-family: var(--ax-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: left;
  color: var(--ax-paper-muted);
}
.ax-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--ax-grid);
  vertical-align: top;
}
.ax-table .ax-num { color: var(--ax-paper); }

/* ---------- 图片容器基础规则 ---------- */
.ax-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--ax-charcoal);
  background-image:
    linear-gradient(155deg, rgba(53, 242, 208, .12), rgba(6, 23, 18, 0) 58%),
    linear-gradient(340deg, rgba(167, 123, 255, .14), rgba(6, 23, 18, 0) 55%);
  border: 1px solid var(--ax-grid);
  border-radius: var(--ax-radius);
}
.ax-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(244, 235, 221, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 235, 221, .07) 1px, transparent 1px);
  background-size: 30px 30px;
}
.ax-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ax-media--wide { aspect-ratio: 21 / 9; }
.ax-media--square { aspect-ratio: 1 / 1; }
.ax-media--tall { aspect-ratio: 3 / 4; }
.ax-media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(6, 23, 18, .92), rgba(6, 23, 18, 0));
  font-family: var(--ax-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ax-paper-muted);
}

/* ---------- 横向赛道 ---------- */
.ax-track {
  display: flex;
  gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--ax-grid) transparent;
  cursor: grab;
}
.ax-track > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.ax-track[data-dragging] {
  cursor: grabbing;
  scroll-snap-type: none;
  -webkit-user-select: none;
  user-select: none;
}
.ax-track::-webkit-scrollbar { height: 6px; }
.ax-track::-webkit-scrollbar-track { background-color: var(--ax-charcoal); }
.ax-track::-webkit-scrollbar-thumb { background-color: var(--ax-grid); }
.ax-track:focus-visible { outline: 2px solid var(--ax-cyan); outline-offset: 4px; }

/* ---------- 滚动显现 ---------- */
html.ax-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .45s var(--ax-ease), transform .45s var(--ax-ease);
}
html.ax-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 自适应与无障碍 ---------- */
@media (max-width: 767px) {
  body { font-size: 15.5px; }
  .ax-prose { font-size: 1rem; }
  .ax-footer__masthead { flex-direction: column; align-items: flex-start; }
}

@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;
  }
  .ax-pulse { animation: none; box-shadow: none; }
  html.ax-js [data-reveal] { opacity: 1; transform: none; }
  .ax-nav[data-open] { animation: none; }
}
