/* =========================================================
   爱游戏看台 · /assets/site.css
   共享外壳样式：reset / 变量 / 排版 / 页头 / 页脚 / 通用组件
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: #1B2752 #070C1F;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-title);
  font-size: 16px;
  line-height: 1.8;
  color: var(--body-ink);
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 64px);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

ul, ol { margin: 0; padding: 0; }

button { font: inherit; color: inherit; }

a { color: var(--mint); }

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

/* ---------- 变量 ---------- */
:root {
  /* 色板 */
  --ink: #0E1633;
  --ink-deep: #070C1F;
  --rail: #1B2752;
  --mint: #35F2C0;
  --mint-dim: #12775F;
  --orange: #FF7A2F;
  --laterite: #A8452A;
  --paper: #F4EBDC;
  --brown: #2A1F1A;
  --mist: #9AA6C4;
  --body-ink: #E4DFD4;

  /* 线条与网格 */
  --grid-line: rgba(154, 166, 196, 0.07);
  --hair: rgba(154, 166, 196, 0.16);
  --hair-strong: rgba(154, 166, 196, 0.32);

  /* 字体 */
  --font-title: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular,
    Menlo, Consolas, "Courier New", monospace;

  /* 间距与圆角 */
  --sp-1: 8px;
  --sp-2: 12px;
  --sp-3: 20px;
  --sp-4: 32px;
  --sp-5: 56px;
  --r-card: 24px;
  --r-soft: 20px;
  --r-pill: 999px;

  --shell: 1240px;
  --t-fast: 160ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 中文排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--sp-3);
  font-family: var(--font-title);
  font-weight: 800;
  font-stretch: 87.5%;
  line-height: 1.08;
  letter-spacing: -0.008em;
  color: var(--paper);
}

h1 { font-size: clamp(38px, 7vw, 64px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.14; }
h3 { font-size: 20px; line-height: 1.35; }
h4 { font-size: 17px; line-height: 1.4; }

p { margin: 0 0 var(--sp-3); }
p:last-child { margin-bottom: 0; }

.mono,
.num,
[data-mono] {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.04em;
}

.num { font-size: 14px; color: var(--mint); }

.lede {
  font-size: 17px;
  line-height: 1.85;
  color: var(--mist);
  max-width: 72ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--sp-2);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

.section { padding-top: var(--sp-5); }
.section:last-of-type { padding-bottom: var(--sp-5); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--hair);
}

.section-head__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--orange);
}

.section-head__title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  font-stretch: 87.5%;
  color: var(--paper);
  margin: 0;
}

.section-head__note {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

/* ---------- 网格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--sp-3);
  align-items: start;
}

.grid__aside { grid-column: 1 / span 3; }
.grid__main  { grid-column: 4 / span 9; }

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grid__aside,
  .grid__main { grid-column: 1 / -1; }
}

/* ---------- 斜切与分隔 ---------- */
.slash-band {
  height: 14px;
  margin: var(--sp-5) 0;
  background: linear-gradient(90deg, var(--laterite) 0%, #7C3220 52%, var(--laterite) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%);
  border-radius: 2px;
}

/* ---------- 胶囊卡带 ---------- */
.pill-rail {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.pill-rail__item {
  display: block;
  padding: 12px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hair);
  background: rgba(27, 39, 82, 0.62);
  color: var(--mist);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}

.pill-rail__item:hover {
  color: var(--paper);
  border-color: rgba(53, 242, 192, 0.42);
}

@media (max-width: 980px) {
  .pill-rail {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: var(--sp-1);
    scrollbar-width: none;
  }
  .pill-rail::-webkit-scrollbar { display: none; }
  .pill-rail__item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
  }
}

/* ---------- 卡片 / 纸页 ---------- */
.card {
  position: relative;
  overflow: hidden;
  padding: var(--sp-3);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  background: linear-gradient(168deg, rgba(27, 39, 82, 0.92), rgba(11, 18, 44, 0.92));
  transition: border-color var(--t-fast) var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 34px; height: 4px;
  border-radius: 0 0 4px 0;
  background: var(--mint);
  opacity: 0.34;
  transition: opacity var(--t-fast) var(--ease), width var(--t-fast) var(--ease);
}

.card:hover { border-color: rgba(255, 122, 47, 0.55); }
.card:hover::before { opacity: 1; width: 60px; }

.sheet {
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r-card);
  background: var(--paper);
  color: var(--brown);
}

.sheet h1,
.sheet h2,
.sheet h3,
.sheet h4 { color: var(--brown); }

.sheet p,
.sheet li { color: #3A2F27; }

.sheet a {
  color: #8A3A22;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sheet .eyebrow { color: var(--mint-dim); }
.sheet .card { background: rgba(42, 31, 26, 0.05); border-color: rgba(42, 31, 26, 0.16); }

/* ---------- 图片容器 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 22px;
  background:
    radial-gradient(120% 92% at 18% 0%, rgba(53, 242, 192, 0.18), transparent 62%),
    radial-gradient(90% 80% at 100% 100%, rgba(255, 122, 47, 0.14), transparent 60%),
    linear-gradient(160deg, var(--rail), var(--ink-deep));
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(154, 166, 196, 0.09) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(154, 166, 196, 0.09) 0 1px, transparent 1px 32px);
}

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

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3  { aspect-ratio: 4 / 3; }
.media--3x4  { aspect-ratio: 3 / 4; }
.media--1x1  { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 21 / 9; }
.media--tilt { border-radius: 22px 22px 22px 6px; }

/* ---------- 按钮与链接 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 700;
  font-stretch: 87.5%;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}

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

.btn--mint { background: var(--mint); color: #04140F; border-color: var(--mint); }
.btn--mint:hover { background: #6BFFDB; border-color: #6BFFDB; }

.btn--warm { background: var(--orange); color: #1A0C03; border-color: var(--orange); }
.btn--warm:hover { background: #FF9A5C; border-color: #FF9A5C; }

.btn--ghost { background: transparent; color: var(--paper); border-color: var(--hair-strong); }
.btn--ghost:hover { border-color: var(--mint); color: var(--mint); }

.btn--sm { padding: 9px 16px; font-size: 13px; }

.link-ink {
  position: relative;
  display: inline-block;
  color: var(--mint);
  font-weight: 600;
  text-decoration: none;
}

.link-ink::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-fast) var(--ease);
}

.link-ink:hover::after,
.link-ink:focus-visible::after { transform: scaleX(1); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(53, 242, 192, 0.3);
  background: rgba(53, 242, 192, 0.1);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.tag--warm {
  border-color: rgba(255, 122, 47, 0.34);
  background: rgba(255, 122, 47, 0.1);
  color: var(--orange);
}

/* ---------- 纯 CSS 胶囊筛选 ---------- */
.switch { position: relative; display: inline-block; }

.switch__input {
  position: absolute;
  width: 1px; height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.switch__label {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  background: rgba(27, 39, 82, 0.62);
  color: var(--mist);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}

.switch__label:hover { color: var(--paper); border-color: var(--hair-strong); }

.switch__input:checked + .switch__label {
  background: var(--mint);
  border-color: var(--mint);
  color: #04140F;
}

.switch__input:focus-visible + .switch__label {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

/* ---------- 折叠 ---------- */
.fold {
  border: 1px solid var(--hair);
  border-radius: var(--r-soft);
  background: rgba(27, 39, 82, 0.6);
  overflow: hidden;
}

.fold + .fold { margin-top: var(--sp-2); }

.fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-stretch: 87.5%;
  color: var(--paper);
}

.fold > summary::-webkit-details-marker { display: none; }

.fold > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 9px; height: 9px;
  border-right: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--t-fast) var(--ease);
}

.fold[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.fold__body {
  padding: 0 20px 20px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- 数据表 ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--body-ink);
}

.data-table th {
  padding: 12px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
  border-bottom: 1px solid var(--hair-strong);
  white-space: nowrap;
}

.data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--hair);
  vertical-align: top;
}

.data-table tbody tr:nth-child(odd) { background: rgba(154, 166, 196, 0.05); }
.data-table tbody tr { transition: background-color var(--t-fast) var(--ease); }
.data-table tbody tr:hover { background: rgba(53, 242, 192, 0.1); }
.data-table .num { color: var(--mint); }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding-top: var(--sp-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  list-style: none;
}

.breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.breadcrumb a:hover { color: var(--mint); border-bottom-color: var(--mint); }
.breadcrumb__sep { color: var(--mint-dim); }

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: var(--sp-3);
  z-index: 200;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: var(--mint);
  color: #04140F;
  font-weight: 700;
  text-decoration: none;
  transition: top var(--t-fast) var(--ease);
}

.skip-link:focus { top: var(--sp-2); }

/* =========================================================
   页头
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  isolation: isolate;
  padding: var(--sp-2) var(--sp-3) 0;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(7, 12, 31, 0.96) 0%,
    rgba(7, 12, 31, 0.7) 66%,
    rgba(7, 12, 31, 0) 100%
  );
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 9px 10px 9px 16px;
  border: 1px solid var(--hair);
  border-radius: 26px;
  background: rgba(27, 39, 82, 0.74);
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  box-shadow: 0 22px 46px -32px rgba(0, 0, 0, 0.96);
}

.brand-island {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 0 0 auto;
  padding: 2px 14px 2px 2px;
  border-right: 1px solid var(--hair);
  text-decoration: none;
}

.brand-island__mark {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 800;
  font-stretch: 87.5%;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--paper);
  transition: color var(--t-fast) var(--ease);
}

.brand-island:hover .brand-island__mark { color: var(--mint); }

.brand-island__domain {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  line-height: 1.3;
  color: var(--mist);
}

.nav-rail {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.nav-rail__list {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}

.nav-rail__list::-webkit-scrollbar { display: none; }

.nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  white-space: nowrap;
  scroll-snap-align: start;
  font-size: 14px;
  font-weight: 600;
  color: var(--mist);
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}

.nav-pill:hover {
  color: var(--paper);
  background: rgba(53, 242, 192, 0.1);
  border-color: rgba(53, 242, 192, 0.3);
}

.nav-pill[aria-current="page"] {
  background: var(--mint);
  border-color: var(--mint);
  color: #04140F;
  font-weight: 700;
}

.cta-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 10px 18px;
  border: 1px solid var(--orange);
  border-radius: var(--r-pill);
  background: rgba(255, 122, 47, 0.09);
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  font-stretch: 87.5%;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}

.cta-pill__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  transition: background-color var(--t-fast) var(--ease);
}

.cta-pill:hover {
  background: var(--orange);
  color: #160B03;
  transform: translateY(-1px);
}

.cta-pill:hover .cta-pill__dot { background: #160B03; }

/* 移动端栏目开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--sp-1);
  padding: 9px 14px;
  border: 1px solid var(--hair-strong);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.nav-toggle:hover { border-color: var(--mint); color: var(--mint); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 15px; height: 12px;
}

.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--mint);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 1080px) {
  .nav-pill { padding: 9px 12px; font-size: 13px; }
  .cta-pill { padding: 9px 14px; font-size: 13px; }
}

@media (max-width: 880px) {
  .site-header { padding: 10px 12px 0; }

  .header-shell {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 22px;
  }

  .brand-island {
    order: 1;
    padding: 2px 10px 2px 2px;
    border-right: 0;
  }

  .brand-island__mark { font-size: 16px; }
  .brand-island__domain { font-size: 9px; }

  .cta-pill { order: 2; margin-left: auto; }

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

  .nav-rail {
    order: 4;
    flex: 1 0 100%;
    justify-content: stretch;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 220ms var(--ease), opacity 160ms var(--ease);
  }

  .nav-rail[data-open] {
    max-height: 200px;
    opacity: 1;
  }

  .nav-rail__list {
    justify-content: flex-start;
    padding: 4px 0 8px;
    scroll-snap-type: x mandatory;
  }

  .nav-pill { padding: 9px 14px; font-size: 13px; }
}

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: var(--sp-5);
  background: var(--ink-deep);
  color: var(--mist);
  font-size: 14px;
}

.footer-band {
  height: 18px;
  background: linear-gradient(90deg, var(--laterite) 0%, #7C3220 48%, var(--laterite) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 56%, 0 100%);
}

.footer-shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-3) var(--sp-4);
}

.footer-tier { width: 100%; }

.footer-tier--index {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(150px, 1fr));
  gap: var(--sp-4) var(--sp-3);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--hair);
}

.footer-brand__mark {
  margin: 0 0 6px;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  font-stretch: 87.5%;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.footer-brand__domain {
  margin: 0 0 var(--sp-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--mint);
}

.footer-brand__note {
  margin: 0;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist);
}

.footer-col__title {
  margin: 0 0 var(--sp-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--orange);
}

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

.footer-links a {
  display: inline-block;
  color: var(--mist);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}

.footer-links a:hover {
  color: var(--mint);
  padding-left: 5px;
}

.footer-tier--meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--sp-2) var(--sp-3);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--hair);
}

.footer-meta__item {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--body-ink);
}

.footer-meta__key {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mint-dim);
}

.footer-tier--legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-3);
  padding-top: var(--sp-3);
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-3);
  list-style: none;
}

.footer-legal__links a {
  color: var(--mist);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.footer-legal__links a:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

.footer-legal__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

@media (max-width: 720px) {
  .footer-tier--index { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-tier--legal { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   阅读进度条
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  background: linear-gradient(90deg, var(--mint) 0%, #7BF7CE 46%, var(--orange) 100%);
  box-shadow: 0 0 12px rgba(53, 242, 192, 0.5);
}

/* =========================================================
   动效偏好降级
   ========================================================= */
@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;
  }

  .btn:hover,
  .cta-pill:hover { transform: none; }
}
