/* =========================================================
   华体育移动端 · 共享样式表 /assets/site.css
   设计语言：侧边品牌轨道 + 紧凑命令栏 + 切角面板 + 运动轨迹
   ========================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ol, ul, address { margin: 0; }
ol, ul { padding: 0; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue); }
table { border-collapse: collapse; }

/* ---------- 2. 变量 ---------- */
:root {
  --deep: #0B3B2E;
  --mid: #17604A;
  --orange: #FF6A13;
  --orange-soft: #FFB27A;
  --blue: #1F5CFF;
  --wine: #7A1F3D;
  --indigo: #2E2A6B;
  --cream: #F7F4EC;
  --white: #FFFFFF;
  --ink: #121714;
  --sage: #6B7A73;
  --mint: #33E1A1;

  --rail-w: 208px;
  --cut: 22px;
  --max-w: 1440px;
  --gut: clamp(16px, 3vw, 40px);
  --dur: 180ms;

  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  padding-left: var(--rail-w);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--deep);
}
h1 { font-size: clamp(34px, 5.2vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: clamp(20px, 2.2vw, 28px); }
h4 { font-size: 20px; line-height: 1.3; }

.mono, .metric, .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.prose { max-width: 34em; }
.prose p + p { margin-top: 1em; }
.lede {
  max-width: 34em;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.9;
  color: #26302B;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--sage);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  transform: skewX(-24deg);
}

.link-grow {
  position: relative;
  display: inline-block;
  color: var(--deep);
  text-decoration: none;
  font-weight: 500;
}
.link-grow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) ease;
}
.link-grow:hover::after,
.link-grow:focus-visible::after { transform: scaleX(1); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- 4. 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.section { padding-block: clamp(44px, 6vw, 88px); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: fixed;
  left: calc(var(--rail-w) + 12px);
  top: -80px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: top var(--dur) ease;
}
.skip-link:focus { top: 12px; }

/* ---------- 6. 左侧品牌轨道 ---------- */
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 34px 14px 26px;
  background: var(--deep);
  color: var(--cream);
  overflow: hidden;
}
.rail::before {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: 16%;
  height: 220px;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 19, 0.2), transparent);
  transform: rotate(-8deg);
  pointer-events: none;
}
.rail__brand {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-weight: 900;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--white);
}
.rail__tagline {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(247, 244, 236, 0.66);
}
.rail__rule {
  flex: 1 1 auto;
  width: 1px;
  min-height: 42px;
  background: repeating-linear-gradient(to bottom, var(--mid) 0 10px, transparent 10px 20px);
}
.rail__ticks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.rail__tick {
  display: block;
  width: 9px;
  height: 2px;
  background: rgba(247, 244, 236, 0.28);
  transition: background-color var(--dur) ease, transform var(--dur) ease;
}
.rail__tick.is-lit {
  background: var(--orange);
  transform: scaleX(1.9);
}
.rail__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: rgba(247, 244, 236, 0.52);
  text-align: center;
}

/* ---------- 7. 命令栏 ---------- */
.command {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 236, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(11, 59, 46, 0.14);
}
.command__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 14px var(--gut);
  transition: padding var(--dur) ease;
}
.site-head.is-condensed .command__inner { padding-block: 8px; }

.command__brand {
  display: none;
  flex-direction: column;
  gap: 2px;
  flex: 0 0 auto;
  text-decoration: none;
}
.command__brand-mark {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--deep);
}
.command__brand-sub {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--sage);
}

.command__nav { flex: 1 1 auto; min-width: 0; }

.nav-index {
  counter-reset: navidx;
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-index a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--deep);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background-color var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease;
}
.nav-index a::before {
  counter-increment: navidx;
  content: counter(navidx, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sage);
}
.nav-index a:hover { background: rgba(255, 106, 19, 0.1); }
.nav-index a[aria-current="page"] {
  background: var(--orange);
  color: var(--white);
  border-left-color: var(--deep);
}
.nav-index a[aria-current="page"]::before { color: rgba(255, 255, 255, 0.8); }

.command__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
}
.dial {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid rgba(11, 59, 46, 0.16);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.dial__key {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--sage);
}
.dial__val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
  color: var(--deep);
}

.command__trace {
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-soft) 100%);
  transform: scaleX(var(--trace, 0));
  transform-origin: left center;
  transition: transform 120ms linear;
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background-color var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease;
}
.btn--solid { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn--solid:hover { background: var(--orange-soft); border-color: var(--orange-soft); color: var(--deep); }
.btn--line { background: transparent; color: var(--deep); border-color: rgba(11, 59, 46, 0.34); }
.btn--line:hover { background: var(--white); border-color: var(--orange); color: var(--orange); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--blue); }

/* ---------- 9. 移动导航按钮 ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--deep);
  color: var(--white);
  border: 1px solid var(--deep);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.nav-toggle__bar {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
}
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) ease;
}
.nav-toggle__bar::before { top: -5px; }
.nav-toggle__bar::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--mint); }

/* ---------- 10. 面包屑 ---------- */
.crumbs {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 18px var(--gut) 0;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--sage);
}
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li::after { content: "/"; color: rgba(107, 122, 115, 0.5); }
.crumbs li:last-child::after { content: ""; }
.crumbs a {
  color: var(--deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) ease, color var(--dur) ease;
}
.crumbs a:hover { border-bottom-color: var(--orange); color: var(--orange); }

/* ---------- 11. 切角面板 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  background: var(--white);
  border: 1px solid rgba(11, 59, 46, 0.12);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: var(--cut);
  height: var(--cut);
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  opacity: 0;
  transition: opacity var(--dur) ease;
}
.panel--interactive { transition: background-color var(--dur) ease; }
.panel--interactive:hover::after,
.panel--interactive:focus-within::after { opacity: 1; }
.panel--wine { background: var(--wine); border-color: rgba(255, 255, 255, 0.18); color: var(--cream); }
.panel--wine h3, .panel--wine h4 { color: var(--white); }
.panel--indigo { background: var(--indigo); border-color: rgba(255, 255, 255, 0.18); color: var(--cream); }
.panel--indigo h3, .panel--indigo h4 { color: var(--white); }
.panel:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--blue); }

/* ---------- 12. 图片容器 ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mid);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 21 / 9; }
.media--placeholder {
  background:
    repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 16px),
    linear-gradient(150deg, var(--deep) 0%, var(--mid) 68%, var(--orange) 140%);
}
.media__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(247, 244, 236, 0.16) 1px, transparent 1px) 0 0 / 100% 46px,
    linear-gradient(90deg, rgba(247, 244, 236, 0.16) 1px, transparent 1px) 0 0 / 46px 100%;
  pointer-events: none;
}
.media__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 100%;
  padding: 9px 14px;
  background: rgba(11, 59, 46, 0.88);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

/* ---------- 13. 数据组件 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  background: var(--white);
  border-left: 4px solid var(--orange);
}
.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--deep);
}
.stat__label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--sage);
}
.stat--up { border-left-color: var(--mid); }
.stat--up .stat__value { color: var(--mid); }

.datatable {
  width: 100%;
  font-size: 15px;
  background: var(--white);
}
.datatable caption {
  padding-bottom: 10px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--sage);
}
.datatable th,
.datatable td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(11, 59, 46, 0.12);
}
.datatable thead th {
  background: var(--deep);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.datatable tbody tr { transition: background-color var(--dur) ease; }
.datatable tbody tr:hover { background: rgba(255, 106, 19, 0.08); }
.datatable .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--deep);
}

/* ---------- 14. 标签 / 索引带 / 分割 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: rgba(31, 92, 255, 0.1);
  border: 1px solid rgba(31, 92, 255, 0.28);
}
.tag--wine { color: var(--wine); background: rgba(122, 31, 61, 0.1); border-color: rgba(122, 31, 61, 0.3); }
.tag--orange { color: #B33F00; background: rgba(255, 106, 19, 0.12); border-color: rgba(255, 106, 19, 0.36); }

.index-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 30px;
  padding: clamp(18px, 2.4vw, 26px) var(--gut);
  background: var(--indigo);
  color: var(--cream);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), 0 100%);
}
.index-band h3, .index-band h4, .index-band strong { color: var(--white); }
.index-band a { color: var(--orange-soft); }

.divider-slant {
  height: 34px;
  background: linear-gradient(98deg, var(--mid) 0 34%, var(--orange) 34% 41%, var(--deep) 41% 100%);
  clip-path: polygon(0 62%, 100% 0, 100% 100%, 0 100%);
}

.trace-line {
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 16px);
}

/* ---------- 15. 页脚 ---------- */
.site-foot {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  padding: 0 var(--gut) 26px;
  background: var(--deep);
  color: var(--cream);
}
.foot__edge {
  display: block;
  height: 56px;
  margin: 0 calc(-1 * var(--gut)) 34px;
  background: linear-gradient(102deg, var(--mid) 0 46%, var(--orange) 46% 52%, var(--deep) 52% 100%);
  clip-path: polygon(0 44%, 100% 0, 100% 100%, 0 100%);
}
.foot__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3.2vw, 44px);
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-bottom: clamp(26px, 3.4vw, 44px);
}
.foot__brand { display: flex; flex-direction: column; gap: 12px; }
.foot__mark {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--white);
}
.foot__line { font-size: 14px; color: rgba(247, 244, 236, 0.74); }
.foot__contact {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(247, 244, 236, 0.62);
}
.foot__col { display: flex; flex-direction: column; gap: 12px; }
.foot__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--orange-soft);
}
.foot__links { display: flex; flex-direction: column; gap: 9px; list-style: none; }
.foot__links a {
  position: relative;
  display: inline-block;
  width: fit-content;
  font-size: 14px;
  color: rgba(247, 244, 236, 0.88);
  text-decoration: none;
}
.foot__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) ease;
}
.foot__links a:hover::after,
.foot__links a:focus-visible::after { transform: scaleX(1); }
.foot__addr { display: flex; flex-direction: column; gap: 8px; font-style: normal; }
.foot__addr-item {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(247, 244, 236, 0.82);
}
.foot__addr-item:first-child {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--white);
}
.foot__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 244, 236, 0.18);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(247, 244, 236, 0.62);
}
.foot__legal { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; }
.foot__legal a {
  color: var(--orange-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) ease, color var(--dur) ease;
}
.foot__legal a:hover { color: var(--white); border-bottom-color: var(--orange-soft); }
.foot__icp { font-family: var(--font-mono); letter-spacing: 0.04em; }
.foot__copy { margin-left: auto; }
.site-foot :focus-visible { outline-color: var(--mint); }

/* ---------- 16. 平板 ---------- */
@media (max-width: 1180px) {
  .dial { display: none; }
  .nav-index a { padding: 8px 9px; font-size: 13px; }
  .nav-index a::before { display: none; }
}

@media (max-width: 1024px) {
  .foot__inner { grid-template-columns: 1fr 1fr; }
  .command__tools .btn--line { display: none; }
}

@media (max-width: 980px) {
  :root { --rail-w: 0px; }
  body { padding-left: 0; }
  .rail { display: none; }
  .skip-link { left: 12px; }
  .command__brand { display: flex; }
  .nav-toggle { display: inline-flex; }
  .command__inner { position: relative; flex-wrap: wrap; }
  .command__nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 6px 0 14px;
    background: var(--deep);
    box-shadow: 0 20px 44px rgba(11, 59, 46, 0.3);
  }
  .command__nav[data-open="true"] {
    display: block;
    animation: navDrop 160ms ease-out;
  }
  .nav-index {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-index a {
    display: flex;
    width: 100%;
    padding: 12px var(--gut);
    font-size: 15px;
    color: var(--cream);
    border-left: 3px solid transparent;
  }
  .nav-index a::before { display: inline; color: rgba(247, 244, 236, 0.5); }
  .nav-index a:hover { background: rgba(255, 106, 19, 0.16); color: var(--white); }
  .nav-index a[aria-current="page"] {
    background: rgba(255, 106, 19, 0.2);
    color: var(--white);
    border-left-color: var(--orange);
  }
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .span-4, .span-5, .span-6 { grid-column: span 3; }
  .span-7, .span-8, .span-9, .span-12 { grid-column: span 6; }
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 17. 手机 ---------- */
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  :root { --cut: 16px; }
  .command__brand-sub { display: none; }
  .command__tools .btn--solid { padding: 9px 12px; font-size: 13px; }
  .nav-toggle__label { display: none; }
  .grid-12 { grid-template-columns: minmax(0, 1fr); }
  .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-12 { grid-column: span 1; }
  .foot__inner { grid-template-columns: minmax(0, 1fr); }
  .foot__copy { margin-left: 0; }
  .media { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
}

/* ---------- 18. 动效收敛 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
