/* ============================================================
   浩瀚体育 · 共享站点样式  /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, h5, p, figure, blockquote, dl, dd, dt {
  margin: 0;
}

ul, ol { margin: 0; padding: 0; list-style: none; }

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

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

a { color: inherit; }

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 变量 ---------- */
:root {
  --c-ink: #071B2F;
  --c-ink-deep: #041220;
  --c-teal: #0A2E33;
  --c-indigo: #1B1640;
  --c-wine: #4A1220;
  --c-cyan: #25F4D0;
  --c-cyan-soft: #A8FFF2;
  --c-heat: #FF7A3D;
  --c-heat-hot: #FF3D5A;
  --c-paper: #EAF7F5;
  --c-line: #2F4A57;
  --c-line-soft: rgba(47, 74, 87, 0.55);
  --c-muted: #7FA6B2;

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

  --shell-w: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 2px;
  --radius-lg: 6px;
  --dur: 200ms;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --shadow-raise: 0 18px 40px -28px rgba(37, 244, 208, 0.55);
  --shadow-hot: 0 18px 40px -28px rgba(255, 61, 90, 0.6);

  --panel-grid: linear-gradient(rgba(47, 74, 87, 0.30) 1px, transparent 1px),
                linear-gradient(90deg, rgba(47, 74, 87, 0.30) 1px, transparent 1px);
}

/* ---------- 3. 中文排版与页面底色 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--c-paper);
  background-color: var(--c-ink);
  background-image:
    radial-gradient(920px 540px at 84% -10%, rgba(37, 244, 208, 0.10), transparent 62%),
    radial-gradient(720px 480px at 4% 14%, rgba(27, 22, 64, 0.80), transparent 66%);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.005em;
  overflow-wrap: break-word;
}

p, li, dd, dt { overflow-wrap: break-word; }

::selection { background: var(--c-cyan); color: #041610; }

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

/* ---------- 4. 通用工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(2.25rem, 6vw, 4.25rem); }

.rule {
  height: 1px;
  border: 0;
  margin-block: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(90deg, var(--c-line) 0%, rgba(47, 74, 87, 0.15) 62%, transparent 100%);
}

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

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -6rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: #041610;
  background: var(--c-cyan);
  border: 1px solid var(--c-cyan);
  border-radius: var(--radius);
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus { top: 0.8rem; }

/* ---------- 6. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  color: var(--c-paper);
  background:
    linear-gradient(180deg, rgba(9, 32, 54, 0.97) 0%, rgba(7, 27, 47, 0.92) 100%);
  border-bottom: 1px solid var(--c-line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: repeating-linear-gradient(90deg, transparent 0 47px, rgba(47, 74, 87, 0.35) 47px 48px);
}

.header-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  max-width: var(--shell-w);
  margin-inline: auto;
  padding: 0.7rem var(--gutter);
}

/* 品牌 */
.brand {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--c-paper);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #041610;
  background: linear-gradient(150deg, var(--c-cyan) 0%, #0FD8B4 100%);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(4, 22, 16, 0.25);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--c-muted);
}

/* 更新节奏状态条 */
.header-status {
  order: 3;
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--c-line-soft);
  border-left: 3px solid var(--c-heat);
  border-radius: var(--radius);
  background: rgba(74, 18, 32, 0.28);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--c-cyan-soft);
  text-transform: uppercase;
}

.status-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-heat);
  box-shadow: 0 0 0 3px rgba(255, 122, 61, 0.18);
  animation: status-pulse 2.8s var(--ease) infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.status-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 移动导航按钮 */
.nav-toggle {
  order: 2;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--c-cyan-soft);
  background: rgba(10, 46, 51, 0.7);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-toggle:hover { border-color: var(--c-cyan); color: #fff; }

.nav-toggle-bars { display: grid; gap: 4px; width: 16px; }

.nav-toggle-bars i {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--c-cyan);
  background: rgba(37, 244, 208, 0.12);
  color: #fff;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) 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(-6px) rotate(-45deg); }

.nav-toggle-label { line-height: 1; }

/* 主导航（移动端默认收起） */
.primary-nav {
  order: 4;
  display: none;
  flex-basis: 100%;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--c-line-soft);
}

.primary-nav[data-open] { display: flex; }

.nav-list { display: flex; flex-direction: column; gap: 0.25rem; }

.nav-list a {
  display: block;
  padding: 0.55rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--c-cyan-soft);
  text-decoration: none;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.nav-list a:hover {
  color: #fff;
  background: rgba(37, 244, 208, 0.08);
  border-color: var(--c-line);
  border-left-color: var(--c-heat);
}

.nav-list a[aria-current="page"] {
  color: #041610;
  font-weight: 700;
  background: var(--c-cyan);
  border-color: var(--c-cyan);
  border-left-color: var(--c-cyan);
}

.nav-cta { align-self: stretch; justify-content: center; margin-top: 0.35rem; }

/* 滚动进度尺 */
.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: rgba(47, 74, 87, 0.5);
  overflow: hidden;
}

.scroll-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--c-cyan) 0%, var(--c-heat) 70%, var(--c-heat-hot) 100%);
  transition: width 120ms linear;
}

/* ---------- 7. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-decoration: none;
  color: var(--c-cyan-soft);
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #041610;
  font-weight: 700;
  background: var(--c-cyan);
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 1px rgba(37, 244, 208, 0.25);
}

.btn-primary:hover {
  background: #58FFE3;
  box-shadow: 0 10px 26px -14px var(--c-cyan);
}

.btn-ghost:hover {
  color: #fff;
  border-color: var(--c-cyan);
  background: rgba(37, 244, 208, 0.08);
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  margin-top: clamp(3rem, 8vw, 5.5rem);
  color: var(--c-paper);
  background:
    linear-gradient(180deg, var(--c-teal) 0%, var(--c-indigo) 52%, var(--c-ink-deep) 100%);
  border-top: 1px solid var(--c-line);
}

.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--c-cyan) 0 16%, var(--c-heat) 16% 24%, var(--c-wine) 24% 100%);
}

.footer-shell {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  width: 100%;
  max-width: var(--shell-w);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.25rem) var(--gutter) clamp(1.5rem, 4vw, 2.25rem);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--c-cyan-soft);
}

.footer-tagline {
  margin-top: 0.5rem;
  max-width: 34ch;
  font-size: 0.9rem;
  color: rgba(234, 247, 245, 0.85);
}

.footer-note {
  margin-top: 0.55rem;
  max-width: 34ch;
  font-size: 0.82rem;
  color: var(--c-muted);
}

.footer-stamp {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.25rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--c-cyan-soft);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-wine);
  background: rgba(74, 18, 32, 0.35);
}

.footer-nav { display: grid; gap: 1.5rem; }

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-cyan);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-line);
}

.footer-links { margin-top: 0.75rem; display: grid; gap: 0.4rem; }

.footer-links a {
  display: inline-block;
  font-size: 0.88rem;
  color: rgba(234, 247, 245, 0.82);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.footer-links a:hover {
  color: var(--c-cyan);
  border-bottom-color: var(--c-line);
  padding-left: 0.3rem;
}

.contact-list { margin-top: 0.85rem; display: grid; gap: 0.8rem; }

.contact-row dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--c-muted);
  text-transform: uppercase;
}

.contact-row dd { margin: 0.2rem 0 0; }

.contact-value {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--c-cyan-soft);
  word-break: break-all;
}

.copy-btn {
  margin-left: 0.5rem;
  padding: 0.18rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--c-cyan-soft);
  background: rgba(37, 244, 208, 0.06);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.copy-btn:hover { border-color: var(--c-cyan); color: #fff; }

.copy-btn.is-flashing {
  color: #041610;
  background: var(--c-cyan);
  border-color: var(--c-cyan);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  max-width: var(--shell-w);
  margin-inline: auto;
  padding: 1rem var(--gutter) 1.6rem;
  border-top: 1px solid var(--c-line-soft);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}

.footer-legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }

.footer-legal a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(234, 247, 245, 0.75);
  text-decoration: none;
  border-bottom: 1px dashed var(--c-line);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer-legal a:hover { color: var(--c-cyan); border-bottom-color: var(--c-cyan); }

/* ---------- 9. 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--c-muted);
}

.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }

.breadcrumb li { display: inline-flex; align-items: center; gap: 0.45rem; }

.breadcrumb li + li::before {
  content: "/";
  color: var(--c-line);
}

.breadcrumb a {
  color: var(--c-cyan-soft);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

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

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

/* ---------- 10. 正文容器 ---------- */
.prose {
  max-width: 72ch;
  font-size: 1.02rem;
  line-height: 1.9;
  color: rgba(234, 247, 245, 0.9);
}

.prose > * + * { margin-top: 1.05em; }

.prose h2 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  margin-top: 2.1em;
  padding-left: 0.8rem;
  border-left: 3px solid var(--c-cyan);
}

.prose h3 {
  font-size: 1.16rem;
  margin-top: 1.7em;
  color: var(--c-cyan-soft);
}

.prose ul, .prose ol { padding-left: 1.45em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--c-heat); }
.prose li + li { margin-top: 0.4em; }

.prose strong { color: var(--c-cyan-soft); }

.prose a {
  color: var(--c-cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--c-line);
  transition: border-color var(--dur) var(--ease);
}

.prose a:hover { border-bottom-color: var(--c-cyan); }

.prose blockquote {
  padding: 0.85rem 1.1rem;
  border-left: 3px solid var(--c-heat);
  background: rgba(74, 18, 32, 0.28);
  color: var(--c-paper);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  color: var(--c-cyan-soft);
  background: rgba(37, 244, 208, 0.08);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius);
}

/* ---------- 11. 展区标题组 / 栅格 ---------- */
.section-head {
  display: grid;
  gap: 0.4rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--c-line);
}

.section-index {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--c-heat);
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  font-weight: 800;
}

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

/* ---------- 12. 基础组件 ---------- */
.card {
  position: relative;
  padding: 1.25rem 1.25rem 1.35rem;
  background: linear-gradient(160deg, rgba(10, 46, 51, 0.86) 0%, rgba(7, 27, 47, 0.94) 100%);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--c-cyan);
  box-shadow: var(--shadow-raise);
}

.card-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--c-muted);
  text-transform: uppercase;
}

.card-title {
  margin-top: 0.45rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-paper);
}

.plate {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--c-cyan-soft);
  background: rgba(74, 18, 32, 0.4);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-heat);
  border-radius: var(--radius);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--c-cyan-soft);
  background: rgba(37, 244, 208, 0.06);
  border: 1px solid var(--c-line);
  border-radius: 999px;
}

.tag-hot {
  color: #FFD9C6;
  background: rgba(255, 61, 90, 0.14);
  border-color: rgba(255, 61, 90, 0.5);
}

.stat { display: flex; flex-direction: column; gap: 0.2rem; }

.stat-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-cyan);
}

.stat-value[data-tone="hot"] { color: var(--c-heat-hot); }
.stat-value[data-tone="warm"] { color: var(--c-heat); }

.stat-unit {
  margin-left: 0.15em;
  font-size: 0.48em;
  color: var(--c-muted);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--c-muted);
  text-transform: uppercase;
}

.stack {
  position: relative;
  padding: 1.4rem;
  background: rgba(7, 27, 47, 0.78);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.stack::before,
.stack::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius);
}

.stack::before { transform: translate(6px, 6px); }
.stack::after { transform: translate(12px, 12px); opacity: 0.45; }

/* ---------- 13. 图片容器（供页面阶段放占位图） ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-indigo) 100%);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.media-frame[data-ratio="4x3"] { aspect-ratio: 4 / 3; }
.media-frame[data-ratio="1x1"] { aspect-ratio: 1 / 1; }
.media-frame[data-ratio="21x9"] { aspect-ratio: 21 / 9; }

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.06) hue-rotate(-6deg) brightness(0.94);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: var(--panel-grid);
  background-size: 32px 32px, 32px 32px;
}

.media-caption {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--c-muted);
}

/* ---------- 14. 显现动效 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .has-js [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
  }

  .has-js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    transition: opacity 420ms var(--ease), transform 420ms var(--ease);
  }
}

/* ---------- 15. 平板 / 桌面 ---------- */
@media (min-width: 560px) {
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-base { flex-wrap: nowrap; }
}

@media (min-width: 720px) {
  .header-status {
    order: 3;
    flex: 1 1 auto;
    justify-content: center;
    border-left: 1px solid var(--c-line-soft);
    border-top: 1px solid var(--c-line-soft);
    border-bottom: 1px solid var(--c-line-soft);
    background: rgba(74, 18, 32, 0.22);
  }
}

@media (min-width: 960px) {
  .header-shell { flex-wrap: nowrap; gap: 1.25rem; padding-block: 0.85rem; }

  .brand { order: 1; flex: 0 0 auto; }

  .header-status {
    order: 2;
    flex: 1 1 auto;
    max-width: 320px;
    margin-inline: auto;
    padding: 0.3rem 0.75rem;
  }

  .nav-toggle { display: none; }

  .primary-nav {
    order: 3;
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    flex-basis: auto;
    padding-top: 0;
    border-top: 0;
  }

  .nav-list { flex-direction: row; gap: 0.15rem; }

  .nav-list a { padding: 0.5rem 0.75rem; border-left-width: 1px; }

  .nav-cta { margin-top: 0; margin-left: 0.6rem; align-self: auto; }

  .footer-shell { grid-template-columns: 1.05fr 1.6fr 1.05fr; align-items: start; }
}

@media (min-width: 1200px) {
  .header-status { max-width: 380px; }
}

/* ---------- 16. 动效与对比度降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .card:hover, .btn:hover { transform: none; }
  .scroll-progress-bar { transition: none; }
}
