/* ============================================================
   欧亿体育 · 主场坐标
   /assets/site.css —— 共享外壳 + 通用组件
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}

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

ul, ol { padding: 0; }

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

button { font: inherit; color: inherit; }

table { border-collapse: collapse; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  /* 夜场球场绿系 */
  --pitch-night: #06120E;
  --stand-shadow: #0F1E1A;
  --mist-line: #26362F;

  /* 强调色 */
  --fluoro-cyan: #4BF2D2;
  --cyan-deep: #1B9C86;
  --referee-orange: #FF7A2F;

  /* 文字 */
  --scoreboard-white: #F3F8F6;
  --chalk-gray: #A7B8B2;

  /* 板块分区底色 */
  --roster-green: #0C2A21;
  --fixture-slate: #16221F;
  --injury-umber: #211711;
  --changelog-graphite: #101519;

  /* 字体族 */
  --font-display: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-editorial: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  --font-body: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;

  /* 骨架尺寸 */
  --shell-max: 1440px;
  --shell-pad: 24px;
  --header-h: 98px;
  --rail-offset: 116px;

  /* 渐变 */
  --grad-night: linear-gradient(180deg, var(--stand-shadow) 0%, var(--pitch-night) 100%);
  --grad-cyan-soft: linear-gradient(135deg, rgba(75, 242, 210, 0.14) 0%, rgba(27, 156, 134, 0.05) 52%, rgba(6, 18, 14, 0) 100%);
}

/* ---------- 3. 基础排版 ---------- */
body {
  background-color: var(--pitch-night);
  background-image:
    radial-gradient(120% 60% at 15% 0%, rgba(75, 242, 210, 0.05) 0%, rgba(6, 18, 14, 0) 58%),
    radial-gradient(90% 50% at 100% 100%, rgba(27, 156, 134, 0.05) 0%, rgba(6, 18, 14, 0) 60%);
  background-attachment: fixed;
  color: var(--scoreboard-white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: var(--scoreboard-white);
}

h1 { font-size: clamp(30px, 4.4vw, 52px); }
h2 { font-size: clamp(23px, 2.8vw, 34px); }
h3 { font-size: clamp(18px, 1.9vw, 22px); letter-spacing: -0.01em; }
h4 { font-size: 16px; letter-spacing: 0; }

p { max-width: 76ch; }

a { color: var(--fluoro-cyan); text-decoration: none; }
a:hover { color: var(--scoreboard-white); }

::selection { background: var(--fluoro-cyan); color: var(--pitch-night); }

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

/* ---------- 4. 工具类 ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

.container {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 2px;
  background: var(--fluoro-cyan);
  color: var(--pitch-night);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.18s ease;
}
.skip-link:focus {
  transform: translateY(0);
  color: var(--pitch-night);
}

.divider {
  height: 1px;
  border: 0;
  background: var(--mist-line);
  margin: 36px 0;
}
.divider--dashed {
  height: 0;
  border-top: 1px dashed var(--mist-line);
  background: none;
}

/* ---------- 5. 站点头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(6, 18, 14, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mist-line);
}

.site-header__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: 11px var(--shell-pad);
}

.coord-code {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--chalk-gray);
  white-space: nowrap;
}
.coord-code::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fluoro-cyan);
  box-shadow: 0 0 0 3px rgba(75, 242, 210, 0.14);
}

.masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  text-align: center;
  text-decoration: none;
  padding: 2px 10px;
  border-radius: 2px;
}
.masthead__name {
  font-family: var(--font-editorial);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.1;
  color: var(--scoreboard-white);
  text-indent: 0.2em;
}
.masthead__sub {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--chalk-gray);
}
.masthead:hover .masthead__name { color: var(--fluoro-cyan); }

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--mist-line);
  border-radius: 2px;
  overflow: hidden;
}
.lang-switch__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--chalk-gray);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.lang-switch__btn:hover { color: var(--scoreboard-white); }
.lang-switch__btn.is-active {
  background: rgba(75, 242, 210, 0.14);
  color: var(--fluoro-cyan);
}

.header-tools__link {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--chalk-gray);
  text-decoration: none;
  padding: 4px 2px;
  border-bottom: 1px solid transparent;
}
.header-tools__link:hover {
  color: var(--fluoro-cyan);
  border-bottom-color: var(--cyan-deep);
}

.header-tools__cta {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--cyan-deep);
  border-radius: 2px;
  background: rgba(27, 156, 134, 0.10);
  color: var(--fluoro-cyan);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.header-tools__cta:hover {
  background: var(--fluoro-cyan);
  color: var(--pitch-night);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid var(--mist-line);
  border-radius: 2px;
  background: transparent;
  color: var(--scoreboard-white);
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--cyan-deep); color: var(--fluoro-cyan); }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 14px;
}
.nav-toggle__bars i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: width 0.16s ease;
}
.nav-toggle__bars i:nth-child(2) { width: 9px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { width: 14px; }

/* ---------- 6. 坐标轴式主导航 ---------- */
.site-nav {
  position: relative;
  border-top: 1px solid var(--mist-line);
}
.site-nav::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background-image: repeating-linear-gradient(90deg, var(--mist-line) 0 1px, transparent 1px 26px);
  opacity: 0.85;
  pointer-events: none;
}
.site-nav__list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2px;
  list-style: none;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: 0 var(--shell-pad);
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav__list::-webkit-scrollbar { display: none; }
.site-nav__item { flex: 0 0 auto; }
.site-nav__link {
  display: block;
  padding: 12px 17px 13px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--chalk-gray);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.site-nav__link:hover {
  color: var(--scoreboard-white);
  background: rgba(75, 242, 210, 0.05);
}
.site-nav__link[aria-current="page"] {
  color: var(--fluoro-cyan);
  border-bottom-color: var(--fluoro-cyan);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-deep), var(--fluoro-cyan));
  transition: width 0.12s linear;
}

/* ---------- 7. 分屏骨架 ---------- */
.l-split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 48px;
  align-items: start;
}
.l-split__rail {
  position: sticky;
  top: var(--rail-offset);
  align-self: start;
}
.l-split__main { min-width: 0; }

/* ---------- 8. 区块与标题 ---------- */
.section { padding: 72px 0; }
.section--tight { padding: 44px 0; }
.section--ruled { border-top: 1px solid var(--mist-line); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 28px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mist-line);
}
.section__title { margin: 0; }
.section__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--chalk-gray);
  max-width: 48ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fluoro-cyan);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.72;
}

.lede {
  font-family: var(--font-editorial);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.9;
  color: var(--chalk-gray);
  max-width: 62ch;
}

.coord-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border: 1px solid rgba(75, 242, 210, 0.28);
  border-radius: 2px;
  background: rgba(75, 242, 210, 0.06);
  color: var(--fluoro-cyan);
  white-space: nowrap;
}

/* ---------- 9. 面板 / 卡片 ---------- */
.panel {
  position: relative;
  background: var(--stand-shadow);
  border: 1px solid var(--mist-line);
  border-radius: 3px;
  padding: 22px 24px;
}
.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--mist-line);
}
.panel__head h3,
.panel__head h4 { margin: 0; }
.panel--flush { padding: 0; }

/* ---------- 10. 数据表 ---------- */
.data-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--mist-line);
  vertical-align: middle;
}
.data-table thead th {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--chalk-gray);
  background: rgba(38, 54, 47, 0.24);
}
.data-table tbody tr { transition: background-color 0.16s ease; }
.data-table tbody tr:hover { background: rgba(75, 242, 210, 0.045); }
.data-table td.cell-num,
.data-table th.cell-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

/* ---------- 11. 胶囊筛选 ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid var(--mist-line);
  border-radius: 999px;
  background: transparent;
  color: var(--chalk-gray);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.chip:hover {
  color: var(--scoreboard-white);
  border-color: var(--cyan-deep);
}
.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--fluoro-cyan);
  border-color: var(--fluoro-cyan);
  color: var(--pitch-night);
  font-weight: 500;
}

.state-line {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--chalk-gray);
}
.state-line::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--referee-orange);
}
.state-line--ok::before { background: var(--fluoro-cyan); }

/* ---------- 12. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid var(--mist-line);
  border-radius: 2px;
  background: transparent;
  color: var(--scoreboard-white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}
.btn:hover {
  border-color: var(--fluoro-cyan);
  color: var(--fluoro-cyan);
}
.btn--accent {
  background: var(--fluoro-cyan);
  border-color: var(--fluoro-cyan);
  color: var(--pitch-night);
  font-weight: 700;
}
.btn--accent:hover {
  background: var(--cyan-deep);
  border-color: var(--cyan-deep);
  color: var(--scoreboard-white);
}
.btn--ghost {
  border-color: transparent;
  color: var(--chalk-gray);
  padding-inline: 6px;
}
.btn--ghost:hover {
  color: var(--fluoro-cyan);
  border-color: transparent;
}

/* ---------- 13. 面包屑 ---------- */
.breadcrumbs { padding-top: 22px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--chalk-gray);
}
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before {
  content: "/";
  color: var(--mist-line);
}
.crumbs a {
  color: var(--chalk-gray);
  text-decoration: none;
}
.crumbs a:hover { color: var(--fluoro-cyan); }
.crumbs [aria-current="page"] { color: var(--scoreboard-white); }

/* ---------- 14. 图片容器 ---------- */
.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--mist-line);
  border-radius: 3px;
  background-color: var(--stand-shadow);
  background-image:
    radial-gradient(120% 90% at 18% 0%, rgba(75, 242, 210, 0.12) 0%, rgba(6, 18, 14, 0) 62%),
    var(--grad-night);
  aspect-ratio: 16 / 9;
}
.img-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(243, 248, 246, 0.035) 0 1px, transparent 1px 5px);
  pointer-events: none;
}
.img-frame--wide { aspect-ratio: 21 / 9; }
.img-frame--tall { aspect-ratio: 3 / 4; }
.img-frame--square { aspect-ratio: 1 / 1; }
.img-frame__cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--scoreboard-white);
  background: rgba(6, 18, 14, 0.72);
  padding: 4px 9px;
  border-radius: 2px;
}

/* ---------- 15. 显现动效 ---------- */
.reveal { transition: opacity 0.24s ease, transform 0.24s ease; }
html.has-js .reveal {
  opacity: 0;
  transform: translateY(14px);
}
html.has-js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 16. 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mist-line);
  border-radius: 50%;
  background: var(--stand-shadow);
  color: var(--chalk-gray);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s, color 0.16s ease, border-color 0.16s ease;
}
.back-to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  color: var(--fluoro-cyan);
  border-color: var(--cyan-deep);
}

/* ---------- 17. 页脚 ---------- */
.site-footer {
  margin-top: 88px;
  background: var(--pitch-night);
  border-top: 1px solid var(--mist-line);
}
.site-footer__inner {
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: 52px var(--shell-pad) 30px;
}

.site-footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--mist-line);
}
.footer-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
}
.footer-brand__name {
  font-family: var(--font-editorial);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--scoreboard-white);
}
.footer-brand__sub {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--chalk-gray);
}
.footer-brand:hover .footer-brand__name { color: var(--fluoro-cyan); }
.footer-coord {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--chalk-gray);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 30px 0 34px;
}

.footer-col__title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--fluo-cyan, var(--fluoro-cyan));
  text-transform: none;
}
.footer-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col__list a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--chalk-gray);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.footer-col__list a:hover {
  color: var(--fluoro-cyan);
  border-bottom-color: var(--cyan-deep);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 26px;
  padding-top: 20px;
  border-top: 1px solid var(--mist-line);
}
.footer-line {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1.9;
  color: var(--chalk-gray);
  max-width: none;
}
.footer-line--muted { color: #6E827C; }

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1100px) {
  .l-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .l-split__rail {
    position: static;
    top: auto;
  }
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}

@media (max-width: 900px) {
  :root {
    --shell-pad: 16px;
    --header-h: 60px;
    --rail-offset: 76px;
  }

  html { scroll-padding-top: 76px; }

  .site-header__top {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 9px var(--shell-pad);
  }

  .coord-code { font-size: 10px; gap: 7px; }

  .masthead {
    align-items: flex-start;
    text-align: left;
    padding: 0;
  }
  .masthead__name {
    font-size: 16px;
    letter-spacing: 0.12em;
    text-indent: 0.12em;
  }
  .masthead__sub { display: none; }

  .header-tools__link,
  .header-tools__cta { display: none; }

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

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--stand-shadow);
    border-top: 1px solid var(--mist-line);
    border-bottom: 1px solid var(--mist-line);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav[data-open] { display: block; }
  .site-nav::after { display: none; }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
    padding: 6px 0 10px;
    overflow: visible;
  }
  .site-nav__item { flex: 1 1 auto; }
  .site-nav__link {
    padding: 14px 20px;
    border-bottom: 1px solid var(--mist-line);
    border-left: 2px solid transparent;
  }
  .site-nav__link[aria-current="page"] {
    border-bottom-color: var(--mist-line);
    border-left-color: var(--fluoro-cyan);
    background: rgba(75, 242, 210, 0.07);
  }

  .section { padding: 48px 0; }
  .section--tight { padding: 32px 0; }

  .panel { padding: 18px 16px; }

  .back-to-top { right: 14px; bottom: 14px; }

  .site-footer { margin-top: 60px; }
  .site-footer__inner { padding: 40px var(--shell-pad) 24px; }
}

@media (max-width: 560px) {
  body { font-size: 14.5px; }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .site-footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .lang-switch__btn { padding: 5px 8px; }
  .nav-toggle { padding: 6px 9px; }
}

/* ---------- 19. 降低动效 ---------- */
@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.has-js .reveal,
  html.has-js .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .skip-link { transition: none; }
  .back-to-top { transition: none; }
}
