/* ============================================================
   IM电竞 · site.css  共享外壳与通用组件
   暗场连续画布 / 命令栏 / 切角面板 / 坐标索引
   ============================================================ */

:root {
  --ink: #07080D;
  --ink-2: #0B0D16;
  --panel: #11131C;
  --line: #2A2E42;
  --line-soft: rgba(42, 46, 66, 0.62);
  --white: #F4F7FF;
  --steel: #9BA3BD;
  --steel-dim: #5D6482;
  --violet: #A78BFA;
  --violet-deep: #6D28D9;
  --cyan: #33E6FF;
  --amber: #FF8A3D;
  --green: #4ADE80;

  --f-display: "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  --f-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", "IBM Plex Mono", SFMono-Regular, ui-monospace, monospace;

  --wrap: 1300px;
  --gutter: clamp(16px, 4vw, 48px);
  --bar-h: 68px;
  --cut: 12px;
  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
}

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

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

body {
  margin: 0;
  background-color: var(--ink);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(42, 46, 66, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 46, 66, 0.5) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
}

main {
  position: relative;
  z-index: 1;
  display: block;
}

#main-content { scroll-margin-top: calc(var(--bar-h) + 16px); }

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

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0.02em;
}

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

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

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

::selection { background: var(--violet); color: #0A0714; }

/* ---------- focus ---------- */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--cyan);
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); color: var(--ink); outline: none; }

/* ---------- 文字与工具类 ---------- */
.mono {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.wrap {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--wrap);
  margin-inline: auto;
}

.lead {
  max-width: 62ch;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.85;
  color: var(--steel);
}

.section {
  position: relative;
  padding: clamp(56px, 8vw, 118px) 0;
}
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--violet);
}
.kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.rule {
  position: relative;
  height: 1px;
  margin: 34px 0;
  background: var(--line);
}
.rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  background: var(--violet);
}

.stack { display: grid; gap: var(--stack, 18px); }

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

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--steel-dim); }
.breadcrumb a { color: var(--steel); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--white); }

/* ---------- 按钮 ---------- */
.btn {
  --btn-bg: var(--violet);
  --btn-fg: #0A0714;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 0;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(
    var(--cut) 0, 100% 0,
    100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%,
    0 100%, 0 var(--cut)
  );
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.btn:hover { --btn-bg: var(--white); color: #0A0714; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--cyan); }

.btn--sm {
  --cut: 9px;
  min-height: 38px;
  padding: 0 16px;
  font-size: 12.5px;
}

.btn--ghost {
  --btn-bg: var(--panel);
  --btn-fg: var(--white);
  border: 1px solid var(--line);
}
.btn--ghost:hover {
  --btn-bg: var(--violet-deep);
  color: var(--white);
  border-color: var(--violet);
}

/* ---------- 面板 / 媒体框 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}
.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06) brightness(0.94);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(7, 8, 13, 0.55) 0 1px,
    rgba(7, 8, 13, 0) 1px 4px
  );
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--sq { aspect-ratio: 1 / 1; }
.media-frame--banner { aspect-ratio: 3 / 1; }

.media-frame__ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-dim);
  background:
    linear-gradient(135deg, rgba(167, 139, 250, 0.1), transparent 55%),
    repeating-linear-gradient(45deg, rgba(42, 46, 66, 0.5) 0 1px, transparent 1px 12px);
}

/* ---------- 状态标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--steel);
  background: rgba(155, 163, 189, 0.07);
  border: 1px solid currentColor;
}
.tag--live { color: var(--cyan); background: rgba(51, 230, 255, 0.09); }
.tag--fix { color: var(--amber); background: rgba(255, 138, 61, 0.09); }
.tag--done { color: var(--green); background: rgba(74, 222, 128, 0.09); }
.tag--ver { color: var(--violet); background: rgba(167, 139, 250, 0.11); }

/* ============================================================
   命令栏 header
   ============================================================ */
.cmdbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 13, 0.94);
  border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.cmdbar.is-scrolled {
  background: rgba(7, 8, 13, 0.99);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 46px -30px #000;
}

.cmdbar__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(42, 46, 66, 0.7) 0 1px,
    transparent 1px 72px
  );
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 26%, #000 74%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 26%, #000 74%, transparent);
}

.cmdbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--wrap);
  min-height: var(--bar-h);
  margin-inline: auto;
}

/* 品牌 */
.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  flex: 0 0 auto;
  color: var(--white);
  text-decoration: none;
}
.brand__mark {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.1;
  white-space: nowrap;
}
.brand__sep {
  margin: 0 0.16em;
  color: var(--violet);
  transition: color 0.16s var(--ease);
}
.brand__sub {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  line-height: 1.2;
  color: var(--steel);
}
.brand__dot {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(51, 230, 255, 0.16);
}
.brand:hover .brand__sep { color: var(--cyan); }
.brand:hover .brand__mark { color: var(--white); }

/* 桌面导航 */
.site-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-nav__item { display: block; }

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 11px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.site-nav__idx {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--steel-dim);
  transition: color 0.16s var(--ease);
}
.site-nav__text { display: inline-block; }

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 5px;
  height: 2px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s var(--ease);
}
.site-nav__link:hover {
  color: var(--white);
  background: rgba(167, 139, 250, 0.08);
}
.site-nav__link:hover .site-nav__idx { color: var(--cyan); }
.site-nav__link:hover::after { transform: scaleX(0.55); }

.site-nav__link[aria-current="page"] {
  color: var(--white);
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.18), rgba(167, 139, 250, 0));
}
.site-nav__link[aria-current="page"] .site-nav__idx { color: var(--cyan); }
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.site-nav__cta { display: none; }

/* 右侧状态区 */
.cmdbar__aside {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}
.cmdbar__status {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 13em;
  margin: 0;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  line-height: 1.45;
  color: var(--steel);
}
.status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.16);
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 13px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.nav-toggle:hover { border-color: var(--violet); background: rgba(167, 139, 250, 0.1); }
.nav-toggle__bars {
  display: grid;
  gap: 5px;
  width: 16px;
}
.nav-toggle__bar {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}
.nav-toggle__label { display: block; }

.cmdbar[data-open="true"] .nav-toggle__bar:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.cmdbar[data-open="true"] .nav-toggle__bar:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}
.cmdbar[data-open="true"] .nav-toggle {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* 阅读进度轨 */
.progress-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
  background: rgba(42, 46, 66, 0.55);
}
.progress-rail__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--violet-deep), var(--violet) 55%, var(--cyan));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.12s linear;
}

/* ============================================================
   页脚
   ============================================================ */
.site-foot {
  position: relative;
  z-index: 1;
  padding-top: clamp(44px, 6vw, 76px);
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.site-foot::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(115deg, rgba(109, 40, 217, 0.16), transparent 46%),
    repeating-linear-gradient(90deg, rgba(42, 46, 66, 0.55) 0 1px, transparent 1px 88px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%);
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

.site-foot__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 56px);
  padding-bottom: clamp(32px, 5vw, 60px);
}

.site-foot__lead { min-width: 0; }

.brand--foot .brand__mark { font-size: 19px; letter-spacing: 0.2em; }
.brand--foot .brand__sub { font-size: 11px; }

.site-foot__summary {
  max-width: 34ch;
  margin: 20px 0 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--steel);
}
.site-foot__coord {
  margin: 20px 0 0;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--steel-dim);
}

.foot-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}
.foot-nav__title {
  margin: 0 0 14px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--violet);
}
.foot-nav__list { display: grid; gap: 0; }

.foot-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.16s var(--ease);
}
.foot-link:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--violet);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.foot-link--sm { min-height: 40px; font-size: 12px; }

.foot-contact { min-width: 0; }

.copy-list { display: grid; gap: 2px; }
.copy-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(42, 46, 66, 0.7);
}
.copy-row__key {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-dim);
}
.copy-row__val {
  min-width: 0;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--white);
  word-break: break-word;
}
.copy-row--addr .copy-row__val {
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--steel);
}
.copy-btn {
  min-height: 44px;
  padding: 0 12px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  background: rgba(51, 230, 255, 0.08);
  border: 1px solid rgba(51, 230, 255, 0.34);
  cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.copy-btn:hover { background: var(--cyan); color: var(--ink); }
.copy-btn[data-copied="true"] {
  color: var(--green);
  border-color: rgba(74, 222, 128, 0.55);
  background: rgba(74, 222, 128, 0.1);
}

.foot-contact__note {
  margin: 16px 0 0;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--steel-dim);
}

.site-foot__bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 18px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
}
.site-foot__legal {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--steel);
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1240px) {
  .site-nav__link { padding: 10px 8px; font-size: 13px; }
  .site-nav__link::after { left: 8px; right: 8px; }
}

@media (max-width: 1180px) {
  .cmdbar__status { display: none; }
  .site-nav__idx { display: none; }
}

@media (max-width: 1040px) {
  :root { --bar-h: 62px; }

  .cmdbar__inner { gap: 12px; }

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

  .cmdbar__aside { display: none; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    max-height: calc(100dvh - var(--bar-h));
    padding: 10px var(--gutter) 26px;
    overflow-y: auto;
    background: var(--ink-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -34px #000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s var(--ease);
  }
  .cmdbar[data-open="true"] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__item { border-bottom: 1px solid rgba(42, 46, 66, 0.55); }

  .site-nav__link {
    gap: 14px;
    width: 100%;
    min-height: 54px;
    padding: 14px 8px;
    font-size: 17px;
    letter-spacing: 0.03em;
  }
  .site-nav__link::after { display: none; }
  .site-nav__idx {
    display: inline-block;
    font-size: 11px;
    color: var(--violet);
  }
  .site-nav__link:hover { background: rgba(167, 139, 250, 0.07); }
  .site-nav__link[aria-current="page"] {
    padding-left: 14px;
    background: linear-gradient(90deg, rgba(167, 139, 250, 0.18), transparent);
    box-shadow: inset 2px 0 0 var(--violet);
  }
  .site-nav__link[aria-current="page"] .site-nav__idx { color: var(--cyan); }

  .site-nav__cta {
    display: inline-flex;
    width: 100%;
    margin-top: 22px;
  }

  .site-foot__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }
  .site-foot__lead { grid-column: 1 / -1; }
  .site-foot__summary { max-width: 56ch; }
}

@media (max-width: 900px) {
  .grid-12 { grid-template-columns: minmax(0, 1fr); }
  .col-4, .col-5, .col-6, .col-7, .col-8, .col-12 { grid-column: auto; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }

  .media-frame--banner { aspect-ratio: 16 / 9; }

  .site-foot__inner { grid-template-columns: minmax(0, 1fr); }
  .foot-nav { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .foot-nav__col + .foot-nav__col { margin-top: 12px; }
  .site-foot__bar { align-items: flex-start; }
  .foot-legal { gap: 0 16px; }
  .copy-row { grid-template-columns: 38px minmax(0, 1fr) auto; }
}

@media (max-width: 400px) {
  .brand__mark { font-size: 14.5px; letter-spacing: 0.12em; }
  .brand__sub { font-size: 9.5px; letter-spacing: 0.2em; }
  .nav-toggle { padding: 0 10px; letter-spacing: 0.12em; }
}

/* ============================================================
   动效降级
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .skip-link { transition: none; }
  .progress-rail__bar { transition: none; }
}
