/* ============================================================
   幻影赛场 PHANTOM ARENA · 共享样式表 /assets/site.css
   深空黑底 + 幻影紫 / 荧光青霓虹 + 斜切网格纵向长卷
   ============================================================ */

:root {
  --void: #07080D;
  --night: #10141F;
  --panel: #0C0F17;
  --rock: #2B303B;
  --chalk: #F4F1E8;

  --phantom: #7B5CFF;
  --phantom-soft: #9C86FF;
  --cyan: #00E5C3;
  --ember: #FF7A3D;
  --moss: #8FA58A;
  --clay: #C9785A;
  --alert: #FF4D6D;

  --muted: rgba(244, 241, 232, 0.64);
  --dim: rgba(244, 241, 232, 0.44);
  --hair: rgba(244, 241, 232, 0.10);

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

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --pill: 999px;

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --gap: clamp(16px, 2vw, 26px);
}

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

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

body {
  margin: 0;
  background: var(--void);
  color: var(--chalk);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(62vw 40vw at 84% -10%, rgba(123, 92, 255, 0.16), transparent 70%),
    radial-gradient(52vw 36vw at 4% 2%, rgba(0, 229, 195, 0.09), transparent 72%);
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 6vw, 64px); font-weight: 900; }
h2 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 900; }
h3 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #62FFE6; }

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

::selection { background: rgba(123, 92, 255, 0.55); color: var(--chalk); }

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

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -140px;
  z-index: 300;
  padding: 12px 22px;
  border-radius: 0 0 14px 14px;
  background: var(--cyan);
  color: var(--void);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.22s ease;
}
.skip-link:focus { top: 0; color: var(--void); }

/* ---------- 主内容容器 ---------- */
#main-content {
  position: relative;
  z-index: 1;
  display: block;
  outline: none;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 13, 0.94);
  border-bottom: 1px solid rgba(244, 241, 232, 0.07);
  transition: background-color 0.28s ease, box-shadow 0.28s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(123, 92, 255, 0.78) 24%, rgba(0, 229, 195, 0.72) 60%, rgba(255, 122, 61, 0.42) 84%, transparent 100%);
  opacity: 0.6;
}

.site-header.is-condensed {
  background: rgba(5, 6, 10, 0.99);
  box-shadow: 0 22px 48px -34px rgba(0, 0, 0, 1);
}

.header-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  transition: padding 0.28s ease;
}

.site-header.is-condensed .header-inner { padding-block: 10px; }

/* 品牌章 */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--chalk);
  text-decoration: none;
}
.brand-lockup:hover { color: var(--chalk); }

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--phantom) 0%, var(--cyan) 100%);
  color: var(--void);
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 24px -8px rgba(123, 92, 255, 0.95);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.brand-name {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--chalk);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--dim);
}

/* 导航 */
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.6vw, 22px);
  flex: 1 1 auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: var(--pill);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--chalk);
  background: rgba(123, 92, 255, 0.16);
}

.nav-link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(0, 229, 195, 0.11);
}

.nav-link[aria-current="page"]::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* 快捷胶囊 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.pill-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--phantom) 0%, var(--phantom-soft) 100%);
  color: var(--chalk);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.pill-action:hover {
  color: var(--chalk);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -12px rgba(123, 92, 255, 0.95);
}

.pill-action--ghost {
  background: transparent;
  border-color: rgba(0, 229, 195, 0.45);
  color: var(--cyan);
}

.pill-action--ghost:hover {
  background: rgba(0, 229, 195, 0.10);
  color: var(--cyan);
  box-shadow: 0 12px 26px -14px rgba(0, 229, 195, 0.9);
}

/* 移动端切换按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--pill);
  border: 1px solid rgba(244, 241, 232, 0.16);
  background: rgba(244, 241, 232, 0.06);
  color: var(--chalk);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(123, 92, 255, 0.18);
  border-color: rgba(123, 92, 255, 0.5);
}

.nav-toggle-label { line-height: 1; }

.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 12px;
  flex: 0 0 18px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { top: 10px; }

.site-header[data-open="true"] .nav-toggle-bars::before { top: 5px; transform: rotate(45deg); }
.site-header[data-open="true"] .nav-toggle-bars::after { top: 5px; transform: rotate(-45deg); }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  padding-top: clamp(44px, 6vw, 76px);
  background: linear-gradient(180deg, #0A0C13 0%, #050609 100%);
  border-top: 1px solid rgba(244, 241, 232, 0.08);
  overflow: hidden;
  color: var(--chalk);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(123, 92, 255, 0.85) 22%, rgba(0, 229, 195, 0.75) 58%, rgba(255, 122, 61, 0.45) 82%, transparent 100%);
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -200px;
  right: -140px;
  width: 540px;
  height: 540px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.20), transparent 68%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.62fr)) minmax(0, 1.3fr);
  gap: clamp(24px, 3vw, 44px);
}

.footer-brand { grid-column: span 1; }

.brand-lockup--footer { margin-bottom: 16px; }
.brand-lockup--footer .brand-mark {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border-radius: 12px;
  font-size: 17px;
}
.brand-lockup--footer .brand-name { font-size: 16px; }

.footer-tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--dim);
  max-width: 30ch;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 20px;
  border-radius: var(--pill);
  border: 1px solid rgba(0, 229, 195, 0.42);
  background: rgba(0, 229, 195, 0.10);
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.footer-cta:hover {
  color: var(--cyan);
  background: rgba(0, 229, 195, 0.20);
  transform: translateY(-2px);
}

.footer-nav {
  grid-column: span 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}

.footer-col { min-width: 0; }

.footer-col-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(244, 241, 232, 0.42);
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  display: inline-block;
  font-size: 14.5px;
  color: rgba(244, 241, 232, 0.74);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-links a:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

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

.footer-contact-list {
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(244, 241, 232, 0.68);
  word-break: break-word;
}

.footer-contact-key {
  display: inline-block;
  margin-right: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ember);
}

.footer-base {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 18px var(--gutter) 28px;
  border-top: 1px solid rgba(244, 241, 232, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}

.footer-legal {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(244, 241, 232, 0.52);
}

.footer-note {
  margin: 0;
  max-width: 62ch;
  font-size: 12.5px;
  color: rgba(244, 241, 232, 0.42);
}

/* ---------- 面包屑 ---------- */
.breadcrumb { margin-bottom: clamp(18px, 2.4vw, 30px); }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--dim);
}

.breadcrumb-list li { display: inline-flex; align-items: center; gap: 8px; }

.breadcrumb-list li + li::before {
  content: "/";
  color: rgba(244, 241, 232, 0.26);
}

.breadcrumb-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb-link:hover { color: var(--cyan); }

.breadcrumb-current { color: var(--chalk); }

/* ---------- 章节 ---------- */
.section {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px);
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(26px, 4vw, 46px);
  max-width: 68ch;
}

.section-num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--phantom-soft);
}

.section-num::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--phantom), transparent);
}

.section-title { color: var(--chalk); }

.section-lede {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- 网格 ---------- */
.grid {
  display: grid;
  gap: var(--gap);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.grid--diagonal {
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}

.grid--diagonal > *:nth-child(even) {
  transform: translateY(clamp(14px, 3vw, 34px));
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(244, 241, 232, 0.09);
  background: linear-gradient(160deg, #12161F 0%, #0C0F17 100%);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  border-color: rgba(123, 92, 255, 0.44);
  box-shadow: 0 24px 60px -40px rgba(123, 92, 255, 0.95);
}

.card--panel {
  background: linear-gradient(165deg, rgba(123, 92, 255, 0.13) 0%, rgba(12, 15, 23, 1) 58%);
  border-color: rgba(123, 92, 255, 0.26);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, var(--phantom) 0%, var(--phantom-soft) 100%);
  color: var(--chalk);
  box-shadow: 0 16px 34px -18px rgba(123, 92, 255, 1);
}
.btn--primary:hover {
  color: var(--chalk);
  box-shadow: 0 20px 40px -18px rgba(123, 92, 255, 1);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(0, 229, 195, 0.48);
  color: var(--cyan);
}
.btn--ghost:hover {
  color: var(--cyan);
  background: rgba(0, 229, 195, 0.12);
}

.btn--quiet {
  background: rgba(244, 241, 232, 0.06);
  border-color: rgba(244, 241, 232, 0.14);
  color: var(--chalk);
}
.btn--quiet:hover {
  color: var(--chalk);
  background: rgba(244, 241, 232, 0.12);
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(143, 165, 138, 0.32);
  background: rgba(143, 165, 138, 0.16);
  color: var(--moss);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.tag--cyan {
  border-color: rgba(0, 229, 195, 0.36);
  background: rgba(0, 229, 195, 0.12);
  color: var(--cyan);
}

.tag--ember {
  border-color: rgba(255, 122, 61, 0.4);
  background: rgba(255, 122, 61, 0.14);
  color: var(--ember);
  font-family: var(--font-mono);
}

.tag--phantom {
  border-color: rgba(123, 92, 255, 0.42);
  background: rgba(123, 92, 255, 0.16);
  color: var(--phantom-soft);
}

/* ---------- 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(244, 241, 232, 0.08);
  background:
    linear-gradient(150deg, rgba(123, 92, 255, 0.24) 0%, rgba(0, 229, 195, 0.10) 52%, rgba(7, 8, 13, 0) 86%),
    #0B0E16;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(244, 241, 232, 0.05) 0 1px, transparent 1px 26px);
  opacity: 0.7;
}

.media-frame img,
.media-frame video,
.media-frame picture {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

/* ---------- 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* 斜切错位元素与显现叠加时保持位移 */
.grid--diagonal > [data-reveal]:nth-child(even).is-revealed {
  transform: translateY(clamp(14px, 3vw, 34px));
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(14px, 2.5vw, 26px);
  bottom: calc(clamp(14px, 2.5vw, 26px) + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--pill);
  border: 1px solid rgba(0, 229, 195, 0.42);
  background: rgba(10, 12, 19, 0.92);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: rgba(0, 229, 195, 0.14);
  color: var(--cyan);
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }

  .site-header::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(4, 5, 9, 0.74);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .site-header[data-open="true"]::before {
    opacity: 1;
    visibility: visible;
  }

  .nav-shell {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    max-height: min(72vh, 560px);
    overflow-y: auto;
    padding: 16px;
    border-radius: 26px;
    border: 1px solid rgba(244, 241, 232, 0.13);
    background: #0B0E17;
    box-shadow: 0 -20px 64px -20px rgba(0, 0, 0, 0.98);
    transform: translateY(calc(100% + 32px));
    opacity: 0;
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.28s ease, visibility 0.32s;
  }

  .site-header[data-open="true"] .nav-shell {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }

  .nav-link {
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 16px;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(244, 241, 232, 0.10);
  }

  .pill-action { justify-content: center; padding: 13px 18px; }

  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-nav { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }

  .grid--diagonal > *:nth-child(even),
  .grid--diagonal > [data-reveal]:nth-child(even).is-revealed { transform: none; }
}

@media (max-width: 640px) {
  .header-inner { padding-block: 14px; }
  .brand-sub { letter-spacing: 0.16em; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .to-top { padding: 10px 14px; font-size: 11.5px; }
}

/* ============================================================
   动效降级
   ============================================================ */

@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;
    transition-delay: 0ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .grid--diagonal > *:nth-child(even) { transform: none; }

  .nav-shell { transition: none; }
}
