/* =============================================================
   site.css — 易倍体育官网 · 主场印记 全站共享样式
   1 设计变量  2 重置与排版  3 头部  4 页脚  5 通用组件  6 动效与响应式
   ============================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  --pitch: #0B231A;
  --pitch-mid: #123B2A;
  --pitch-lift: #1E5A3C;
  --floodlight: #F2882B;
  --orange-soft: #FFB25C;
  --snow: #F4F7F5;
  --dust: #8A7359;
  --volt: #C6F24E;
  --ink: #0A0F0C;
  --alert: #E2543B;
  --line: #D8DED9;

  --text-dark: #14211A;
  --text-light: #F4F7F5;
  --muted-dark: #5A6A60;
  --muted-light: rgba(244, 247, 245, 0.62);

  --header-h: 72px;
  --header-h-compact: 56px;
  --cut: 12px;
  --cut-lg: 20px;
  --page-max: 1360px;
  --gutter: clamp(16px, 3vw, 32px);

  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Arial Narrow", system-ui, sans-serif;
  --font-data: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* ---------- 2. 重置与基础排版 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

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

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

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

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

body {
  font-family: var(--font-body);
  font-size: clamp(16px, 0.5vw + 14.6px, 18px);
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--snow);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

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

.site-header :focus-visible,
.site-footer :focus-visible,
.section--pitch :focus-visible,
.section--mid :focus-visible,
.section--ink :focus-visible { outline-color: var(--volt); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 300;
  padding: 11px 18px;
  background: var(--volt);
  color: var(--ink);
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 88% 100%, 0 100%);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

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

/* ---------- 3. 头部命令栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--pitch);
  color: var(--text-light);
  border-bottom: 1px solid rgba(244, 247, 245, 0.14);
  box-shadow: 0 10px 30px rgba(10, 15, 12, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  width: 100%;
  max-width: var(--page-max);
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: height 0.24s ease;
}

.site-header[data-compact="true"] .header-inner { height: var(--header-h-compact); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  background: var(--floodlight);
  color: var(--ink);
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  clip-path: polygon(0 0, 100% 0, 100% 68%, 86% 100%, 0 100%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--snow);
  transform: skewX(-2deg);
}

.brand-line {
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--orange-soft);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(244, 247, 245, 0.3);
  color: var(--snow);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-left: auto;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.site-nav { margin-left: auto; }

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

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 10px 12px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(244, 247, 245, 0.78);
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav-index {
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--dust);
  transition: color 0.18s ease;
}

.nav-link:hover,
.nav-link:focus-visible { color: var(--snow); }
.nav-link:hover .nav-index { color: var(--orange-soft); }

.nav-link[aria-current="page"] { color: var(--snow); }
.nav-link[aria-current="page"] .nav-index { color: var(--floodlight); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 3px;
  background: var(--floodlight);
}

.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--floodlight);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background 0.2s ease, clip-path 0.2s ease;
}
.header-cta:hover {
  background: var(--orange-soft);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.header-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 2;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--floodlight), var(--orange-soft));
  transition: width 0.12s linear;
}

/* ---------- 4. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--pitch);
  color: rgba(244, 247, 245, 0.82);
  overflow: hidden;
}

.footer-ridge {
  position: relative;
  height: 68px;
  background: var(--pitch);
}

.ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
}
.ridge-1 {
  height: 100%;
  background: var(--pitch-mid);
  clip-path: polygon(0 100%, 0 64%, 12% 44%, 26% 58%, 40% 32%, 55% 52%, 68% 26%, 82% 50%, 100% 32%, 100% 100%);
}
.ridge-2 {
  height: 74%;
  background: var(--pitch-lift);
  clip-path: polygon(0 100%, 0 80%, 10% 64%, 24% 76%, 38% 54%, 52% 72%, 66% 48%, 80% 70%, 100% 56%, 100% 100%);
}
.ridge-3 {
  height: 32%;
  background: linear-gradient(90deg, var(--floodlight), rgba(242, 136, 43, 0));
  opacity: 0.42;
  clip-path: polygon(0 100%, 0 86%, 22% 72%, 46% 88%, 70% 70%, 100% 84%, 100% 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 56px) var(--gutter) clamp(24px, 4vw, 40px);
}

.footer-mark {
  display: inline-block;
  padding: 6px 9px;
  background: var(--floodlight);
  color: var(--ink);
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  clip-path: polygon(0 0, 100% 0, 100% 68%, 86% 100%, 0 100%);
}

.footer-tagline {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--snow);
  transform: skewX(-2deg);
}

.footer-note {
  margin-top: 8px;
  max-width: 24em;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-light);
}

.footer-col-title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(244, 247, 245, 0.16);
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--orange-soft);
}

.footer-item { margin-bottom: 1px; }

.footer-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(244, 247, 245, 0.84);
  transition: color 0.18s ease, padding-left 0.18s ease;
}
.footer-link::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  background: var(--floodlight);
  opacity: 0.65;
  vertical-align: 2px;
}
.footer-link:hover,
.footer-link:focus-visible { color: var(--snow); padding-left: 6px; }
.footer-link:hover::before { opacity: 1; }

.footer-link--muted { color: rgba(244, 247, 245, 0.52); }
.footer-link--muted::before { background: var(--dust); }

.footer-link--strong {
  margin-top: 10px;
  font-weight: 700;
  color: var(--orange-soft);
}
.footer-link--strong::before { height: 2px; width: 16px; background: var(--orange-soft); vertical-align: 4px; }

.footer-batches { margin-bottom: 4px; }

.footer-batch {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(244, 247, 245, 0.14);
}
.footer-batch-name {
  font-size: 15px;
  color: rgba(244, 247, 245, 0.86);
}
.footer-batch-code {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--volt);
}

.footer-meta {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted-light);
}

.footer-contact-item {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(244, 247, 245, 0.12);
  font-size: 14px;
}
.footer-contact-key {
  flex: 0 0 4.2em;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--orange-soft);
  padding-top: 2px;
}
.footer-contact-val {
  flex: 1 1 8em;
  color: rgba(244, 247, 245, 0.86);
  word-break: break-word;
}

.footer-contact-line {
  grid-column: 1 / -1;
  margin-top: clamp(6px, 2vw, 16px);
  padding-top: 16px;
  border-top: 1px solid rgba(244, 247, 245, 0.14);
  font-family: var(--font-data);
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: rgba(244, 247, 245, 0.55);
}

.footer-legal {
  background: var(--ink);
  border-top: 1px solid rgba(242, 136, 43, 0.32);
}

.footer-legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 16px var(--gutter) 20px;
}

.footer-legal-line,
.footer-update {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(244, 247, 245, 0.5);
}
.footer-update span { color: var(--volt); }

/* ---------- 5. 通用组件 ---------- */
.container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 980px; }

.section { padding-block: clamp(44px, 6.5vw, 92px); }
.section--snow { background: var(--snow); color: var(--text-dark); }
.section--mid { background: var(--pitch-mid); color: var(--text-light); }
.section--pitch { background: var(--pitch); color: var(--text-light); }
.section--ink { background: var(--ink); color: var(--text-light); }

.section--mid .muted,
.section--pitch .muted,
.section--ink .muted,
.site-footer .muted { color: var(--muted-light); }

.muted { color: var(--muted-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--floodlight);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.display {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 6.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  transform: skewX(-2deg);
  transform-origin: left bottom;
  text-wrap: balance;
}
.display--md { font-size: clamp(30px, 4.4vw, 64px); }

.section--mid .display,
.section--pitch .display,
.section--ink .display {
  color: var(--snow);
  text-shadow: 2px 2px 0 rgba(242, 136, 43, 0.5);
}

.chapter {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.chapter-head {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 22px);
}

.chapter-num {
  min-width: 2.4em;
  padding-top: 0.5em;
  font-family: var(--font-data);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--dust);
  transition: color 0.2s ease;
}
.chapter[data-current="true"] .chapter-num { color: var(--volt); }

.chapter-title {
  flex: 1 1 12em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 48px);
  line-height: 1.1;
}

.band {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 48px;
  padding-inline: var(--gutter);
  background: repeating-linear-gradient(-45deg, var(--pitch-mid) 0 14px, var(--pitch) 14px 28px);
  border-block: 1px solid rgba(242, 136, 43, 0.3);
  color: var(--text-light);
}
.band--alt {
  background: repeating-linear-gradient(-45deg, rgba(242, 136, 43, 0.92) 0 14px, rgba(242, 136, 43, 0.58) 14px 28px);
  border-block-color: rgba(10, 15, 12, 0.2);
}
.band-text {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--orange-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.band--alt .band-text { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, clip-path 0.2s ease;
}

.btn--primary {
  background: var(--floodlight);
  color: var(--ink);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.btn--primary:hover {
  background: var(--orange-soft);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.btn--ghost {
  background: transparent;
  color: var(--snow);
  border-color: rgba(244, 247, 245, 0.42);
}
.btn--ghost:hover { border-color: var(--volt); color: var(--volt); }

.btn--line {
  background: transparent;
  color: var(--pitch);
  border-color: var(--pitch);
}
.btn--line:hover { background: var(--pitch); color: var(--snow); }

.btn--block { display: flex; width: 100%; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid currentColor;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--pitch);
  background: transparent;
}
.tag--volt {
  background: var(--volt);
  border-color: var(--volt);
  color: var(--ink);
  font-weight: 700;
}
.tag--orange {
  background: var(--floodlight);
  border-color: var(--floodlight);
  color: var(--ink);
  font-weight: 700;
}
.tag--alert { border-color: var(--alert); color: var(--alert); }
.tag--dark {
  background: var(--pitch);
  border-color: var(--pitch);
  color: var(--snow);
}

.cut-panel {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--text-dark);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: clip-path 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}
.cut-panel:hover {
  --cut: var(--cut-lg);
  box-shadow: 0 18px 40px rgba(11, 35, 26, 0.14);
}
.cut-panel--dark {
  background: var(--pitch-mid);
  border-color: rgba(244, 247, 245, 0.16);
  color: var(--text-light);
}
.cut-panel--ink {
  background: var(--ink);
  border-color: rgba(198, 242, 78, 0.28);
  color: var(--text-light);
}

.caption-plate {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding: 12px 16px;
  border-left: 3px solid var(--floodlight);
  background: var(--pitch);
  color: var(--snow);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.7;
}
.caption-plate strong { color: var(--volt); font-weight: 700; }

.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(11, 35, 26, 0.18);
  background:
    linear-gradient(180deg, rgba(11, 35, 26, 0.9), rgba(18, 59, 42, 0.9)),
    repeating-linear-gradient(90deg, rgba(198, 242, 78, 0.1) 0 2px, transparent 2px 44px);
}
.media-frame img,
.media-frame svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(10, 15, 12, 0.16) 0 1px, transparent 1px 4px);
  pointer-events: none;
}
.media-frame[data-label]::before {
  content: attr(data-label);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(10, 15, 12, 0.82), transparent);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange-soft);
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 32px);
}
.grid--asym-right { grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); }
.grid--asym-left { grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.measure { max-width: 34em; line-height: 1.75; }
.measure--wide { max-width: 44em; }

.stack > * + * { margin-top: var(--stack-gap, 16px); }

.data-figure {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--volt);
}
.data-key {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted-light);
}
.section--snow .data-key { color: var(--muted-dark); }

.chapter-index {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  align-self: start;
  padding-top: 12px;
  border-top: 3px solid var(--floodlight);
}
.chapter-index-title {
  margin-bottom: 10px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted-dark);
}
.chapter-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted-dark);
  transition: color 0.2s ease;
}
.chapter-link-num {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dust);
  transition: color 0.2s ease;
}
.chapter-link:hover { color: var(--floodlight); }
.chapter-link[data-current="true"] { color: var(--pitch); font-weight: 700; }
.chapter-link[data-current="true"] .chapter-link-num { color: var(--floodlight); }

.breadcrumb {
  padding-block: 12px;
  background: var(--snow);
  border-bottom: 1px solid var(--line);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-dark);
}
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb-item:not(:last-child)::after {
  content: "/";
  color: var(--dust);
}
.breadcrumb-link {
  color: var(--pitch);
  border-bottom: 1px solid rgba(11, 35, 26, 0.28);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.breadcrumb-link:hover { color: var(--floodlight); border-color: var(--floodlight); }
.breadcrumb-item[aria-current="page"] { color: var(--muted-dark); }

/* ---------- 6. 动效 ---------- */
@keyframes volt-pulse {
  0% { box-shadow: 0 0 0 0 rgba(198, 242, 78, 0.7); }
  100% { box-shadow: 0 0 0 12px rgba(198, 242, 78, 0); }
}
[data-refresh-pulse].is-pulsing { animation: volt-pulse 0.8s ease-out 1; }

/* ---------- 7. 响应式 ---------- */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    margin-left: 0;
    padding: 6px var(--gutter) 18px;
    background: var(--pitch-mid);
    border-bottom: 1px solid rgba(244, 247, 245, 0.16);
    box-shadow: 0 22px 40px rgba(10, 15, 12, 0.35);
    max-height: calc(100vh - var(--header-h) - 16px);
    overflow-y: auto;
  }
  .site-nav[data-open="true"] { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-link {
    width: 100%;
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px dashed rgba(244, 247, 245, 0.16);
  }
  .nav-link[aria-current="page"]::after {
    left: 0;
    right: auto;
    bottom: 8px;
    width: 30px;
  }
}

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

@media (max-width: 900px) {
  .grid--asym-right,
  .grid--asym-left,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .chapter-index { position: static; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; --header-h-compact: 56px; }
  .header-inner { gap: 10px; }
  .brand-name { font-size: 15px; }
  .header-cta { padding: 10px 13px; font-size: 13px; }
  .nav-toggle { padding: 8px 10px; }
  .band { height: 42px; }
  .footer-legal-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .brand-line { display: none; }
  .footer-contact-key { flex-basis: 3.6em; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .cut-panel:hover { --cut: var(--cut); box-shadow: none; }
  .footer-link:hover,
  .footer-link:focus-visible { padding-left: 0; }
  .header-cta:hover { clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
}
