/* ============================================================
   天博体育 · 球队库随行查 — 共享外壳样式 /assets/site.css
   高原夜空蓝底 + 橙红数据高亮 + 青绿实时状态
   ============================================================ */

:root {
  --ink-900: #07132B;
  --ink-800: #0D1F3F;
  --ink-700: #102645;
  --mist: #8FA1BD;
  --paper: #F7FAFF;
  --flame: #FF5A36;
  --flame-soft: #FFD8CE;
  --live: #28E0B9;
  --link: #4C8DFF;
  --violet: #A78BFA;
  --sand: #F3E9D2;
  --line: rgba(143, 161, 189, 0.22);
  --line-soft: rgba(143, 161, 189, 0.12);
  --shell: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 9px;
  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-label: "Inter", "DIN Alternate", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: clamp(15.5px, 1.05vw, 17px);
  line-height: 1.75;
  color: var(--paper);
  background:
    radial-gradient(120% 90% at 88% -20%, #123157 0%, rgba(7, 19, 43, 0) 58%),
    radial-gradient(85% 65% at -10% 14%, rgba(76, 141, 255, 0.16) 0%, rgba(7, 19, 43, 0) 62%),
    var(--ink-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--live); }

img, svg, video { max-width: 100%; height: auto; }

button { font: inherit; }

::selection {
  background: rgba(255, 90, 54, 0.85);
  color: #1A0600;
}

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

/* ---------- 跳过导航 ---------- */
.skip-link {
  position: absolute;
  left: 10px;
  top: 8px;
  z-index: 120;
  transform: translateY(-220%);
  padding: 0.55em 1em;
  border-radius: 8px;
  background: var(--flame);
  color: #1A0600;
  font-weight: 800;
  font-size: 0.86rem;
  text-decoration: none;
  transition: transform 0.18s ease;
}
.skip-link:focus {
  transform: translateY(0);
  color: #1A0600;
}

/* ---------- 布局基础 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(40px, 7vw, 80px); }

.section-head { max-width: 62ch; margin-bottom: clamp(22px, 3vw, 34px); }

.section-title {
  margin: 0 0 0.45em;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 900;
  line-height: 1.2;
}

.section-lede {
  margin: 0;
  color: rgba(247, 250, 255, 0.76);
  font-size: 1rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin: 0 0 0.9em;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--mist);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--flame), var(--live));
}

.lede {
  max-width: 60ch;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  color: rgba(247, 250, 255, 0.82);
}

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

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 26px);
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

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

/* ---------- 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
  margin: 0 0 1.2em;
  padding: 0;
  list-style: none;
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--mist);
}
.crumbs li { display: flex; align-items: center; gap: 0.5em; }
.crumbs li + li::before {
  content: "/";
  color: rgba(143, 161, 189, 0.5);
}
.crumbs a {
  color: var(--mist);
  text-decoration: none;
}
.crumbs a:hover { color: var(--live); }
.crumbs [aria-current="page"] { color: var(--paper); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.72em 1.15em;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-flame {
  background: linear-gradient(135deg, #FF7A4D, var(--flame) 60%, #EE4721);
  color: #1A0600;
  box-shadow: 0 10px 24px -14px rgba(255, 90, 54, 0.95);
}
.btn-flame:hover { color: #1A0600; }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(143, 161, 189, 0.36);
}
.btn-ghost:hover {
  color: var(--paper);
  border-color: var(--live);
  background: rgba(40, 224, 185, 0.1);
}

.btn-sm {
  padding: 0.48em 0.85em;
  font-size: 0.82rem;
  border-radius: 8px;
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.35em 0.7em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(143, 161, 189, 0.08);
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--mist);
}
.tag-live {
  color: var(--live);
  border-color: rgba(40, 224, 185, 0.4);
  background: rgba(40, 224, 185, 0.1);
}
.tag-flame {
  color: var(--flame-soft);
  border-color: rgba(255, 90, 54, 0.45);
  background: rgba(255, 90, 54, 0.16);
}
.tag-violet {
  color: var(--violet);
  border-color: rgba(167, 139, 250, 0.4);
  background: rgba(167, 139, 250, 0.12);
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(21, 44, 82, 0.92), rgba(13, 31, 63, 0.92));
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--flame), var(--violet));
  opacity: 0.9;
}
.card-title {
  margin: 0 0 0.5em;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
}
.card-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--mist);
}

/* ---------- 数据表 ---------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 31, 63, 0.6);
}

.data-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.data-table caption {
  padding: 0.9em 1em 0;
  text-align: left;
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--mist);
}
.data-table th {
  padding: 0.8em 0.9em;
  text-align: left;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--mist);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table td {
  padding: 0.85em 0.9em;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.data-table tbody tr { transition: background-color 0.18s ease; }
.data-table tbody tr:hover { background: rgba(255, 90, 54, 0.09); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- 媒体框（图片容器基础规则） ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(76, 141, 255, 0.22), rgba(7, 19, 43, 0.92) 55%, rgba(255, 90, 54, 0.24)),
    radial-gradient(circle at 78% 16%, rgba(40, 224, 185, 0.28), transparent 55%),
    var(--ink-800);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(143, 161, 189, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 161, 189, 0.14) 1px, transparent 1px);
  background-size: 44px 44px;
}
.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame-wide { aspect-ratio: 21 / 9; }
.media-frame-tall { aspect-ratio: 4 / 5; }
.media-caption {
  margin: 0.7em 0 0;
  font-size: 0.8rem;
  color: var(--mist);
}

/* ---------- 状态点 ---------- */
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin: 0;
  padding: 0.35em 0.62em;
  border: 1px solid rgba(40, 224, 185, 0.34);
  border-radius: 999px;
  background: rgba(40, 224, 185, 0.09);
  font-family: var(--font-label);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--live);
  white-space: nowrap;
}
.status-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 3px rgba(40, 224, 185, 0.16);
  animation: status-pulse 2.6s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

/* ============================================================
   页头：命令索引栏
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(11, 26, 52, 0.94);
  border-bottom: 1px solid var(--line-soft);
  color: var(--paper);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--flame) 0 84px,
    var(--live) 84px 116px,
    var(--violet) 116px 134px,
    rgba(143, 161, 189, 0.18) 134px 100%
  );
}
.site-header[data-scrolled="true"] {
  background: rgba(8, 20, 42, 0.98);
  box-shadow: 0 20px 44px -34px #000;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand tools"
    "nav nav";
  align-items: center;
  column-gap: 12px;
  padding-block: 10px;
}

/* 品牌 */
.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
}
.brand:hover { color: var(--paper); }
.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #FF7A4D, var(--flame) 55%, #E03E1C);
  transform: skewX(-14deg);
  box-shadow: 0 8px 18px -12px rgba(255, 90, 54, 0.95);
}
.brand-mark-slash {
  position: absolute;
  inset: -12% -30%;
  background: linear-gradient(115deg, transparent 42%, rgba(247, 250, 255, 0.88) 42% 50%, transparent 50%);
}
.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.14;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
}
.brand-sub {
  margin-top: 2px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--mist);
  white-space: nowrap;
}

/* 工具区 */
.header-tools {
  grid-area: tools;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}
.header-cta { white-space: nowrap; }

/* 索引按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.45em 0.62em;
  border: 1px solid rgba(143, 161, 189, 0.34);
  border-radius: 8px;
  background: rgba(76, 141, 255, 0.12);
  color: var(--paper);
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.nav-toggle:hover {
  background: rgba(76, 141, 255, 0.24);
  border-color: rgba(76, 141, 255, 0.5);
}
.nav-toggle-box {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}
.nav-toggle-box span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle-text { display: inline-block; }

/* 导航 */
.site-nav {
  grid-area: nav;
  display: none;
  padding-bottom: 6px;
}
.site-nav[data-open] {
  display: block;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
}
.nav-list {
  display: grid;
  gap: 2px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: navidx;
}
.nav-item { display: block; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.72em 0.4em;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 6px;
  color: rgba(247, 250, 255, 0.86);
  font-size: 0.98rem;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.nav-link::before {
  counter-increment: navidx;
  content: "0" counter(navidx);
  flex: 0 0 auto;
  min-width: 1.7em;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--mist);
}
.nav-link:hover {
  background: rgba(76, 141, 255, 0.14);
  color: var(--paper);
}
.nav-link:hover::before { color: var(--flame); }
.nav-link[aria-current="page"] {
  background: rgba(76, 141, 255, 0.18);
  color: var(--paper);
  box-shadow: inset 3px 0 0 var(--live);
}
.nav-link[aria-current="page"]::before { color: var(--live); }
.nav-foot {
  display: block;
  margin: 12px 0 4px;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* 滚动进度 */
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  background: rgba(143, 161, 189, 0.14);
}
.header-progress-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--flame), var(--live));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.12s linear;
}

@media (max-width: 720px) {
  .header-cta { display: none; }
}
@media (max-width: 420px) {
  .status-text { display: none; }
  .status-chip { padding: 0.42em; }
}

/* 桌面：单行命令栏 */
@media (min-width: 980px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav tools";
    padding-block: 8px;
  }
  .nav-toggle { display: none; }
  .site-nav,
  .site-nav[data-open] {
    display: block;
    justify-self: center;
    max-height: none;
    overflow: visible;
    padding-bottom: 0;
  }
  .nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 0;
  }
  .nav-link {
    gap: 0.45em;
    padding: 0.5em 0.62em;
    border-bottom: 0;
    border-radius: 8px;
    font-size: 0.86rem;
  }
  .nav-link::before {
    min-width: auto;
    font-size: 0.6rem;
    color: rgba(143, 161, 189, 0.7);
  }
  .nav-link[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--live);
  }
  .nav-foot { display: none; }
}

/* ============================================================
   页脚：刊物版权页
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 110px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, #0A1832 0%, #07132B 55%, #050C1B 100%);
  color: var(--paper);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -140px;
  width: 440px;
  height: 300px;
  pointer-events: none;
  transform: rotate(-12deg);
  background: radial-gradient(circle at 30% 30%, rgba(255, 90, 54, 0.3), transparent 66%);
}
.site-footer::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 380px;
  height: 300px;
  pointer-events: none;
  transform: rotate(16deg);
  background: radial-gradient(circle at 50% 50%, rgba(167, 139, 250, 0.22), transparent 68%);
}
.footer-shell {
  position: relative;
  z-index: 1;
  padding-block: clamp(34px, 5vw, 60px) 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3.4vw, 38px);
}
@media (min-width: 640px) {
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .footer-main {
    grid-template-columns: 1.6fr 0.8fr 0.8fr 0.85fr 1.25fr;
    align-items: start;
  }
}

.footer-ident { min-width: 0; }
.footer-brand-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.footer-brand-sub {
  margin: 0.35em 0 0;
  font-family: var(--font-label);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--mist);
}
.footer-summary {
  max-width: 34ch;
  margin: 0.95em 0 0;
  font-size: 0.92rem;
  color: rgba(247, 250, 255, 0.76);
}
.footer-note {
  display: flex;
  align-items: flex-start;
  gap: 0.55em;
  margin: 1em 0 0;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--mist);
}
.footer-note .status-dot { margin-top: 0.55em; }
.footer-note-plain { display: block; padding-left: 0; }

.footer-col {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.footer-ident { padding-top: 14px; border-top: 2px solid var(--flame); }

.footer-col-title {
  display: flex;
  align-items: center;
  margin: 0 0 0.85em;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--mist);
}
.footer-col-title::before {
  content: "";
  width: 14px;
  height: 2px;
  margin-right: 0.7em;
  background: var(--flame);
}
.footer-links {
  display: grid;
  gap: 0.55em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  color: rgba(247, 250, 255, 0.82);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-links a:hover {
  color: var(--live);
  text-decoration: underline;
  text-underline-offset: 0.24em;
}

.contact-list {
  display: grid;
  gap: 0.7em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-list li { display: grid; gap: 2px; }
.contact-label {
  font-family: var(--font-label);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--mist);
}
.contact-value {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  margin-top: clamp(28px, 4vw, 46px);
  padding-block: 18px 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.78rem;
  color: var(--mist);
}
.footer-copy { margin: 0; }
.footer-icp {
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-legal a {
  color: var(--mist);
  text-decoration: none;
}
.footer-legal a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 0.24em;
}

/* ============================================================
   显现协议（页面阶段用 data-reveal 启用）
   ============================================================ */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.22, 0.8, 0.28, 1);
}
.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   减少动态偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .btn:hover { transform: none; }
  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .header-progress-bar { transition: none; }
}
