/* ============================================================
   B体育登录入 · 共享样式表 /assets/site.css
   墨渊底色 · 荧光青绿 · 粗野主义战术板
   ============================================================ */

:root {
  --ink: #06110E;
  --ink-2: #0C1F19;
  --panel: #123128;
  --line: #1E4A3B;
  --mint: #35F0A8;
  --amber: #FFA23A;
  --amber-deep: #3A2410;
  --paper: #E8F5EE;
  --muted: #8FB3A4;
  --cyan: #7BD9FF;

  --rail-w: 84px;
  --topbar-h: 62px;
  --wrap: 1180px;

  --font-display: "Arial Narrow", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --shadow-hard: 6px 6px 0 rgba(0, 0, 0, .55);
  --shadow-soft: 4px 4px 0 rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

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

body {
  margin: 0;
  padding-left: var(--rail-w);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--paper);
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 5.6vw, 88px); }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 28px); }
h4 { font-size: 20px; }

p { margin: 0; }

a { color: var(--mint); text-decoration: none; }
a:hover { color: var(--cyan); }

strong { color: var(--paper); font-weight: 700; }

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

::selection { background: var(--mint); color: #04120C; }

#main-content {
  display: block;
  min-height: 60vh;
  scroll-margin-top: calc(var(--topbar-h) + 12px);
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 12px 18px;
  background: var(--mint);
  color: #04120C;
  font: 700 13px/1 var(--font-body);
  letter-spacing: .08em;
  border-radius: 2px;
  box-shadow: var(--shadow-soft);
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 头部容器 ---------- */
.site-header {
  position: static;
  z-index: 70;
}

/* ---------- 移动顶部条（桌面隐藏） ---------- */
.topbar { display: none; }

.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
}
.topbar__mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: #04120C;
  font: 900 17px/1 var(--font-display);
  border-radius: 2px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .55);
}
.topbar__name {
  font: 900 16px/1 var(--font-display);
  letter-spacing: -.01em;
}
.topbar__name em {
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--muted);
  margin-left: 4px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  background: transparent;
  border: 2px solid var(--line);
  border-radius: 2px;
  color: var(--paper);
  font: 600 12px/1 var(--font-body);
  letter-spacing: .12em;
  cursor: pointer;
  transition: border-color .16s, color .16s;
}
.nav-toggle:hover { border-color: var(--mint); color: var(--mint); }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.nav-toggle__bars i {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--mint);
  transition: transform .2s var(--ease), opacity .2s;
}
.site-header[data-open="true"] .nav-toggle__bars i:first-child { transform: translateY(3px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars i:last-child { transform: translateY(-3px) rotate(-45deg); }
.nav-toggle__text { white-space: nowrap; }

/* ---------- 侧边轨道 ---------- */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  background: #08150F;
  border-right: 2px solid var(--line);
  z-index: 80;
  overflow: visible;
}

.rail__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.rail__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: #04120C;
  font: 900 22px/1 var(--font-display);
  border-radius: 2px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .55);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.rail__brand:hover .rail__mark {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .6);
}
.rail__vert {
  writing-mode: vertical-rl;
  font: 700 11px/1 var(--font-body);
  letter-spacing: .3em;
  color: var(--muted);
  text-transform: uppercase;
}

.rail__close { display: none; }

.rail__nav { padding: 10px 0 0; }

.rail__list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.rail__item { position: relative; }

.rail__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 64px;
  color: var(--muted);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: color .16s, background-color .16s, border-color .16s;
}
.rail__link:hover,
.rail__link:focus-visible {
  color: var(--paper);
  background: var(--ink-2);
  border-left-color: var(--mint);
}
.rail__link[aria-current="page"] {
  color: var(--mint);
  background: rgba(53, 240, 168, .08);
  border-left-color: var(--mint);
}
.rail__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--mint);
  transform: translateY(-50%) rotate(45deg);
}

.rail__idx {
  font: 500 10px/1 var(--font-mono);
  letter-spacing: .16em;
  color: currentColor;
}
.rail__dot {
  display: block;
  width: 6px;
  height: 6px;
  background: currentColor;
  opacity: .85;
}

.rail__label {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  padding: 7px 12px;
  background: var(--panel);
  border: 2px solid var(--line);
  color: var(--paper);
  font: 600 12.5px/1 var(--font-body);
  letter-spacing: .12em;
  white-space: nowrap;
  border-radius: 2px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s var(--ease), transform .16s var(--ease);
}
.rail__link:hover .rail__label,
.rail__link:focus-visible .rail__label,
.rail__cta:hover .rail__label,
.rail__cta:focus-visible .rail__label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.rail__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
}

.rail__status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font: 500 9px/1.3 var(--font-mono);
  letter-spacing: .16em;
  color: var(--muted);
  text-transform: uppercase;
}
.rail__status span:last-child { display: none; }

.rail__cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--mint);
  color: #04120C;
  font: 700 17px/1 var(--font-mono);
  border-radius: 2px;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.rail__cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .6);
  color: #04120C;
}
.rail__cta .rail__label { color: var(--paper); }

.pulse-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse-once 2.6s ease-out 1 both;
}
@keyframes pulse-once {
  0%   { box-shadow: 0 0 0 0 rgba(53, 240, 168, .55); }
  60%  { box-shadow: 0 0 0 9px rgba(53, 240, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 240, 168, 0); }
}

.rail__scrim { display: none; }

/* ---------- 滚动标尺 ---------- */
.scroll-meter {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  width: 3px;
  height: 100vh;
  z-index: 85;
  pointer-events: none;
  background: rgba(30, 74, 59, .35);
}
.scroll-meter__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--mint), var(--cyan));
  transform-origin: top center;
  transform: scaleY(var(--p, 0));
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 88px;
  border-top: 2px solid var(--line);
  background: linear-gradient(180deg, #08150F 0%, var(--ink) 72%);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 96px;
  height: 2px;
  background: var(--mint);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.05fr 1.3fr .95fr;
  gap: 52px;
  padding: 52px 0 44px;
}

.footer__mark {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 12px 0 6px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: .92;
  letter-spacing: -.03em;
  color: var(--paper);
}
.footer__mark-dot {
  display: block;
  width: 11px;
  height: 11px;
  background: var(--mint);
  margin-bottom: 7px;
}
.footer__sig {
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--mint);
  margin-bottom: 14px;
}
.footer__note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 32em;
}

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

.footer__col-title {
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color .16s;
}
.footer__link::before {
  content: "";
  width: 7px;
  height: 1px;
  background: var(--line);
  transition: width .16s var(--ease), background-color .16s;
}
.footer__link:hover { color: var(--paper); }
.footer__link:hover::before { width: 16px; background: var(--mint); }

.contact-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 9px;
}
.contact-line__k {
  flex: 0 0 38px;
  font: 500 10px/1.7 var(--font-mono);
  letter-spacing: .16em;
  color: var(--muted);
  text-transform: uppercase;
}
.contact-line__v {
  font: 400 12.5px/1.65 var(--font-mono);
  letter-spacing: .01em;
  color: var(--paper);
  word-break: break-word;
}

.footer__contact .btn { margin-top: 4px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 32px;
  padding: 20px 0 38px;
  border-top: 1px solid var(--line);
}
.footer__legal,
.footer__update {
  font: 400 11.5px/1.75 var(--font-mono);
  letter-spacing: .08em;
  color: var(--muted);
}
.footer__update { max-width: 46ch; text-align: right; }

/* ---------- 通用容器 ---------- */
.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.rule {
  height: 2px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.index-label {
  display: inline-block;
  font: 500 12px/1.2 var(--font-mono);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 24px 0 0;
  font: 400 12px/1.4 var(--font-mono);
  letter-spacing: .12em;
  color: var(--muted);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--mint); }
.crumbs__sep { color: var(--line); }
.crumbs [aria-current="page"] { color: var(--paper); }

/* ---------- 正文排版 ---------- */
.prose {
  max-width: 38em;
  font-size: 16.5px;
  line-height: 1.75;
  color: #CFE4DA;
}
.prose > * + * { margin-top: 1.05em; }
.prose h2 {
  font-size: clamp(26px, 3vw, 40px);
  margin-top: 1.7em;
  color: var(--paper);
}
.prose h3 {
  font-size: 20px;
  margin-top: 1.5em;
  color: var(--mint);
  letter-spacing: .01em;
}
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--cyan); }
.prose code {
  font-family: var(--font-mono);
  font-size: .92em;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1px 5px;
  color: var(--cyan);
}

/* ---------- 栅格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-6  { grid-column: span 6; }
.col-8  { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 2px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--paper);
  font: 600 14px/1 var(--font-body);
  letter-spacing: .08em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease),
              border-color .16s, color .16s, background-color .16s;
}
.btn--primary {
  background: var(--mint);
  border-color: var(--mint);
  color: #04120C;
  box-shadow: var(--shadow-hard);
}
.btn--primary:hover {
  color: #04120C;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .58);
}
.btn--ghost:hover {
  color: var(--mint);
  border-color: var(--mint);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .45);
}
.btn--sm {
  min-height: 38px;
  padding: 0 15px;
  font-size: 12px;
  box-shadow: var(--shadow-soft);
}
.btn--sm.btn--primary { box-shadow: var(--shadow-soft); }

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  display: block;
  padding: 20px 22px;
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 2px;
  color: var(--paper);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s;
}
.card:hover {
  transform: translate(-3px, -3px);
  border-color: var(--mint);
  box-shadow: 9px 9px 0 rgba(0, 0, 0, .55);
  color: var(--paper);
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font: 500 11px/1.2 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.tag--mint {
  color: var(--mint);
  border-color: rgba(53, 240, 168, .45);
  background: rgba(53, 240, 168, .08);
}
.tag--amber {
  color: var(--amber);
  border-color: rgba(255, 162, 58, .5);
  background: var(--amber-deep);
}

/* ---------- 图片容器 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 2px;
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(158deg, rgba(6, 17, 14, .12) 0%, rgba(6, 17, 14, .82) 100%),
    repeating-linear-gradient(135deg, transparent 0 17px, rgba(53, 240, 168, .07) 17px 18px);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.7) contrast(1.05);
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

.media__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  font: 500 10.5px/1.4 var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(6, 17, 14, .78);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 5px 8px;
}

/* ---------- 滚动显现 ---------- */
[data-reveal] { opacity: 1; }

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .42s var(--ease), transform .42s var(--ease);
  will-change: opacity, transform;
}
html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   响应式 · 平板与手机
   ============================================================ */
@media (max-width: 1024px) {
  body {
    padding-left: 0;
    padding-top: var(--topbar-h);
  }

  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--topbar-h);
    padding: 0 16px;
    background: rgba(6, 17, 14, .94);
    border-bottom: 2px solid var(--line);
    backdrop-filter: blur(8px);
  }

  .rail {
    top: 0;
    bottom: 0;
    width: 84%;
    max-width: 340px;
    padding-top: 6px;
    transform: translateX(-102%);
    transition: transform .28s var(--ease);
    box-shadow: 14px 0 44px rgba(0, 0, 0, .62);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 95;
  }
  .site-header[data-open="true"] .rail { transform: translateX(0); }

  .rail__brand {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 16px 18px 16px;
  }
  .rail__mark { width: 36px; height: 36px; font-size: 19px; }
  .rail__vert {
    writing-mode: horizontal-tb;
    font-size: 15px;
    letter-spacing: .1em;
    color: var(--paper);
  }

  .rail__close {
    position: absolute;
    top: 16px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    background: transparent;
    border: 2px solid var(--line);
    border-radius: 2px;
    color: var(--muted);
    font: 600 12px/1 var(--font-body);
    letter-spacing: .12em;
    cursor: pointer;
    transition: border-color .16s, color .16s;
  }
  .rail__close:hover { border-color: var(--mint); color: var(--mint); }
  .rail__close-text { white-space: nowrap; }

  .rail__nav { padding: 6px 0 10px; }

  .rail__link {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    height: 52px;
    padding: 0 18px;
  }
  .rail__link[aria-current="page"]::after { right: 16px; }

  .rail__idx { font-size: 11px; letter-spacing: .2em; }
  .rail__dot { display: none; }

  .rail__label {
    position: static;
    opacity: 1;
    transform: none;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    font: 600 15px/1 var(--font-body);
    letter-spacing: .08em;
    color: inherit;
    pointer-events: auto;
  }

  .rail__foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px 26px;
  }
  .rail__status {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: .12em;
  }
  .rail__status span:last-child { display: inline; }

  .rail__cta {
    width: 100%;
    max-width: 190px;
    height: 46px;
    gap: 10px;
  }
  .rail__cta .rail__label {
    position: static;
    opacity: 1;
    transform: none;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    color: #04120C;
    font: 700 13px/1 var(--font-body);
    letter-spacing: .1em;
  }

  .rail__scrim {
    position: fixed;
    inset: 0;
    z-index: 92;
    display: block;
    background: rgba(3, 8, 6, .68);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s var(--ease);
  }
  .site-header[data-open="true"] .rail__scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .scroll-meter {
    top: var(--topbar-h);
    left: 0;
    width: 100%;
    height: 3px;
  }
  .scroll-meter__bar {
    transform-origin: left center;
    transform: scaleX(var(--p, 0));
    background: linear-gradient(90deg, var(--mint), var(--cyan));
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 42px 0 36px;
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contact { grid-column: 1 / -1; }
  .footer__update { text-align: left; max-width: none; }
}

@media (max-width: 900px) {
  .col-3, .col-4 { grid-column: span 6; }
  .col-6, .col-8 { grid-column: span 12; }
}

@media (max-width: 720px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .site-footer { margin-top: 64px; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .grid { gap: 14px; }
  .col-3, .col-4, .col-6, .col-8, .col-12 { grid-column: span 12; }
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .btn { min-height: 44px; padding: 0 16px; font-size: 13px; }
  .footer__cols { grid-template-columns: 1fr; }
  .contact-line { flex-direction: column; gap: 2px; }
  .contact-line__k { flex: none; }
}

@media (min-width: 1025px) {
  .rail__scrim { display: none; }
  .rail__close { display: none; }
  .topbar { display: none; }
}

/* ---------- 动效降级 ---------- */
@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;
  }
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .pulse-dot { animation: none; }
  .scroll-meter__bar { transition: none; }
}
