/* ============================================================
   亿博赛场 · 共享样式 /assets/site.css
   夜场数据指挥室：深墨绿 + 荧光青 + 琥珀橙
   ============================================================ */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --ink: #04120E;
  --panel: #0A211A;
  --line: #174A3B;
  --cyan: #39F5D0;
  --cyan-soft: #A8FFF0;
  --amber: #FFA62B;
  --amber-soft: #FFD8A1;
  --slate: #8FA7B5;
  --paper: #EEF7F3;
  --text: #E9F5F0;
  --text-dim: #C9DCD5;
  --danger: #FF5F56;

  --font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1240px;
  --edge: clamp(16px, 4vw, 44px);
  --radius: 14px;
  --radius-pill: 999px;
  --border: 1px solid var(--line);
  --shadow-hard: 5px 5px 0 rgba(23, 74, 59, 0.85);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text);
  background-color: var(--ink);
  background-image:
    radial-gradient(920px 540px at 84% -10%, rgba(57, 245, 208, 0.13), transparent 62%),
    radial-gradient(720px 480px at 4% 10%, rgba(255, 166, 43, 0.08), transparent 60%),
    repeating-linear-gradient(90deg, rgba(23, 74, 59, 0.26) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(23, 74, 59, 0.16) 0 1px, transparent 1px 88px);
}

img, svg, video { max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: var(--cyan-soft); }

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

::selection { background: var(--cyan); color: #04120E; }

/* ---------- 3. 中文排版与标题 ---------- */
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 7vw, 88px); }
h2 { font-size: clamp(26px, 3.6vw, 46px); }
h3 { font-size: clamp(20px, 2.2vw, 27px); letter-spacing: 0; }
h4 { font-size: 18px; letter-spacing: 0; }

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

.lead {
  max-width: 62ch;
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.8;
  color: var(--text-dim);
}

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

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cyan);
}
.num--xl {
  display: block;
  font-size: clamp(48px, 9vw, 96px);
  line-height: 0.95;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border: 1px solid rgba(57, 245, 208, 0.42);
  border-radius: var(--radius-pill);
  background: rgba(57, 245, 208, 0.07);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid rgba(57, 245, 208, 0.4);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--cyan-soft);
  background: rgba(57, 245, 208, 0.08);
}
.tag--amber {
  border-color: rgba(255, 166, 43, 0.55);
  color: var(--amber-soft);
  background: rgba(255, 166, 43, 0.1);
}

/* ---------- 4. 布局：容器 / 栅格 / 横向带 ---------- */
.container {
  width: min(var(--container), calc(100% - var(--edge) * 2));
  margin-inline: auto;
}

.section { padding-block: clamp(34px, 5.5vw, 72px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: clamp(18px, 3vw, 32px);
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}
.section-title {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 40px);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.6vw, 30px);
}
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.col-4, .col-5, .col-7, .col-8, .col-12 { grid-column: span 12; }

.split {
  display: grid;
  gap: clamp(16px, 2.6vw, 30px);
  grid-template-columns: minmax(0, 1fr);
}

.band {
  display: grid;
  gap: 12px;
  padding-block: clamp(20px, 3vw, 34px);
  border-top: 1px solid var(--line);
}
.band:last-child { border-bottom: 1px solid var(--line); }

@media (min-width: 880px) {
  .band { grid-template-columns: minmax(110px, 0.9fr) minmax(0, 4fr); gap: clamp(18px, 3vw, 36px); }
}

@media (min-width: 900px) {
  .col-4 { grid-column: span 4; }
  .col-5 { grid-column: span 5; }
  .col-7 { grid-column: span 7; }
  .col-8 { grid-column: span 8; }
  .col-12 { grid-column: span 12; }
  .split { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
}

.rule { border: 0; border-top: 1px solid var(--line); margin: clamp(20px, 3vw, 34px) 0; }
.rule--thick { border-top: 3px solid var(--cyan); }

/* ---------- 5. 按钮 / 筛选标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s var(--ease), background-color 0.16s, color 0.16s,
    border-color 0.16s, box-shadow 0.16s;
}
.btn--primary {
  background: var(--cyan);
  color: #04120E;
  border-color: var(--cyan);
  box-shadow: 3px 3px 0 var(--line);
}
.btn--primary:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--line); }
.btn--amber {
  background: var(--amber);
  color: #201200;
  border-color: var(--amber);
  box-shadow: 3px 3px 0 var(--line);
}
.btn--amber:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--line); }
.btn--ghost {
  background: rgba(57, 245, 208, 0.04);
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover {
  color: var(--cyan-soft);
  border-color: rgba(57, 245, 208, 0.65);
  transform: translate(2px, 2px);
}
.btn--sm { padding: 8px 15px; font-size: 13.5px; }
.btn--block { display: flex; width: 100%; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(10, 33, 26, 0.72);
  color: var(--slate);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.16s, border-color 0.16s, background-color 0.16s, transform 0.16s;
}
.chip:hover { color: var(--cyan-soft); border-color: rgba(57, 245, 208, 0.5); transform: translateY(-2px); }
.chip[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04120E;
  font-weight: 700;
}

/* ---------- 6. 内容组件 ---------- */
.panel {
  padding: clamp(16px, 2.6vw, 26px);
  border: var(--border);
  border-radius: var(--radius);
  background: rgba(10, 33, 26, 0.92);
  box-shadow: var(--shadow-hard);
}
.panel--accent { border-left: 3px solid var(--cyan); }

.stat {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--cyan);
}
.stat__label {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(14px, 2vw, 22px);
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: var(--slate);
}
.breadcrumbs a {
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s, border-color 0.16s;
}
.breadcrumbs a:hover { color: var(--cyan-soft); border-bottom-color: var(--cyan); }
.breadcrumbs__sep { color: var(--line); }
.breadcrumbs [aria-current="page"] { color: var(--cyan-soft); }

.chapter-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 10px 8px 11px;
  border-left: 2px solid transparent;
  color: var(--slate);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.16s, border-color 0.16s, background-color 0.16s;
}
.chapter-link:hover { color: var(--cyan-soft); border-left-color: rgba(57, 245, 208, 0.5); }
.chapter-link[data-active="true"] {
  color: var(--cyan);
  border-left-color: var(--cyan);
  background: rgba(57, 245, 208, 0.07);
  font-weight: 600;
}
.chapter-link__num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--slate);
  transition: color 0.16s;
}
.chapter-link[data-active="true"] .chapter-link__num { color: var(--cyan); }

.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel), var(--ink) 78%);
  box-shadow: var(--shadow-hard);
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(57, 245, 208, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(57, 245, 208, 0.1) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.65;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 82% 6%, rgba(57, 245, 208, 0.16), transparent 62%),
    radial-gradient(90% 80% at 0% 100%, rgba(255, 166, 43, 0.14), transparent 62%),
    radial-gradient(140% 120% at 50% 50%, transparent 42%, rgba(4, 18, 14, 0.75) 100%);
}
.media-frame img,
.media-frame video {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--21x9 { aspect-ratio: 21 / 9; }
.media-frame__caption {
  position: absolute;
  z-index: 3;
  inset: auto 0 0 0;
  padding: 26px 14px 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--cyan-soft);
  background: linear-gradient(to top, rgba(4, 18, 14, 0.94), transparent);
}
.media-frame__hint {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(168, 255, 240, 0.55);
  text-align: center;
}

.fold {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 33, 26, 0.9);
  overflow: hidden;
}
.fold + .fold { margin-top: 10px; }
.fold__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 15px 17px;
  border: 0;
  background: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.16s, background-color 0.16s;
}
.fold__toggle:hover { color: var(--cyan-soft); background: rgba(57, 245, 208, 0.06); }
.fold__toggle[aria-expanded="true"] { color: var(--cyan); }
.fold__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.18s var(--ease);
}
.fold__panel[data-open="true"] { grid-template-rows: 1fr; }
.fold__inner {
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear 0.18s;
}
.fold__panel[data-open="true"] .fold__inner { visibility: visible; transition-delay: 0s; }
.fold__body {
  padding: 0 17px 17px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--slate);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
}
.data-table caption {
  caption-side: top;
  padding-bottom: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: left;
}
.data-table th,
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(23, 74, 59, 0.9);
  text-align: left;
}
.data-table th {
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}
.data-table tbody tr:hover { background: rgba(57, 245, 208, 0.06); }

/* ---------- 7. 头部：悬浮胶囊浮岛 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--cyan);
  color: #04120E;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.16s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

.read-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 120;
  background: rgba(23, 74, 59, 0.55);
}
.read-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-soft) 58%, var(--amber));
  transition: transform 0.1s linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 13px var(--edge) 0;
  background: linear-gradient(to bottom, rgba(4, 18, 14, 0.96) 34%, rgba(4, 18, 14, 0));
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding: 9px 12px 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(10, 33, 26, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px -24px #000, inset 0 1px 0 rgba(57, 245, 208, 0.08);
  transition: padding 0.2s var(--ease), background-color 0.2s, border-color 0.2s;
}
.site-header[data-scrolled="true"] .header__inner {
  padding: 5px 10px 5px 14px;
  background: rgba(4, 18, 14, 0.95);
  border-color: rgba(57, 245, 208, 0.34);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}
.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--cyan);
  border-radius: 10px;
  background: linear-gradient(140deg, rgba(57, 245, 208, 0.22), rgba(57, 245, 208, 0));
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--cyan);
}
.brand__mark::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(255, 166, 43, 0.85);
}
.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.05;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand__tagline {
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--slate);
  white-space: nowrap;
}

.site-nav { min-width: 0; }
.site-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__item { min-width: 0; }
.site-nav__link {
  display: inline-block;
  padding: 8px 11px;
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.16s, background-color 0.16s;
}
.site-nav__link:hover { color: var(--cyan-soft); background: rgba(57, 245, 208, 0.09); }
.site-nav__link[aria-current="page"] {
  color: #04120E;
  background: var(--cyan);
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--cyan), 0 6px 18px -10px rgba(57, 245, 208, 0.9);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}
.header__cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(57, 245, 208, 0.07);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.16s, color 0.16s, background-color 0.16s;
}
.nav-toggle:hover { border-color: rgba(57, 245, 208, 0.6); color: var(--cyan-soft); }
.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.18s var(--ease), opacity 0.18s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle__label { letter-spacing: 0.04em; }

@media (max-width: 1120px) {
  .site-nav__link { padding: 8px 9px; font-size: 14px; }
  .brand__tagline { display: none; }
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 108px);
  border-top: 3px solid var(--cyan);
  background: linear-gradient(180deg, rgba(10, 33, 26, 0.94), rgba(4, 18, 14, 1) 46%);
  color: var(--text);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(23, 74, 59, 0.42) 0 1px, transparent 1px 104px);
  opacity: 0.55;
}
.site-footer > * { position: relative; z-index: 1; }

.footer__top {
  display: grid;
  gap: clamp(22px, 3.4vw, 44px);
  grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(26px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.footer__brand {
  display: grid;
  gap: 14px;
  align-content: start;
}
.brand--footer .brand__name { font-size: 22px; }
.footer__summary {
  margin: 0;
  max-width: 42ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--slate);
}
.footer__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.quick-link {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid rgba(255, 166, 43, 0.5);
  border-radius: var(--radius-pill);
  color: var(--amber-soft);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.16s, color 0.16s, border-color 0.16s, transform 0.16s;
}
.quick-link:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: #201200;
  transform: translateY(-2px);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.footer__col { min-width: 0; }
.footer__col-title {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer__links {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__link {
  display: inline-block;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  color: var(--text-dim);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.16s, border-color 0.16s, transform 0.16s;
}
.footer__link:hover,
.footer__link:focus-visible {
  color: var(--cyan-soft);
  border-bottom-color: var(--cyan);
  transform: translateX(2px);
}

.footer__contact {
  display: grid;
  gap: 16px clamp(20px, 3vw, 44px);
  grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(22px, 3.2vw, 38px);
  border-bottom: 1px solid var(--line);
}
.contact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(23, 74, 59, 0.95);
}
.contact-row__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.contact-row__value {
  font-size: 14.5px;
  color: var(--text);
  word-break: break-word;
}
.contact-row__value--mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--cyan-soft);
}
.contact-note {
  margin: 0;
  max-width: 46ch;
  padding: 2px 0 2px 12px;
  border-left: 2px solid var(--amber);
  font-size: 12.8px;
  line-height: 1.85;
  color: var(--slate);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  padding-block: 20px 28px;
}
.footer__copyright,
.footer__legal {
  margin: 0;
  font-size: 12.5px;
  color: var(--slate);
}
.footer__legal {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

@media (min-width: 880px) {
  .footer__top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr); }
  .footer__contact { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
  .footer__contact .footer__col-title { grid-column: 1; grid-row: 1; align-self: start; }
  .contact-list { grid-column: 2; grid-row: 1 / span 2; }
  .contact-note { grid-column: 1; grid-row: 2; }
}

/* ---------- 9. 响应式：平板 / 手机 ---------- */
@media (max-width: 960px) {
  body.nav-open { overflow: hidden; }

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

  .site-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 110;
    max-height: 72vh;
    overflow-y: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(10, 33, 26, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 0 1px rgba(57, 245, 208, 0.22), 12px 12px 0 rgba(4, 18, 14, 0.92);
    transform: translateY(calc(100% + 26px));
    opacity: 0;
    visibility: hidden;
    transition: transform 0.24s var(--ease), opacity 0.2s, visibility 0s linear 0.24s;
  }
  .site-header[data-open="true"] .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    justify-content: flex-start;
  }
  .site-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15.5px;
  }
  .site-nav__link::after {
    content: "→";
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(57, 245, 208, 0.6);
  }
  .site-nav__link[aria-current="page"] { box-shadow: none; }
  .site-nav__link[aria-current="page"]::after { color: rgba(4, 18, 14, 0.7); }

  .header__cta { padding: 8px 12px; font-size: 12.5px; }
  .site-header { padding-top: 10px; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .footer__grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  .contact-row { grid-template-columns: 60px minmax(0, 1fr); }
  .footer__bottom { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .brand__mark { width: 30px; height: 30px; font-size: 15px; }
  .brand__name { font-size: 17px; }
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 9px 11px; }
  .header__inner { gap: 8px; padding: 8px 10px 8px 12px; }
  .header__cta { padding: 7px 10px; font-size: 12px; }
  .num--xl { font-size: clamp(40px, 13vw, 64px); }
}

/* ---------- 10. 动效降级 ---------- */
@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;
  }
  .read-progress__bar { transition: none; }
  .btn:hover,
  .chip:hover,
  .quick-link:hover,
  .footer__link:hover { transform: none; }
}
