/* =========================================================
   乐鱼赛场 · 共享样式表 /assets/site.css
   深夜赛场直播间：深海蓝底 / 电光青结构 / 珊瑚橙高亮
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  background-color: #050D16;
}

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

ul, ol { 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; text-decoration: none; }

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

[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --deep-950: #050D16;
  --deep-900: #071A2F;
  --deep-800: #0E2A47;

  --cyan: #22D3EE;
  --cyan-soft: #7DE9F7;
  --coral: #FF6B4A;
  --coral-soft: #FFB38A;
  --violet: #7C6CFF;
  --slate: #8FA3B8;
  --paper: #EAF2F8;

  --line: rgba(125, 233, 247, 0.16);
  --line-strong: rgba(125, 233, 247, 0.34);
  --line-soft: rgba(125, 233, 247, 0.08);

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 34px;
  --r-pill: 999px;

  --shell: 1220px;
  --header-h: clamp(88px, 9vw, 110px);

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "Roboto Mono", "SFMono-Regular", Menlo, Consolas,
    "Courier New", monospace;

  --shadow-card: 0 30px 60px -42px rgba(34, 211, 238, 0.7);
  --shadow-shell: 0 22px 52px -30px rgba(0, 0, 0, 0.92);

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

/* ---------- 3. 基础排版 ---------- */
html { scroll-behavior: smooth; }

body {
  position: relative;
  min-height: 100vh;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

/* 看台光斑 / 球场氛围层 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--deep-900);
  background-image:
    radial-gradient(58% 44% at 82% -10%, rgba(34, 211, 238, 0.17), transparent 68%),
    radial-gradient(46% 38% at 4% 8%, rgba(124, 108, 255, 0.13), transparent 70%),
    radial-gradient(52% 40% at 96% 88%, rgba(255, 107, 74, 0.10), transparent 70%),
    linear-gradient(180deg, #071A2F 0%, #06182B 46%, #050D16 100%);
}

::selection {
  background: rgba(34, 211, 238, 0.35);
  color: var(--paper);
}

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

main {
  display: block;
  padding-top: var(--header-h);
  min-height: 60vh;
}

section[id],
h2[id],
h3[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

p { color: var(--slate); }
p strong, p b { color: var(--paper); font-weight: 600; }

h1, h2, h3, h4 { color: var(--paper); line-height: 1.2; }

/* ---------- 4. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(18px, 3vw, 32px);
}

.section {
  padding-block: clamp(46px, 6.5vw, 96px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
  margin-bottom: clamp(22px, 3vw, 42px);
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line-strong), rgba(125, 233, 247, 0));
}

/* ---------- 5. 字体角色 ---------- */
.display-xl {
  font-size: clamp(46px, 9.2vw, 132px);
  font-weight: 100;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.display-lg {
  font-size: clamp(32px, 4.6vw, 68px);
  font-weight: 200;
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--paper);
}

.title-md {
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

.index-label {
  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);
}

.index-label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

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

/* ---------- 6. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: var(--deep-950);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- 7. 头部 · 悬浮胶囊导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: clamp(10px, 1.4vw, 16px) clamp(10px, 3vw, 30px) 0;
  transition: padding 0.3s var(--ease);
}

.site-header[data-scrolled="true"] {
  padding-top: clamp(6px, 1vw, 10px);
}

.nav-shell {
  position: relative;
  max-width: 1340px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 18px);
  padding: 9px 12px 9px 16px;
  border-radius: var(--r-pill);
  background: rgba(7, 26, 47, 0.74);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-shell);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    padding 0.3s var(--ease);
}

.site-header[data-scrolled="true"] .nav-shell {
  padding: 6px 10px 6px 14px;
  background: rgba(5, 13, 22, 0.92);
  border-color: var(--line-strong);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  border-radius: var(--r-pill);
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 32% 26%, var(--cyan-soft), var(--cyan) 42%, #0B3F57 100%);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.22), 0 0 22px -4px rgba(34, 211, 238, 0.75);
}

.brand-mark span {
  position: absolute;
  width: 11px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--deep-950);
}

.brand-mark span:nth-child(1) { transform: translateY(-4px) rotate(-18deg); }
.brand-mark span:nth-child(2) { transform: translateY(4px) rotate(18deg); }

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

.brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--slate);
}

/* 赛季标签 */
.season-chip {
  flex: none;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan-soft);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.3);
}

/* 导航胶囊 */
.nav-pills {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-wrap: nowrap;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: #C3D3E1;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--paper);
  background: rgba(125, 233, 247, 0.1);
}

.nav-link[aria-current="page"] {
  color: var(--deep-950);
  font-weight: 600;
  background: linear-gradient(120deg, var(--cyan-soft), var(--cyan));
}

.nav-link:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

/* 移动端面板底部附加区 */
.nav-foot {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* 桌面操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.utility-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: var(--slate);
  padding: 8px 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.utility-link:hover {
  color: var(--cyan-soft);
  border-bottom-color: var(--cyan);
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  flex: none;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  background: rgba(125, 233, 247, 0.1);
  border: 1px solid var(--line-strong);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.nav-toggle:hover { background: rgba(125, 233, 247, 0.18); }

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

.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan-soft);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

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

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

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-soft) 55%, var(--coral));
  opacity: 0.9;
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 132px);
  padding-top: clamp(46px, 6.5vw, 88px);
  border-top: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(120% 92% at 86% 0%, rgba(34, 211, 238, 0.14), transparent 58%),
    radial-gradient(92% 80% at 6% 100%, rgba(255, 107, 74, 0.1), transparent 62%),
    linear-gradient(180deg, rgba(5, 13, 22, 0) 0%, rgba(5, 13, 22, 0.86) 24%, var(--deep-950) 62%);
}

.site-footer::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -70%;
  height: 360px;
  pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, rgba(34, 211, 238, 0.12), transparent 72%);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(22px, 3.4vw, 56px);
  padding-bottom: clamp(34px, 4.6vw, 60px);
}

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

.footer-brand-name {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 200;
  letter-spacing: 0.07em;
  color: var(--paper);
}

.footer-tagline {
  margin-top: 12px;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
}

.footer-index {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.footer-col-title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cyan-soft);
}

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

.footer-links a {
  display: inline-block;
  font-size: 15px;
  color: #B7C7D8;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--paper);
  transform: translateX(4px);
}

.footer-contact {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--slate);
  word-break: break-all;
}

.footer-contact-line {
  position: relative;
  z-index: 1;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--slate);
  word-break: break-word;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding-block: 20px 28px;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #6F8299;
}

/* ---------- 9. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
    color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-primary {
  background: linear-gradient(120deg, var(--coral), #FF8A5C);
  color: #2A0C03;
  box-shadow: 0 10px 26px -14px rgba(255, 107, 74, 0.9);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -16px rgba(255, 107, 74, 0.95);
}

.btn-ghost {
  background: rgba(34, 211, 238, 0.06);
  border-color: rgba(125, 233, 247, 0.4);
  color: var(--cyan-soft);
}

.btn-ghost:hover {
  background: rgba(34, 211, 238, 0.14);
  color: var(--paper);
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--cyan);
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 10. 面包屑 / 标签 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--slate);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb li + li::before {
  content: "/";
  color: #33506B;
}

.breadcrumb a:hover { color: var(--cyan-soft); }

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

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  background: rgba(125, 233, 247, 0.12);
  border: 1px solid rgba(125, 233, 247, 0.24);
  color: var(--cyan-soft);
}

.tag-coral {
  background: rgba(255, 107, 74, 0.14);
  border-color: rgba(255, 107, 74, 0.3);
  color: var(--coral-soft);
}

.tag-violet {
  background: rgba(124, 108, 255, 0.16);
  border-color: rgba(124, 108, 255, 0.3);
  color: #B9B2FF;
}

/* ---------- 11. 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(14, 42, 71, 0.95), rgba(7, 26, 47, 0.92));
  overflow: hidden;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.42);
  box-shadow: var(--shadow-card);
}

.card > * + * { margin-top: 12px; }

/* ---------- 12. 媒体容器（页面阶段放置图片） ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(14, 42, 71, 0.92), rgba(5, 13, 22, 0.96)),
    var(--deep-800);
}

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 13, 22, 0) 42%, rgba(5, 13, 22, 0.84) 100%);
}

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

.media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(14px, 2vw, 22px);
  font-size: 14px;
  color: var(--paper);
}

/* ---------- 13. 数据条 ---------- */
.stat-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(125, 233, 247, 0.14);
  overflow: hidden;
}

.stat-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-soft));
}

.stat-bar--coral span {
  background: linear-gradient(90deg, var(--coral), var(--coral-soft));
}

.stat-bar--violet span {
  background: linear-gradient(90deg, var(--violet), #A79CFF);
}

/* ---------- 14. 时间轴 ---------- */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(125, 233, 247, 0.5), rgba(125, 233, 247, 0.06));
}

.timeline-item {
  position: relative;
  padding-block: 14px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 22px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--deep-900);
  border: 2px solid var(--cyan);
  transition: background-color 0.32s var(--ease), border-color 0.32s var(--ease),
    box-shadow 0.32s var(--ease);
}

.timeline-item[data-visible="true"]::before {
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: 0 0 16px rgba(255, 107, 74, 0.7);
}

/* ---------- 15. 折叠面板 ---------- */
.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 42px 20px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--paper);
  transition: color 0.2s var(--ease);
}

.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--cyan-soft); }

.accordion summary::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.22s var(--ease);
}

.accordion details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.accordion-body {
  padding: 0 4px 22px;
  max-width: 74ch;
  color: var(--slate);
}

.accordion-body > * + * { margin-top: 12px; }

/* ---------- 16. 筛选按钮 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: rgba(14, 42, 71, 0.8);
  border: 1px solid rgba(125, 233, 247, 0.2);
  color: #B7C7D8;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.filter-btn:hover {
  border-color: rgba(34, 211, 238, 0.5);
  color: var(--paper);
}

.filter-btn[aria-pressed="true"] {
  background: linear-gradient(120deg, var(--cyan-soft), var(--cyan));
  border-color: transparent;
  color: var(--deep-950);
  font-weight: 600;
}

/* ---------- 17. 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(208px, 1fr)); }

/* ---------- 18. 入场渐显 ---------- */
html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.34s var(--ease), transform 0.34s var(--ease);
}

html.reveal-ready [data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

/* ---------- 19. 响应式 ---------- */
@media (max-width: 1080px) {
  .season-chip { display: none; }
  .header-actions .utility-link { display: none; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }

  .header-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-shell {
    justify-content: space-between;
    border-radius: 26px;
  }

  .nav-pills {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 26px;
    background: rgba(5, 13, 22, 0.97);
    border: 1px solid rgba(125, 233, 247, 0.22);
    box-shadow: 0 30px 64px -32px #000;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
      visibility 0.22s linear;
  }

  .site-header[data-open="true"] .nav-pills {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    padding: 13px 16px;
    border-radius: 18px;
    font-size: 15px;
  }

  .nav-foot { display: flex; }
  .nav-foot .btn,
  .nav-foot .utility-link { width: 100%; text-align: center; }
  .nav-foot .utility-link { border-bottom: 0; padding: 6px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .brand-sub { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .display-xl { font-size: clamp(40px, 13vw, 64px); }
  .timeline { padding-left: 24px; }
  .timeline-item::before { left: -21px; }
}

/* ---------- 20. 降低动效 ---------- */
@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.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .card:hover { transform: none; }
  .btn-primary:hover { transform: none; }
  .footer-links a:hover { transform: none; }
}
