/* ============================================================
   日搏体育 · 全站共享样式  /assets/site.css
   夜间赛场数据台：深空底色 + 荧光青(客场) / 电光橙(主场)
   ============================================================ */

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

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

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

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

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

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

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

table { border-collapse: collapse; }

/* ---------- 2. 设计变量 ---------- */
:root {
  color-scheme: dark;

  /* 色彩体系 */
  --void: #05070D;
  --panel: #0B1220;
  --panel-2: #141C2E;
  --text: #F2F6FF;
  --dim: #8FA3C0;
  --cyan: #00F0D0;
  --cyan-deep: #00A38C;
  --cyan-dark: #0C2A28;
  --orange: #FF7A1A;
  --orange-dark: #3A230C;
  --alert: #E23B3B;
  --line: #1F2A44;

  /* 字体栈 */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC",
               "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular",
               Consolas, "Courier New", monospace;

  /* 间距节奏 4/8/12/20/32/48/72 */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 20px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 72px;

  /* 圆角 */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* 尺寸 */
  --shell: 1280px;
  --header-h: 66px;

  /* 效果 */
  --glow-cyan: 0 0 0 1px rgba(0, 240, 208, .45), 0 0 32px rgba(0, 240, 208, .16);
  --shadow-card: 0 14px 38px rgba(0, 0, 0, .46);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--void);
  background-image:
    radial-gradient(880px 520px at 88% -10%, rgba(0, 240, 208, .10), transparent 62%),
    radial-gradient(760px 480px at -8% 4%, rgba(255, 122, 26, .08), transparent 64%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-weight: 300; line-height: 1.2; }
h1 { font-size: clamp(34px, 6vw, 72px); letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.6vw, 44px); letter-spacing: -.015em; }
h3 { font-size: clamp(19px, 2.2vw, 26px); font-weight: 500; letter-spacing: -.005em; }
h4 { font-size: 18px; font-weight: 600; }

strong, b { font-weight: 700; }

::selection { background: var(--cyan); color: var(--void); }

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

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

/* ---------- 4. 排版工具 ---------- */
.display {
  font-weight: 300;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -.02em;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--cyan);
  flex: 0 0 auto;
}

.section-title {
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -.015em;
}

.lede {
  color: var(--dim);
  font-size: 17px;
  line-height: 1.8;
  max-width: 62ch;
}

.data {
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.data--md { font-size: clamp(22px, 3vw, 34px); }
.data--lg { font-size: clamp(32px, 5vw, 58px); }
.data--xl { font-size: clamp(48px, 9vw, 120px); }

.text-dim { color: var(--dim); }
.text-cyan { color: var(--cyan); }
.text-orange { color: var(--orange); }

/* ---------- 5. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 880px; }

.section { padding: var(--sp-6) 0; }
.section--tight { padding: var(--sp-5) 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--sp-4);
}
.grid-12 > * { min-width: 0; }

.rule-scale {
  height: 12px;
  border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 14px);
  background-size: 14px 6px;
  background-position: bottom left;
  background-repeat: repeat-x;
}

/* ---------- 6. 跳过链接 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: var(--void);
  font-size: 14px;
  font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ---------- 7. 页头：紧凑命令栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 13, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .3s var(--ease);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  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(--cyan), var(--cyan-deep) 52%, var(--orange));
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 12px 24px;
  transition: padding .28s var(--ease), min-height .28s var(--ease);
}

.site-header.is-scrolled .header-shell { padding-top: 7px; padding-bottom: 7px; min-height: 54px; }

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--cyan), var(--cyan-deep));
  box-shadow: 0 0 22px rgba(0, 240, 208, .3);
  flex: 0 0 auto;
}
.brand-mark::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid var(--void);
  border-radius: 50%;
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  margin-left: -1px;
  background: var(--void);
  opacity: .55;
  border-radius: 2px;
}

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

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  color: var(--text);
}

.brand-status {
  display: flex;
  align-items: center;
  gap: 6px;
  max-height: 20px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--dim);
  transition: opacity .26s var(--ease), max-height .26s var(--ease);
}
.site-header.is-scrolled .brand-status { opacity: 0; max-height: 0; }
.site-header.is-scrolled:hover .brand-status { opacity: 1; max-height: 20px; }

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 208, .16);
  animation: dot-pulse 2s var(--ease) infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0, 240, 208, .16); }
  50% { box-shadow: 0 0 0 6px rgba(0, 240, 208, .04); }
}

/* 导航 */
.primary-nav { margin-left: auto; min-width: 0; }

.nav-index {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  color: var(--dim);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-link:hover { color: var(--text); background: var(--panel-2); }

.nav-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--dim);
  opacity: .7;
}

.nav-link[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}
.nav-link[aria-current="page"] .nav-num { color: var(--cyan); opacity: 1; }
.nav-link[aria-current="page"] .nav-label::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 7px;
  border-radius: 50%;
  background: var(--cyan);
  vertical-align: middle;
  box-shadow: 0 0 8px var(--cyan);
}

/* 命令栏右侧动作 */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: 0 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pill--solid {
  background: var(--orange);
  color: var(--void);
  box-shadow: 0 8px 22px rgba(255, 122, 26, .24);
}
.pill--solid:hover { background: #FF9145; transform: translateY(-1px); }
.pill--ghost {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
}
.pill--ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-1px); }

/* 移动端开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--panel);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  margin-left: auto;
}
.nav-toggle-bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle-bars i {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform .26s var(--ease), opacity .2s var(--ease);
}
[data-nav-toggle][aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
[data-nav-toggle][aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
[data-nav-toggle][aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: var(--sp-7);
  background: var(--void);
  border-top: 1px solid var(--line);
  color: var(--dim);
}

.footer-beam {
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-deep) 48%, var(--orange) 100%);
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

.footer-shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: var(--sp-6) 24px var(--sp-5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .9fr 1.5fr .9fr;
  gap: var(--sp-5) var(--sp-5);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--line);
}

.footer-block { min-width: 0; }

.footer-brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--text);
  line-height: 1.3;
}

.footer-tagline {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-note {
  margin-top: var(--sp-3);
  font-size: 14px;
  line-height: 1.75;
  color: var(--dim);
  max-width: 36ch;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: var(--sp-4);
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--dim);
}
.legend-swatch { width: 12px; height: 12px; border-radius: 4px; flex: 0 0 auto; }
.legend-swatch--home { background: var(--orange); box-shadow: 0 0 12px rgba(255, 122, 26, .5); }
.legend-swatch--away { background: var(--cyan); box-shadow: 0 0 12px rgba(0, 240, 208, .5); }

.footer-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 10px;
  margin-bottom: var(--sp-3);
  border-bottom: 1px solid var(--line);
}

.footer-links { display: grid; gap: 2px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 15px;
  color: var(--dim);
  transition: color .2s var(--ease);
}
.footer-links a::before {
  content: "";
  width: 6px;
  height: 1px;
  background: var(--line);
  flex: 0 0 auto;
  transition: width .2s var(--ease), background .2s var(--ease);
}
.footer-links a:hover { color: var(--cyan); }
.footer-links a:hover::before { width: 14px; background: var(--cyan); }

.footer-contact { display: grid; gap: var(--sp-3); font-size: 14px; line-height: 1.7; color: var(--text); }
.footer-contact li { display: grid; gap: 3px; }

.footer-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}

.footer-icp {
  margin-top: var(--sp-4);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--dim);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  font-size: 13px;
  color: var(--dim);
}
.footer-bottom p { max-width: 46ch; }

/* ---------- 9. 通用按钮与标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--primary { background: var(--orange); color: var(--void); }
.btn--primary:hover { background: #FF9145; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255, 122, 26, .3); }
.btn--cyan { background: var(--cyan); color: var(--void); }
.btn--cyan:hover { background: #4BFFE4; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 240, 208, .26); }
.btn--ghost { background: var(--panel); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.tag--home { background: var(--orange-dark); border-color: rgba(255, 122, 26, .42); color: var(--orange); }
.tag--away { background: var(--cyan-dark); border-color: rgba(0, 240, 208, .42); color: var(--cyan); }
.tag--live { border-color: rgba(226, 59, 59, .48); color: var(--alert); }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 17px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--panel);
  color: var(--dim);
  font-size: 14px;
  font-weight: 500;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.chip:hover { color: var(--text); border-color: rgba(0, 240, 208, .45); }
.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--void);
  font-weight: 700;
}

/* ---------- 10. 内容块 ---------- */
.card {
  position: relative;
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 240, 208, .45);
  box-shadow: var(--shadow-card);
}
.card--raised {
  z-index: 2;
  background: var(--panel-2);
  border-color: rgba(0, 240, 208, .45);
  box-shadow: var(--glow-cyan);
}
.card--slash {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(152deg, var(--panel) 0%, #0E1730 54%, #0A1B22 100%);
  aspect-ratio: 16 / 9;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 240, 208, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 208, .07) 1px, transparent 1px);
  background-size: 44px 44px;
}
.media-frame img,
.media-frame > picture > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--wide { aspect-ratio: 21 / 9; }

.breadcrumb { padding-top: var(--sp-4); }
.breadcrumb ol,
.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--dim);
}
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---------- 11. 数据表 ---------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--panel);
}
.data-table { width: 100%; min-width: 560px; font-size: 14px; }
.data-table th {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: left;
  color: var(--dim);
  white-space: nowrap;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: var(--panel-2); }
.data-table tbody tr.row--home td { background: rgba(58, 35, 12, .4); }
.data-table tbody tr.row--away td { background: rgba(12, 42, 40, .4); }

/* ---------- 12. 显现动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1180px) {
  .nav-link { padding: 8px 10px; font-size: 13.5px; }
  .header-shell { gap: var(--sp-3); }
}

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

@media (max-width: 980px) {
  .header-shell {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
  }
  .site-header.is-scrolled .header-shell { padding-top: 10px; padding-bottom: 10px; min-height: 0; }

  .brand { order: 1; }
  .nav-toggle { order: 2; display: inline-flex; }
  .header-actions { order: 3; flex: 1 1 100%; margin-left: 0; }

  .header-actions .pill { flex: 1 1 0; padding: 11px 14px; }

  .primary-nav {
    order: 4;
    flex: 1 1 100%;
    margin-left: 0;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height .34s var(--ease), opacity .24s var(--ease), visibility .34s var(--ease);
  }
  .primary-nav[data-open] {
    max-height: min(70vh, 540px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .nav-index { flex-direction: column; align-items: stretch; gap: 6px; }
  .nav-link {
    justify-content: flex-start;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--panel);
    font-size: 15px;
  }
  .nav-link[aria-current="page"] { background: var(--panel-2); box-shadow: none; }

  .section { padding: var(--sp-5) 0; }
  .container { padding: 0 18px; }
  .footer-shell { padding: var(--sp-5) 18px var(--sp-4); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .footer-bottom { flex-direction: column; }
  .brand-name { font-size: 16px; }
  .site-footer { margin-top: var(--sp-6); }
}

/* ---------- 14. 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .primary-nav { transition: none; }
}
