/* ============================================================
   /assets/site.css — 苹果澳门 · 简体中文站
   共享外壳：变量 / 重置 / 中文排版 / 页头 / 页脚 / 基础组件
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 品牌色 */
  --ink: #0B0D10;
  --graphite: #171A1F;
  --slate: #2A2F37;
  --silver: #E8EAED;
  --paper: #F5F3EE;
  --gold: #C8A46A;
  --gold-soft: #E4CB9C;
  --cyan: #35E0D0;
  --cyan-deep: #0E8C86;
  --rule: #3A4149;

  /* 语义色 */
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: #5C636B;
  --link: var(--cyan-deep);
  --hairline: rgba(58, 65, 73, 0.55);
  --hairline-light: rgba(232, 234, 237, 0.16);

  /* 尺度 */
  --rail-w: 260px;
  --shell: 1440px;
  --gutter: 32px;

  /* 圆角 */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* 字体 */
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, "Times New Roman", serif;
  --font-sans: "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms;
  --t-mid: 220ms;
}

/* ---------- 2. 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; }

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

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

[id] { scroll-margin-top: 150px; }

/* ---------- 3. 中文排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
}

h1, h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: inherit;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.18; }
h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.32; }

h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.01em;
}

h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }

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

strong { font-weight: 600; }

::selection {
  background: var(--gold-soft);
  color: var(--ink);
}

/* 焦点可见 */
:focus-visible {
  outline: 2px solid var(--cyan-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.ink-section :focus-visible {
  outline-color: var(--cyan);
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 120;
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: top var(--t-fast) var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 14px;
}

/* ---------- 5. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--graphite);
  color: var(--silver);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
}

/* 品牌轨道 —— 斜切 -8° 的墨空黑色块 */
.header-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 46px 16px 26px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, calc(100% - 34px) 100%, 0 100%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--silver);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: inset 0 0 0 1px rgba(11, 13, 16, 0.35);
  transition: transform var(--t-fast) var(--ease);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--ink);
}

.brand-mark--sm { width: 26px; height: 26px; border-radius: 9px; }
.brand-mark--sm::after { inset: 8px; }

.brand:hover .brand-mark { transform: translateY(-1px) rotate(-4deg); }

.brand-text { display: block; min-width: 0; }

.brand-name {
  display: block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.brand-sub {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  line-height: 1.4;
}

.rail-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  color: rgba(232, 234, 237, 0.6);
}

.rail-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(53, 224, 208, 0.16);
}

/* 双层信息区 */
.header-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 12px 32px 10px 44px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}

.header-tagline {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: rgba(232, 234, 237, 0.62);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--gold);
  border-radius: var(--r-pill);
  background: rgba(200, 164, 106, 0.08);
  color: var(--gold-soft);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}

.header-cta::after {
  content: "→";
  font-size: 12px;
  line-height: 1;
  transition: transform var(--t-fast) var(--ease);
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.header-cta:hover::after { transform: translateX(3px); }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--silver);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease);
}

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

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t-mid) var(--ease),
              opacity var(--t-fast) var(--ease);
}

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

.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); }

/* 导航行 */
.header-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 20px;
  padding-top: 8px;
}

.site-nav { display: flex; min-width: 0; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item { display: block; }

.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 13px;
  border-radius: var(--r-pill);
  color: rgba(232, 234, 237, 0.74);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-fast) var(--ease);
}

.nav-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: rgba(200, 164, 106, 0.7);
  transition: color var(--t-fast) var(--ease);
}

.nav-list a:hover {
  color: var(--silver);
}

.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a:hover .nav-num { color: var(--gold); }

/* 当前页状态 */
.nav-list a[aria-current="page"] {
  background: var(--gold);
  color: var(--ink);
}

.nav-list a[aria-current="page"] .nav-num { color: rgba(11, 13, 16, 0.55); }
.nav-list a[aria-current="page"]::after { transform: scaleX(0); }
.nav-list a[aria-current="page"]:hover { color: var(--ink); background: var(--gold-soft); }

.header-utility {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: rgba(232, 234, 237, 0.42);
}

/* 滚动进度（JS 注入） */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  margin-top: 0;
  background: var(--ink);
  color: rgba(232, 234, 237, 0.72);
  border-top: 1px solid var(--rule);
}

.footer-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-top {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  gap: 56px;
  padding: 64px 0 46px;
  border-bottom: 1px solid var(--rule);
}

.footer-ident {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--silver);
  text-decoration: none;
}

.footer-brand:hover .footer-brand-name { color: var(--gold-soft); }

.footer-brand-text { display: block; }

.footer-brand-name {
  display: block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  transition: color var(--t-fast) var(--ease);
}

.footer-brand-sub {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.footer-batch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  color: rgba(232, 234, 237, 0.5);
}

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

.footer-intro {
  max-width: 46em;
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(232, 234, 237, 0.66);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
  margin-top: 38px;
}

.footer-col-title {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  color: var(--gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(232, 234, 237, 0.7);
}

.footer-links a {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  color: rgba(232, 234, 237, 0.7);
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

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

.footer-links a:hover { color: var(--silver); }
.footer-links a:hover::after { transform: scaleX(1); }

.footer-links--plain li {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  line-height: 1.85;
  color: rgba(232, 234, 237, 0.58);
  overflow-wrap: anywhere;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 22px 0 30px;
}

.footer-legal,
.footer-service {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: rgba(232, 234, 237, 0.42);
}

.footer-service { max-width: 42em; }

/* ---------- 7. 布局与容器 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 880px; }

.layout-rail {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.ink-section {
  background: var(--ink);
  color: var(--silver);
}

.ink-section h1,
.ink-section h2 { color: var(--silver); }

.ink-section a { color: var(--cyan); }

.paper-section {
  background: var(--paper);
  color: var(--ink);
}

/* ---------- 8. 基础组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: transparent;
  color: inherit;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.btn--outline {
  border-color: var(--rule);
  color: var(--silver);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.btn--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--silver);
}

.btn--ink:hover,
.btn--ink:focus-visible {
  background: var(--slate);
  border-color: var(--slate);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(200, 164, 106, 0.45);
  border-radius: var(--r-pill);
  background: rgba(200, 164, 106, 0.1);
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

.card {
  background: var(--graphite);
  color: var(--silver);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 26px 26px 24px;
  transition: border-color var(--t-mid) var(--ease),
              border-radius var(--t-mid) var(--ease);
}

.card:hover {
  border-color: var(--gold);
  border-radius: var(--r-md);
}

.card h3 { color: var(--silver); margin-bottom: 8px; }
.card p { color: rgba(232, 234, 237, 0.7); font-size: 15px; line-height: 1.85; }

.rule {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--hairline);
}

.ink-section .rule,
.card .rule { background: var(--rule); }

.prose { max-width: 38em; }
.prose p { margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--muted);
}

.breadcrumb a { color: inherit; transition: color var(--t-fast) var(--ease); }
.breadcrumb a:hover { color: var(--cyan-deep); }

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--rule);
}

.ink-section .breadcrumb { color: rgba(232, 234, 237, 0.5); }
.ink-section .breadcrumb a:hover { color: var(--cyan); }

.side-note {
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.ink-section .side-note { color: rgba(232, 234, 237, 0.55); }

/* 图片容器基础规则（页面阶段放入 img 或占位元素） */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, var(--slate), var(--graphite) 62%, var(--ink));
}

.media img,
.media picture,
.media svg,
.media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ---------- 9. 平板 ---------- */
@media (max-width: 1180px) {
  :root { --rail-w: 220px; --gutter: 26px; }
  .header-rail { padding: 14px 40px 14px 22px; }
  .header-main { padding: 10px 24px 10px 34px; }
  .nav-list a { padding: 9px 10px; font-size: 13.5px; }
  .nav-list a::after { left: 10px; right: 10px; }
  .footer-top { gap: 40px; }
  .layout-rail { gap: 40px; }
}

/* ---------- 10. 移动 ---------- */
@media (max-width: 960px) {
  :root { --gutter: 20px; }

  .header-inner { grid-template-columns: minmax(0, 1fr); }

  .header-rail {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 18px;
    clip-path: none;
  }

  .header-main { padding: 0 18px 12px; }

  .header-top {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0 10px;
  }

  .header-tagline {
    flex: 1 1 190px;
    font-size: 12.5px;
    line-height: 1.65;
    white-space: normal;
  }

  .header-actions { margin-left: auto; }
  .header-cta { padding: 7px 13px; font-size: 12.5px; }
  .nav-toggle { display: inline-flex; }

  .header-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 6px;
  }

  .site-nav { display: none; }

  .site-nav[data-open="true"] {
    display: block;
    border-top: 1px solid var(--rule);
    padding-top: 8px;
  }

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

  .nav-list a {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 15px;
  }

  .nav-list a::after { left: 14px; right: 14px; bottom: 8px; }

  .header-utility {
    padding-top: 6px;
    font-size: 10.5px;
    line-height: 1.75;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 46px 0 34px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 24px;
    margin-top: 30px;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0 28px;
  }

  .layout-rail {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }

  [id] { scroll-margin-top: 118px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; line-height: 1.85; }

  .brand-name { font-size: 15px; }
  .rail-note { font-size: 10.5px; }

  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .grid-12 { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 20px 18px; border-radius: var(--r-md); }
}

/* ---------- 11. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .scroll-progress { transition: none !important; }
}
