/* =========================================================
   安装娱乐汇 · 共享样式 /assets/site.css
   深空蓝 + 霓虹紫 + 琥珀金 + 电光青 / 粗野主义神殿夜巡
   ========================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #070B22;
  --ink-800: #111838;
  --ink-700: #0C1230;
  --purple: #6C3BFF;
  --purple-light: #A47BFF;
  --amber: #FFB84D;
  --cyan: #2FE1D6;
  --coral: #FF6B8A;
  --text: #E9EDFF;
  --muted: #9AA3C8;
  --line: #2B3566;

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

  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 96px;

  --shell: 1200px;
  --shadow-hard: 8px 8px 0 rgba(7, 11, 34, .85);
  --shadow-key: 8px 8px 0 rgba(255, 184, 77, .25);
  --shadow-purple: 8px 8px 0 rgba(108, 59, 255, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 基础与中文排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(120% 80% at 10% -12%, rgba(108, 59, 255, .26), rgba(7, 11, 34, 0) 60%),
    radial-gradient(90% 70% at 102% 0%, rgba(47, 225, 214, .12), rgba(7, 11, 34, 0) 55%),
    radial-gradient(80% 60% at 50% 112%, rgba(255, 184, 77, .10), rgba(7, 11, 34, 0) 60%),
    linear-gradient(180deg, #070B22 0%, #0A0F2B 55%, #070B22 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -.01em;
  font-weight: 900;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; }
h4 { font-size: 1.06rem; font-weight: 700; }
p { margin-bottom: 1.2em; max-width: 38em; }
p:last-child { margin-bottom: 0; }
strong { color: #fff; font-weight: 700; }
::selection { background: var(--purple); color: #fff; }

.mono { font-family: var(--font-mono); }
.measure { max-width: 38em; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 225, 214, .45);
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}
.link:hover { border-bottom-color: var(--cyan); color: #7BF3EB; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--cyan);
  color: #03121A;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 2px;
  transition: top 160ms var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 4. 通用容器与网格 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 820px; }
.container--wide { max-width: 1320px; }

.grid { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .grid { gap: var(--s-4); }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .grid--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .grid--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
@media (min-width: 1040px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.page-shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: var(--s-5) 20px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 1040px) {
  .page-shell {
    grid-template-columns: 196px minmax(0, 1fr);
    gap: 56px;
    padding-top: var(--s-6);
  }
}
#main-content { display: block; }
#main-content:focus { outline: none; }

/* ---------- 5. 标题与文本组件 ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--cyan);
  margin: 0 0 14px;
}
.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.75;
  color: #C7CEF2;
  max-width: 34em;
  margin-bottom: 1.2em;
}
.hint { font-size: 13px; line-height: 1.7; color: var(--muted); font-family: var(--font-mono); letter-spacing: .02em; }
.divider { height: 2px; border: 0; background: var(--line); margin: var(--s-5) 0; }

/* ---------- 6. 章节 ---------- */
.section { padding: var(--s-6) 0; border-top: 1px solid var(--line); }
.section:first-child { border-top: 0; padding-top: 0; }
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  margin-bottom: var(--s-3);
}
.section__num {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 5.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--purple);
  text-shadow: 3px 3px 0 rgba(47, 225, 214, .22);
}
.section__title { font-size: clamp(1.55rem, 3.2vw, 2.3rem); font-weight: 900; }
.section__lede { color: var(--muted); font-size: 16px; max-width: 40em; margin: 6px 0 0; }

/* ---------- 7. 面板卡片 ---------- */
.panel {
  background: var(--ink-800);
  border: 2px solid var(--line);
  border-radius: 2px;
  padding: var(--s-3);
  box-shadow: var(--shadow-hard);
}
.panel--key { border-color: var(--amber); box-shadow: var(--shadow-key); }
.panel--purple { border-color: var(--purple); box-shadow: var(--shadow-purple); }
.panel__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
  margin: 0 0 10px;
}
.panel__title { font-size: 1.22rem; font-weight: 800; margin: 0 0 10px; }
.panel__body { margin: 0; font-size: 15px; line-height: 1.8; color: var(--muted); }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  padding: 14px 20px;
  border: 2px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease),
    color 160ms var(--ease), border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.btn--primary {
  background: var(--amber);
  color: #1A1000;
  border-color: var(--amber);
  box-shadow: 4px 4px 0 rgba(108, 59, 255, .55);
}
.btn--primary:hover { background: #FFCF85; transform: translate(-1px, -1px); box-shadow: 6px 6px 0 rgba(108, 59, 255, .6); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--purple { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn--purple:hover { background: var(--purple-light); border-color: var(--purple-light); }
.btn--sm { padding: 9px 14px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- 9. 页头 · 命令栏 ---------- */
.command-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 11, 34, .95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--line);
}
.progress-rail { height: 2px; background: rgba(43, 53, 102, .55); overflow: hidden; }
.progress-rail__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--purple) 0%, var(--cyan) 55%, var(--amber) 100%);
  transition: width 200ms linear;
}
.command-bar__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand__glyph {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
  color: #1A1000;
  background: linear-gradient(135deg, var(--amber), #FFD79A);
  border: 2px solid var(--purple);
  box-shadow: 3px 3px 0 rgba(108, 59, 255, .6);
}
.brand__text { display: block; }
.brand__mark { display: block; font-size: 16px; font-weight: 900; letter-spacing: -.01em; line-height: 1.15; color: var(--text); }
.brand__domain {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .02em;
  line-height: 1.3;
  color: var(--muted);
}

.nav { display: none; }
.nav[data-open] {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 70;
  background: var(--ink-800);
  border-top: 1px solid var(--line);
  border-bottom: 2px solid var(--line);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .65);
  padding: 6px 0 14px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.nav__list { display: block; }
.nav__item { display: block; }
.nav__link {
  display: block;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}
.nav__link:hover { color: var(--cyan); background: rgba(47, 225, 214, .06); }
.nav__link[aria-current="page"] {
  color: var(--amber);
  border-left-color: var(--amber);
  background: rgba(255, 184, 77, .08);
}

@media (min-width: 900px) {
  .command-bar__inner { min-height: 66px; gap: 20px; }
  .nav { display: block; flex: 1 1 auto; }
  .nav[data-open] {
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }
  .nav__list { display: flex; flex-wrap: wrap; gap: 2px; justify-content: center; }
  .nav__link {
    padding: 8px 11px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    border-left: 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }
  .nav__link:hover { background: none; }
  .nav__link[aria-current="page"] {
    color: var(--amber);
    font-weight: 700;
    background: none;
    border-bottom-color: var(--amber);
  }
}

.command-bar__util { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: 0 0 auto; }
.chapter-readout {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--cyan);
  border-left: 2px solid var(--purple);
  padding-left: 10px;
  white-space: nowrap;
}
.chapter-readout:empty { display: none; }
@media (max-width: 1149px) { .chapter-readout { display: none; } }
@media (max-width: 620px) { .command-bar__cta { display: none; } }
@media (max-width: 700px) { .brand__domain { display: none; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: var(--ink-800);
  border: 2px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}
.nav-toggle:hover { border-color: var(--purple-light); }
.nav-toggle__bars { position: relative; display: block; width: 16px; height: 2px; background: currentColor; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms var(--ease);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] { color: var(--amber); border-color: var(--amber); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle__label { line-height: 1; }
@media (min-width: 900px) { .nav-toggle { display: none; } }

/* ---------- 10. 柱式索引 ---------- */
.pillar-index { align-self: start; }
.pillar-index__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.pillar-index__link {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}
.pillar-index__link:hover { color: var(--text); border-color: var(--purple-light); }
.pillar-index__link[aria-current="true"] {
  color: var(--amber);
  border-color: var(--amber);
  background: rgba(255, 184, 77, .10);
}
@media (min-width: 1040px) {
  .pillar-index { position: sticky; top: 96px; }
  .pillar-index__list {
    display: block;
    overflow: visible;
    padding-bottom: 0;
    border-left: 2px solid var(--line);
  }
  .pillar-index__link {
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    margin-left: -2px;
    padding: 9px 0 9px 14px;
    white-space: normal;
    font-size: 12.5px;
  }
  .pillar-index__link[aria-current="true"] {
    background: none;
    border-left-color: var(--amber);
  }
}

/* ---------- 11. 面包屑 ---------- */
.breadcrumbs { margin: 0 0 var(--s-4); }
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .03em;
}
.breadcrumbs__item { color: var(--muted); }
.breadcrumbs__item + .breadcrumbs__item::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumbs__item a { text-decoration: none; color: var(--muted); transition: color 160ms var(--ease); }
.breadcrumbs__item a:hover { color: var(--cyan); }
.breadcrumbs__item[aria-current="page"] { color: var(--amber); }

/* ---------- 12. 步骤器 ---------- */
.steps { display: grid; gap: var(--s-2); }
.steps__list { display: grid; gap: 10px; }
@media (min-width: 760px) { .steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
.steps__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: var(--ink-800);
  border: 2px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.steps__item:hover { border-color: var(--purple-light); }
.steps__item[aria-selected="true"] {
  border-color: var(--amber);
  color: var(--amber);
  box-shadow: 4px 4px 0 rgba(255, 184, 77, .25);
}
.steps__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--cyan); }
.steps__item[aria-selected="true"] .steps__num { color: var(--amber); }
.steps__panel {
  background: var(--ink-800);
  border: 2px solid var(--line);
  border-radius: 2px;
  padding: var(--s-3);
}
.steps__panel[hidden] { display: none; }

/* ---------- 13. 对照表 ---------- */
.table-scroll { overflow-x: auto; border: 2px solid var(--line); border-radius: 2px; background: var(--ink-800); }
.data-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.data-table caption {
  caption-side: top;
  text-align: left;
  padding: 14px 16px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}
.data-table th, .data-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.data-table thead th {
  background: var(--ink-700);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
}
.data-table tbody tr { transition: background-color 160ms var(--ease); }
.data-table tbody tr:hover { background: rgba(108, 59, 255, .12); }
.data-table td:first-child { font-weight: 700; color: #fff; }
.data-table__row--diff { box-shadow: inset 3px 0 0 var(--amber); }

/* ---------- 14. 标签与状态 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
}
.tag--purple { color: #D9CBFF; border-color: rgba(164, 123, 255, .6); background: rgba(108, 59, 255, .18); }
.tag--cyan { color: var(--cyan); border-color: rgba(47, 225, 214, .55); background: rgba(47, 225, 214, .10); }
.tag--amber { color: var(--amber); border-color: rgba(255, 184, 77, .55); background: rgba(255, 184, 77, .12); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(233, 237, 255, .08);
}
.status--ok { color: var(--cyan); }
.status--warn { color: var(--amber); }
.status--alert { color: var(--coral); }

/* ---------- 15. 筛选标签 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: var(--s-3); }
.filter-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  cursor: pointer;
  transition: color 160ms var(--ease), border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.filter-chip:hover { color: var(--text); border-color: var(--purple-light); }
.filter-chip[aria-pressed="true"] {
  color: #04171B;
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 700;
}

/* ---------- 16. 图片容器 ---------- */
.figure { display: grid; gap: 10px; margin: 0; }
.figure__media {
  position: relative;
  width: 100%;
  aspect-ratio: var(--figure-ratio, 16 / 9);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(160deg, #151E44 0%, #0C1230 58%, #080D26 100%);
}
.figure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 50% 108%, rgba(108, 59, 255, .38), rgba(7, 11, 34, 0) 70%),
    radial-gradient(40% 50% at 12% 0%, rgba(47, 225, 214, .16), rgba(7, 11, 34, 0) 70%);
  pointer-events: none;
}
.figure__media img { width: 100%; height: 100%; object-fit: cover; }
.figure__ph {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--muted);
  text-align: center;
  padding: 0 16px;
}
.figure__cap { font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; color: var(--muted); }
.figure--wide { --figure-ratio: 21 / 9; }
.figure--square { --figure-ratio: 1 / 1; }
.figure--portrait { --figure-ratio: 4 / 5; }
.figure--tall { --figure-ratio: 3 / 4; }

/* ---------- 17. 复制按钮 ---------- */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: color 160ms var(--ease), border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.copy-btn:hover { border-color: var(--cyan); background: rgba(47, 225, 214, .10); }
.copy-btn[data-copied="true"] { color: var(--amber); border-color: var(--amber); background: rgba(255, 184, 77, .12); }
.copy-btn__state { line-height: 1; }

/* ---------- 18. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: var(--s-7);
  border-top: 2px solid var(--purple);
  background: linear-gradient(180deg, #0A1029 0%, #070B22 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan) 55%, var(--amber));
}
.site-footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: var(--s-6) 20px var(--s-4);
}
.footer-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.5fr 0.9fr 1.5fr; gap: var(--s-4); }
}
.footer-col { min-width: 0; }
.footer-col__title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--purple-light);
  margin-bottom: 16px;
}
.footer-col--brand { border-left: 2px solid var(--purple); padding-left: 16px; }
.footer-brand { font-size: 1.5rem; font-weight: 900; letter-spacing: -.01em; margin: 0 0 6px; }
.footer-domain { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--cyan); margin: 0 0 14px; }
.footer-service { font-size: 14px; line-height: 1.8; color: var(--muted); max-width: 30em; margin: 0; }

.footer-links { display: grid; gap: 10px; }
.footer-links a {
  display: inline-block;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.footer-links a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

.contact-list { display: grid; gap: 14px; }
.contact-list__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.contact-list__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
  min-width: 34px;
}
.contact-list__val {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
  word-break: break-word;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  margin-top: var(--s-5);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.site-footer__legal p { margin: 0; max-width: none; font-family: var(--font-mono); letter-spacing: .02em; }
.footer-region { color: var(--muted); }

/* ---------- 19. 入场动效 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 20. 降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .progress-rail__fill { transition: none; }
}
