/* ===== 熊猫体育 · 共享站壳样式 /assets/site.css ===== */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --ink: #0B0D0C;
  --panel: #141A18;
  --white: #F5F7F4;
  --paper: #C9D1C6;
  --lime: #B6FF3B;
  --orange: #FF5A1F;
  --red: #E8342A;
  --yellow: #FFD400;
  --blue: #4AD7D1;
  --line: #2A332F;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shell: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 74px;
  --radius: 16px;
  --radius-pill: 999px;
}

html {
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(74, 215, 209, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(74, 215, 209, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (min-width: 1024px) {
  html { background-attachment: fixed; }
}

body {
  margin: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--white);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--lime); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img, svg, video { max-width: 100%; }
ul, ol { padding-left: 1.1em; }

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

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

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

/* ===== 工具类 ===== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.text-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ===== 跳转链接 ===== */
.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  transform: translateY(-200%);
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.18s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ===== 头部 ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 10px var(--gutter) 0;
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--lime), var(--blue) 55%, var(--orange));
  pointer-events: none;
  z-index: 120;
}

.header-shell {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 14px;
  background: rgba(20, 26, 24, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.24s ease, border-color 0.24s ease;
}
.site-header[data-scrolled="true"] .header-shell {
  background: rgba(11, 13, 12, 0.95);
  border-color: rgba(74, 215, 209, 0.3);
}

.brand-island {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding-right: 14px;
  border-right: 1px dashed var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 2px var(--ink);
}
.brand-text { display: block; }
.brand-name {
  display: block;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--blue);
  line-height: 1.4;
}

.status-lamp {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--lime);
  white-space: nowrap;
}
.lamp {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(182, 255, 59, 0.14);
  animation: lamp-pulse 2.4s ease-in-out infinite;
}
@keyframes lamp-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(182, 255, 59, 0.14); }
  50% { opacity: 0.55; box-shadow: 0 0 0 7px rgba(182, 255, 59, 0.06); }
}

.nav-capsule {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}
.nav-list a:hover { color: var(--white); background: rgba(245, 247, 244, 0.07); }
.nav-list a[aria-current="page"] {
  color: var(--ink);
  background: var(--lime);
  font-weight: 800;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

.action-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(245, 247, 244, 0.03);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.action-chip:hover {
  color: var(--lime);
  border-color: rgba(182, 255, 59, 0.55);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(245, 247, 244, 0.03);
  color: var(--white);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px; height: 2px;
  background: var(--lime);
  border-radius: 2px;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px; height: 2px;
  background: var(--lime);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { bottom: -5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

/* ===== 页脚 ===== */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 110px);
  padding: clamp(38px, 6vw, 72px) var(--gutter) 22px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(20, 26, 24, 0.72), rgba(11, 13, 12, 0.98)),
    repeating-linear-gradient(90deg, rgba(74, 215, 209, 0.06) 0 1px, transparent 1px 96px);
}

.footer-grid {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  grid-template-columns: 1fr;
}

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

.footer-wordmark {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.03em;
}
.footer-wordmark span { color: var(--lime); }

.footer-lede {
  margin: 0 0 12px;
  max-width: 40ch;
  color: var(--paper);
  font-size: 14px;
  line-height: 1.7;
}
.footer-note {
  margin: 0 0 18px;
  padding-left: 12px;
  border-left: 2px solid var(--blue);
  color: var(--paper);
  font-size: 13px;
  line-height: 1.7;
  max-width: 42ch;
}
.footer-note--quiet { border-left-color: var(--line); margin-bottom: 0; }

.footer-title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

.footer-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.footer-list a {
  color: var(--paper);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-list a:hover { color: var(--lime); }
.footer-list a[aria-current="page"] { color: var(--lime); font-weight: 700; }

.footer-contact li {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--paper);
  word-break: break-word;
}

.footer-base {
  max-width: var(--shell);
  margin: clamp(28px, 4vw, 46px) auto 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--paper);
}
.footer-copy, .footer-icp { margin: 0; }
.footer-icp { color: var(--paper); }

/* ===== 容器与段落 ===== */
.container {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding: clamp(36px, 6vw, 84px) 0; }
.section--tight { padding: clamp(22px, 4vw, 48px) 0; }

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 36px);
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
}
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin: 0; }
.section-lede {
  margin: 0;
  max-width: 62ch;
  color: var(--paper);
  font-size: 15px;
  line-height: 1.75;
}
.rule-line {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: clamp(24px, 4vw, 44px) 0;
}

/* ===== 网格 ===== */
.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--12 > * { grid-column: span 12; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--panel);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn--primary:hover { background: #c6ff63; border-color: #c6ff63; }
.btn--alert { background: var(--orange); border-color: var(--orange); color: #170703; }
.btn--alert:hover { background: #ff7440; border-color: #ff7440; }
.btn--ghost { background: transparent; border-color: rgba(182, 255, 59, 0.6); color: var(--lime); }
.btn--quiet { background: transparent; border-color: var(--line); color: var(--paper); }
.btn--quiet:hover { color: var(--white); border-color: var(--blue); }

/* ===== 卡片 ===== */
.card {
  position: relative;
  padding: clamp(16px, 2vw, 22px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-2px); border-color: rgba(74, 215, 209, 0.42); }
.card--paper {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
  box-shadow: 6px 6px 0 rgba(74, 215, 209, 0.3), 12px 12px 0 rgba(182, 255, 59, 0.16);
}
.card--paper .card__title { color: var(--ink); }
.card--paper .card__body { color: #2b332f; }
.card--paper .card__meta { color: #4a544f; }
.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.card__title { margin: 0; font-size: 1.05rem; }
.card__body { margin: 0; color: var(--paper); font-size: 14px; line-height: 1.7; }
.card__meta {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--paper);
}

/* ===== 标签 ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(245, 247, 244, 0.03);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--lime { color: var(--lime); border-color: rgba(182, 255, 59, 0.5); background: rgba(182, 255, 59, 0.1); }
.tag--orange { color: var(--orange); border-color: rgba(255, 90, 31, 0.5); background: rgba(255, 90, 31, 0.1); }
.tag--red { color: var(--red); border-color: rgba(232, 52, 42, 0.55); background: rgba(232, 52, 42, 0.12); }
.tag--yellow { color: var(--yellow); border-color: rgba(255, 212, 0, 0.5); background: rgba(255, 212, 0, 0.1); }
.tag--blue { color: var(--blue); border-color: rgba(74, 215, 209, 0.5); background: rgba(74, 215, 209, 0.1); }

/* ===== 数据表与记分牌 ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table caption {
  padding-bottom: 10px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.data-table th,
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.data-table thead th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
  border-bottom: 1px solid rgba(74, 215, 209, 0.35);
}
.data-table tbody tr { transition: background-color 0.18s ease; }
.data-table tbody tr:hover { background: rgba(74, 215, 209, 0.06); }
.data-table .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.data-table td.is-up { color: var(--lime); }
.data-table td.is-down { color: var(--orange); }

.score {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}
.stat { display: grid; gap: 4px; }
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
}
.stat__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--paper);
}

.meter {
  position: relative;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(245, 247, 244, 0.08);
  overflow: hidden;
}
.meter__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  background: var(--lime);
  transition: width 0.4s ease;
}
.meter--orange .meter__fill { background: var(--orange); }
.meter--red .meter__fill { background: var(--red); }
.meter--yellow .meter__fill { background: var(--yellow); }

/* ===== 分段切换 ===== */
.tabs { display: grid; gap: 18px; }
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(20, 26, 24, 0.72);
}
.tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.tab:hover { color: var(--white); background: rgba(245, 247, 244, 0.07); }
.tab[aria-selected="true"] { background: var(--lime); color: var(--ink); }
.tab-panel { padding-top: 4px; }
.tab-panel[hidden] { display: none; }

/* ===== 时间轴 ===== */
.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(182, 255, 59, 0.6), rgba(74, 215, 209, 0.35), transparent);
}
.timeline-item { position: relative; padding-left: 30px; }
.timeline-marker {
  position: absolute;
  left: 0; top: 5px;
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  background: var(--ink);
}
.timeline-item--alert .timeline-marker { border-color: var(--orange); }
.timeline-time {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--blue);
}
.timeline-body { margin: 3px 0 0; color: var(--paper); font-size: 14px; }

/* ===== 面包屑与索引 ===== */
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: var(--line); }
.breadcrumbs a { color: var(--paper); text-decoration: none; }
.breadcrumbs a:hover { color: var(--lime); }
.breadcrumbs [aria-current="page"] { color: var(--lime); }

.coord {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid rgba(74, 215, 209, 0.35);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--blue);
}

.index-list { list-style: none; margin: 0; padding: 0; }
.index-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.index-item__no {
  min-width: 36px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue);
}
.index-item__title { font-weight: 700; color: var(--white); text-decoration: none; }
.index-item__title:hover { color: var(--lime); }

/* ===== 图例 ===== */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 10px 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: rgba(74, 215, 209, 0.04);
  font-size: 12px;
  color: var(--paper);
}
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-swatch {
  width: 12px; height: 12px;
  border-radius: 3px;
  background: var(--lime);
  flex: 0 0 auto;
}
.legend-swatch--red { background: var(--red); }
.legend-swatch--yellow { background: var(--yellow); }
.legend-swatch--orange { background: var(--orange); }
.legend-swatch--blue { background: var(--blue); }
.legend-swatch--lime { background: var(--lime); }
.legend-swatch--paper { background: var(--paper); }

/* ===== 行动带 ===== */
.cta-band {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(182, 255, 59, 0.35);
  border-radius: 20px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(182, 255, 59, 0.14), transparent 55%),
    var(--panel);
}
.cta-band__title { margin: 0; font-size: clamp(1.3rem, 2.6vw, 2rem); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== 媒体容器 ===== */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.media img,
.media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 3 / 4; }
.media__caption {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--paper);
}
.media-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 12px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  background-image:
    linear-gradient(135deg, rgba(74, 215, 209, 0.1) 25%, transparent 25%, transparent 50%, rgba(74, 215, 209, 0.1) 50%, rgba(74, 215, 209, 0.1) 75%, transparent 75%);
  background-size: 16px 16px;
}

/* ===== 显现 ===== */
[data-js="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-js="on"] [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ===== 响应式：平板 ===== */
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-block + .footer-block {
    padding-left: clamp(18px, 3vw, 34px);
    border-left: 1px dashed var(--line);
  }
  .cta-band { grid-template-columns: minmax(0, 1.2fr) auto; align-items: center; }
  .cta-band__actions { justify-content: flex-end; }
}

@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 44ch); align-items: end; }
  .grid--12 > .col-3 { grid-column: span 3; }
  .grid--12 > .col-4 { grid-column: span 4; }
  .grid--12 > .col-5 { grid-column: span 5; }
  .grid--12 > .col-6 { grid-column: span 6; }
  .grid--12 > .col-7 { grid-column: span 7; }
  .grid--12 > .col-8 { grid-column: span 8; }
  .grid--12 > .col-9 { grid-column: span 9; }
}

/* ===== 响应式：移动导航 ===== */
@media (max-width: 1080px) {
  :root { --header-h: 66px; }
  .header-shell { padding: 7px 8px 7px 12px; }
  .brand-island { padding-right: 10px; border-right: 0; }
  .status-lamp { display: none; }
  .brand-sub { display: none; }
  .nav-toggle { display: inline-flex; }
  .action-chip { padding: 7px 11px; font-size: 12px; }
  .nav-capsule {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    display: block;
    padding: 10px;
    background: rgba(20, 26, 24, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }
  .nav-capsule[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list a { padding: 12px 14px; border-radius: 14px; font-size: 15px; }
}

@media (max-width: 420px) {
  .brand-mark { width: 34px; height: 34px; font-size: 11px; }
  .brand-name { font-size: 15px; }
  .action-chip:last-of-type { display: none; }
}

/* ===== 减弱动效 ===== */
@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;
  }
  .lamp { animation: none; }
  [data-js="on"] [data-reveal] { opacity: 1; transform: none; }
}
