/* ===================================================================
   乐游看台 · 共享样式  /assets/site.css
   堆叠面板 / 精密网格 / 夜场信号色
   =================================================================== */

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

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

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

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

/* ---------- 2. 色彩与排版变量 ---------- */
:root {
  --c-ink: #07110D;
  --c-ink-2: #0B1A14;
  --c-panel: #12261D;
  --c-line: #2A4036;
  --c-lime: #B7FF3C;
  --c-lime-soft: #D4FF7A;
  --c-flare: #FF5A36;
  --c-flare-soft: #FF9C7A;
  --c-paper: #F2F7F1;
  --c-mist: #9DB3A7;
  --c-cyan: #2CE0C3;

  --font-display: "Barlow Condensed", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --shell: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 78px;

  --fs-display: clamp(3.2rem, 7vw, 7.5rem);
  --fs-h2: clamp(1.8rem, 3vw, 3.2rem);
  --fs-body: 17px;

  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--header-h);
  background-color: var(--c-ink);
  background-image:
    linear-gradient(rgba(42, 64, 54, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 64, 54, .22) 1px, transparent 1px);
  background-size: 100% 96px, 96px 100%;
  background-position: 50% 0;
  color: var(--c-paper);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.01em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-display); line-height: .95; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.3; letter-spacing: .01em; }

p { max-width: 72ch; }

strong { font-weight: 700; color: var(--c-paper); }
small { font-size: .82rem; }

code, kbd, samp, time, .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

::selection { background: var(--c-lime); color: var(--c-ink); }

/* ---------- 4. 焦点与可访问性 ---------- */
:focus-visible {
  outline: 2px solid var(--c-lime);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--c-ink);
}

#main-content { scroll-margin-top: calc(var(--header-h) + 16px); }

.visually-hidden {
  position: absolute !important;
  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;
}

/* ---------- 5. 布局容器 ---------- */
.container {
  width: min(var(--shell), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section { padding: clamp(40px, 6vw, 84px) 0; }
.section--tight { padding: clamp(28px, 4vw, 52px) 0; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

@media (max-width: 820px) {
  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .grid--12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.stack > * + * { margin-top: var(--stack-gap, 16px); }

/* ---------- 6. 头部 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px var(--gutter) 14px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 17, 13, .92) 0%, rgba(7, 17, 13, .55) 62%, rgba(7, 17, 13, 0) 100%);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -170%);
  padding: 10px 20px;
  background: var(--c-lime);
  color: var(--c-ink);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  border-radius: var(--radius);
  pointer-events: auto;
  transition: transform .2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translate(-50%, 0); }

.scroll-progress {
  width: min(var(--shell), 100%);
  height: 2px;
  margin-bottom: 9px;
  border-radius: 2px;
  background: rgba(42, 64, 54, .7);
  overflow: hidden;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--c-lime) 0%, var(--c-cyan) 100%);
}

.nav-island {
  position: relative;
  pointer-events: auto;
  width: min(var(--shell), 100%);
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 18px);
  padding: 7px 8px 7px 16px;
  background: rgba(11, 26, 20, .92);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav-island:hover,
.nav-island:focus-within {
  border-color: rgba(183, 255, 60, .38);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

/* 品牌锁定组合 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  flex: 0 0 auto;
  color: var(--c-paper);
  text-decoration: none;
}
.brand-mark {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  background: var(--c-lime);
  box-shadow: 0 0 0 3px rgba(183, 255, 60, .16);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  transition: background-color .2s var(--ease);
}
.brand:hover .brand-mark { background: var(--c-lime-soft); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: .02em;
}
.brand-sub {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-mist);
}

/* 主导航 */
.primary-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px 8px 16px;
  color: var(--c-mist);
  font-size: .92rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 999px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 12px;
  bottom: 3px;
  height: 1.5px;
  background: var(--c-lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s var(--ease);
}
.nav-link::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--c-lime);
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.nav-link:hover { color: var(--c-paper); background: rgba(183, 255, 60, .07); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--c-paper); background: rgba(183, 255, 60, .12); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"]::before { opacity: 1; }

/* 右侧状态组 */
.nav-meta { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

.version-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid rgba(44, 224, 195, .35);
  border-radius: 999px;
  background: rgba(44, 224, 195, .08);
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  white-space: nowrap;
}
.version-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-cyan);
  animation: signal-pulse 2.6s ease-in-out infinite;
}

@keyframes signal-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.82); }
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  flex: 0 0 auto;
  background: rgba(183, 255, 60, .1);
  border: 1px solid rgba(183, 255, 60, .42);
  border-radius: 999px;
  color: var(--c-lime);
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav-toggle:hover { background: rgba(183, 255, 60, .2); }
.nav-toggle-bars { position: relative; display: block; width: 16px; height: 9px; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .24s var(--ease);
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-3.75px) rotate(-45deg); }
.nav-toggle-label { line-height: 1; }

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn--primary { background: var(--c-lime); color: var(--c-ink); }
.btn--primary:hover { background: var(--c-lime-soft); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--c-paper);
  border-color: var(--c-line);
}
.btn--ghost:hover { border-color: var(--c-lime); color: var(--c-lime); }
.btn--flare { background: var(--c-flare); color: #1B0703; }
.btn--flare:hover { background: var(--c-flare-soft); }

.nav-cta { padding: 8px 16px; border-radius: 999px; font-size: .84rem; }

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  padding: clamp(36px, 5vw, 64px) 0 0;
  background: var(--c-ink-2);
  border-top: 1px solid var(--c-line);
  color: var(--c-mist);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-lime) 0%, rgba(183, 255, 60, 0) 52%, var(--c-flare) 100%);
}
.site-footer::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--c-line) 0 1px, transparent 1px 12px);
  opacity: .55;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(var(--shell), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.7fr);
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

.footer-brand .brand { margin-bottom: 16px; display: inline-flex; }
.footer-tagline {
  margin-bottom: 20px;
  max-width: 32ch;
  font-size: .94rem;
  line-height: 1.7;
  color: var(--c-mist);
}
.footer-cta { font-size: .84rem; padding: 9px 16px; }

.footer-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-paper);
}
.footer-heading::before {
  content: "";
  width: 14px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--c-lime);
}

.footer-links { display: grid; gap: 9px; }
.footer-link {
  display: inline-block;
  padding-bottom: 1px;
  color: var(--c-mist);
  font-size: .94rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer-link:hover { color: var(--c-lime); border-bottom-color: rgba(183, 255, 60, .5); }

.footer-contact { display: grid; gap: 12px; align-content: start; }
.footer-contact-item {
  display: grid;
  gap: 2px;
  padding-left: 12px;
  border-left: 1px solid var(--c-line);
}
.footer-contact-label {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-cyan);
}
.footer-contact-value {
  color: var(--c-paper);
  font-family: var(--font-mono);
  font-size: .88rem;
  line-height: 1.6;
  word-break: break-word;
}
.footer-note {
  margin-top: 2px;
  max-width: 44ch;
  font-size: .78rem;
  line-height: 1.65;
  color: rgba(157, 179, 167, .78);
}

.footer-rule {
  height: 1px;
  background: var(--c-line);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px 0 26px;
}
.footer-meta {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .04em;
  color: rgba(157, 179, 167, .9);
}

/* ---------- 9. 通用面板与标题 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.panel--alt { background: var(--c-ink-2); }
.panel--signal { border-left: 2px solid var(--c-lime); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-lime);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.section-title {
  margin-bottom: .5em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--c-paper);
}

.lede {
  max-width: 64ch;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.72;
  color: var(--c-mist);
}

/* ---------- 10. 标签与筛选胶囊 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(18, 38, 29, .6);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--c-mist);
  white-space: nowrap;
}
.tag--lime {
  color: var(--c-lime);
  border-color: rgba(183, 255, 60, .45);
  background: rgba(183, 255, 60, .08);
}
.tag--flare {
  color: var(--c-flare-soft);
  border-color: rgba(255, 90, 54, .45);
  background: rgba(255, 90, 54, .1);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(11, 26, 20, .7);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--c-mist);
  text-decoration: none;
  cursor: pointer;
  transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.chip:hover { color: var(--c-paper); border-color: rgba(183, 255, 60, .5); }
.chip[aria-pressed="true"] {
  color: var(--c-ink);
  background: var(--c-lime);
  border-color: var(--c-lime);
}

/* ---------- 11. 面包屑 / 正文 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--c-mist);
  list-style: none;
  padding: 0;
}
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--c-line); }
.crumbs a { color: var(--c-mist); text-decoration: none; }
.crumbs a:hover { color: var(--c-lime); }
.crumbs [aria-current="page"] { color: var(--c-paper); }

.prose { max-width: 68ch; font-size: 1.02rem; line-height: 1.78; color: var(--c-paper); }
.prose > * + * { margin-top: 1.05em; }
.prose p { max-width: none; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose a { color: var(--c-lime); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; list-style: disc; }
.prose li + li { margin-top: .4em; }
.prose strong { color: var(--c-lime-soft); }

/* ---------- 12. 分割与刻度线 ---------- */
.divider {
  height: 1px;
  margin: clamp(24px, 4vw, 48px) 0;
  background: var(--c-line);
  border: 0;
}

.tick-rule {
  height: 12px;
  width: 100%;
  border-bottom: 1px solid var(--c-line);
  background: repeating-linear-gradient(90deg, var(--c-line) 0 1px, transparent 1px 12px) top / 100% 7px no-repeat;
  opacity: .9;
}

/* ---------- 13. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: var(--media-ratio, 16 / 9);
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  clip-path: var(--media-clip, none);
}
.media img,
.media picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.86) contrast(1.06) brightness(.92);
  transition: transform .5s var(--ease);
}
.media:hover img,
.media:focus-within img { transform: scale(1.035); }
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 13, 0) 52%, rgba(7, 17, 13, .78) 100%);
  pointer-events: none;
}
.media--wide { --media-ratio: 21 / 9; }
.media--tall { --media-ratio: 3 / 4; }
.media--slant { --media-clip: polygon(0 0, 100% 0, 100% 86%, 0 100%); }

.media-cap {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--c-mist);
}

/* ---------- 14. 滚动显现协议 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1024px) {
  .nav-link { padding: 8px 10px 8px 14px; font-size: .88rem; }
  .nav-link::after { left: 14px; right: 10px; }
  .footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
  .footer-contact { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .footer-contact .footer-heading { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: block;
    padding: 8px;
    background: rgba(11, 26, 20, .98);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .55);
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: translateY(-6px);
    transition: max-height .28s var(--ease), opacity .2s var(--ease),
                transform .24s var(--ease), visibility .28s;
  }
  .primary-nav[data-open="true"],
  .nav-island[data-open="true"] .primary-nav {
    max-height: min(70vh, 520px);
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
    transform: none;
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link {
    display: flex;
    width: 100%;
    padding: 13px 14px 13px 26px;
    border-radius: var(--radius);
    font-size: 1rem;
  }
  .nav-link::after { display: none; }
  .nav-link::before { left: 12px; }
  .nav-link[aria-current="page"] { background: rgba(183, 255, 60, .12); }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .version-chip { display: none; }
  .nav-island { padding: 6px 6px 6px 13px; gap: 10px; }
  .nav-cta { padding: 8px 13px; font-size: .8rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-contact { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
  :root { --fs-body: 16px; }
  .brand-sub { font-size: .52rem; letter-spacing: .14em; }
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 9px 11px; }
  .nav-cta { padding: 8px 11px; font-size: .76rem; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ---------- 16. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::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 !important;
    transform: none !important;
  }
  .media:hover img { transform: none; }
  .scroll-progress__bar { transition: none; }
}
