/* =========================================================
   电玩试玩中心 — /assets/site.css
   共享层：reset / 变量 / 中文排版 / 头部 / 页脚 / 基础组件
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dt, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, picture { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
p, li, h1, h2, h3, h4 { overflow-wrap: break-word; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid #2FF3E0;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 变量 ---------- */
:root {
  /* 色板 */
  --ink: #0A1428;
  --ink-deep: #071022;
  --panel: #0F1E3A;
  --raise: #16294D;
  --line: #223A63;
  --cyan: #2FF3E0;
  --violet: #9D5CFF;
  --gold: #FFC24B;
  --paper: #F4F1EA;
  --text: #F7FAFF;
  --muted: #A8B4C8;

  /* 字体 */
  --font-display: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: var(--font-display);
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Menlo", "Consolas", "PingFang SC", monospace;

  /* 尺度 */
  --shell: min(1180px, calc(100% - clamp(1.5rem, 5vw, 4rem)));
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 64px;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(60vw 60vw at 6% -12%, rgba(157, 92, 255, .22), transparent 62%),
    radial-gradient(52vw 52vw at 102% 4%, rgba(47, 243, 224, .14), transparent 60%),
    radial-gradient(74vw 52vw at 46% 112%, rgba(157, 92, 255, .13), transparent 66%),
    repeating-linear-gradient(90deg, rgba(34, 58, 99, .34) 0 1px, transparent 1px 104px),
    repeating-linear-gradient(0deg, rgba(34, 58, 99, .26) 0 1px, transparent 1px 104px);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@media (min-width: 900px) {
  body { font-size: 17px; }
}

/* ---------- 排版组件 ---------- */
.display-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 11vw, 7rem);
  line-height: .95;
  letter-spacing: -.03em;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -.01em;
}

.lede {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  line-height: 1.8;
  color: var(--muted);
  max-width: 38ch;
}

.index-label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.index-label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.mono {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--muted);
}

.prose p { max-width: 36em; color: var(--muted); }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--text); font-weight: 700; }

/* ---------- 布局容器 ---------- */
.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  width: var(--shell);
  margin-inline: auto;
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.hide-visually {
  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;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--raise);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}

.btn:hover { transform: translateY(-2px); border-color: rgba(244, 241, 234, .42); }

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #12100A;
  box-shadow: 0 0 0 1px rgba(255, 194, 75, .3), 0 10px 26px rgba(255, 194, 75, .2);
}
.btn--gold:hover {
  box-shadow: 0 0 0 1px rgba(255, 194, 75, .55), 0 14px 34px rgba(255, 194, 75, .3);
}

.btn--cyan {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04120F;
  box-shadow: 0 0 0 1px rgba(47, 243, 224, .28), 0 10px 26px rgba(47, 243, 224, .18);
}
.btn--cyan:hover { box-shadow: 0 0 0 1px rgba(47, 243, 224, .5), 0 14px 34px rgba(47, 243, 224, .26); }

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(22, 41, 77, .7); border-color: rgba(47, 243, 224, .45); }

/* ---------- 标签 ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: .26rem .6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(22, 41, 77, .65);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  line-height: 1.4;
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, rgba(22, 41, 77, .85), rgba(15, 30, 58, .92));
  box-shadow: inset 0 1px 0 rgba(247, 250, 255, .06);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}

.card:hover {
  border-color: rgba(47, 243, 224, .45);
  box-shadow: inset 0 1px 0 rgba(247, 250, 255, .08),
              0 0 0 1px rgba(47, 243, 224, .16),
              0 18px 40px rgba(3, 8, 18, .55);
}

.card--flat { background: var(--panel); }

.card--cyan {
  border-color: rgba(47, 243, 224, .38);
  box-shadow: inset 0 1px 0 rgba(247, 250, 255, .06), 0 0 22px rgba(47, 243, 224, .16);
}

.card--violet {
  border-color: rgba(157, 92, 255, .38);
  box-shadow: inset 0 1px 0 rgba(247, 250, 255, .06), 0 0 22px rgba(157, 92, 255, .16);
}
.card--violet:hover {
  border-color: rgba(157, 92, 255, .62);
  box-shadow: inset 0 1px 0 rgba(247, 250, 255, .08),
              0 0 0 1px rgba(157, 92, 255, .2),
              0 18px 40px rgba(3, 8, 18, .55);
}

.card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  margin-bottom: .85rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.3;
}

.card-note {
  font-size: .82rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 图片容器（页面阶段放占位） ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background:
    radial-gradient(120% 120% at 18% 12%, rgba(157, 92, 255, .34), transparent 58%),
    radial-gradient(110% 110% at 82% 84%, rgba(47, 243, 224, .26), transparent 55%),
    linear-gradient(160deg, #0F1E3A, #0A1428);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(247, 250, 255, .07) 0 1px, transparent 1px 5px);
  opacity: .7;
}

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

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

.media-caption {
  margin-top: .6rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--muted);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  width: var(--shell);
  margin: 1.5rem auto 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--muted);
}

.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; color: var(--line); }
.breadcrumb a { color: var(--muted); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }

/* =========================================================
   共享头部
   ========================================================= */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: .6rem 1rem;
  border-radius: 8px;
  background: var(--paper);
  color: #0A1428;
  font-weight: 700;
  font-size: .85rem;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.site-header[data-stuck] {
  background: rgba(10, 20, 40, .94);
  border-bottom-color: var(--line);
  box-shadow: 0 14px 34px rgba(3, 8, 18, .55);
}

@supports (backdrop-filter: blur(10px)) {
  .site-header[data-stuck] { backdrop-filter: blur(14px); }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: var(--shell);
  margin-inline: auto;
  min-height: var(--header-h);
  padding-block: .7rem;
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
}

.brand-mark {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--cyan), var(--violet));
  box-shadow: 0 0 0 1px rgba(244, 241, 234, .18), 0 0 18px rgba(47, 243, 224, .32);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid var(--ink);
  border-right-color: transparent;
  border-radius: 4px;
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  color: var(--muted);
  white-space: nowrap;
}

/* 头部右侧 */
.header-meta {
  position: relative;
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-left: auto;
}

.panel-status {
  display: none;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .12em;
  color: var(--muted);
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: dot-pulse 2.4s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.version-badge {
  display: inline-flex;
  align-items: center;
  padding: .3rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 30, 58, .85);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  line-height: 1.4;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.version-badge:hover,
.version-badge[aria-expanded="true"] {
  border-color: rgba(47, 243, 224, .55);
  box-shadow: 0 0 0 1px rgba(47, 243, 224, .2), 0 0 18px rgba(47, 243, 224, .2);
}

/* 版本浮层 */
.version-panel {
  position: absolute;
  top: calc(100% + .7rem);
  right: 0;
  z-index: 120;
  width: min(310px, calc(100vw - 2.5rem));
  padding: 1rem 1.05rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .62), 0 0 0 1px rgba(47, 243, 224, .12);
}

.version-panel[hidden] { display: none; }

.vp-title {
  margin-bottom: .65rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.vp-list {
  display: grid;
  gap: .4rem;
  font-size: .82rem;
  color: var(--muted);
}

.vp-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  padding-bottom: .35rem;
  border-bottom: 1px dashed rgba(34, 58, 99, .95);
}

.vp-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.vp-key { color: var(--text); }

.vp-link {
  display: inline-block;
  margin-top: .9rem;
  padding-bottom: 2px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold);
  border-bottom: 1px solid rgba(255, 194, 75, .5);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.vp-link:hover { color: var(--paper); border-bottom-color: var(--paper); }

/* 移动导航按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--raise);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.4;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.nav-toggle:hover { border-color: rgba(47, 243, 224, .5); }

.bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

.bars::before,
.bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s var(--ease);
}
.bars::before { top: 0; }
.bars::after { bottom: 0; }

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

.nav-toggle-text { letter-spacing: .04em; }

/* 导航：移动端为底部升起面板 */
.site-nav {
  position: fixed;
  left: .6rem;
  right: .6rem;
  bottom: .6rem;
  z-index: 95;
  padding: .85rem .85rem calc(.85rem + env(safe-area-inset-bottom, 0px));
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(15, 30, 58, .985), rgba(7, 16, 34, .99));
  box-shadow: 0 -10px 50px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(247, 250, 255, .07);
  transform: translateY(calc(100% + 28px));
  opacity: 0;
  visibility: hidden;
  transition: transform .36s var(--ease), opacity .26s var(--ease), visibility .36s var(--ease);
}

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

.nav-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}

.nav-item { display: flex; }

.nav-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: .4rem;
  padding: .7rem .6rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(22, 41, 77, .55);
  color: var(--text);
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .02em;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), box-shadow .2s var(--ease);
}

.nav-dot {
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: linear-gradient(140deg, var(--cyan), var(--violet));
  opacity: .85;
}

.nav-link:hover {
  background: var(--raise);
  border-color: rgba(47, 243, 224, .42);
}

.nav-link[aria-current="page"] {
  background: var(--raise);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(47, 243, 224, .26), 0 0 22px rgba(47, 243, 224, .2);
}

.nav-link[aria-current="page"] .nav-dot {
  opacity: 1;
  box-shadow: 0 0 12px rgba(47, 243, 224, .8);
}

/* 阅读进度 */
.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(34, 58, 99, .55);
  overflow: hidden;
}

.read-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--gold));
  transition: transform .1s linear;
}

/* ---------- 头部断点 ---------- */
@media (min-width: 560px) {
  .panel-status { display: inline-flex; }
}

@media (min-width: 960px) {
  .site-header { background: transparent; }
  .header-inner { gap: 1.5rem; }

  .site-nav {
    position: static;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: none;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: .15rem;
  }

  .nav-item { display: block; }

  .nav-link {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: .45rem;
    padding: .45rem .72rem;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: .85rem;
  }

  .nav-link:hover {
    background: rgba(22, 41, 77, .7);
    border-color: var(--line);
    color: var(--text);
  }

  .nav-link[aria-current="page"] {
    background: rgba(22, 41, 77, .85);
    border-color: rgba(47, 243, 224, .4);
    color: var(--cyan);
    box-shadow: none;
  }

  .nav-dot { width: 6px; height: 6px; border-radius: 50%; }

  .nav-toggle { display: none; }

  .header-meta { margin-left: 1.25rem; }
}

@media (min-width: 1180px) {
  .brand-tag { font-size: .66rem; }
}

/* =========================================================
   共享页脚
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 8vw, 6rem);
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(34, 58, 99, .3) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(0deg, rgba(34, 58, 99, .3) 0 1px, transparent 1px 76px);
  opacity: .8;
}

.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  opacity: .55;
}

.footer-grid {
  position: relative;
  display: grid;
  gap: 2.4rem;
  width: var(--shell);
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.3;
}

.footer-line {
  margin-top: .55rem;
  max-width: 26ch;
  font-size: .88rem;
  line-height: 1.75;
  color: var(--muted);
}

.footer-col--brand .tag-list { margin-top: 1.1rem; }

.footer-heading {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col--contact .btn { margin-bottom: .25rem; }

.contact-list {
  display: grid;
  gap: .55rem;
  margin-top: 1.1rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: .6rem;
  font-size: .85rem;
  line-height: 1.7;
}

.contact-key {
  padding-top: .18rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--muted);
}

.contact-val {
  color: var(--text);
  overflow-wrap: anywhere;
}

.footer-note {
  margin-top: 1.1rem;
  max-width: 34em;
  font-size: .76rem;
  line-height: 1.7;
  color: var(--muted);
}

.footer-list {
  display: grid;
  gap: .5rem;
  font-size: .88rem;
  line-height: 1.6;
}

.footer-list--legal {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(34, 58, 99, .95);
}

.footer-link {
  color: var(--muted);
  transition: color .2s var(--ease);
}
.footer-link:hover { color: var(--cyan); }

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(34, 58, 99, .85);
}

.footer-meta {
  width: var(--shell);
  margin-inline: auto;
  padding-block: 1.15rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  color: var(--muted);
}

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--brand { grid-column: 1 / -1; }
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.25fr 1.05fr .75fr;
    gap: 3rem;
  }
  .footer-col--brand { grid-column: auto; }
}

/* =========================================================
   进场动效
   ========================================================= */
html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

html.js-reveal [data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .btn:hover { transform: none; }

  html.js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
