/* =========================================================
   爱体育月卡 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 侧边轨道头部 / 页脚 /
   通用按钮、标签、卡片、网格、时间轴、图片容器
   ========================================================= */

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

ul, ol { list-style: none; }

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

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

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

table { border-collapse: collapse; width: 100%; }

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

/* ---------- 2. 变量 ---------- */
:root {
  /* 矿物色体系 */
  --at-sea: #0E5A8A;          /* 海风蓝 · 主色 */
  --at-deep: #0A3A5A;         /* 深海蓝 */
  --at-tide: #CFE6F2;         /* 潮汐浅蓝 */
  --at-moss: #3E8E5A;         /* 苔绿 */
  --at-sprout: #A8D5A2;       /* 新芽绿 */
  --at-orange: #F08A3C;       /* 月卡暖橙 */
  --at-clay: #C4643C;         /* 陶土 */
  --at-stone: #4A4F55;        /* 岩灰 · 正文 */
  --at-sand: #F7F4EC;         /* 米白 · 底色 */
  --at-glass: rgba(255, 255, 255, 0.62);
  --at-ink: #22262A;          /* 深岩灰 · 数字 */

  --at-line: rgba(74, 79, 85, 0.14);
  --at-line-sea: rgba(14, 90, 138, 0.22);

  /* 尺寸与节奏 */
  --at-rail-w: 264px;
  --at-cmd-h: 64px;
  --at-r-sm: 10px;
  --at-r-md: 16px;
  --at-r-lg: 26px;
  --at-s1: 24px;
  --at-s2: 40px;
  --at-s3: 72px;

  /* 字体 */
  --at-font-sans: "HarmonyOS Sans SC", "Noto Sans SC", system-ui, -apple-system,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --at-mono: ui-monospace, "JetBrains Mono", SFMono-Regular, "SF Mono", Menlo,
    Consolas, monospace;
}

/* ---------- 3. 中文排版与页面基底 ---------- */
body {
  margin: 0;
  font-family: var(--at-font-sans);
  font-size: 17px;
  line-height: 1.78;
  color: var(--at-stone);
  background-color: var(--at-sand);
  background-image:
    radial-gradient(circle at 88% 4%, rgba(207, 230, 242, 0.85), transparent 46%),
    radial-gradient(circle at 4% 96%, rgba(168, 213, 162, 0.35), transparent 42%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 1024px) {
  body { padding-left: var(--at-rail-w); }
}

#main-content { display: block; scroll-margin-top: 88px; }

@media (min-width: 1024px) {
  #main-content { padding-top: var(--at-cmd-h); }
}

/* 标题与文本 */
.at-h1 {
  font-size: clamp(34px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--at-deep);
}
.at-h2 {
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 800;
  color: var(--at-deep);
}
.at-h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--at-deep);
}
.at-lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
  max-width: 62ch;
  color: var(--at-stone);
}
.at-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--at-sea);
  font-variant-numeric: tabular-nums;
}
.at-eyebrow--vertical {
  writing-mode: vertical-rl;
  letter-spacing: 0.28em;
  color: var(--at-clay);
}
.at-num {
  font-family: var(--at-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--at-ink);
}

/* ---------- 4. 容器与网格 ---------- */
.at-wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) {
  .at-wrap { padding-inline: 32px; }
}
@media (min-width: 1280px) {
  .at-wrap { max-width: 1240px; padding-inline: 48px; }
}

.at-section { padding-block: var(--at-s2); }
@media (min-width: 1024px) {
  .at-section { padding-block: var(--at-s3); }
}
.at-section__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.at-grid {
  display: grid;
  gap: var(--at-s1);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .at-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .at-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
}

.at-grid--12 {
  display: grid;
  gap: var(--at-s1);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1024px) {
  .at-grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px; }
  .at-col-3 { grid-column: span 3; }
  .at-col-4 { grid-column: span 4; }
  .at-col-5 { grid-column: span 5; }
  .at-col-6 { grid-column: span 6; }
  .at-col-7 { grid-column: span 7; }
  .at-col-8 { grid-column: span 8; }
  .at-col-12 { grid-column: span 12; }
}

.at-stack { display: flex; flex-direction: column; gap: 16px; }
.at-stack--lg { gap: 28px; }

.at-rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(14, 90, 138, 0.34), rgba(14, 90, 138, 0));
}

/* ---------- 5. 跳转链接 ---------- */
.at-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: var(--at-r-sm);
  background: var(--at-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}
.at-skip:focus { transform: translateY(0); }

/* ---------- 6. 头部外壳 ---------- */
.at-header { position: relative; z-index: 120; }

/* 6.1 品牌轨道 */
.at-rail {
  position: relative;
  background: linear-gradient(110deg, #0A3A5A 0%, #0E5A8A 78%, #12689E 100%);
  color: #fff;
}

.at-rail__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.at-rail__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  background: var(--at-orange);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(240, 138, 60, 0.34);
}

.at-rail__names { display: flex; flex-direction: column; min-width: 0; }

.at-rail__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.3;
}

.at-rail__line {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--at-tide);
  opacity: 0.88;
  line-height: 1.5;
}

/* 6.2 移动端栏目按钮 */
.at-nav-toggle { display: none; }

/* 6.3 索引式导航 */
.at-nav__list { display: flex; flex-direction: column; gap: 2px; }

.at-nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.at-nav__link:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.at-nav__idx {
  font-family: var(--at-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--at-tide);
  opacity: 0.7;
}

.at-nav__label { line-height: 1.3; }

.at-nav__link[aria-current="page"] {
  background: var(--at-sand);
  color: var(--at-deep);
  font-weight: 800;
}
.at-nav__link[aria-current="page"] .at-nav__idx {
  color: var(--at-orange);
  opacity: 1;
}

/* 6.4 轨道状态条 */
.at-rail__status {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.at-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.at-status__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
}
.at-status__dot--live { background: var(--at-moss); box-shadow: 0 0 0 3px rgba(168, 213, 162, 0.28); }
.at-status__dot--new { background: var(--at-orange); box-shadow: 0 0 0 3px rgba(240, 138, 60, 0.24); }
.at-status__dot--season { background: var(--at-tide); box-shadow: 0 0 0 3px rgba(207, 230, 242, 0.22); }

.at-status__label { letter-spacing: 0.04em; }

.at-status__value {
  margin-left: auto;
  font-family: var(--at-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  color: #fff;
}
.at-status__value .at-num { color: #fff; }

/* 6.5 命令栏 */
.at-commands {
  position: relative;
  background: var(--at-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--at-line);
}
.at-commands::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(14, 90, 138, 0.32) 0 14px, transparent 14px 28px);
  pointer-events: none;
}

.at-commands__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 20px;
  min-height: 52px;
}
@media (min-width: 768px) {
  .at-commands__inner { padding-inline: 32px; }
}
@media (min-width: 1280px) {
  .at-commands__inner { padding-inline: 48px; }
}

.at-commands__now {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--at-deep);
  min-width: 0;
}

.at-commands__mark {
  font-family: var(--at-mono);
  font-size: 15px;
  color: var(--at-orange);
}

.at-commands__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.at-commands__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(62, 142, 90, 0.14);
  color: #2C6B42;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.at-commands__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.at-act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--at-line-sea);
  background: rgba(255, 255, 255, 0.72);
  color: var(--at-sea);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.at-act:hover { background: #fff; border-color: var(--at-sea); }
.at-act[aria-pressed="true"] {
  background: var(--at-moss);
  border-color: var(--at-moss);
  color: #fff;
}

/* 行动链接 */
.at-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--at-orange);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.at-cta:hover { background: var(--at-clay); transform: translateY(-1px); }
.at-cta--compact { min-height: 38px; padding: 0 16px; font-size: 13.5px; }

/* 滚动进度 */
.at-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(14, 90, 138, 0.1);
  overflow: hidden;
}
.at-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--at-sea), var(--at-moss), var(--at-orange));
  transition: transform 0.12s linear;
}

/* ---------- 7. 通用按钮 ---------- */
.at-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease;
}
.at-btn--primary { background: var(--at-sea); color: #fff; }
.at-btn--primary:hover { background: var(--at-deep); transform: translateY(-1px); }
.at-btn--orange { background: var(--at-orange); color: #fff; }
.at-btn--orange:hover { background: var(--at-clay); transform: translateY(-1px); }
.at-btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--at-sea);
  border-color: var(--at-line-sea);
}
.at-btn--ghost:hover { background: #fff; border-color: var(--at-sea); }
.at-btn--sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; }

/* ---------- 8. 标签 ---------- */
.at-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--at-tide);
  color: var(--at-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.at-tag--moss { background: rgba(62, 142, 90, 0.16); color: #2C6B42; }
.at-tag--sprout { background: var(--at-sprout); color: #1F4C31; }
.at-tag--orange { background: rgba(240, 138, 60, 0.18); color: #A94F16; }
.at-tag--deep { background: var(--at-deep); color: #fff; }

/* ---------- 9. 卡片与旁注 ---------- */
.at-card {
  position: relative;
  padding: 22px;
  border-radius: var(--at-r-md);
  background: #fff;
  border: 1px solid var(--at-line);
  box-shadow: 0 10px 28px rgba(10, 58, 90, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.at-card:hover {
  transform: translateY(-3px);
  border-color: var(--at-line-sea);
  box-shadow: 0 16px 36px rgba(10, 58, 90, 0.1);
}

.at-card--glass {
  background: var(--at-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.66);
}

.at-card--deep {
  background: var(--at-deep);
  border-color: transparent;
  color: rgba(255, 255, 255, 0.86);
}
.at-card--deep .at-card__title { color: #fff; }
.at-card--deep .at-card__meta { color: rgba(255, 255, 255, 0.7); }
.at-card--deep .at-num { color: #fff; }

.at-card__title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--at-deep);
  margin-bottom: 8px;
}
.at-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--at-stone);
}
.at-card__body { font-size: 15.5px; line-height: 1.75; }

.at-note {
  padding: 18px 20px;
  border-radius: var(--at-r-md);
  background: var(--at-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: 0 8px 24px rgba(10, 58, 90, 0.07);
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--at-stone);
}
.at-note__label {
  display: block;
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--at-sea);
}

/* ---------- 10. 面包屑 ---------- */
.at-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: rgba(74, 79, 85, 0.78);
}
.at-breadcrumb a:hover { color: var(--at-sea); }
.at-breadcrumb__sep { color: var(--at-orange); }
.at-breadcrumb [aria-current="page"] { color: var(--at-deep); font-weight: 700; }

/* ---------- 11. 横向时间轴 ---------- */
.at-timeline {
  position: relative;
  display: flex;
  gap: 18px;
  padding-top: 22px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.at-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--at-sea), var(--at-tide));
}
.at-timeline__item {
  position: relative;
  flex: 1 0 132px;
  min-width: 132px;
  padding-top: 16px;
}
.at-timeline__item::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--at-sand);
  border: 2px solid var(--at-sea);
  transition: background-color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.at-timeline__item[data-active="true"]::before {
  background: var(--at-orange);
  border-color: var(--at-orange);
  box-shadow: 0 0 0 5px rgba(240, 138, 60, 0.18);
}
.at-timeline__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--at-sea);
}
.at-timeline__value {
  display: block;
  margin-top: 4px;
  font-family: var(--at-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--at-ink);
}

/* ---------- 12. 响应式图片容器 ---------- */
.at-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--at-r-md);
  border: 1px solid var(--at-line-sea);
  background:
    linear-gradient(150deg, var(--at-tide) 0%, #EAF4F9 46%, var(--at-sand) 100%);
}
.at-media img,
.at-media picture,
.at-media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.at-media--wide { aspect-ratio: 21 / 9; }
.at-media--tall { aspect-ratio: 3 / 4; }
.at-media--square { aspect-ratio: 1 / 1; }

/* 球场线条底纹：CSS 图形替代照片堆砌 */
.at-media--court::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(14, 90, 138, 0.1) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(14, 90, 138, 0.07) 0 1px, transparent 1px 46px),
    radial-gradient(circle at 50% 50%, transparent 0 54px, rgba(14, 90, 138, 0.14) 54px 56px, transparent 56px);
  pointer-events: none;
}

.at-media__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(0deg, rgba(10, 58, 90, 0.8), rgba(10, 58, 90, 0));
}
.at-media__tag { position: absolute; top: 12px; left: 12px; }

/* ---------- 13. 页脚 ---------- */
.at-footer {
  margin-top: var(--at-s3);
  background: linear-gradient(180deg, #0A3A5A 0%, #08304A 100%);
  color: rgba(255, 255, 255, 0.82);
}

.at-footer__scale {
  height: 8px;
  background: repeating-linear-gradient(90deg, rgba(207, 230, 242, 0.9) 0 2px, transparent 2px 22px);
  opacity: 0.42;
}

.at-footer__inner {
  display: grid;
  gap: 36px;
  padding-block: 52px 36px;
}
@media (min-width: 768px) {
  .at-footer__inner { grid-template-columns: 1.15fr 1.5fr 1.2fr; gap: 34px; }
}

.at-footer__logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #fff;
}

.at-footer__summary {
  margin-top: 10px;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.74);
}

.at-footer__meta {
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--at-tide);
}
.at-footer__meta .at-num { color: #fff; }

.at-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.at-footer__title {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--at-tide);
}

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

.at-footer__link {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.18s ease;
}
.at-footer__link:hover { color: #fff; }

.at-footer__contact p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
  word-break: break-word;
}
.at-footer__contact .at-num { color: #fff; }

.at-footer__note {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
}

.at-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
}
.at-footer__legal .at-num { color: rgba(255, 255, 255, 0.8); }

/* ---------- 14. 滚动显现 ---------- */
html.at-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}
html.at-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 15. 平板 / 桌面布局 ---------- */
@media (min-width: 1024px) {
  .at-rail {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 140;
    display: flex;
    flex-direction: column;
    gap: 26px;
    width: var(--at-rail-w);
    height: 100vh;
    padding: 32px 24px 24px;
    overflow-y: auto;
    background: linear-gradient(180deg, #0A3A5A 0%, #0E5A8A 62%, #0A3A5A 100%);
  }
  .at-rail::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: repeating-linear-gradient(180deg, rgba(207, 230, 242, 0.85) 0 10px, transparent 10px 26px);
    opacity: 0.4;
    pointer-events: none;
  }
  .at-rail__status { margin-top: auto; }
  .at-cta--rail { width: 100%; }
  .at-commands {
    position: fixed;
    top: 0;
    left: var(--at-rail-w);
    right: 0;
    z-index: 130;
    display: flex;
    align-items: center;
    height: var(--at-cmd-h);
    border-bottom: 1px solid var(--at-line);
  }
  .at-commands__inner { min-height: 0; }
}

/* ---------- 16. 移动端折叠 ---------- */
@media (max-width: 1023.98px) {
  .at-header {
    position: sticky;
    top: 0;
    z-index: 140;
  }

  .at-rail { padding: 10px 16px; }

  .at-rail__mark { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; font-size: 16px; }
  .at-rail__name { font-size: 15.5px; }
  .at-rail__line { display: none; }
  .at-rail__status { display: none; }
  .at-cta--rail { display: none; }

  .at-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
  }
  .at-nav-toggle__bar {
    display: block;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .at-nav-toggle[aria-expanded="true"] .at-nav-toggle__bar:nth-of-type(1) {
    transform: translateY(3px) rotate(45deg);
  }
  .at-nav-toggle[aria-expanded="true"] .at-nav-toggle__bar:nth-of-type(2) {
    transform: translateY(-3px) rotate(-45deg);
  }
  .at-nav-toggle__text { line-height: 1; }

  .at-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    padding: 12px 16px 20px;
    background: #0A3A5A;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 26px 46px rgba(10, 58, 90, 0.4);
  }
  .at-nav[data-open] { display: block; }

  .at-nav__list { gap: 4px; }
  .at-nav__link { padding: 12px; font-size: 16px; }

  .at-commands { position: relative; }
  .at-commands__inner { padding-inline: 16px; gap: 10px; min-height: 50px; }
  .at-commands__live { display: none; }
  .at-act { min-height: 34px; padding: 0 11px; font-size: 12.5px; }
  .at-cta--compact { min-height: 34px; padding: 0 14px; font-size: 13px; }
}

/* ---------- 17. 减动模式 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  html.at-js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  [data-reveal] { transition: none; }

  .at-progress__bar { transition: none; }

  .at-skip,
  .at-btn,
  .at-cta,
  .at-act,
  .at-card,
  .at-nav__link,
  .at-nav-toggle__bar,
  .at-timeline__item::before,
  .at-footer__link {
    transition: none;
  }

  .at-btn:hover,
  .at-cta:hover,
  .at-card:hover {
    transform: none;
  }
}
