/* ==========================================================================
   FB体育入口 · 共享样式表 /assets/site.css
   高原赛季年鉴：侧边轨道导航 / 双色体系 / 数据叙事
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; border-spacing: 0; }
[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --clay: #C4472B;
  --clay-deep: #8E2F19;
  --jade: #0F8A6A;
  --jade-bright: #2FBF93;
  --night: #16203F;
  --night-2: #27325A;
  --amber: #F0B429;
  --mist: #F7F3EC;
  --slate: #6B7A93;
  --line: #D9DEE7;
  --white: #FFFFFF;

  --rail-w: 248px;
  --topbar-h: 64px;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-soft: 0 20px 44px -28px rgba(22, 32, 63, .55);
  --shadow-card: 0 10px 28px -20px rgba(22, 32, 63, .45);
}

/* ---------- 3. 中文排版基调 ---------- */
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--night);
  background-color: var(--mist);
  background-image:
    radial-gradient(circle at 10% -8%, rgba(196, 71, 43, .10), transparent 52%),
    radial-gradient(circle at 96% 6%, rgba(15, 138, 106, .10), transparent 48%),
    radial-gradient(circle at 50% 108%, rgba(22, 32, 63, .07), transparent 55%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--night);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.18rem, 1.8vw, 1.5rem); font-weight: 800; letter-spacing: -.01em; }
h4 { font-size: clamp(1.02rem, 1.3vw, 1.18rem); font-weight: 800; }

p { max-width: 72ch; }
p + p { margin-top: 14px; }
strong { font-weight: 600; box-shadow: inset 0 -2px 0 var(--amber); }
small { font-size: 13px; }

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -.01em;
}

.annot {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: var(--slate);
}

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.7;
  color: var(--night-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

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

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

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: var(--amber);
  color: var(--night);
  font-size: 15px;
  font-weight: 700;
  transform: translateY(-260%);
  transition: transform .22s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

#main-content { scroll-margin-top: 84px; }

/* ---------- 5. 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 44px);
}

.section { padding-block: clamp(46px, 7vw, 96px); }
.section--tight { padding-block: clamp(26px, 4vw, 52px); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .col-5, .col-6, .col-7, .col-8 { grid-column: 1 / -1; }
}

/* ---------- 6. 页头 / 侧边轨道导航 ---------- */
.site-header {
  position: fixed;
  z-index: 90;
  color: var(--mist);
  background-color: var(--clay);
  background-image:
    radial-gradient(circle at 0% 118%, rgba(22, 32, 63, .58), transparent 62%),
    linear-gradient(180deg, rgba(142, 47, 25, 0) 42%, rgba(22, 32, 63, .94) 100%);
}

.rail { position: relative; display: flex; align-items: center; }

/* 品牌 */
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__mark {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 13px 13px 13px 4px;
  background: var(--amber);
  box-shadow: inset 0 0 0 2px rgba(22, 32, 63, .16);
}
.brand__mark::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 13px; height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border-radius: 50%;
  background: var(--night);
}
.brand__text { display: block; min-width: 0; }
.brand__name {
  display: block;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--white);
  white-space: nowrap;
}
.brand__tagline {
  display: block;
  font-size: 11.5px;
  line-height: 1.45;
  letter-spacing: .06em;
  color: rgba(247, 243, 236, .74);
  white-space: nowrap;
}

/* 移动端开关 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px 9px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(247, 243, 236, .44);
  background: rgba(22, 32, 63, .26);
  color: var(--mist);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .03em;
}
.nav-toggle__bars { position: relative; display: block; width: 18px; height: 12px; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 2px; border-radius: 2px;
  background: currentColor;
  transition: top .22s var(--ease), transform .22s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 10px; }
.site-header[data-open] .nav-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { top: 5px; transform: rotate(-45deg); }

/* 导航链接 */
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 600;
  color: rgba(247, 243, 236, .9);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.nav-link:hover { background: rgba(247, 243, 236, .14); color: var(--white); }
.nav-link[aria-current="page"] {
  background: rgba(247, 243, 236, .17);
  border-color: rgba(240, 180, 41, .8);
  box-shadow: inset 3px 0 0 var(--amber);
  color: var(--white);
}
.nav-icon { display: inline-flex; color: rgba(247, 243, 236, .82); }
.nav-link[aria-current="page"] .nav-icon { color: var(--amber); }

/* 轨道状态 */
.rail__season { display: flex; align-items: baseline; gap: 9px; margin-bottom: 5px; }
.rail__season-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
}
.rail__season-value {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}
.rail__updated { display: block; font-size: 12.5px; line-height: 1.5; }

/* 滚动进度 */
.scroll-meter { position: absolute; display: block; background: rgba(247, 243, 236, .22); }
.scroll-meter__fill { display: block; background: var(--amber); }

/* 移动端 / 平板：顶部条 + 抽屉 */
@media (max-width: 1079px) {
  body { padding-top: var(--topbar-h); }
  body.nav-open { overflow: hidden; }

  .site-header {
    top: 0; left: 0; right: 0;
    min-height: var(--topbar-h);
    background-image: radial-gradient(circle at 0% 130%, rgba(22, 32, 63, .6), transparent 58%);
  }
  .rail {
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: var(--topbar-h);
    padding: 0 16px;
  }
  .brand__tagline { display: none; }

  .site-nav {
    position: fixed;
    left: 0; right: 0;
    top: var(--topbar-h);
    bottom: 0;
    z-index: 88;
    padding: 22px 18px 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--mist);
    background-color: var(--night);
    background-image:
      radial-gradient(circle at 92% 4%, rgba(196, 71, 43, .35), transparent 52%),
      radial-gradient(circle at 4% 96%, rgba(15, 138, 106, .28), transparent 50%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s linear;
  }
  .site-header[data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .site-nav__list { display: flex; flex-direction: column; gap: 8px; }
  .nav-link { font-size: 20px; padding: 15px 16px; }
  .nav-icon svg { width: 22px; height: 22px; }

  .rail__meta {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(247, 243, 236, .2);
    font-size: 13px;
    color: rgba(247, 243, 236, .72);
  }

  .scroll-meter { left: 0; right: 0; bottom: 0; height: 2px; }
  .scroll-meter__fill { width: var(--progress, 0%); height: 100%; transition: width .12s linear; }
}

/* 桌面：左侧固定轨道 */
@media (min-width: 1080px) {
  body { padding-left: var(--rail-w); }

  .skip-link { left: calc(var(--rail-w) + 16px); }

  .site-header { top: 0; left: 0; bottom: 0; width: var(--rail-w); }
  .rail {
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    padding: 30px 18px 24px;
    gap: 26px;
  }
  .nav-toggle { display: none; }

  .site-nav {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }
  .site-nav__list { display: flex; flex-direction: column; gap: 6px; }

  .rail__meta {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(247, 243, 236, .22);
    font-size: 13px;
    color: rgba(247, 243, 236, .72);
  }

  .scroll-meter { right: 0; top: 0; bottom: 0; width: 2px; }
  .scroll-meter__fill { width: 100%; height: var(--progress, 0%); transition: height .12s linear; }
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 108px);
  color: var(--mist);
  background-color: var(--night);
  background-image:
    radial-gradient(circle at 6% 0%, rgba(196, 71, 43, .30), transparent 46%),
    radial-gradient(circle at 96% 12%, rgba(15, 138, 106, .24), transparent 44%),
    linear-gradient(180deg, rgba(39, 50, 90, .55), rgba(22, 32, 63, 1) 68%);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(250px, 1.5fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(46px, 6vw, 78px) clamp(30px, 4vw, 52px);
  border-bottom: 1px solid rgba(247, 243, 236, .16);
}

.footer__brand-name {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--white);
}
.footer__tagline {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: .05em;
  color: rgba(247, 243, 236, .68);
}
.footer__note {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(247, 243, 236, .6);
}

.contact-list { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.contact-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: rgba(247, 243, 236, .88);
}
.contact-list__label {
  flex: 0 0 auto;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: rgba(240, 180, 41, .18);
  color: var(--amber);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
}

.footer__column-title {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
}
.footer__list { display: flex; flex-direction: column; gap: 11px; }
.footer__link {
  display: inline-block;
  font-size: 15px;
  color: rgba(247, 243, 236, .78);
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer__link:hover { color: var(--white); border-bottom-color: var(--jade-bright); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding-block: 22px 30px;
  font-size: 13px;
  color: rgba(247, 243, 236, .58);
}
.footer__legal { font-family: var(--font-mono); color: rgba(247, 243, 236, .78); }
.footer__region { position: relative; }
.footer__data { color: rgba(247, 243, 236, .62); }
.footer__copy { margin-left: auto; font-family: var(--font-mono); }

@media (max-width: 960px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__copy { margin-left: 0; }
}

/* ---------- 8. 通用按钮与筛选 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--jade); color: var(--white); }
.btn--primary:hover { background: var(--jade-bright); color: var(--night); }
.btn--amber { background: var(--amber); color: var(--night); }
.btn--amber:hover { background: #ffc94a; }
.btn--ghost { border-color: rgba(22, 32, 63, .32); color: var(--night); }
.btn--ghost:hover { border-color: var(--clay-deep); color: var(--clay-deep); }
.btn--ghost-light { border-color: rgba(247, 243, 236, .5); color: var(--mist); }
.btn--ghost-light:hover { border-color: var(--amber); color: var(--amber); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--night);
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.chip:hover { border-color: var(--jade); color: var(--jade); }
.chip.is-active,
.chip[aria-pressed="true"] {
  background: var(--night);
  border-color: var(--night);
  color: var(--mist);
  box-shadow: inset 0 -3px 0 var(--amber);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(15, 138, 106, .12);
  color: var(--jade);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}
.tag--amber { background: var(--amber); color: var(--night); }
.tag--clay { background: rgba(196, 71, 43, .13); color: var(--clay-deep); }

/* ---------- 9. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px 4px;
  font-size: 13px;
  color: var(--slate);
}
.crumbs a { border-bottom: 1px solid transparent; transition: color .18s var(--ease), border-color .18s var(--ease); }
.crumbs a:hover { color: var(--clay-deep); border-bottom-color: var(--amber); }
.crumbs__sep { color: var(--line); }

/* ---------- 10. 卡片与色块 ---------- */
.panel {
  padding: clamp(20px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.panel--night { background: var(--night); border-color: transparent; color: var(--mist); }
.panel--night h2, .panel--night h3 { color: var(--white); }
.panel--night .annot { color: rgba(247, 243, 236, .62); }
.panel--clay { background: var(--clay); border-color: transparent; color: var(--white); }
.panel--clay h2, .panel--clay h3 { color: var(--white); }
.panel--jade { background: rgba(15, 138, 106, .09); border-color: rgba(15, 138, 106, .34); }
.panel--amber { background: var(--amber); border-color: transparent; color: var(--night); }
.panel--flat { box-shadow: none; }

.band {
  padding: clamp(22px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--night);
  color: var(--mist);
  box-shadow: var(--shadow-soft);
}
.band--clay { background: var(--clay); }
.band--jade { background: var(--jade); }
.band--amber { background: var(--amber); color: var(--night); }
.band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 22px 28px;
}
.band h2, .band h3 { color: inherit; }

/* ---------- 11. 统计数字 ---------- */
.stat { display: flex; flex-direction: column; gap: 5px; }
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--slate);
}
.band .stat__label, .panel--night .stat__label { color: rgba(247, 243, 236, .68); }
.panel--amber .stat__label, .band--amber .stat__label { color: rgba(22, 32, 63, .72); }

/* ---------- 12. 数据表 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.data-table { width: 100%; min-width: 520px; font-size: 15px; }
.data-table caption {
  padding: 14px 16px 0;
  text-align: left;
  font-size: 13px;
  color: var(--slate);
}
.data-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--slate);
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}
.data-table tbody tr:nth-child(even) { background: rgba(217, 222, 231, .3); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .num { font-variant-numeric: tabular-nums; }

/* ---------- 13. 可展开内容组 ---------- */
.disclosure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.disclosure + .disclosure { margin-top: 12px; }
.disclosure__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 17px 20px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 800;
  color: var(--night);
}
.disclosure__trigger::after {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-right: 2px solid var(--clay);
  border-bottom: 2px solid var(--clay);
  transform: rotate(45deg);
  transition: transform .22s var(--ease), margin-top .22s var(--ease);
}
.disclosure__trigger[aria-expanded="true"]::after {
  transform: rotate(225deg);
  margin-top: 4px;
}
.disclosure__panel {
  padding: 0 20px 20px;
  font-size: 16px;
  color: var(--night-2);
}

/* ---------- 14. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--night-2);
  background-image:
    linear-gradient(142deg, rgba(196, 71, 43, .5) 0%, rgba(22, 32, 63, .92) 52%, rgba(15, 138, 106, .46) 100%);
  isolation: isolate;
}
.media > img,
.media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }
.media--soft { border-radius: var(--radius); }
.media__scrim {
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  background: linear-gradient(to top, rgba(22, 32, 63, .84), rgba(22, 32, 63, 0));
  pointer-events: none;
}
.media__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(247, 243, 236, .88);
}
.media__caption--static {
  position: static;
  margin-top: 10px;
  color: var(--slate);
}

/* ---------- 15. 动效 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 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;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
