/* ============================================================
   欧博会馆 · 共享站点套件
   路径：/assets/site.css
   负责：reset / 令牌 / 中文排印 / 头部框架导航 / 页脚 /
         通用按钮·标签·画板·标签页·步骤条·图片容器
   ============================================================ */

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

:root {
  --ink: #0B1A2B;
  --ink-2: #14293F;
  --ink-3: #0E2033;
  --paper: #F4EFE4;
  --celadon: #4FAF9B;
  --celadon-deep: #2F7A6C;
  --amber: #D8A24A;
  --amber-deep: #B8873A;
  --mist: #A9D6CC;
  --graphite: #6E7C8C;
  --graphite-deep: #4A5A6B;
  --cinnabar: #C0523F;
  --sand: #E8D9BC;

  --rail-w: 220px;
  --topbar-h: 64px;
  --maxw: 1200px;
  --gutter: 40px;

  --fs-1: 88px;
  --fs-2: 56px;
  --fs-3: 36px;
  --fs-4: 24px;
  --fs-5: 18px;
  --fs-6: 13px;

  --line: rgba(169, 214, 204, 0.18);
  --line-strong: rgba(169, 214, 204, 0.42);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-panel: 0 18px 44px -24px rgba(0, 0, 0, 0.78);
}

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

body {
  margin: 0;
  padding-top: var(--topbar-h);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, p, figure, blockquote {
  margin: 0;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--celadon);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}

a:hover {
  color: var(--mist);
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

/* ---------- 2. 六級字号阶梯与排印工具 ---------- */
.t-display {
  font-size: var(--fs-1);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.t-h1 {
  font-size: var(--fs-2);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.t-h2 {
  font-size: var(--fs-3);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.t-h3 {
  font-size: var(--fs-4);
  font-weight: 700;
  line-height: 1.3;
}

.t-lead {
  font-size: var(--fs-5);
  line-height: 1.7;
  color: var(--mist);
}

.t-mono {
  font-family: var(--font-mono);
  font-size: var(--fs-6);
  letter-spacing: 0.08em;
  font-feature-settings: "tnum" 1;
}

.prose {
  max-width: 38em;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(244, 239, 228, 0.88);
}

.prose p + p {
  margin-top: 1.1em;
}

.prose h2,
.prose h3 {
  margin: 1.8em 0 0.6em;
  color: var(--paper);
}

.prose h2 {
  font-size: var(--fs-3);
  font-weight: 800;
  line-height: 1.2;
}

.prose h3 {
  font-size: var(--fs-4);
  font-weight: 700;
}

.prose ul {
  margin: 1em 0;
  padding-left: 1.1em;
  list-style: none;
}

.prose ul li {
  position: relative;
  padding-left: 0.9em;
  margin-bottom: 0.5em;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 1px;
  background: var(--celadon);
}

.prose--ink {
  color: var(--graphite-deep);
}

.prose--ink h2,
.prose--ink h3 {
  color: var(--ink);
}

/* ---------- 3. 结构容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--celadon);
}

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

/* ---------- 4. 头部：框架式导航 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  transform: translateY(-180%);
  padding: 10px 18px;
  background: var(--amber);
  color: #23180A;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: transform 0.18s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  color: #23180A;
}

.site-header {
  position: static;
}

/* 左侧导轨：导航即门框 */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  width: var(--rail-w);
  padding: 26px 0 22px;
  background: linear-gradient(180deg, var(--ink-3) 0%, var(--ink) 100%);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.rail__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 22px;
}

.rail__mark {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--paper);
  line-height: 1.2;
}

.rail__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--celadon);
}

.rail__rule {
  height: 1px;
  margin: 20px 22px 14px;
  background: linear-gradient(90deg, var(--celadon) 0%, rgba(79, 175, 155, 0) 100%);
}

.rail__nav {
  flex: 1 1 auto;
}

.nav-index__item + .nav-index__item {
  border-top: 1px solid rgba(169, 214, 204, 0.08);
}

.nav-index__link {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  padding: 12px 20px 12px 22px;
  color: rgba(244, 239, 228, 0.62);
  font-size: 15px;
  line-height: 1.4;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}

.nav-index__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 3px;
  background: transparent;
  transition: background 0.15s var(--ease);
}

.nav-index__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--graphite);
  transition: color 0.15s var(--ease);
}

.nav-index__label {
  letter-spacing: 0.02em;
}

.nav-index__link:hover {
  color: var(--paper);
  background: rgba(79, 175, 155, 0.08);
}

.nav-index__link:hover .nav-index__num {
  color: var(--mist);
}

.nav-index__link[aria-current="page"] {
  color: var(--paper);
  font-weight: 700;
  background: linear-gradient(90deg, rgba(79, 175, 155, 0.16), rgba(79, 175, 155, 0));
}

.nav-index__link[aria-current="page"]::before {
  background: var(--celadon);
}

.nav-index__link[aria-current="page"] .nav-index__num {
  color: var(--celadon);
}

.rail__foot {
  padding: 16px 22px 0;
  border-top: 1px solid rgba(169, 214, 204, 0.1);
  margin-top: 16px;
}

.rail__note {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--graphite);
  letter-spacing: 0.02em;
}

/* 顶部条带：门楣 */
.topbar {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--topbar-h);
  padding: 0 26px 0 30px;
  background: rgba(11, 26, 43, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar__brand {
  display: none;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--paper);
  white-space: nowrap;
}

.topbar__crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--graphite);
  white-space: nowrap;
}

.topbar__slash {
  color: var(--line-strong);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.topbar__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--celadon) 0%, var(--amber) 100%);
  will-change: transform;
}

/* 移动导航按钮 */
.navtoggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.navtoggle:hover {
  border-color: var(--celadon);
  background: rgba(79, 175, 155, 0.1);
}

.navtoggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 12px;
}

.navtoggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--paper);
  transition: transform 0.22s var(--ease), opacity 0.16s var(--ease);
}

.site-header[data-open] .navtoggle__bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.site-header[data-open] .navtoggle__bars span:nth-child(2) {
  opacity: 0;
}

.site-header[data-open] .navtoggle__bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.rail-scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(4, 12, 20, 0.66);
}

/* ---------- 5. 通用按钮与标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease),
    border-color 0.15s var(--ease), color 0.15s var(--ease);
}

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

.btn--amber {
  background: var(--amber);
  border-color: var(--amber-deep);
  color: #23180A;
}

.btn--amber:hover {
  background: #E4B25C;
  color: #23180A;
}

.btn--celadon {
  background: var(--celadon);
  border-color: var(--celadon-deep);
  color: #06231E;
}

.btn--celadon:hover {
  background: #5FBEA9;
  color: #06231E;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--celadon);
  color: var(--paper);
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: var(--mist);
  white-space: nowrap;
}

.tag--amber {
  border-color: rgba(216, 162, 74, 0.55);
  color: var(--amber);
}

.tag--cinnabar {
  border-color: rgba(192, 82, 63, 0.6);
  color: #E0806C;
}

/* ---------- 6. 画板与主题带 ---------- */
.panel {
  position: relative;
  padding: 40px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-panel);
}

.panel--paper {
  background: var(--paper);
  border-color: var(--sand);
  color: var(--ink);
  box-shadow: 0 22px 50px -28px rgba(0, 0, 0, 0.85);
}

.panel--framed::before,
.panel--framed::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--mist);
  border-style: solid;
  opacity: 0.7;
  pointer-events: none;
}

.panel--framed::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.panel--framed::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}

.panel--paper.panel--framed::before,
.panel--paper.panel--framed::after {
  border-color: var(--celadon-deep);
}

.theme-band {
  position: relative;
  overflow: hidden;
  padding: 34px 0;
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

.theme-band::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 180px;
  height: 1px;
  background: var(--celadon-deep);
}

.theme-band--ink {
  background: var(--ink-2);
  color: var(--paper);
  border-color: var(--line);
}

.theme-band--ink::after {
  background: linear-gradient(90deg, var(--celadon) 0%, var(--amber) 100%);
}

/* ---------- 7. 面包屑与步骤条 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--graphite);
}

.crumbs a {
  color: var(--mist);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--paper);
}

.crumbs__sep {
  color: var(--line-strong);
}

.steps {
  border-top: 1px solid var(--line);
}

.steps__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.steps__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--celadon);
  padding-top: 4px;
}

.steps__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--paper);
}

.steps__text {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--graphite);
}

/* ---------- 8. 标签页 ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}

.tabs__btn {
  position: relative;
  padding: 11px 16px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: rgba(244, 239, 228, 0.6);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease),
    background 0.15s var(--ease);
}

.tabs__btn:hover {
  color: var(--paper);
  background: rgba(79, 175, 155, 0.08);
}

.tabs__btn[aria-selected="true"] {
  color: var(--paper);
  border-bottom-color: var(--celadon);
  background: rgba(79, 175, 155, 0.1);
}

.tabs__btn[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 6px;
  height: 6px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--amber);
}

.tabs__panel {
  padding-top: 24px;
}

.tabs__panel.is-enter {
  animation: tabIn 0.18s var(--ease) both;
}

@keyframes tabIn {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---------- 9. 图片容器基础规则 ---------- */
.figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: linear-gradient(145deg, var(--ink-2) 0%, #081522 100%);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
}

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

.figure--wide {
  aspect-ratio: 16 / 9;
}

.figure--tall {
  aspect-ratio: 4 / 5;
}

.figure--square {
  aspect-ratio: 1 / 1;
}

.figure__cap {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--graphite);
}

/* ---------- 10. 显现（由 JS 启用） ---------- */
[data-reveal] {
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease);
}

html[data-js="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
}

html[data-js="on"] [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 11. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 96px;
  padding: 44px 0 0;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, var(--celadon) 0%, var(--amber) 100%);
}

.footer__inner {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 300px;
  gap: 36px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) 32px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__mark {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--paper);
  line-height: 1.2;
}

.footer__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--celadon);
}

.footer__badge {
  align-self: flex-start;
  margin-top: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.footer__col {
  padding-right: 14px;
}

.footer__col + .footer__col {
  border-left: 1px solid rgba(169, 214, 204, 0.14);
  padding-left: 16px;
}

.footer__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__link {
  display: inline-block;
  font-size: 14px;
  color: rgba(244, 239, 228, 0.62);
  text-decoration: none;
  transition: color 0.15s var(--ease), transform 0.15s var(--ease);
}

.footer__link:hover {
  color: var(--paper);
  transform: translateY(-2px);
}

.footer__contact {
  padding-left: 24px;
  border-left: 1px solid rgba(169, 214, 204, 0.14);
}

.footer__contact-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.footer__contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--graphite);
  padding-top: 3px;
}

.footer__contact-value {
  color: rgba(244, 239, 228, 0.86);
  word-break: break-all;
}

.footer__note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--graphite);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 16px var(--gutter) 20px;
  border-top: 1px solid rgba(169, 214, 204, 0.12);
}

.footer__legal-item {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--graphite);
  min-height: 1.6em;
}

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1199px) {
  :root {
    --fs-1: 68px;
    --fs-2: 46px;
    --gutter: 32px;
  }

  .footer__inner {
    grid-template-columns: 220px minmax(0, 1fr);
    row-gap: 30px;
  }

  .footer__contact {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid rgba(169, 214, 204, 0.14);
  }
}

@media (max-width: 1023px) {
  body {
    padding-left: 0;
  }

  .rail {
    width: 282px;
    transform: translateX(-100%);
    transition: transform 0.32s var(--ease);
    box-shadow: 24px 0 60px -30px rgba(0, 0, 0, 0.9);
  }

  .site-header[data-open] .rail {
    transform: translateX(0);
  }

  .topbar {
    left: 0;
    padding: 0 20px;
  }

  .navtoggle {
    display: inline-flex;
  }

  .topbar__brand {
    display: inline-block;
  }

  .topbar__crumb {
    display: none;
  }

  .rail-scrim {
    display: block;
  }

  body.is-nav-open {
    overflow: hidden;
  }

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

  .panel {
    padding: 30px;
  }
}

@media (max-width: 860px) {
  .layout-hall {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  :root {
    --fs-1: 40px;
    --fs-2: 32px;
    --fs-3: 26px;
    --fs-4: 20px;
    --gutter: 20px;
    --topbar-h: 56px;
  }

  body {
    padding-top: 56px;
    font-size: 15px;
  }

  .topbar {
    gap: 12px;
    padding: 0 16px;
  }

  .topbar__actions {
    gap: 10px;
  }

  .topbar__actions .tag {
    display: none;
  }

  .btn {
    padding: 9px 14px;
    font-size: 13px;
  }

  .panel {
    padding: 22px;
  }

  .steps__item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }

  .footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-bottom: 26px;
  }

  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 0;
  }

  .footer__col:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .footer__contact {
    padding-top: 20px;
  }

  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .theme-band {
    padding: 24px 0;
  }

  .figure__cap {
    font-size: 11px;
  }
}

/* ---------- 13. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.12s !important;
  }

  .rail {
    transition: none;
  }

  html[data-js="on"] [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .footer__link:hover {
    transform: none;
  }
}
