/* ============================================================
   竞博体育主站 — 共享样式 /assets/site.css
   夜战控制台：品牌轨道 + 悬浮胶囊导航 + 墨绿数据面板
   ============================================================ */

:root {
  --ink: #0B0F0E;
  --ink-deep: #0E1F1A;
  --panel: #132B24;
  --lime: #C6FF3D;
  --amber: #FFB347;
  --blue: #6D9BFF;
  --cyan: #35F2D0;
  --fog: #A8B3AE;
  --paper: #F4F7F2;
  --line: #2A3A34;

  --rail-w: 74px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .25, 1);

  --font-head: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 46% at 82% -8%, rgba(53, 242, 208, .10), transparent 72%),
    radial-gradient(48% 38% at 4% 0%, rgba(109, 155, 255, .08), transparent 72%),
    linear-gradient(to right, rgba(42, 58, 52, .28) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(to bottom, rgba(42, 58, 52, .28) 1px, transparent 1px) 0 0 / 120px 120px,
    var(--ink);
}

img,
svg,
picture { max-width: 100%; }

ul, ol { margin: 0; }

p { margin: 0 0 1em; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }

button { font: inherit; }

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

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

/* ---------- 中文排版与标题 ---------- */
h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--paper);
}

h1 { font-size: clamp(2.6rem, 6vw, 5.25rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.125rem, 1.9vw, 1.4rem); letter-spacing: -.01em; line-height: 1.3; }
h4 { font-size: 1rem; letter-spacing: 0; line-height: 1.4; }

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

.lede {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.85;
  color: var(--fog);
  max-width: 62ch;
}

.mono {
  font-family: var(--font-mono);
  font-size: .8em;
  letter-spacing: .08em;
}

.divider {
  height: 1px;
  border: 0;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
  background: linear-gradient(90deg, var(--line), transparent);
}

/* ---------- 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.section {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.section--deep { background: var(--ink-deep); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-head__title { margin: 0; }

.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
.grid--sidebar { grid-template-columns: 220px minmax(0, 1fr); }

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 12px 22px;
  border-radius: 0 0 12px 12px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: top .16s var(--ease);
}

.skip-link:focus { top: 0; }

/* ---------- 品牌轨道 ---------- */
.rail {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  width: var(--rail-w);
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px 8px 22px;
  background: linear-gradient(180deg, var(--ink-deep) 0%, #0A1512 55%, var(--ink) 100%);
  border-inline-end: 1px solid var(--line);
}

.rail__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
}

.rail__mark {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--lime);
}

.rail__brand-text {
  writing-mode: vertical-rl;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--paper);
}

.rail__line {
  flex: 1 1 auto;
  width: 1px;
  min-height: 24px;
  background: linear-gradient(180deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}

.rail__nodes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rail__node {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}

.rail__node.is-active {
  background: var(--lime);
  box-shadow: 0 0 10px rgba(198, 255, 61, .7);
}

.rail__entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(19, 43, 36, .72);
  text-decoration: none;
  transition: border-color .18s var(--ease), transform .18s var(--ease), background .18s var(--ease);
}

.rail__entry:hover {
  border-color: rgba(198, 255, 61, .55);
  background: rgba(19, 43, 36, .95);
  transform: translateY(-2px);
}

.rail__entry-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.rail__entry-text {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .18em;
  color: var(--fog);
}

.rail__entry:hover .rail__entry-text { color: var(--paper); }

/* ---------- 头部与悬浮胶囊导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 14px clamp(1rem, 3vw, 2.5rem) 0;
  background: linear-gradient(180deg, rgba(11, 15, 14, .94) 0%, rgba(11, 15, 14, .55) 62%, rgba(11, 15, 14, 0) 100%);
  transition: padding .2s var(--ease);
}

.site-header.is-condensed { padding-block: 8px 0; }

.nav-island {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1180px;
  margin-inline: auto;
  padding: 9px 12px 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(19, 43, 36, .95), rgba(14, 31, 26, .88));
  box-shadow: 0 18px 40px -30px #000, inset 0 1px 0 rgba(244, 247, 242, .05);
  transition: padding .2s var(--ease), background .2s var(--ease);
}

.site-header.is-condensed .nav-island {
  padding-block: 6px;
  background: linear-gradient(120deg, rgba(19, 43, 36, .98), rgba(14, 31, 26, .95));
}

.nav-island__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
  flex: 0 0 auto;
}

.nav-island__brand-mark {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink);
  background: var(--lime);
  padding: 5px 8px;
  border-radius: 7px;
}

.nav-island__brand-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--fog);
  font-size: .94rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s var(--ease), background .16s var(--ease);
}

.nav__link:hover {
  color: var(--paper);
  background: rgba(198, 255, 61, .08);
}

.nav__link[aria-current="page"] {
  color: var(--paper);
  background: rgba(198, 255, 61, .1);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(198, 255, 61, .9);
  transform: translateX(-50%);
}

.nav__cta {
  margin-inline-start: 8px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-inline-start: auto;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(19, 43, 36, .92);
  color: var(--paper);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle:hover { border-color: rgba(198, 255, 61, .5); color: var(--lime); }

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

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}

[data-nav-shell][data-open] .nav-toggle__bars span:first-child { transform: translateY(3px) rotate(45deg); }
[data-nav-shell][data-open] .nav-toggle__bars span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* 顶部阅读进度 */
.progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: 2px;
  z-index: 90;
  pointer-events: none;
  background: transparent;
}

.progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  box-shadow: 0 0 12px rgba(198, 255, 61, .55);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .72em 1.35em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease);
}

.btn--lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 12px 28px -18px rgba(198, 255, 61, .95);
}

.btn--lime:hover { background: #D8FF77; transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}

.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }

.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: #FFC470; transform: translateY(-1px); }

.btn--blue {
  background: rgba(109, 155, 255, .16);
  color: var(--blue);
  border-color: rgba(109, 155, 255, .45);
}

.btn--blue:hover { background: rgba(109, 155, 255, .26); color: var(--paper); }

.btn--sm { padding: .5em 1em; font-size: .85rem; }

/* ---------- 展签、标签与筛选 ---------- */
.exhibit {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  margin-bottom: .9rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fog);
}

.exhibit::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--lime);
}

.exhibit--amber::before { background: var(--amber); }
.exhibit--blue::before { background: var(--blue); }
.exhibit--cyan::before { background: var(--cyan); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .22em .62em;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(19, 43, 36, .85);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--fog);
  white-space: nowrap;
}

.tag--live { color: var(--lime); border-color: rgba(198, 255, 61, .45); background: rgba(198, 255, 61, .1); }
.tag--injury { color: var(--amber); border-color: rgba(255, 179, 71, .45); background: rgba(255, 179, 71, .1); }
.tag--transfer { color: var(--blue); border-color: rgba(109, 155, 255, .45); background: rgba(109, 155, 255, .12); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .45em .95em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(19, 43, 36, .74);
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease);
}

.chip:hover { color: var(--paper); border-color: #3C5148; }

.chip[aria-pressed="true"],
.chip.is-active {
  color: var(--lime);
  border-color: rgba(198, 255, 61, .6);
  background: rgba(198, 255, 61, .14);
}

/* ---------- 面板与卡片 ---------- */
.panel {
  padding: clamp(1rem, 2vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(19, 43, 36, .94), rgba(14, 31, 26, .88));
  box-shadow: inset 0 1px 0 rgba(244, 247, 242, .045);
}

.card {
  position: relative;
  padding: clamp(.9rem, 1.8vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(19, 43, 36, .92), rgba(14, 31, 26, .86));
  transition: transform .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(198, 255, 61, .35);
  box-shadow: 0 20px 36px -30px #000;
}

.card__title {
  margin: 0 0 .35em;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5em .8em;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--fog);
}

/* ---------- 响应式图片容器（页面阶段放入 img 占位） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(70% 70% at 80% 0%, rgba(53, 242, 208, .16), transparent 70%),
    linear-gradient(150deg, #132B24 0%, #0E1F1A 58%, #0B0F0E 100%);
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 15, 14, 0) 45%, rgba(11, 15, 14, .74) 100%);
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--portrait { aspect-ratio: 4 / 5; }
.media-frame--slant { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }

/* ---------- 时间轴 ---------- */
.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 7px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line) 10%, var(--line) 90%, transparent);
}

.timeline__item {
  position: relative;
  padding-inline-start: 34px;
  padding-block: .85rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: 1.55rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ink);
}

.timeline__item.is-active::before {
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 12px rgba(198, 255, 61, .6);
}

.timeline__time {
  display: block;
  margin-bottom: .3rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--cyan);
}

/* ---------- 横向滚动条带 ---------- */
.strip-wrap { position: relative; }

.strip-controls {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  margin-bottom: .8rem;
}

.strip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(19, 43, 36, .9);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .95rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color .16s var(--ease), color .16s var(--ease);
}

.strip-btn:hover { border-color: var(--lime); color: var(--lime); }

.strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-block: .4rem 1.1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.strip > * {
  flex: 0 0 clamp(230px, 26vw, 300px);
  scroll-snap-align: start;
}

.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-track { background: transparent; }
.strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }

/* ---------- 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5em;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--fog);
}

.crumbs li { display: flex; align-items: center; gap: .5em; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a { color: var(--fog); text-decoration: none; }
.crumbs a:hover { color: var(--lime); }

/* ---------- 滚动淡入 ---------- */
[data-reveal] { opacity: 1; }

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.6rem;
  background: linear-gradient(180deg, var(--ink-deep) 0%, #0A1512 60%, var(--ink) 100%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: .45;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.5fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.footer__brand-mark {
  display: inline-block;
  padding: .3em .6em;
  border: 1px solid rgba(198, 255, 61, .45);
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--lime);
}

.footer__brand-name {
  display: block;
  margin-top: .9rem;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.1;
}

.footer__tagline {
  margin: .75rem 0 0;
  max-width: 34ch;
  color: var(--fog);
  font-size: .95rem;
  line-height: 1.8;
}

.footer__col-title {
  display: flex;
  align-items: center;
  gap: .55em;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fog);
}

.footer__col-title::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.footer__links {
  display: grid;
  gap: .6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__link {
  color: var(--fog);
  font-size: .95rem;
  text-decoration: none;
  transition: color .16s var(--ease);
}

.footer__link:hover { color: var(--lime); }

.footer__contact-list {
  display: grid;
  gap: .9rem;
  margin: 0;
}

.footer__contact-item { display: grid; gap: .15rem; }

.footer__contact-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--fog);
  opacity: .72;
}

.footer__contact-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6em;
  margin: 0;
  font-family: var(--font-mono);
  font-size: .85rem;
  line-height: 1.6;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.footer__copy {
  padding: .2em .65em;
  border: 1px solid rgba(198, 255, 61, .45);
  border-radius: 6px;
  background: transparent;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease);
}

.footer__copy:hover { background: var(--lime); color: var(--ink); }

.footer__note {
  margin: 1rem 0 0;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  color: var(--fog);
  font-size: .8rem;
  line-height: 1.75;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--fog);
}

.footer__icp,
.footer__region,
.footer__year { margin: 0; }

.footer__icp { color: var(--paper); }

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  margin-inline-start: auto;
  padding: 0;
}

.footer__legal-links .footer__link { font-size: .74rem; }

.footer__year { color: var(--fog); opacity: .8; }

/* ---------- 平板 ---------- */
@media (max-width: 1023px) {
  .rail { display: none; }

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

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-inline-start: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(14, 31, 26, .98);
    box-shadow: 0 28px 50px -34px #000;
  }

  [data-nav-shell][data-open] .nav { display: flex; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav__link {
    display: block;
    padding: 12px 14px;
    font-size: 1rem;
  }

  .nav__link[aria-current="page"]::after {
    left: auto;
    right: 16px;
    bottom: 50%;
    transform: translateY(50%);
  }

  .nav__cta {
    margin: 8px 0 0;
    width: 100%;
  }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand, .footer__contact { grid-column: span 2; }
  .footer__legal-links { margin-inline-start: 0; }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--split,
  .grid--sidebar { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 手机 ---------- */
@media (max-width: 719px) {
  body { font-size: 15.5px; }

  .site-header { padding-inline: .9rem; }

  .nav-island { gap: 10px; padding: 8px 10px 8px 12px; }

  .nav-island__brand-name { font-size: .95rem; }

  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }

  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__brand, .footer__contact { grid-column: auto; }

  .footer__legal { flex-direction: column; align-items: flex-start; }

  .strip > * { flex-basis: 78%; }

  .section-head { align-items: flex-start; }
}

/* ---------- 无障碍：降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .strip { scroll-snap-type: none; }
}
