/* =========================================================
   大发彩票 · 共享样式 /assets/site.css
   深墨蓝基底 · 鎏金锚点 · 朱砂提示 · 青玉数据
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background-color: #06101A;
  background-image:
    radial-gradient(120% 70% at 84% -8%, rgba(95, 167, 156, .16), transparent 62%),
    radial-gradient(90% 60% at 4% 0%, rgba(212, 175, 55, .12), transparent 58%),
    linear-gradient(180deg, #0B1B2B 0%, #08141F 46%, #06101A 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--paper);
  background: transparent;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(124, 138, 145, .1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(124, 138, 145, .1) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(120% 70% at 50% 0%, #000 0%, rgba(0, 0, 0, .25) 62%, transparent 92%);
  mask-image: radial-gradient(120% 70% at 50% 0%, #000 0%, rgba(0, 0, 0, .25) 62%, transparent 92%);
  opacity: .55;
}

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

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

hr { border: 0; }

::selection { background: rgba(212, 175, 55, .3); color: #fff; }

/* ---------- 2. 变量 ---------- */
:root {
  color-scheme: dark;

  --ink-950: #04090F;
  --ink-900: #06101A;
  --ink-800: #0B1B2B;
  --ink-700: #132C42;

  --rock: #7C8A91;
  --paper: #F2EDE3;
  --gold: #D4AF37;
  --gold-deep: #B8912A;
  --cinnabar: #D9564A;
  --jade: #5FA79C;
  --moss: #7C8F63;
  --clay: #B5714F;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", ui-serif, serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --shell: 1280px;
  --gutter: clamp(20px, 4vw, 48px);

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

  --line: rgba(124, 138, 145, .2);
  --line-strong: rgba(124, 138, 145, .38);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, .38);
  --shadow-pill: 0 10px 30px rgba(0, 0, 0, .42);
}

/* ---------- 3. 中文排版与层级 ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--paper);
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.4vw, 5.4rem); line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.28rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.08rem; letter-spacing: 0; }

p { text-wrap: pretty; }

strong { color: var(--paper); font-weight: 600; }

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

.visually-hidden {
  position: absolute !important;
  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;
}

/* ---------- 4. 焦点与可访问性 ---------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 200;
  padding: .72em 1.2em;
  border-radius: 0 0 14px 14px;
  background: var(--gold);
  color: #191203;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
  transition: top .25s var(--ease);
}

.skip-link:focus { top: 0; }

#main-content { display: block; }

/* ---------- 5. 页头：左右分置研究台 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(6, 16, 26, .94), rgba(11, 27, 43, .74));
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}

.site-header[data-scrolled] {
  background: linear-gradient(180deg, rgba(5, 13, 21, .97), rgba(9, 24, 38, .9));
  border-bottom-color: rgba(212, 175, 55, .26);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}

.header-rail {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(12px, 1.8vw, 20px) var(--gutter);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  transition: padding .35s var(--ease);
}

/* 品牌印章 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 6px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  transition: background .3s var(--ease), border-color .3s var(--ease),
              box-shadow .3s var(--ease), padding .3s var(--ease);
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(140deg, #E6C766 0%, var(--gold) 38%, var(--gold-deep) 62%, var(--cinnabar) 100%);
  box-shadow: inset 0 0 0 1px rgba(242, 237, 227, .38), 0 6px 18px rgba(212, 175, 55, .22);
  transition: width .3s var(--ease), height .3s var(--ease), border-radius .3s var(--ease);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 4px;
  background: var(--ink-800);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade);
  transform: translate(-50%, -50%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: .01em;
  color: var(--paper);
  transition: color .25s var(--ease);
}

.brand-tag {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .2em;
  color: var(--rock);
  white-space: nowrap;
}

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

/* 期号刻度装饰带 */
.header-scale {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  overflow: hidden;
}

.scale-ticks {
  flex: 1 1 auto;
  height: 9px;
  min-width: 40px;
  background-image:
    repeating-linear-gradient(90deg, rgba(124, 138, 145, .55) 0 1px, transparent 1px 26px),
    linear-gradient(90deg, rgba(124, 138, 145, .3), rgba(212, 175, 55, .4));
  background-repeat: repeat-x, no-repeat;
  background-size: auto 9px, 100% 1px;
  background-position: 0 0, 0 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}

.scale-text {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .24em;
  color: rgba(124, 138, 145, .9);
  white-space: nowrap;
}

/* 导航 */
.header-nav-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  min-width: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  padding: 6px 8px 6px 16px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  transition: background .3s var(--ease), border-color .3s var(--ease),
              box-shadow .3s var(--ease), padding .3s var(--ease);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 24px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: .5rem .15rem;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: rgba(242, 237, 227, .78);
  white-space: nowrap;
  transition: color .25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .06rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--ease);
}

.nav-link:hover { color: var(--paper); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  color: var(--gold);
  font-weight: 600;
}

.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { flex: 0 0 auto; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .6rem;
  padding: .55rem .95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: rgba(19, 44, 66, .72);
  color: rgba(242, 237, 227, .92);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(212, 175, 55, .5);
  color: var(--gold);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 8px;
}

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

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

.site-header[data-open] .nav-toggle-bars::before { transform: translateY(3.25px) rotate(45deg); }
.site-header[data-open] .nav-toggle-bars::after { transform: translateY(-3.25px) rotate(-45deg); }

/* 滚动进度 */
.read-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--jade), var(--gold) 58%, var(--cinnabar));
  transition: transform .12s linear;
  pointer-events: none;
}

/* 滚动后的双胶囊 */
@media (min-width: 961px) {
  .site-header[data-scrolled] .header-rail { padding-block: 10px; }

  .site-header[data-scrolled] .brand,
  .site-header[data-scrolled] .site-nav {
    background: rgba(11, 27, 43, .9);
    border-color: rgba(124, 138, 145, .26);
    box-shadow: var(--shadow-pill);
  }

  .site-header[data-scrolled] .brand { padding: 5px 16px 5px 5px; }

  .site-header[data-scrolled] .brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }

  .site-header[data-scrolled] .site-nav { padding: 4px 6px 4px 14px; }
}

@media (max-width: 1120px) {
  .header-scale { display: none; }
}

/* ---------- 6. 按钮体系 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .78em 1.55em;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .04em;
  text-align: center;
  white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}

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

.btn-primary {
  background: linear-gradient(135deg, #E7C95F 0%, var(--gold) 46%, var(--gold-deep) 100%);
  color: #1A1305;
  box-shadow: 0 8px 22px rgba(212, 175, 55, .22);
}

.btn-primary:hover { box-shadow: 0 14px 30px rgba(212, 175, 55, .34); }

.btn-ghost {
  border-color: rgba(95, 167, 156, .48);
  background: rgba(95, 167, 156, .1);
  color: var(--paper);
}

.btn-ghost:hover {
  border-color: var(--jade);
  background: rgba(95, 167, 156, .2);
}

.btn-quiet {
  border-color: var(--line-strong);
  color: rgba(242, 237, 227, .86);
}

.btn-quiet:hover {
  border-color: rgba(212, 175, 55, .55);
  color: var(--gold);
}

.btn-sm {
  padding: .56em 1.15em;
  font-size: .82rem;
}

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

.section {
  position: relative;
  padding-block: clamp(56px, 8vw, 112px);
}

.section--tight { padding-block: clamp(40px, 5vw, 72px); }

.section-head {
  display: grid;
  gap: .95rem;
  max-width: 62ch;
}

.section-title { font-size: clamp(1.85rem, 4vw, 3.1rem); }

.section-lede {
  max-width: 62ch;
  color: rgba(242, 237, 227, .74);
  font-size: 1.02rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--jade);
  text-transform: uppercase;
}

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

.rule-band {
  height: 4px;
  width: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(212, 175, 55, .12));
}

.rule-band--jade { background: linear-gradient(90deg, var(--jade), rgba(95, 167, 156, .1)); }
.rule-band--cinnabar { background: linear-gradient(90deg, var(--cinnabar), rgba(217, 86, 74, .1)); }

/* ---------- 8. 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

@media (max-width: 900px) {
  .grid-12 { grid-template-columns: minmax(0, 1fr); }
  .col-4, .col-5, .col-6, .col-7, .col-8, .col-12 { grid-column: 1 / -1; }
}

/* ---------- 9. 面板 / 标签 ---------- */
.panel {
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(95, 167, 156, .1), transparent 58%),
    linear-gradient(160deg, rgba(19, 44, 66, .92), rgba(11, 27, 43, .74));
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .38em .9em;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: rgba(19, 44, 66, .6);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: rgba(242, 237, 227, .82);
  white-space: nowrap;
}

.chip--gold {
  border-color: rgba(212, 175, 55, .42);
  background: rgba(212, 175, 55, .1);
  color: var(--gold);
}

.chip--jade {
  border-color: rgba(95, 167, 156, .42);
  background: rgba(95, 167, 156, .12);
  color: var(--jade);
}

.chip--cinnabar {
  border-color: rgba(217, 86, 74, .42);
  background: rgba(217, 86, 74, .12);
  color: #E98A80;
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55em;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--rock);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: .55em;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: rgba(124, 138, 145, .55);
}

.breadcrumb a { color: rgba(242, 237, 227, .8); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current="page"] { color: var(--paper); }

/* ---------- 11. 长文排版 ---------- */
.prose {
  max-width: 72ch;
  font-size: 1.0625rem;
  color: rgba(242, 237, 227, .86);
}

.prose > * + * { margin-top: 1em; }

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
}

.prose h3 {
  margin-top: 1.8em;
  font-size: 1.16rem;
  letter-spacing: 0;
}

.prose ul { display: grid; gap: .5em; }

.prose ul li {
  position: relative;
  padding-left: 1.5em;
}

.prose ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.prose a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose blockquote {
  padding-left: 1.1em;
  border-left: 2px solid rgba(95, 167, 156, .6);
  color: rgba(242, 237, 227, .78);
}

/* ---------- 12. 图片容器基础规则 ---------- */
.figure {
  display: grid;
  gap: .85rem;
  margin: 0;
}

.figure-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ratio, 16 / 9);
  border: 1px solid rgba(124, 138, 145, .22);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 120% at 18% 0%, rgba(95, 167, 156, .24), transparent 58%),
    radial-gradient(90% 90% at 90% 100%, rgba(212, 175, 55, .16), transparent 60%),
    linear-gradient(160deg, #132C42 0%, #06101A 100%);
}

.figure-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(124, 138, 145, .16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(124, 138, 145, .16) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .7;
}

.figure-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure-cap {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--rock);
}

/* ---------- 13. 数据表 ---------- */
.scroll-x {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(212, 175, 55, .5) transparent;
  scrollbar-width: thin;
}

.scroll-x::-webkit-scrollbar { height: 8px; }
.scroll-x::-webkit-scrollbar-track { background: rgba(6, 16, 26, .6); border-radius: 8px; }
.scroll-x::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, .45); border-radius: 8px; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: .88rem;
  line-height: 1.4;
}

.data-table th,
.data-table td {
  padding: .75rem 1rem;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(124, 138, 145, .16);
}

.data-table thead th {
  font-family: var(--font-sans);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--rock);
  background: rgba(19, 44, 66, .8);
}

.data-table tbody tr { transition: background .2s var(--ease); }
.data-table tbody tr:hover { background: rgba(19, 44, 66, .72); }
.data-table tbody td:first-child { color: var(--gold); }

/* ---------- 14. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0B1B2B 0%, #06101A 58%, #04090F 100%);
  border-top: 1px solid rgba(212, 175, 55, .24);
  padding-top: clamp(52px, 7vw, 92px);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--cinnabar) 34%, var(--jade) 68%, var(--gold));
  opacity: .9;
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 620px;
  height: 620px;
  max-width: 90vw;
  pointer-events: none;
  background: radial-gradient(circle, rgba(95, 167, 156, .12), transparent 66%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

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

.brand--footer { padding-left: 0; padding-right: 0; }
.brand--footer .brand-mark { width: 30px; height: 30px; border-radius: 10px; }
.brand--footer .brand-name { font-size: 1.12rem; }

.footer-summary {
  max-width: 32ch;
  font-size: .95rem;
  line-height: 1.72;
  color: rgba(242, 237, 227, .7);
}

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

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

.footer-col-title {
  display: flex;
  align-items: center;
  gap: .6em;
  margin-bottom: 14px;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--paper);
}

.footer-col-title::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--gold);
}

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

.footer-link {
  position: relative;
  display: inline-block;
  font-size: .9rem;
  color: rgba(242, 237, 227, .72);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}

.footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--gold);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .2s var(--ease);
}

.footer-link:hover {
  color: var(--gold);
  padding-left: 14px;
}

.footer-link:hover::before { opacity: 1; }

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

.footer-contact-list { display: grid; gap: 14px; }

.contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.contact-item--block { gap: 2px 10px; }

.contact-label {
  width: 100%;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .2em;
  color: var(--rock);
}

.contact-value {
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--paper);
  word-break: break-all;
}

.contact-value--sm {
  font-family: var(--font-sans);
  font-size: .84rem;
  line-height: 1.6;
  color: rgba(242, 237, 227, .82);
  word-break: normal;
}

.copy-btn {
  padding: .28em .72em;
  border: 1px solid rgba(212, 175, 55, .42);
  border-radius: var(--r-pill);
  background: rgba(212, 175, 55, .08);
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  color: var(--gold);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.copy-btn:hover {
  background: rgba(212, 175, 55, .2);
  color: #F7ECC8;
}

.copy-btn[data-copied="true"] {
  border-color: rgba(95, 167, 156, .62);
  background: rgba(95, 167, 156, .16);
  color: var(--jade);
}

.copy-status {
  min-height: 1.4em;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--jade);
}

.footer-meta {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin: clamp(36px, 5vw, 58px) auto 0;
  padding: 20px var(--gutter) 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: rgba(124, 138, 145, .95);
}

.footer-copy { color: rgba(242, 237, 227, .62); }
.footer-note { color: rgba(124, 138, 145, .9); }

/* ---------- 15. 显现动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  will-change: opacity, transform;
}

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

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1080px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 36px;
  }

  .footer-lede { grid-column: 1 / -1; }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .header-rail {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-block: 11px;
    gap: 12px;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    padding: 0 var(--gutter);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    background: linear-gradient(180deg, rgba(7, 20, 33, .99), rgba(6, 16, 26, .99));
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 44px rgba(0, 0, 0, .5);
    transition: max-height .42s var(--ease), opacity .3s var(--ease),
                visibility .3s var(--ease), padding .3s var(--ease);
  }

  .site-header[data-open] .site-nav {
    max-height: min(78vh, 560px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    padding-block: 8px 24px;
  }

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

  .nav-list li + li { border-top: 1px solid rgba(124, 138, 145, .14); }

  .nav-link {
    width: 100%;
    padding: .95rem .2rem;
    font-size: .95rem;
  }

  .nav-link::after {
    left: .2rem;
    right: auto;
    width: 26px;
    bottom: .5rem;
  }

  .nav-cta {
    width: 100%;
    margin-top: 16px;
    padding-block: .85em;
  }
}

@media (max-width: 680px) {
  body { font-size: 16px; }

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

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 1.1rem; }
}

/* ---------- 17. 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

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

  .btn:hover { transform: none; }
}
