/* =========================================================
   168体育看台 — /assets/site.css
   共享层：reset / 变量 / 中文排版 / 页头 / 页脚 / 基础组件
   ========================================================= */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote,
dl, dd, ol, ul { margin: 0; }

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a { color: inherit; text-decoration: none; }

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

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

/* ---------- 2. 变量 ---------- */
:root {
  /* 色板 */
  --ink-950: #0A1120;
  --ink-800: #121C2E;
  --gray-700: #1E2A3D;
  --gray-600: #33445F;
  --gray-400: #93A5BF;
  --cyan-400: #26E3D5;
  --amber-400: #FFB020;
  --coral-400: #FF6B62;
  --teal-600: #0E7C77;
  --mist: #E9EFF8;
  --panel-light: #F3F7FC;

  /* 线条 */
  --line: rgba(38, 227, 213, 0.18);
  --line-soft: rgba(147, 165, 191, 0.16);

  /* 圆角 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* 尺寸 */
  --shell: 1280px;
  --gutter: 24px;
  --header-h: 62px;

  /* 字体 */
  --font-display: "Oswald", "Barlow Condensed", "HarmonyOS Sans SC",
    "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei",
    system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", "Cascadia Mono",
    Consolas, "Liberation Mono", monospace;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 中文排版与基底 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--mist);
  background-color: var(--ink-950);
  background-image:
    radial-gradient(1100px 560px at 82% -12%, rgba(38, 227, 213, 0.11), transparent 62%),
    radial-gradient(880px 520px at 6% 2%, rgba(255, 176, 32, 0.07), transparent 58%),
    linear-gradient(180deg, #0A1120 0%, #0A1120 46%, #0B1424 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 页面外框：一条贯穿视口的左侧细竖线 */
body::before {
  content: "";
  position: fixed;
  inset: 0 auto 0 0;
  width: 1px;
  z-index: 90;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(38, 227, 213, 0.55) 0%,
    rgba(38, 227, 213, 0.16) 38%,
    rgba(38, 227, 213, 0.04) 72%,
    transparent 100%);
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--mist);
}

h1 { font-size: clamp(38px, 6vw, 72px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: 22px; line-height: 1.32; letter-spacing: -0.01em; }
h4 { font-size: 18px; line-height: 1.4; letter-spacing: 0; }

p { text-wrap: pretty; }

::selection {
  background: rgba(38, 227, 213, 0.32);
  color: #ffffff;
}

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

/* ---------- 4. 布局工具 ---------- */
.container {
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

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

.col-span-4 { grid-column: span 4; }
.col-span-6 { grid-column: span 6; }
.col-span-8 { grid-column: span 8; }
.col-span-12 { grid-column: span 12; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 24px;
}

.section-head__title { max-width: 22ch; }

.section-head__desc {
  max-width: 38ch;
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.8;
}

/* ---------- 5. 通用文字与标签 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-400);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(38, 227, 213, 0.07);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan-400);
  white-space: nowrap;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s var(--ease),
    box-shadow 0.18s ease;
}

.btn--amber {
  background: var(--amber-400);
  color: #1A1204;
  box-shadow: 0 10px 24px -16px rgba(255, 176, 32, 0.95);
}

.btn--amber:hover {
  background: #FFC247;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -14px rgba(255, 176, 32, 0.85);
}

.btn--cyan {
  background: var(--cyan-400);
  color: var(--ink-950);
}

.btn--cyan:hover { background: #55EDE2; }

.btn--ghost {
  border-color: rgba(38, 227, 213, 0.42);
  background: rgba(38, 227, 213, 0.06);
  color: var(--cyan-400);
}

.btn--ghost:hover {
  background: rgba(38, 227, 213, 0.15);
  color: var(--mist);
}

/* ---------- 7. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10, 17, 32, 0.92);
  border-bottom: 1px solid rgba(38, 227, 213, 0.22);
  box-shadow: 0 18px 40px -34px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(38, 227, 213, 0.9) 0%,
    rgba(38, 227, 213, 0.3) 34%,
    rgba(255, 176, 32, 0.28) 68%,
    transparent 100%);
}

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, var(--cyan-400), var(--amber-400));
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  will-change: transform;
}

.header-shell {
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding-block: 11px;
}

.header-bar {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  padding: 2px 0;
}

.brand__mark {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--cyan-400) 0%, var(--teal-600) 78%);
  box-shadow: 0 0 0 1px rgba(38, 227, 213, 0.4),
    0 0 26px -8px rgba(38, 227, 213, 0.85);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 8px 9px;
  border-radius: 3px;
  background: repeating-linear-gradient(
    180deg,
    rgba(10, 17, 32, 0.82) 0 2px,
    rgba(10, 17, 32, 0) 2px 6px
  );
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--mist);
}

.brand__sub {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(147, 165, 191, 0.82);
}

.brand__chip {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(38, 227, 213, 0.35);
  background: rgba(38, 227, 213, 0.07);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--cyan-400);
  white-space: nowrap;
}

/* 主导航 */
.site-nav {
  margin-inline: auto;
  min-width: 0;
}

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

.site-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-400);
  transition: color 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease;
}

.site-nav__link:hover {
  color: var(--mist);
  background: rgba(38, 227, 213, 0.08);
}

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(147, 165, 191, 0.68);
  transition: color 0.18s ease;
}

.site-nav__label { white-space: nowrap; }

.site-nav__link[aria-current="page"] {
  color: var(--cyan-400);
  background: rgba(38, 227, 213, 0.1);
  border-color: rgba(38, 227, 213, 0.34);
}

.site-nav__link[aria-current="page"] .site-nav__index {
  color: var(--amber-400);
}

/* 右侧工具区 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: 4px;
}

.header-cta { padding: 10px 18px; font-size: 14.5px; }

/* 移动端开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(38, 227, 213, 0.36);
  border-radius: 999px;
  background: rgba(38, 227, 213, 0.08);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.nav-toggle:hover { background: rgba(38, 227, 213, 0.16); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-toggle[aria-expanded="true"] {
  border-color: rgba(255, 176, 32, 0.55);
  background: rgba(255, 176, 32, 0.12);
  color: var(--amber-400);
}

/* 跳转链接 */
.skip-link {
  position: absolute;
  top: 6px;
  left: 12px;
  z-index: 320;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cyan-400);
  color: var(--ink-950);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: translateY(-240%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: 4px;
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 72px;
  padding-block: 56px 28px;
  background-color: var(--ink-950);
  background-image:
    radial-gradient(90% 70% at 10% 0%, rgba(38, 227, 213, 0.1), transparent 62%),
    radial-gradient(70% 60% at 96% 8%, rgba(255, 176, 32, 0.06), transparent 60%);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg,
    var(--cyan-400) 0%,
    rgba(38, 227, 213, 0.3) 38%,
    rgba(147, 165, 191, 0.12) 70%,
    transparent 100%);
}

.footer-inner {
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 1.35fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }

.footer-brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--cyan-400) 0%, var(--teal-600) 78%);
  box-shadow: 0 0 0 1px rgba(38, 227, 213, 0.35),
    0 0 28px -10px rgba(38, 227, 213, 0.8);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--mist);
}

.footer-brand__tagline {
  max-width: 24ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--gray-400);
}

.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-400);
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }

.footer-link {
  display: inline-block;
  font-size: 14.5px;
  color: var(--gray-400);
  transition: color 0.18s ease, transform 0.18s var(--ease);
}

.footer-link:hover {
  color: var(--mist);
  transform: translateX(3px);
}

.footer-contact { display: flex; flex-direction: column; gap: 13px; }

.footer-contact__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(147, 165, 191, 0.7);
}

.footer-contact__value {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--mist);
  word-break: break-all;
}

.footer-contact__value--text {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.7;
  word-break: normal;
}

.footer-col--contact { min-width: 0; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--gray-400);
}

.footer-chip {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(38, 227, 213, 0.32);
  background: rgba(38, 227, 213, 0.07);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cyan-400);
}

.footer-note {
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(147, 165, 191, 0.78);
}

.footer-feedback {
  margin-left: 6px;
  color: var(--amber-400);
  border-bottom: 1px solid rgba(255, 176, 32, 0.4);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-feedback:hover {
  color: #FFC247;
  border-bottom-color: #FFC247;
}

/* ---------- 9. 基础组件 ---------- */
.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background-color: var(--ink-800);
  background-image: linear-gradient(160deg, rgba(38, 227, 213, 0.05), transparent 58%);
}

.panel--light {
  background-color: var(--panel-light);
  background-image: none;
  border-color: rgba(30, 42, 61, 0.14);
  color: var(--ink-950);
}

.panel--light h1,
.panel--light h2,
.panel--light h3,
.panel--light h4 { color: var(--ink-950); }

/* 图片容器 */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background-color: var(--ink-800);
  background-image:
    linear-gradient(150deg, rgba(38, 227, 213, 0.16) 0%, transparent 52%),
    repeating-linear-gradient(
      90deg,
      rgba(147, 165, 191, 0.07) 0 1px,
      transparent 1px 64px
    ),
    radial-gradient(120% 100% at 20% 0%, rgba(255, 176, 32, 0.12), transparent 58%);
}

.media-frame > img,
.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-400);
}

/* 折叠组 */
.fold {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--ink-800);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.fold + .fold { margin-top: 12px; }

.fold[open] { border-color: rgba(38, 227, 213, 0.36); }

.fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--mist);
  cursor: pointer;
  list-style: none;
}

.fold > summary::-webkit-details-marker { display: none; }

.fold > summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--cyan-400);
  transition: transform 0.24s var(--ease);
}

.fold[open] > summary::after {
  content: "–";
  transform: rotate(180deg);
}

.fold__body {
  padding: 4px 20px 20px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--gray-400);
  border-top: 1px solid var(--line-soft);
}

/* 面包屑 */
.breadcrumb { margin-bottom: 20px; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(147, 165, 191, 0.72);
}

.breadcrumb__item { display: inline-flex; align-items: center; gap: 6px; }

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(147, 165, 191, 0.4);
}

.breadcrumb__link {
  color: var(--gray-400);
  transition: color 0.18s ease;
}

.breadcrumb__link:hover { color: var(--cyan-400); }

.breadcrumb__item[aria-current="page"] { color: var(--mist); }

/* 正文长文 */
.prose { max-width: 38em; }
.prose p + p { margin-top: 16px; }
.prose h2 { margin-top: 40px; margin-bottom: 12px; }
.prose h3 { margin-top: 28px; margin-bottom: 10px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }
.prose a {
  color: var(--cyan-400);
  border-bottom: 1px solid rgba(38, 227, 213, 0.4);
}

/* 显现 */
[data-reveal] { transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }

html.js [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}

/* ---------- 10. 响应式 ---------- */
@media (max-width: 1200px) {
  .site-nav__index { display: none; }
  .site-nav__link { padding: 9px 11px; font-size: 14.5px; }
  .brand__chip { display: none; }
}

@media (max-width: 1000px) {
  .header-shell { padding-block: 10px; }

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

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 260;
    display: flex;
    flex-direction: column;
    padding: 22px 20px 40px;
    overflow-y: auto;
    background-color: var(--ink-950);
    background-image:
      radial-gradient(120% 80% at 84% 0%, rgba(38, 227, 213, 0.14), transparent 62%),
      radial-gradient(90% 60% at 0% 100%, rgba(255, 176, 32, 0.07), transparent 60%);
    border-top: 1px solid rgba(38, 227, 213, 0.32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease),
      visibility 0.26s;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-nav__link {
    justify-content: flex-start;
    padding: 15px 18px;
    border: 1px solid rgba(147, 165, 191, 0.14);
    border-radius: 14px;
    font-size: 18px;
    color: var(--mist);
    background: rgba(18, 28, 46, 0.6);
  }

  .site-nav__index { display: inline; }

  .site-nav__link[aria-current="page"] {
    border-color: rgba(38, 227, 213, 0.5);
    background: rgba(38, 227, 213, 0.12);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .grid-12 { gap: 16px; }
  .col-span-4, .col-span-6, .col-span-8 { grid-column: span 12; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .header-cta { padding: 9px 14px; font-size: 13.5px; }
  .brand__sub { display: none; }
  .brand__name { font-size: 17px; }
  .brand__mark { width: 32px; height: 32px; border-radius: 9px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .site-footer { margin-top: 56px; padding-block: 44px 24px; }
}

@media (max-width: 480px) {
  .nav-toggle__text { display: none; }
  .nav-toggle { padding: 9px 11px; }
  .brand { gap: 9px; }
  .brand__name { font-size: 16px; }
}

/* ---------- 11. 可访问性与动效降级 ---------- */
@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;
    scroll-behavior: auto !important;
  }

  html.js [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .scroll-meter { transition: none; }
}
