/* ============================================================
   金博游艺 · CN 品牌站 共享样式 /assets/site.css
   暖纸档案件 × 霓虹游艺厅
   ============================================================ */

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

/* ---------- tokens ---------- */
:root {
  --paper: #F3EBDD;
  --ink: #0E1B2C;
  --gold: #D4A017;
  --gold-deep: #8A6410;
  --cyan: #3FE0C5;
  --orange: #F08A3C;
  --rose: #E84A7A;
  --mist: #C9C1B4;
  --panel: #FFF9EF;
  --cream: #E8E1D4;

  --maxw: 1180px;
  --gutter: clamp(18px, 4.2vw, 54px);
  --radius: 18px;
  --radius-sm: 10px;

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

  --shadow-soft: 0 18px 40px -24px rgba(14, 27, 44, .45);
  --focus: #3FE0C5;
}

/* ---------- 中文排版基线 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: clamp(16px, 0.9vw + 13px, 17.5px);
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 84% 6%, rgba(212, 160, 23, .13), transparent 44%),
    radial-gradient(circle at 4% 82%, rgba(63, 224, 197, .12), transparent 40%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: .01em;
  text-wrap: balance;
}
h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(23px, 2.6vw, 32px); }
h3 { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.3; }
p { text-wrap: pretty; }
strong, b { font-weight: 800; }

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

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

.skip-link {
  position: absolute;
  top: -100px; left: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }

/* ---------- 容器与分区 ---------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(32px, 5.6vw, 72px); }
.section--ink {
  background: var(--ink);
  color: var(--cream);
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: #FBF5E9; }
.section--panel { background: var(--panel); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
  flex: none;
}
.section--ink .eyebrow { color: var(--cyan); }

.rule {
  height: 2px;
  width: 56px;
  border: 0;
  margin: 18px 0;
  background: var(--gold);
}

.prose { max-width: 34em; }
.prose p + p { margin-top: .85em; }
.lead {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.7;
  max-width: 34em;
}
.mono { font-family: var(--font-mono); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--mist);
  color: var(--gold-deep);
  white-space: nowrap;
}
.chip--gold { background: var(--gold); border-color: var(--ink); color: var(--ink); }
.chip--cyan { background: var(--cyan); border-color: var(--ink); color: var(--ink); }
.chip--orange { background: var(--orange); border-color: var(--ink); color: var(--ink); }
.chip--rose { background: var(--rose); border-color: var(--ink); color: #fff; }
.section--ink .chip { background: rgba(255, 249, 239, .1); border-color: rgba(63, 224, 197, .45); color: var(--cyan); }

.num-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--gold-deep);
  -webkit-text-stroke: 2px var(--gold-deep);
  -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-text-stroke: 1px black)) {
  .num-badge { -webkit-text-fill-color: currentColor; color: var(--gold-deep); }
}
.section--ink .num-badge {
  -webkit-text-stroke-color: var(--cyan);
  color: var(--cyan);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .72em 1.3em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 -4px rgba(14, 27, 44, .3); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink:hover { box-shadow: 0 8px 0 -4px rgba(63, 224, 197, .55); }
.btn--ghost { background: transparent; border-color: var(--gold-deep); color: var(--gold-deep); }
.btn--cyan { background: var(--cyan); color: var(--ink); border-color: var(--ink); }
.btn--sm { padding: .52em 1em; font-size: 13.5px; }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45em;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--gold-deep);
}
.breadcrumb a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(138, 100, 16, .45);
}
.breadcrumb a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.breadcrumb__sep { opacity: .55; }
.section--ink .breadcrumb { color: var(--cyan); }
.section--ink .breadcrumb a { border-bottom-color: rgba(63, 224, 197, .45); }

/* ---------- 网格 ---------- */
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 34px);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 760px) {
  .grid--stagger > *:nth-child(even) { transform: translateY(clamp(16px, 2.6vw, 40px)); }
}
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .grid--stagger > * { transform: none !important; }
}

/* ---------- 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 72% 26%, rgba(63, 224, 197, .32), transparent 55%),
    linear-gradient(148deg, #16283f, var(--ink) 58%, #1d3552);
  isolation: isolate;
}
.media-frame > img,
.media-frame > svg,
.media-frame > picture,
.media-frame > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(to top, rgba(14, 27, 44, .5), transparent);
  pointer-events: none;
}
.media-frame--slash { clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.media-frame--slant { clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 100%); }
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--glow::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle at 68% 32%, rgba(212, 160, 23, .34), transparent 58%);
  z-index: 1;
  pointer-events: none;
}

/* ---------- 标签页 ---------- */
.tabs { display: block; }
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(14, 27, 44, .06);
  border: 1px solid rgba(14, 27, 44, .12);
}
.tabs__tab {
  padding: .55em 1.1em;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .05em;
  font-weight: 700;
  color: var(--gold-deep);
  transition: background-color .18s ease, color .18s ease;
}
.tabs__tab:hover { background: rgba(212, 160, 23, .18); }
.tabs__tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--cyan);
}
.tabs__panels { margin-top: clamp(16px, 2.4vw, 28px); }
.tabs__panel { animation: panelIn .22s ease both; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 折叠面板 ---------- */
.disclosure { border-bottom: 1px solid var(--mist); }
.disclosure__summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1em;
  padding: 15px 0;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.disclosure__summary::-webkit-details-marker { display: none; }
.disclosure__summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--gold-deep);
  flex: none;
}
.disclosure[open] .disclosure__summary::after { content: "–"; }
.disclosure__body {
  max-width: 34em;
  padding: 0 0 16px;
  color: rgba(14, 27, 44, .82);
}

/* ---------- 收藏星标 ---------- */
.star-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: 6px 13px;
  border: 1.5px solid var(--mist);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, color .16s ease;
}
.star-toggle::before { content: "☆"; font-size: 15px; line-height: 1; }
.star-toggle:hover { border-color: var(--gold); }
.star-toggle[aria-pressed="true"] { border-color: var(--rose); color: var(--rose); }
.star-toggle[aria-pressed="true"]::before { content: "★"; }
.star-toggle.is-on { animation: starPop .24s ease; }
@keyframes starPop {
  0% { transform: scale(1); }
  55% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* ============================================================
   头部：框架式导航轨道
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  padding-top: 6px;
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--gold) 0 46%,
    var(--cyan) 46% 62%,
    var(--orange) 62% 78%,
    var(--rose) 78% 100%);
}
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  width: 100%;
  max-width: var(--maxw);
  min-height: 62px;
  margin-inline: auto;
  padding: 10px var(--gutter);
  border-inline: 1px solid rgba(201, 193, 180, .7);
}
.site-header__progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  z-index: 3;
  pointer-events: none;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 800;
  border-radius: 12px 4px 12px 4px;
  box-shadow: inset 0 0 0 2px var(--gold);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 19px; font-weight: 900; letter-spacing: .03em; }
.brand__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--gold-deep);
  white-space: nowrap;
}

/* 主导航（桌面：横向轨道） */
.primary-nav { margin-left: auto; }
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 1px;
  list-style: none;
}
.primary-nav__item { list-style: none; }
.primary-nav__link {
  display: block;
  padding: 8px 10px;
  border-radius: 8px 8px 4px 4px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .16s ease, color .16s ease;
}
.primary-nav__link:hover { background: rgba(212, 160, 23, .2); }
.primary-nav__link[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
  box-shadow: inset 0 -3px 0 var(--cyan);
}

/* 操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.header-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px dashed var(--mist);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--gold-deep);
  text-decoration: none;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}
.header-search:hover {
  border-color: var(--gold);
  background: var(--panel);
  color: var(--ink);
}
.search-icon {
  position: relative;
  width: 12px; height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
  flex: none;
}
.search-icon::after {
  content: "";
  position: absolute;
  right: -4px; bottom: -2px;
  width: 6px; height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  border-radius: 2px;
}
.header-cta { white-space: nowrap; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex: none;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
}
.nav-toggle__bars {
  display: block;
  position: relative;
  width: 20px;
  height: 14px;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] { background: var(--ink); color: var(--cyan); border-color: var(--ink); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 头部响应式 ---------- */
@media (max-width: 1080px) {
  .header-search__text { display: none; }
  .header-search { padding: 8px; }
  .primary-nav__link { font-size: 13.5px; padding: 8px 8px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    margin: 0;
    background: var(--panel);
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 22px 34px -18px rgba(14, 27, 44, .5);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 90;
  }
  .primary-nav[data-open="true"] {
    display: block;
    animation: navDrop .2s ease-out both;
  }
  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px var(--gutter) 22px;
  }
  .primary-nav__link {
    padding: 13px 16px;
    border: 1.5px solid var(--mist);
    border-radius: 12px;
    background: var(--paper);
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: .06em;
  }
  .primary-nav__link[aria-current="page"] {
    border-color: var(--ink);
    box-shadow: inset 5px 0 0 var(--cyan);
    color: var(--paper);
    background: var(--ink);
  }
  .header-actions { margin-left: auto; }
}
@keyframes navDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 17px; }
  .brand__mark { width: 33px; height: 33px; font-size: 15px; }
  .header-search { display: none; }
  .header-cta { padding: .48em .85em; font-size: 12.5px; }
  .site-header__inner { gap: 8px; padding-block: 9px; }
}

/* ============================================================
   页脚：轨道落点
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding-top: 5px;
  margin-top: clamp(40px, 7vw, 88px);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg,
    var(--gold) 0 55%,
    var(--cyan) 55% 78%,
    var(--orange) 78% 100%);
}
.site-footer::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: min(48vw, 460px);
  height: 100%;
  background: linear-gradient(165deg, rgba(63, 224, 197, .16), rgba(63, 224, 197, 0) 62%);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 60px) var(--gutter) clamp(22px, 3.4vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.65fr);
  gap: clamp(24px, 4vw, 52px);
}
.site-footer__lead { min-width: 0; }
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--cream);
}
.site-footer__mark {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 800;
  border-radius: 4px 12px 4px 12px;
}
.site-footer__name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .04em;
  color: #FBF5E9;
}
.site-footer__summary {
  margin-top: 16px;
  max-width: 26em;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(232, 225, 212, .82);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.35fr);
  gap: clamp(20px, 3vw, 40px);
  min-width: 0;
}
.footer-col { min-width: 0; }
.footer-col__title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col__list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col__item { list-style: none; }
.footer-col__link {
  display: inline-block;
  font-size: 14.5px;
  color: rgba(232, 225, 212, .9);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.footer-col__link:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.footer-col__note {
  margin-top: 16px;
  max-width: 30em;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(232, 225, 212, .62);
}
.site-footer__contact { min-width: 0; }
.contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(232, 225, 212, .92);
  line-height: 1.6;
}
.contact-line--email { align-items: center; }
.contact-line__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
  flex: none;
}
.contact-line__value {
  min-width: 0;
  word-break: break-word;
}
.copy-email {
  flex: none;
  padding: 3px 11px;
  border: 1.5px solid rgba(212, 160, 23, .75);
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.copy-email:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.copy-email.is-copied { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.copy-status {
  flex-basis: 100%;
  min-height: 1em;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--cyan);
}
.site-footer__meta {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 16px var(--gutter) 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  border-top: 1px solid rgba(201, 193, 180, .28);
}
.legal-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.legal-links__item { list-style: none; }
.legal-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(232, 225, 212, .78);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 225, 212, .28);
}
.legal-link:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.site-footer__record {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(232, 225, 212, .62);
}

@media (max-width: 980px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer__summary { max-width: 40em; }
}
@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__contact { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__contact { grid-column: auto; }
  .site-footer__meta { flex-direction: column; align-items: flex-start; }
}

/* ---------- 动效可访问性 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover { transform: none; }
  .grid--stagger > *:nth-child(even) { transform: none; }
}
@media (max-width: 900px) {
  body { background-attachment: scroll; }
}
