/* ==========================================================================
   优乐玩官网 · 共享样式表  /assets/site.css
   母题：艾德莱斯绸色带 · 路标编号 · 悬浮玻璃胶囊 · 夜墨蓝织纹页脚
   ========================================================================== */

/* ---------- 0. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, figcaption { margin: 0; }

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

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

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; }

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 品牌色板 */
  --paper:        #F6EFE3;
  --ink:          #1B1A17;
  --indigo:       #1F3A8A;
  --pomegranate:  #C7352B;
  --sand:         #D9A441;
  --poplar:       #3E6B4F;
  --clay:         #8C5A3C;
  --mist:         #DCE6F2;
  --night:        #121B2E;
  --paper-white:  #FFFDF7;

  /* 语义映射 */
  --bg:            var(--paper);
  --fg:            var(--ink);
  --fg-soft:       var(--clay);
  --line:          rgba(27, 26, 23, 0.14);
  --line-strong:   rgba(27, 26, 23, 0.30);
  --on-night:      #E9E3D6;

  /* 字体 */
  --font-head: "HarmonyOS Sans SC", "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  /* 尺度 */
  --wrap: 1180px;
  --header-h: 76px;
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;

  --shadow-soft:  0 18px 40px -30px rgba(18, 27, 46, 0.50);
  --shadow-float: 0 26px 60px -36px rgba(18, 27, 46, 0.70);
  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);

  /* 织纹条 */
  --silk: repeating-linear-gradient(
    100deg,
    var(--indigo) 0 16px,
    var(--pomegranate) 16px 28px,
    var(--sand) 28px 36px,
    var(--poplar) 36px 50px
  );
}

/* ---------- 2. 基础排版 ---------- */
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.022em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 5.2vw, 4rem); letter-spacing: -0.038em; line-height: 1.06; }
h2 { font-size: clamp(1.55rem, 3.1vw, 2.4rem); }
h3 { font-size: clamp(1.12rem, 1.9vw, 1.42rem); }
h4 { font-size: 1.02rem; letter-spacing: -0.01em; }

p { text-wrap: pretty; }

::selection {
  background: var(--pomegranate);
  color: var(--paper-white);
}

.num,
[data-num] {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* ---------- 3. 无障碍 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2.5px solid var(--indigo);
  outline-offset: 3px;
}

.site-footer :focus-visible,
.band--night :focus-visible {
  outline-color: var(--sand);
}

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

/* ---------- 4. 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--indigo);
  color: var(--paper-white);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-float);
  transition: top 0.22s var(--ease);
}

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

/* ---------- 5. 悬浮胶囊页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: clamp(10px, 1.5vw, 16px) clamp(12px, 3vw, 30px) 0;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(246, 239, 227, 0.96) 0%,
    rgba(246, 239, 227, 0.74) 62%,
    rgba(246, 239, 227, 0) 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s var(--ease);
}

.site-header[data-condensed]::before { opacity: 1; }

.header-shell {
  position: relative;
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 24px);
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: var(--r-pill);
  background: rgba(255, 253, 247, 0.82);
  box-shadow: 0 16px 40px -34px rgba(18, 27, 46, 0.9);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  transition: padding 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header[data-condensed] .header-shell {
  padding-block: 5px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 22px 48px -30px rgba(18, 27, 46, 0.78);
}

/* 品牌浮岛 */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  border-radius: var(--r-pill);
}

.brand-glyph {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--indigo) 0%, #2B4FB0 55%, var(--pomegranate) 100%);
  color: var(--paper-white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: transform 0.3s var(--ease);
}

.brand-mark:hover .brand-glyph { transform: rotate(-6deg) scale(1.05); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.14;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand-note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--clay);
}

/* 导航主体 */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

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

.nav-item { display: block; }

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-link::before {
  content: "";
  display: block;
  width: 0;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--sand);
  transition: width 0.22s var(--ease), margin-right 0.22s var(--ease);
}

.nav-link:hover {
  color: var(--indigo);
  background: rgba(31, 58, 138, 0.08);
}

.nav-link[aria-current="page"] {
  color: var(--indigo);
  font-weight: 700;
  background: rgba(31, 58, 138, 0.08);
}

.nav-link[aria-current="page"]::before {
  width: 6px;
  margin-right: 7px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-white);
  color: var(--ink);
  cursor: pointer;
  flex: 0 0 auto;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

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

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background 0.2s var(--ease);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease), top 0.24s var(--ease);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { top: 0; transform: rotate(-45deg); }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
              color 0.18s var(--ease), border-color 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}

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

.btn--ember {
  background: var(--pomegranate);
  color: var(--paper-white);
  box-shadow: 0 12px 26px -16px rgba(199, 53, 43, 0.9);
}
.btn--ember:hover { background: #B02C23; }

.btn--indigo {
  background: var(--indigo);
  color: var(--paper-white);
  box-shadow: 0 12px 26px -18px rgba(31, 58, 138, 0.95);
}
.btn--indigo:hover { background: #19307A; }

.btn--ink {
  background: var(--ink);
  color: var(--paper-white);
}
.btn--ink:hover { background: #000000; }

.btn--sand {
  background: var(--sand);
  color: #221C0C;
}
.btn--sand:hover { background: #C8933A; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  color: var(--indigo);
  border-color: var(--indigo);
  background: rgba(31, 58, 138, 0.06);
}

.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- 7. 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

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

.band { padding-block: clamp(46px, 6.5vw, 92px); }
.band--mist { background: var(--mist); }
.band--night {
  background: var(--night);
  color: var(--on-night);
}
.band--night h1,
.band--night h2,
.band--night h3 { color: var(--paper-white); }

.page-head { padding-block: clamp(30px, 5vw, 58px) clamp(20px, 3vw, 34px); }

.page-title { margin-bottom: 0.35em; }

.lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.82;
  color: var(--fg-soft);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.6vw, 30px);
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(20px, 4vw, 52px);
}

.split--wide-left {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.rule {
  height: 0;
  margin-block: clamp(24px, 4vw, 46px);
  border: 0;
  border-top: 1px solid var(--line);
}

.silk-ribbon {
  height: 5px;
  border-radius: var(--r-pill);
  background: var(--silk);
  opacity: 0.9;
}

/* ---------- 8. 索引小字 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--sand), var(--pomegranate));
}

.sec-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--sand);
}

/* ---------- 9. 正文块 ---------- */
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 700; }
.prose a {
  color: var(--indigo);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--pomegranate); }
.prose ul,
.prose ol {
  margin-bottom: 1em;
  padding-left: 1.35em;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.35em; }

/* ---------- 10. 卡片 / 标签 / 表格 ---------- */
.card {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper-white);
  box-shadow: var(--shadow-soft);
}

.card--indigo {
  background: var(--indigo);
  color: #EAF0FB;
  border-color: rgba(255, 255, 255, 0.16);
}
.card--indigo h2,
.card--indigo h3 { color: var(--paper-white); }

.card--ember {
  background: var(--pomegranate);
  color: #FFF3F1;
  border-color: rgba(255, 255, 255, 0.20);
}
.card--ember h2,
.card--ember h3 { color: var(--paper-white); }

.card--mist {
  background: var(--mist);
  border-color: rgba(31, 58, 138, 0.16);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--clay);
}

.tag--ok {
  color: var(--poplar);
  border-color: rgba(62, 107, 79, 0.42);
  background: rgba(62, 107, 79, 0.08);
}

.tag--ember {
  color: var(--pomegranate);
  border-color: rgba(199, 53, 43, 0.42);
  background: rgba(199, 53, 43, 0.08);
}

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper-white);
  font-size: 15px;
  line-height: 1.65;
}

.table th,
.table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table thead th {
  background: var(--clay);
  color: var(--paper-white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.table tbody tr:nth-child(even) { background: rgba(220, 230, 242, 0.42); }
.table tbody tr:last-child td { border-bottom: 0; }

/* ---------- 11. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background-color: var(--mist);
  background-image:
    repeating-linear-gradient(115deg, rgba(31, 58, 138, 0.10) 0 2px, transparent 2px 22px),
    linear-gradient(160deg, rgba(31, 58, 138, 0.10) 0%, rgba(217, 164, 65, 0.16) 100%);
}

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

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

.media-frame > picture { display: block; width: 100%; height: 100%; }
.media-frame > picture > img { width: 100%; height: 100%; object-fit: cover; }

.media-frame-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(18, 27, 46, 0.74);
  color: #F1EBDD;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ---------- 12. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: clamp(16px, 2.6vw, 26px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--fg-soft);
}

.breadcrumbs a { color: var(--fg-soft); transition: color 0.16s var(--ease); }
.breadcrumbs a:hover { color: var(--indigo); }

.breadcrumbs li::after {
  content: "/";
  margin-inline: 9px;
  color: rgba(140, 90, 60, 0.45);
}
.breadcrumbs li:last-child::after { display: none; }

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- 13. 滚动进度（可选元素） ---------- */
[data-scroll-progress] {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  display: block;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--indigo) 0%, var(--pomegranate) 55%, var(--sand) 100%);
  pointer-events: none;
}

/* ---------- 14. 滚动显现协议 ---------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 80ms);
  will-change: opacity, transform;
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ---------- 15. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 112px);
  background: var(--night);
  color: var(--on-night);
  padding-top: clamp(38px, 5.5vw, 70px);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--silk);
  opacity: 0.88;
}

.footer-shell {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
  padding-bottom: clamp(26px, 4vw, 44px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.05fr) minmax(0, 2fr);
  gap: clamp(26px, 5vw, 64px);
  padding-bottom: clamp(26px, 4vw, 46px);
  border-bottom: 1px solid rgba(233, 227, 214, 0.16);
}

.footer-brand { max-width: 340px; }

.footer-glyph {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--indigo) 0%, var(--pomegranate) 100%);
  color: var(--paper-white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.footer-brand-line {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--paper-white);
}

.footer-summary {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(233, 227, 214, 0.72);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--sand);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-link {
  width: fit-content;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(233, 227, 214, 0.82);
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-link:hover {
  color: var(--paper-white);
  border-bottom-color: var(--sand);
}

.footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  padding-block: clamp(22px, 3.4vw, 36px);
  border-bottom: 1px solid rgba(233, 227, 214, 0.16);
}

.footer-contact-lines {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: rgba(233, 227, 214, 0.86);
}

.footer-contact-line b {
  font-weight: 600;
  color: var(--sand);
}

.footer-note {
  font-size: 13px;
  line-height: 1.78;
  color: rgba(233, 227, 214, 0.58);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  padding-top: clamp(18px, 3vw, 26px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(233, 227, 214, 0.56);
}

.footer-base-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-base-item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sand);
  opacity: 0.7;
}

.footer-base-item:first-child::before { display: none; }
.footer-icp { color: rgba(233, 227, 214, 0.68); }
.footer-region { color: rgba(217, 164, 65, 0.82); }

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-link { padding-inline: 8px; font-size: 13.5px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { max-width: none; }
  .footer-contact { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(27, 26, 23, 0.12);
    border-radius: 22px;
    background: var(--paper-white);
    box-shadow: var(--shadow-float);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s var(--ease);
    pointer-events: none;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

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

  .nav-link {
    width: 100%;
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 15px;
  }

  .nav-link[aria-current="page"] {
    background: rgba(31, 58, 138, 0.09);
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .nav-actions .btn { width: 100%; }
}

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

  .grid--2,
  .grid--3,
  .split,
  .split--wide-left { grid-template-columns: 1fr; }

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

  .table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 520px) {
  .brand-note { display: none; }
  .brand-glyph { width: 34px; height: 34px; border-radius: 10px; font-size: 16px; }
  .header-shell { padding-left: 10px; padding-right: 8px; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-base { gap: 6px 16px; font-size: 11.5px; }
  .breadcrumbs { font-size: 11px; }
}

/* ---------- 17. 动效降级 ---------- */
@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;
  }

  .reveal-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .btn:hover,
  .brand-mark:hover .brand-glyph { transform: none; }
}

/* ---------- 18. 打印 ---------- */
@media print {
  .site-header,
  .site-footer,
  .skip-link,
  [data-scroll-progress] { display: none !important; }

  body { background: #FFFFFF; color: #000000; font-size: 12pt; }
  .card { box-shadow: none; border-color: #999999; }
  a { text-decoration: underline; }
}
