/* ============================================================
   乐鱼赛事 · 全站共享样式  /assets/site.css
   深海蓝底 + 荧光青数据线 + 珊瑚橙行动点 + 暖米白阅读面板
   ============================================================ */

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

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

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

ul, ol { padding: 0; }

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a { color: inherit; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  /* 出版色谱 */
  --deep: #071A33;
  --deep-2: #0B2545;
  --night: #1A0F33;
  --night-2: #120A24;
  --cyan: #00E6C3;
  --cyan-soft: #A8FFF1;
  --coral: #FF6B4A;
  --cream: #F4EFE6;
  --ink: #17120E;
  --cobalt: #2D6CFF;
  --mist: #9BB0C9;

  /* 线与面 */
  --line: rgba(155, 176, 201, .22);
  --line-strong: rgba(155, 176, 201, .42);
  --line-dark: rgba(23, 18, 14, .18);
  --panel: rgba(255, 255, 255, .04);
  --panel-cyan: rgba(0, 230, 195, .08);

  /* 字体 */
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
               -apple-system, BlinkMacSystemFont, "Noto Sans SC",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: var(--font-body);
  --font-data: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
               "Liberation Mono", "Courier New", monospace;

  /* 尺度 */
  --topbar-h: 60px;
  --rail-w: 86px;
  --rail-w-open: 268px;
  --shell: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius-a: 14px;
  --radius-b: 4px;

  --ease: cubic-bezier(.22, .8, .28, 1);
}

@media (min-width: 1000px) {
  :root { --topbar-h: 74px; }
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100%;
  background: var(--deep);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.14;
}

p { overflow-wrap: break-word; }

strong { font-weight: 700; }

.num {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -.01em;
}

.label {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--mist);
  font-weight: 600;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 6px 2px 6px 2px;
  background: var(--cyan);
  color: var(--deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- 5. 布局容器与主区偏移 ---------- */
main {
  display: block;
  padding-top: var(--topbar-h);
  min-height: 60vh;
}

@media (min-width: 1000px) {
  main { margin-left: var(--rail-w); }
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: clamp(44px, 7vw, 96px);
  padding-bottom: clamp(44px, 7vw, 96px);
}

.section--paper {
  background: var(--cream);
  color: var(--ink);
}

.section--paper .section-head__index { color: #C7492A; }
.section--paper .section-head__sub { color: rgba(23, 18, 14, .62); }
.section--paper .label { color: rgba(23, 18, 14, .6); }

.section-head { margin-bottom: clamp(24px, 3vw, 44px); }

.section-head__index {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--cyan);
}

.section-head__title {
  font-size: clamp(26px, 3.8vw, 46px);
  font-weight: 900;
  letter-spacing: -.03em;
}

.section-head__sub {
  margin-top: 12px;
  max-width: 58ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 6. 按钮 ---------- */
.btn,
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px 3px 8px 3px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease),
              color .18s var(--ease), border-color .18s var(--ease),
              box-shadow .18s var(--ease);
}

.btn { padding: 12px 22px; font-size: 14px; }
.cta { padding: 9px 16px; font-size: 13px; }

.btn--primary,
.cta--primary {
  background: var(--cyan);
  color: var(--deep);
}

.btn--primary:hover,
.cta--primary:hover {
  background: var(--cyan-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(0, 230, 195, .95);
}

.btn--accent,
.cta--accent {
  background: var(--coral);
  color: #fff;
}

.btn--accent:hover,
.cta--accent:hover {
  background: #ff8564;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(255, 107, 74, .95);
}

.btn--ghost,
.cta--ghost {
  background: transparent;
  color: var(--cyan);
  border-color: rgba(0, 230, 195, .45);
}

.btn--ghost:hover,
.cta--ghost:hover {
  background: var(--panel-cyan);
  border-color: var(--cyan);
}

.btn--paper {
  background: transparent;
  color: var(--ink);
  border-color: rgba(23, 18, 14, .32);
}

.btn--paper:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* ---------- 7. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--mist);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(155, 176, 201, .45);
}

.breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  transition: color .18s var(--ease);
}

.breadcrumb a:hover { color: var(--cyan); }

.breadcrumb [aria-current="page"] { color: var(--cyan); }

.section--paper .breadcrumb,
.section--paper .breadcrumb a { color: rgba(23, 18, 14, .55); }
.section--paper .breadcrumb a:hover { color: #C7492A; }

/* ---------- 8. 卡片 / 媒体 / 网格 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-a) var(--radius-b) var(--radius-a) var(--radius-b);
  background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012));
  transition: transform .22s var(--ease), border-color .22s var(--ease),
              box-shadow .22s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 230, 195, .55);
  box-shadow: 0 22px 46px -32px rgba(0, 230, 195, .9);
}

.section--paper .card {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, .55);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

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

@media (min-width: 1080px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px 4px 12px 4px;
  background: linear-gradient(140deg, var(--deep-2), var(--night));
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.08) brightness(.9);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 26, 51, 0) 42%, rgba(7, 26, 51, .74));
}

.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 3 / 4; }

/* ---------- 9. 顶部状态条 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--topbar-h);
  background: linear-gradient(180deg, #081D38 0%, #061628 100%);
  border-bottom: 1px solid var(--line);
}

.masthead {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 0 clamp(12px, 2vw, 24px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--cream);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px 2px 9px 2px;
  background: linear-gradient(135deg, var(--cyan) 0%, #00B79C 100%);
  color: var(--deep);
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 0 0 1px rgba(0, 230, 195, .35), 0 8px 20px -12px rgba(0, 230, 195, .95);
}

.brand__text { display: block; }

.brand__name {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.15;
}

.brand__line {
  display: block;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--cyan);
  line-height: 1.4;
}

.status-strip {
  display: none;
  align-items: center;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 10px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--mist);
}

.status-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.status-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 230, 195, .14);
}

.status-dot--coral {
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 74, .16);
}

.status-dot--cobalt {
  background: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(45, 108, 255, .18);
}

.masthead .cta {
  display: none;
  margin-left: auto;
  flex: 0 0 auto;
}

/* ---------- 10. 汉堡按钮 ---------- */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 8px 3px 8px 3px;
  background: rgba(255, 255, 255, .04);
  color: var(--cream);
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(0, 230, 195, .55);
  background: var(--panel-cyan);
}

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-toggle__label {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--mist);
}

/* ---------- 11. 轨道导航（移动端 = 抽屉） ---------- */
.rail {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: min(304px, 86vw);
  padding: 22px 14px 20px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(180deg, #0A2240 0%, #071A33 58%, #061428 100%);
  border-right: 1px solid var(--line);
  transform: translateX(-102%);
  transition: transform .3s var(--ease);
}

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

.rail__caption {
  padding-left: 12px;
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--mist);
  opacity: .72;
}

.rail__list {
  display: grid;
  gap: 2px;
  margin-top: 14px;
  list-style: none;
}

.rail__item { list-style: none; }

.rail__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--mist);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease);
}

.rail__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 0 3px 3px 0;
  background: var(--cyan);
  transform: translateY(-50%);
  transition: height .22s var(--ease);
}

.rail__link:hover {
  background: rgba(0, 230, 195, .07);
  color: var(--cream);
}

.rail__link:hover::before,
.rail__link[aria-current="page"]::before,
.rail__link[data-active="true"]::before {
  height: 62%;
}

.rail__link[aria-current="page"],
.rail__link[data-active="true"] {
  background: rgba(0, 230, 195, .1);
  color: var(--cyan-soft);
}

.rail__index {
  flex: 0 0 auto;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--cyan);
  opacity: .55;
  transition: opacity .18s var(--ease);
}

.rail__link:hover .rail__index,
.rail__link[aria-current="page"] .rail__index,
.rail__link[data-active="true"] .rail__index {
  opacity: 1;
}

.rail__label { white-space: nowrap; }

.rail__foot {
  margin-top: auto;
  padding: 14px 12px 0;
  border-top: 1px dashed var(--line);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--mist);
  opacity: .7;
}

.rail-scrim {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 65;
  background: rgba(4, 12, 24, .62);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}

.rail-scrim[data-open] {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- 12. 轨道导航（桌面端） ---------- */
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .rail-scrim { display: none; }

  .masthead .cta { display: inline-flex; }

  .status-strip { display: flex; }

  .rail {
    top: var(--topbar-h);
    width: var(--rail-w);
    padding: 24px 12px 22px;
    transform: none;
    transition: width .3s var(--ease);
  }

  .rail:hover,
  .rail:focus-within {
    width: var(--rail-w-open);
  }

  .rail__caption {
    white-space: nowrap;
    opacity: 0;
    transition: opacity .2s var(--ease);
  }

  .rail:hover .rail__caption,
  .rail:focus-within .rail__caption {
    opacity: .72;
  }

  .rail__label {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-width .3s var(--ease), opacity .22s var(--ease);
  }

  .rail:hover .rail__label,
  .rail:focus-within .rail__label {
    max-width: 220px;
    opacity: 1;
  }

  .rail__foot {
    white-space: nowrap;
    overflow: hidden;
    opacity: 0;
    transition: opacity .24s var(--ease);
  }

  .rail:hover .rail__foot,
  .rail:focus-within .rail__foot {
    opacity: .7;
  }
}

@media (min-width: 1240px) {
  .status-strip { gap: 26px; }
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 128px);
  overflow: hidden;
  color: var(--mist);
  background:
    radial-gradient(130% 90% at 10% 0%, rgba(45, 108, 255, .18), transparent 62%),
    linear-gradient(180deg, #0B1E3A 0%, #1A0F33 60%, #120A24 100%);
}

@media (min-width: 1000px) {
  .site-footer { margin-left: var(--rail-w); }
}

.footer__beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
    var(--cyan) 0%, var(--cobalt) 42%, var(--coral) 76%, transparent 100%);
  opacity: .9;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 4vw, 54px);
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(46px, 6vw, 84px) var(--gutter) clamp(30px, 4vw, 48px);
}

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

@media (min-width: 1100px) {
  .footer__inner {
    grid-template-columns: 1.7fr .9fr .9fr 1.35fr;
  }
  .footer__brand { grid-column: auto; }
}

.footer__wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--cream);
}

.footer__wordmark::after {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--coral);
}

.footer__summary {
  max-width: 54ch;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.85;
}

.footer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.chip {
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--mist);
}

.chip--live {
  border-color: rgba(0, 230, 195, .5);
  background: var(--panel-cyan);
  color: var(--cyan);
}

.footer__col { min-width: 0; }

.footer__col-title {
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--cream);
}

.footer__col-title::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--cyan);
}

.footer__links {
  display: grid;
  gap: 11px;
  list-style: none;
}

.footer__links a {
  display: inline-block;
  font-size: 14px;
  color: var(--mist);
  text-decoration: none;
  transition: color .18s var(--ease), padding-left .18s var(--ease);
}

.footer__links a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer__contact {
  display: grid;
  gap: 13px;
  margin-bottom: 16px;
  list-style: none;
}

.footer__contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-size: 13.5px;
}

.footer__contact-key {
  flex: 0 0 auto;
  padding: 2px 8px;
  border: 1px solid rgba(0, 230, 195, .34);
  border-radius: 4px;
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--cyan);
}

.footer__contact-val {
  min-width: 0;
  color: var(--cream);
  font-size: 13.5px;
  word-break: break-word;
}

.copy-btn {
  flex: 0 0 auto;
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: transparent;
  color: var(--mist);
  font-size: 11px;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
}

.copy-btn:hover {
  border-color: rgba(0, 230, 195, .55);
  background: var(--panel-cyan);
  color: var(--cyan);
}

.copy-btn[data-copied="true"] {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--deep);
}

.footer__note {
  max-width: 44ch;
  font-size: 12px;
  line-height: 1.8;
  opacity: .8;
}

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

.footer__base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--gutter) 28px;
  font-size: 12px;
  letter-spacing: .04em;
}

.footer__legal a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px dotted var(--line-strong);
}

.footer__legal a:hover { color: var(--cyan); }

.footer__icp {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--mist);
  opacity: .82;
}

/* ---------- 14. 阅读进度与返回顶部（由 JS 注入） ---------- */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0, 230, 195, .7);
}

.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 55;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0, 230, 195, .45);
  border-radius: 12px 4px 12px 4px;
  background: rgba(7, 26, 51, .92);
  color: var(--cyan);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .26s var(--ease), transform .26s var(--ease),
              visibility .26s var(--ease), background .18s var(--ease),
              color .18s var(--ease);
}

.to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--cyan);
  color: var(--deep);
}

/* ---------- 15. 进场显现协议 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

/* ---------- 16. 减少动效 ---------- */
@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;
  }

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