/* ============================================================
   华体会体育 Site Kit — 共享样式
   设计概念：体育赛程坐标图
   深空蓝 #0A1428 × 亮橙 #FF6B35 × 荧光绿 #B8FF3E
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  --color-bg: #0A1428;
  --color-bg-alt: #101F3B;
  --color-accent: #FF6B35;
  --color-accent-2: #B8FF3E;
  --color-accent-deep: #C8431F;
  --color-text: #F0F4FA;
  --color-text-muted: #B3C3D6;
  --glass-bg: rgba(16, 31, 59, 0.78);
  --glass-border: rgba(179, 195, 214, 0.16);
  --header-h: 72px;
  --font-display: "Archivo Black", "Noto Sans SC Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --radius-cut: 0 16px 0 16px;
  --ease-snap: cubic-bezier(0.25, 0.8, 0.3, 1);
}

/* ---------- 2. Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 107, 53, 0.1), transparent 60%),
    radial-gradient(900px 420px at -10% 30%, rgba(184, 255, 62, 0.05), transparent 55%),
    var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

ul[class],
ol[class] {
  list-style: none;
}

button {
  font-family: inherit;
}

::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}

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

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: #223457;
  border-radius: 8px;
  border: 2px solid var(--color-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-deep);
}

/* ---------- 3. Skip Link / Main ---------- */
.skip-link {
  position: fixed;
  top: -64px;
  left: 20px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--radius-cut);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
  transition: top 0.25s ease;
}

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

#main-content {
  min-height: 64vh;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.container {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: 28px;
}

/* ---------- 4. 顶部坐标索引条 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  min-height: var(--header-h);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header[data-scrolled="true"] {
  background: rgba(10, 20, 40, 0.94);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
}

.site-header[data-scrolled="true"] .site-header__inner {
  height: 60px;
}

.site-header__inner {
  max-width: 1360px;
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: height 0.3s ease;
}

/* 品牌块：白底 + 橙色星标 */
.site-header__brand {
  flex-shrink: 0;
  line-height: 1;
}

.site-header__brandlink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 8px 18px 8px 10px;
  border-radius: var(--radius-cut);
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(255, 107, 53, 0.16);
  transition: box-shadow 0.25s ease, padding 0.3s ease;
}

.site-header__brandlink:hover {
  box-shadow: 0 8px 28px rgba(255, 107, 53, 0.32);
}

.site-header[data-scrolled="true"] .site-header__brandlink {
  padding-block: 6px;
}

.site-header__mark {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: var(--color-accent);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.65));
}

.site-header__brandtext {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-header__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  color: var(--color-bg);
  letter-spacing: 0.03em;
  line-height: 1.05;
}

.site-header__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-accent-deep);
  border-left: 2px solid var(--color-accent);
  padding-left: 6px;
  line-height: 1.4;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.site-header[data-scrolled="true"] .site-header__tag {
  opacity: 0;
}

/* 右侧导航 */
.site-header__nav {
  display: flex;
  align-items: center;
}

.site-header__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-header__link {
  display: block;
  position: relative;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.site-header__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-snap);
}

.site-header__link:hover,
.site-header__link:focus-visible {
  color: var(--color-accent);
}

.site-header__link:hover::after,
.site-header__link:focus-visible::after {
  transform: scaleX(1);
}

.site-header__link[aria-current="page"] {
  color: var(--color-accent);
  font-weight: 700;
}

.site-header__link[aria-current="page"]::after {
  transform: scaleX(1);
}

/* 移动导航按钮 */
.site-header__toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px 10px;
  border: 1px solid rgba(179, 195, 214, 0.28);
  background: rgba(16, 31, 59, 0.66);
  border-radius: 10px;
  cursor: pointer;
}

.site-header__toggleline {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.22s ease;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggleline:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggleline:nth-child(2) {
  opacity: 0;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggleline:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 顶部滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 250;
  height: 3px;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
  pointer-events: none;
}

/* ---------- 5. 移动端导航 ---------- */
@media (max-width: 960px) {
  .site-header__toggle {
    display: block;
  }

  .site-header__nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    background: rgba(10, 20, 40, 0.97);
    border: 1px solid rgba(255, 107, 53, 0.42);
    border-radius: var(--radius-cut);
    padding: 10px 6px 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scaleY(0.98);
    transform-origin: top center;
    transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s ease;
  }

  .site-header__nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scaleY(1);
  }

  .site-header__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-header__link {
    padding: 14px 20px;
    border-left: 3px solid transparent;
    border-radius: 0;
  }

  .site-header__link::after {
    display: none;
  }

  .site-header__link[aria-current="page"] {
    background: rgba(255, 107, 53, 0.1);
    border-left-color: var(--color-accent);
  }

  .site-header__link:hover {
    background: rgba(255, 107, 53, 0.08);
  }

  .site-header__tag {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header__inner,
  .container {
    padding-inline: 16px;
  }

  .site-header__name {
    font-size: 17px;
  }

  .site-header__brandlink {
    padding-right: 14px;
  }
}

/* ---------- 6. 页脚：图例层 ---------- */
.site-footer {
  position: relative;
  background: var(--color-bg);
  border-top: 2px solid var(--color-accent);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 38%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-accent-2) 0 10px, transparent 10px 20px);
  z-index: 1;
}

.site-footer__inner {
  max-width: 1360px;
  margin-inline: auto;
  padding: 64px 28px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
}

.site-footer__brandlink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 8px 20px 8px 12px;
  border-radius: var(--radius-cut);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.14);
  transition: box-shadow 0.25s ease;
}

.site-footer__brandlink:hover {
  box-shadow: 0 8px 26px rgba(255, 107, 53, 0.28);
}

.site-footer__mark {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: var(--color-accent);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 0 4px rgba(255, 107, 53, 0.6));
}

.site-footer__brandtext {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: var(--color-bg);
  letter-spacing: 0.03em;
}

.site-footer__tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent-deep);
  letter-spacing: 0.1em;
  border-left: 2px solid var(--color-accent);
  padding-left: 6px;
}

.site-footer__trust {
  margin-top: 22px;
  max-width: 46ch;
  padding-left: 16px;
  border-left: 3px solid var(--color-accent-2);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.85;
}

.site-footer__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}

.site-footer__legenditem {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.site-footer__swatch {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border-radius: 2px;
  transform: rotate(45deg);
}

.site-footer__swatch--home {
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(255, 107, 53, 0.45);
}

.site-footer__swatch--away {
  background: var(--color-accent-2);
  box-shadow: 0 0 8px rgba(184, 255, 62, 0.35);
}

.site-footer__swatch--data {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-text-muted);
}

.site-footer__zone {
  min-width: 0;
}

.site-footer__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.site-footer__heading::before {
  content: "";
  width: 18px;
  height: 2px;
  flex-shrink: 0;
  background: var(--color-accent);
}

.site-footer__list {
  display: grid;
  gap: 12px;
}

.site-footer__contact {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.site-footer__sitemap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.site-footer__link {
  display: inline-block;
  padding: 4px 0;
  font-size: 13px;
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer__link:hover {
  color: var(--color-accent-2);
  border-bottom-color: rgba(184, 255, 62, 0.4);
}

.site-footer__bottom {
  border-top: 1px solid rgba(179, 195, 214, 0.12);
}

.site-footer__bottom-inner {
  max-width: 1360px;
  margin-inline: auto;
  padding: 22px 28px 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.site-footer__bottom-inner p {
  margin: 0;
}

.site-footer__bottom-inner a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__bottom-inner a:hover {
  color: var(--color-accent);
}

.site-footer__legal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 960px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer__sitemap {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 7. 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 107, 53, 0.55);
  border-radius: 50%;
  background: rgba(10, 20, 40, 0.86);
  color: var(--color-accent);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s ease, background 0.2s ease, color 0.2s ease;
}

.back-to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.back-to-top__arrow {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 13px solid currentColor;
}

/* ---------- 8. 排版与章节组件 ---------- */
.section {
  padding: 72px 0;
  position: relative;
}

.section--tight {
  padding: 40px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-2);
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  background: var(--color-accent);
  transform: rotate(45deg);
}

.section-title {
  margin: 16px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

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

.section-lead {
  max-width: 62ch;
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-accent {
  color: var(--color-accent);
}

.text-green {
  color: var(--color-accent-2);
}

.text-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-accent-2);
}

/* ---------- 9. 页面首屏 ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 56px;
}

.page-hero--center {
  text-align: center;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.page-hero__lead {
  max-width: 64ch;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--color-text-muted);
  line-height: 1.8;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.page-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-hero__meta i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-accent);
  transform: rotate(45deg);
  font-style: normal;
}

/* ---------- 10. 按钮 / 标签 / 面包屑 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 13px 26px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-cut);
  background: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: transparent;
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.2);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(179, 195, 214, 0.4);
  color: var(--color-text);
}

.btn--ghost:hover {
  border-color: var(--color-accent-2);
  color: var(--color-accent-2);
  box-shadow: 0 10px 28px rgba(184, 255, 62, 0.08);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid rgba(184, 255, 62, 0.35);
  border-radius: 999px;
  background: rgba(184, 255, 62, 0.1);
  color: var(--color-accent-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tag--orange {
  border-color: rgba(255, 107, 53, 0.4);
  background: rgba(255, 107, 53, 0.1);
  color: var(--color-accent);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

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

.breadcrumb li + li::before {
  content: "/";
  margin-inline: 8px 2px;
  color: var(--color-accent);
  font-weight: 700;
}

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

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

.breadcrumb [aria-current="page"] {
  color: var(--color-text);
  font-weight: 700;
}

/* ---------- 11. 卡片 / 网格 / 号码 / 图片框 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.panel {
  padding: 28px;
  background: var(--glass-bg);
  border: 1px solid rgba(179, 195, 214, 0.14);
  border-radius: var(--radius-cut);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.panel:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.panel--solid {
  background: var(--color-bg-alt);
}

.panel__title {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: var(--color-text);
}

.panel__text {
  font-size: 15px;
  color: var(--color-text-muted);
}

.num-display {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

.img-frame {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  border-radius: var(--radius-cut);
  background:
    linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(184, 255, 62, 0.06)),
    var(--color-bg-alt);
}

.img-frame--4x3 {
  padding-top: 75%;
}

.img-frame--portrait {
  padding-top: 120%;
}

.img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 12. 装饰与动效 ---------- */
.speed-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.speed-lines::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 107, 53, 0.1) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(45deg, rgba(184, 255, 62, 0.05) 0 1px, transparent 1px 34px);
  opacity: 0.7;
  animation: speed-drift 18s linear infinite alternate;
}

@keyframes speed-drift {
  from {
    transform: translate3d(-2%, 0, 0);
  }
  to {
    transform: translate3d(2%, 2%, 0);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s var(--ease-snap);
  will-change: opacity, transform;
}

[data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .page-hero__meta {
    gap: 12px 18px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ---------- 13. 动效减弱 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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

  .speed-lines::before {
    animation: none;
  }
}
