/* ============================================================
   博鱼官方入口 — /assets/site.css
   共享外壳：reset / 设计令牌 / 中文排版 / 页头 / 页脚 / 基础组件
   ============================================================ */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --abyss: #0B2A45;
  --deep: #123B5C;
  --cyan: #17E0C8;
  --coral: #FF6B4A;
  --stone: #5E6B73;
  --moss: #5E7A5A;
  --clay: #C86B4A;
  --paper: #F5F1E8;
  --shallow: #A9E8E0;
  --ink: #071A2B;

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

  --wrap: 1180px;
  --hair: 1px solid rgba(11, 42, 69, 0.16);
  --hair-light: 1px solid rgba(169, 232, 224, 0.16);
  --shadow-stack: 7px 7px 0 rgba(11, 42, 69, 0.07);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--abyss);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; }
table { border-collapse: collapse; width: 100%; }

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

#main-content { display: block; }

/* ---------- 3. 中文排版与字阶 ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.22;
}

.display-xl {
  font-size: clamp(40px, 7.6vw, 88px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.display-lg {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.12;
}

.display-md {
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.24;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 200;
  padding: 11px 20px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 5. 页头 ---------- */
.site-header {
  position: relative;
  z-index: 60;
  background-color: var(--abyss);
  background-image:
    linear-gradient(180deg, rgba(23, 224, 200, 0.09), rgba(23, 224, 200, 0) 62%),
    repeating-linear-gradient(90deg, rgba(169, 232, 224, 0.05) 0 1px, rgba(169, 232, 224, 0) 1px 96px);
  color: var(--paper);
  border-bottom: 3px solid var(--cyan);
}

.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 30px 24px 6px;
}

.masthead {
  position: relative;
  text-align: center;
  padding-bottom: 22px;
  border-bottom: var(--hair-light);
}

.masthead-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.masthead-brand {
  display: inline-block;
  font-size: clamp(32px, 5.4vw, 60px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.08;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.18s ease;
}

.masthead-brand::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin: 15px auto 0;
  background: var(--coral);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.masthead-brand:hover,
.masthead-brand:focus-visible { color: var(--shallow); }
.masthead-brand:hover::after { width: 110px; background: var(--cyan); }

.masthead-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--shallow);
}

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

.meta-key {
  color: rgba(169, 232, 224, 0.55);
  letter-spacing: 0.14em;
}

/* 导航 */
.primary-nav {
  padding: 0 0 6px;
}

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

.nav-item { display: block; }

.nav-link {
  display: inline-block;
  padding: 16px 18px;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--shallow);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--cyan);
}

.nav-link[aria-current="page"] {
  color: var(--paper);
  border-bottom-color: var(--coral);
}

.nav-link--anchor {
  position: relative;
  margin: 9px 4px 9px 10px;
  padding: 8px 18px 8px 32px;
  color: var(--cyan);
  border: 1px solid rgba(23, 224, 200, 0.6);
  border-bottom-color: rgba(23, 224, 200, 0.6);
  border-radius: 999px;
  line-height: 1.5;
}

.nav-link--anchor::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.2);
}

.nav-link--anchor:hover,
.nav-link--anchor:focus-visible {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.nav-link--anchor[aria-current="page"] {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

/* 移动导航按钮 */
.nav-toggle { display: none; }

.nav-toggle-bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.nav-toggle-text {
  font-size: 13px;
  letter-spacing: 0.16em;
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(169, 232, 224, 0.78);
  border-top: 3px solid var(--coral);
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 58px 24px 30px;
}

.footer-brand {
  max-width: 660px;
  padding-bottom: 30px;
  margin-bottom: 36px;
  border-bottom: var(--hair-light);
}

.footer-logo {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--paper);
  line-height: 1.2;
}

.footer-line {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.footer-note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(169, 232, 224, 0.66);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
  padding-bottom: 34px;
  border-bottom: var(--hair-light);
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--paper);
  margin-bottom: 14px;
}

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

.footer-link {
  font-size: 14px;
  color: rgba(169, 232, 224, 0.72);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 28px;
  padding: 30px 0;
  border-bottom: var(--hair-light);
}

.footer-contact-item {
  font-size: 14px;
  line-height: 1.8;
}

.footer-label {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(169, 232, 224, 0.5);
}

.footer-contact-value {
  color: rgba(169, 232, 224, 0.85);
  word-break: break-word;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(169, 232, 224, 0.52);
}

/* ---------- 7. 页面骨架：左侧档案栏 + 内容列 ---------- */
.page-shell {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 46px 24px 92px;
}

.site-rail {
  position: sticky;
  top: 28px;
  align-self: start;
  padding-left: 18px;
  border-left: 2px solid var(--cyan);
}

.rail-title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.rail-nav {
  display: grid;
  gap: 2px;
}

.rail-link {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 42, 69, 0.1);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.rail-link:hover,
.rail-link:focus-visible {
  color: var(--coral);
  border-bottom-color: var(--clay);
}

.rail-link[aria-current="page"] {
  font-weight: 700;
  color: var(--abyss);
  border-bottom-color: var(--cyan);
}

.content-column { min-width: 0; }

/* ---------- 8. 正文与语义文本 ---------- */
.prose {
  max-width: 70ch;
}

.prose p { margin-bottom: 1.2em; }
.prose p:last-child { margin-bottom: 0; }

.prose h2 {
  margin: 2em 0 0.65em;
  font-size: clamp(22px, 2.4vw, 30px);
}

.prose h3 {
  margin: 1.7em 0 0.5em;
  font-size: 19px;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 0.55em;
  margin: 1.1em 0;
}

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

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  background: var(--cyan);
}

.prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--coral);
  color: var(--deep);
}

/* ---------- 9. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--abyss);
  border-radius: 2px;
  color: var(--abyss);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease;
}

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

.btn--solid {
  background: var(--abyss);
  border-color: var(--abyss);
  color: var(--paper);
}
.btn--solid:hover { background: var(--deep); border-color: var(--deep); }

.btn--cyan {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
}
.btn--cyan:hover { background: var(--shallow); border-color: var(--shallow); }

.btn--coral {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--ink);
}
.btn--coral:hover { background: #ff8368; border-color: #ff8368; }

.btn--ghost {
  border-color: rgba(11, 42, 69, 0.3);
  color: var(--deep);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--abyss); }

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  margin-bottom: 24px;
  font-size: 13px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: var(--stone);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 8px;
  color: rgba(11, 42, 69, 0.28);
}

.breadcrumb-link {
  color: var(--deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 224, 200, 0.5);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.breadcrumb-link:hover,
.breadcrumb-link:focus-visible {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

/* ---------- 11. 网格 ---------- */
.grid {
  display: grid;
  gap: 24px;
}

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

/* ---------- 12. 章节 ---------- */
.section { padding: 64px 0; }

.section--deep {
  background: var(--abyss);
  background-image:
    linear-gradient(180deg, rgba(23, 224, 200, 0.06), rgba(23, 224, 200, 0) 70%),
    repeating-linear-gradient(90deg, rgba(169, 232, 224, 0.04) 0 1px, rgba(169, 232, 224, 0) 1px 96px);
  color: var(--paper);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 18px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--abyss);
}

.section--deep .section-head { border-bottom-color: rgba(23, 224, 200, 0.5); }

.section-title {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.section--deep .section-title { color: var(--paper); }

.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.section--deep .section-kicker { color: var(--cyan); }

/* ---------- 13. 资料卡与标签 ---------- */
.record-card {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 26px;
  background: var(--paper);
  border: var(--hair);
  box-shadow: var(--shadow-stack);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.record-card:hover {
  border-color: rgba(23, 224, 200, 0.75);
  box-shadow: 10px 10px 0 rgba(23, 224, 200, 0.14);
  transform: translateY(-2px);
}

.record-card--deep {
  background: var(--deep);
  border-color: rgba(169, 232, 224, 0.22);
  color: var(--paper);
  box-shadow: 7px 7px 0 rgba(11, 42, 69, 0.16);
}

.record-card--deep:hover {
  border-color: var(--cyan);
  box-shadow: 10px 10px 0 rgba(255, 107, 74, 0.2);
}

.card-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.record-card--deep .card-title { color: var(--paper); }

.card-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--deep);
}

.record-card--deep .card-text { color: rgba(169, 232, 224, 0.82); }

.card-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--stone);
}

.record-card--deep .card-meta { color: rgba(169, 232, 224, 0.62); }

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  border: 1px solid rgba(94, 122, 90, 0.38);
  background: rgba(94, 122, 90, 0.14);
  color: #46613f;
}

.tag--cyan {
  border-color: rgba(23, 224, 200, 0.5);
  background: rgba(23, 224, 200, 0.16);
  color: #0b6d61;
}

.tag--coral {
  border-color: rgba(255, 107, 74, 0.42);
  background: rgba(255, 107, 74, 0.14);
  color: #a83a20;
}

.tag--clay {
  border-color: rgba(200, 107, 74, 0.42);
  background: rgba(200, 107, 74, 0.14);
  color: #8b4224;
}

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--deep);
  border: 1px dashed rgba(11, 42, 69, 0.32);
}

/* ---------- 14. 图片占位容器 ---------- */
.figure-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(11, 42, 69, 0.18);
  background-color: var(--abyss);
  background-image:
    linear-gradient(155deg, rgba(18, 59, 92, 0.95) 0%, rgba(7, 26, 43, 0.98) 100%),
    repeating-linear-gradient(115deg, rgba(23, 224, 200, 0.14) 0 2px, rgba(23, 224, 200, 0) 2px 26px);
}

.figure-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure-frame::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46px;
  height: 46px;
  border-right: 3px solid var(--cyan);
  border-bottom: 3px solid var(--cyan);
  opacity: 0.85;
  pointer-events: none;
}

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

.figure-caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--stone);
}

/* ---------- 15. 滚动进度 / 返回顶部 / 显现 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  background: rgba(23, 224, 200, 0.16);
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--coral));
  transition: width 0.08s linear;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 18px;
  line-height: 1;
  color: var(--cyan);
  background: var(--abyss);
  border: 1px solid var(--cyan);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s,
    background-color 0.2s ease, color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--cyan);
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1000px) {
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .page-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 34px 20px 76px;
  }

  .site-rail {
    position: static;
    padding: 16px 0 0;
    border-left: 0;
    border-top: 2px solid var(--cyan);
  }

  .rail-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
  }

  .rail-link { border-bottom: 0; }

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

  .section { padding: 48px 0; }
}

@media (max-width: 860px) {
  .header-inner { padding: 22px 18px 0; }

  .masthead { padding-bottom: 16px; }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin: 14px 0 0;
    padding: 13px 16px;
    color: var(--shallow);
    background: var(--deep);
    border: 1px solid rgba(169, 232, 224, 0.26);
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
  }

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

  .nav-toggle[aria-expanded="true"] {
    color: var(--cyan);
    border-color: var(--cyan);
    background: rgba(11, 42, 69, 0.85);
  }

  .primary-nav {
    display: none;
    padding-bottom: 0;
  }

  .primary-nav[data-open] { display: block; }

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

  .nav-item { border-bottom: var(--hair-light); }

  .nav-link {
    display: block;
    padding: 15px 6px;
    border-bottom: 0;
  }

  .nav-link[aria-current="page"] {
    padding-left: 14px;
    border-left: 3px solid var(--coral);
    border-bottom: 0;
  }

  .nav-link--anchor {
    margin: 12px 0;
    padding: 12px 18px 12px 34px;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .wrap,
  .header-inner,
  .footer-inner,
  .page-shell { padding-left: 18px; padding-right: 18px; }

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

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

  .record-card { padding: 20px; box-shadow: 5px 5px 0 rgba(11, 42, 69, 0.07); }

  .back-to-top { right: 16px; bottom: 18px; }
}

/* ---------- 17. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .record-card:hover { transform: none; }
}
