/* ==========================================================================
   亚体育安装 — 共享站点样式 /assets/site.css
   夜间球场指挥台 · 技术蓝图网格 · 悬浮胶囊外壳
   ========================================================================== */

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

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

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

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

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

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

/* ---------- 2. 变量 ---------- */
:root {
  /* 珠宝色 / 球场秩序色 */
  --ink-900: #041F1A;
  --ink-800: #06291F;
  --ink-700: #0B3A31;
  --cyan:    #37F0CE;
  --orange:  #FF8A3D;
  --slate:   #6E8794;
  --mist:    #DCEBE5;
  --bone:    #F7FAF7;
  --wine:    #5A1E35;
  --indigo:  #251B4D;
  --lime:    #C8FF6A;

  /* 线条与表面 */
  --line-soft:   rgba(110, 135, 148, 0.34);
  --line-cyan:   rgba(55, 240, 206, 0.45);
  --surface-1:   rgba(11, 58, 49, 0.92);
  --surface-2:   rgba(6, 41, 31, 0.96);

  /* 形状 */
  --radius: 4px;
  --radius-pill: 999px;
  --shadow-hard: 8px 8px 0 rgba(4, 31, 26, 0.55);
  --shadow-hard-lg: 10px 10px 0 rgba(4, 31, 26, 0.7);

  /* 排版 */
  --font-head: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  /* 骨架 */
  --maxw: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --baseline: 8px;
  --header-h: 92px;
}

/* ---------- 3. 页面基础与中文排版 ---------- */
body {
  padding-top: var(--header-h);
  background-color: var(--ink-900);
  background-image:
    linear-gradient(to right, rgba(55, 240, 206, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(55, 240, 206, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: var(--bone);
}

p { line-height: 1.75; }

strong { font-weight: 900; color: var(--bone); }

a { color: var(--cyan); text-decoration: none; }

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

:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 20px;
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--ink-900);
  color: var(--cyan);
  font-weight: 900;
  font-size: 14px;
  transform: translateY(-180%);
  transition: transform 0.18s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 4. 布局骨架 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
@media (min-width: 960px) {
  .split--aside { grid-template-columns: minmax(0, 1fr) 220px; }
}

/* ---------- 5. 排版工具 ---------- */
.display {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--bone);
  text-wrap: balance;
}

.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.75;
  color: var(--mist);
  max-width: 62ch;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cyan);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--orange);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  padding-bottom: 16px;
  margin-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--line-soft);
}
.section-head__index {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: rgba(55, 240, 206, 0.34);
}
.section-head__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ---------- 6. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--cyan);
  color: var(--ink-900);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 6px 6px 0 rgba(55, 240, 206, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
}
.btn--ghost {
  background: transparent;
  color: var(--cyan);
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(55, 240, 206, 0.1);
  box-shadow: 6px 6px 0 rgba(55, 240, 206, 0.16);
}
.btn--orange {
  border-color: var(--orange);
  background: var(--orange);
  color: #2A1002;
  box-shadow: 6px 6px 0 rgba(255, 138, 61, 0.18);
}

/* ---------- 7. 卡片族 ---------- */
.card {
  position: relative;
  border: 2px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-1), var(--surface-2));
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: var(--shadow-hard);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  border-color: var(--cyan);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard-lg);
}
.card--topline::before {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: -2px;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--cyan);
}
.card--wine {
  background: linear-gradient(160deg, rgba(90, 30, 53, 0.92), rgba(37, 27, 77, 0.94));
  border-color: rgba(247, 250, 247, 0.24);
}
.card--light {
  background: var(--mist);
  border-color: var(--ink-900);
  color: var(--ink-900);
  box-shadow: 8px 8px 0 rgba(4, 31, 26, 0.75);
}
.card--light h2,
.card--light h3,
.card--light h4,
.card--light p,
.card--light li { color: var(--ink-900); }

/* ---------- 8. 标签与数据 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-cyan);
  border-radius: 3px;
  background: rgba(55, 240, 206, 0.08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  white-space: nowrap;
}
.tag--orange {
  border-color: rgba(255, 138, 61, 0.5);
  background: rgba(255, 138, 61, 0.1);
  color: var(--orange);
}
.tag--lime {
  border-color: rgba(200, 255, 106, 0.45);
  background: rgba(200, 255, 106, 0.08);
  color: var(--lime);
}
.tag--slate {
  border-color: var(--line-soft);
  background: rgba(110, 135, 148, 0.12);
  color: var(--slate);
}

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

/* ---------- 9. 筛选条（主题筛选） ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  background: rgba(4, 31, 26, 0.62);
}
.filter-chip {
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--mist);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.filter-chip:hover {
  border-color: var(--line-cyan);
  color: var(--bone);
}
.filter-chip[aria-pressed="true"] {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink-900);
}
[data-filter-item].is-hidden { display: none !important; }

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  margin-bottom: clamp(20px, 3vw, 32px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate);
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: rgba(110, 135, 148, 0.6);
}
.breadcrumb a {
  color: var(--mist);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.breadcrumb a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}
.breadcrumb [aria-current="page"] { color: var(--cyan); }

/* ---------- 11. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--line-soft);
  border-radius: var(--radius);
  background-color: var(--ink-800);
  background-image:
    repeating-linear-gradient(45deg, rgba(55, 240, 206, 0.06) 0 2px, transparent 2px 10px),
    linear-gradient(135deg, var(--ink-700), var(--ink-900));
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(55, 240, 206, 0.1) 0 1px, transparent 1px 32px);
  opacity: 0.6;
}
.media-frame img,
.media-frame picture > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

/* ==========================================================================
   12. 悬浮胶囊头部
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 90;
  padding: 16px var(--gutter);
  pointer-events: none;
  transition: padding 0.24s ease;
}
.site-header.is-condensed { padding-top: 9px; }

.header-rail {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--maxw);
  margin-inline: auto;
}

/* --- 品牌胶囊 --- */
.brand-capsule,
.nav-capsule,
.nav-toggle { pointer-events: auto; }

.brand-capsule {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 14px;
  border: 2px solid var(--cyan);
  border-radius: var(--radius-pill);
  background: var(--surface-1);
  color: var(--bone);
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(4, 31, 26, 0.75);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, padding 0.24s ease;
}
.brand-capsule:hover {
  border-color: var(--orange);
  box-shadow: 6px 6px 0 rgba(4, 31, 26, 0.85);
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 2px solid var(--cyan);
  border-radius: 7px;
  background: rgba(4, 31, 26, 0.8);
  transition: transform 0.24s ease;
}
.brand-mark-core {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(55, 240, 206, 0.9);
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--orange);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  min-width: 0;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--bone);
  white-space: nowrap;
}
.brand-line {
  overflow: hidden;
  max-height: 18px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--slate);
  white-space: nowrap;
  transition: opacity 0.2s ease, max-height 0.24s ease;
}

.is-condensed .brand-line { opacity: 0; max-height: 0; }
.is-condensed .brand-capsule { padding-block: 7px; }
.is-condensed .brand-mark { transform: scale(0.9); }

/* --- 栏目胶囊 --- */
.nav-capsule {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 8px;
  border: 2px solid var(--line-soft);
  border-radius: var(--radius-pill);
  background: var(--surface-1);
  box-shadow: 4px 4px 0 rgba(4, 31, 26, 0.7);
  transition: border-color 0.18s ease;
}
.nav-capsule:hover { border-color: rgba(55, 240, 206, 0.5); }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--mist);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-link:hover {
  color: var(--bone);
  background: rgba(55, 240, 206, 0.12);
}
.nav-link[aria-current="page"] {
  background: var(--cyan);
  color: var(--ink-900);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: #2A1002;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: inset 0 0 0 2px rgba(4, 31, 26, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  background: #FF9E58;
  box-shadow: inset 0 0 0 2px var(--cyan);
}

/* --- 移动端开关 --- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 2px solid var(--cyan);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--bone);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.04em;
  box-shadow: 4px 4px 0 rgba(4, 31, 26, 0.7);
}
.nav-toggle-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}
.nav-toggle-icon span,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-icon::before { top: 0; }
.nav-toggle-icon span { top: 5px; display: block; }
.nav-toggle-icon::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: translateY(-5px) rotate(-45deg); }

/* ==========================================================================
   13. 页脚
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  overflow: hidden;
  border-top: 2px solid var(--cyan);
  background:
    radial-gradient(90% 130% at 6% 0%, rgba(90, 30, 53, 0.55) 0%, rgba(90, 30, 53, 0) 62%),
    radial-gradient(70% 110% at 96% 8%, rgba(37, 27, 77, 0.9) 0%, rgba(37, 27, 77, 0) 64%),
    linear-gradient(180deg, var(--ink-700) 0%, var(--ink-900) 100%);
  color: var(--bone);
}

.footer-grid-lines {
  height: 26px;
  border-bottom: 1px solid rgba(110, 135, 148, 0.28);
  background-image: repeating-linear-gradient(90deg, rgba(55, 240, 206, 0.3) 0 1px, transparent 1px 64px);
  opacity: 0.7;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(28px, 4vw, 44px);
}

.footer-mark {
  padding-left: 14px;
  border-left: 6px solid var(--orange);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--bone);
}
.footer-tagline {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}
.footer-coord {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--slate);
}

.footer-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 9px 16px;
  border: 2px solid rgba(110, 135, 148, 0.5);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--mist);
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.footer-top:hover {
  border-color: var(--cyan);
  background: rgba(55, 240, 206, 0.08);
  color: var(--cyan);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.footer-col-title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-links li + li { margin-top: 10px; }
.footer-links a {
  position: relative;
  display: inline-block;
  padding-block: 2px;
  font-size: 14.5px;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.22s ease;
}
.footer-links a:hover { color: var(--bone); }
.footer-links a:hover::after { width: 100%; }

.footer-links--plain li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
  word-break: break-word;
}

.footer-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 2px solid var(--slate);
  background: rgba(4, 31, 26, 0.45);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--slate);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 18px var(--gutter) 28px;
  border-top: 1px solid rgba(110, 135, 148, 0.3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

/* ==========================================================================
   14. 响应式
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-link { padding: 8px 11px; font-size: 13.5px; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
}

@media (max-width: 960px) {
  :root { --header-h: 80px; }

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

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

  .nav-capsule {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border-radius: 18px;
    background: var(--surface-2);
    box-shadow: 8px 8px 0 rgba(4, 31, 26, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease, border-color 0.18s ease;
  }
  .nav-capsule[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    border-color: var(--cyan);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-link {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
  }
  .nav-cta {
    justify-content: center;
    margin-left: 0;
    margin-top: 6px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .brand-line { display: none; }
  .brand-capsule { padding: 8px 16px 8px 10px; }
  .brand-name { font-size: 16px; }

  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .section-head__index { font-size: clamp(34px, 11vw, 56px); }
  .btn { width: 100%; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --header-h: 74px; }
  body { font-size: 15.5px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-tagline { max-width: none; }
  .filter-bar { width: 100%; border-radius: 14px; }
  .filter-chip { flex: 1 1 auto; text-align: center; }
}

/* ==========================================================================
   15. 动效偏好
   ========================================================================== */
@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;
  }
}
