/* ============================================================
   乐鱼赛事 · 共享样式 /assets/site.css
   深潜蓝轨道 + 奶油纸阅读面 + 竞技青交互 + 荧光橙标签
   ============================================================ */

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

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

body { margin: 0; }

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

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

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

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

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

table { border-collapse: collapse; width: 100%; }

[hidden] { display: none !important; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  --deep: #0B2239;
  --navy: #123A5C;
  --teal: #14B3A6;
  --orange: #FF6A2B;
  --coral: #E1543C;
  --cream: #F6F0E6;
  --sand: #E7DCCB;
  --brown: #1C1712;
  --mist: #8FA3B4;
  --gold: #E9C46A;

  --line: rgba(28, 23, 18, .14);
  --line-mid: rgba(28, 23, 18, .22);
  --line-dark: rgba(246, 240, 230, .16);
  --line-dark-2: rgba(246, 240, 230, .30);

  --rail-w: 88px;
  --bar-h: 62px;
  --wrap-w: 1180px;

  --radius: 6px;
  --radius-sm: 4px;
  --shadow-1: 0 2px 4px rgba(11, 34, 57, .07);
  --shadow-2: 0 6px 16px rgba(11, 34, 57, .13);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 180ms;
  --t-base: 220ms;

  --font-display: "Archivo Narrow", "Oswald", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- 3. 中文排版基础 ---------- */
body {
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .002em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 900px) {
  body {
    font-size: 16px;
    padding-top: var(--bar-h);
  }
}

@media (min-width: 901px) {
  body { padding-left: var(--rail-w); }
}

main { display: block; }

p { max-width: 46em; }

.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -.01em;
  text-align: left;
}

.h-section {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 26px);
  line-height: 1.22;
  letter-spacing: -.005em;
  text-align: left;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}

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

.lede {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
  color: var(--navy);
  max-width: 42em;
}

.caption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}

/* ---------- 4. 焦点与交互基线 ---------- */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 2px;
}

.site-foot :focus-visible,
.rail :focus-visible,
.mobilebar :focus-visible {
  outline-color: var(--orange);
}

/* ---------- 5. 容器 / 区块 / 网格 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap-w);
  margin: 0 auto;
  padding-left: clamp(18px, 3.4vw, 44px);
  padding-right: clamp(18px, 3.4vw, 44px);
}

.wrap--narrow { max-width: 760px; }

.section { padding: clamp(44px, 6.5vw, 92px) 0; }

.section--tint { background: var(--sand); }

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

.section--deep .h-section,
.section--deep .h-display { color: var(--cream); }

.section--deep .lede { color: rgba(246, 240, 230, .82); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: clamp(20px, 3vw, 34px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.section--deep .section__head { border-bottom-color: var(--line-dark); }

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}

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

@media (max-width: 900px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 6. 通用组件 ---------- */
.strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2.4vw, 30px);
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.strip__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.25;
}

.strip__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--teal);
}

.card {
  position: relative;
  display: block;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2vw, 26px);
  box-shadow: var(--shadow-1);
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: inset 0 0 0 2px var(--teal), var(--shadow-2);
}

.card--deep {
  background: var(--deep);
  color: var(--cream);
  border-color: var(--line-dark);
}

.card--deep .card__title { color: var(--cream); }

.card--pressure {
  border-left: 3px solid var(--coral);
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

.card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.3;
  color: var(--brown);
}

.card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mist);
}

.card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--navy);
}

.card--deep .card__text { color: rgba(246, 240, 230, .78); }

.card__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--teal);
  transition: color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}

.card__link:hover {
  color: var(--teal);
  border-color: var(--orange);
  transform: translateX(2px);
}

.card--deep .card__link { color: var(--cream); }

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat__value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: .02em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 13px;
  color: var(--mist);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  border: 1px solid transparent;
}

.badge--up {
  color: var(--gold);
  border-color: rgba(233, 196, 106, .45);
  background: rgba(233, 196, 106, .10);
}

.badge--down {
  color: var(--coral);
  border-color: rgba(225, 84, 60, .45);
  background: rgba(225, 84, 60, .10);
}

.badge--tag {
  color: var(--orange);
  border-color: rgba(255, 106, 43, .45);
  background: rgba(255, 106, 43, .10);
}

/* 标签带 与 筛选 chip */
.tagbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tagbar--sticky {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 12px clamp(12px, 2vw, 18px);
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

@media (max-width: 900px) {
  .tagbar--sticky {
    top: var(--bar-h);
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .tagbar--sticky .chip { flex: 0 0 auto; }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  background: transparent;
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}

.chip:hover {
  border-color: var(--teal);
  color: var(--navy);
  background: rgba(20, 179, 166, .10);
}

.chip[aria-pressed="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--brown);
  box-shadow: inset 0 0 0 1px rgba(28, 23, 18, .12);
}

.chip__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  opacity: .72;
}

.tagbar--sticky .chip {
  border-color: var(--line-dark-2);
  color: rgba(246, 240, 230, .82);
}

.tagbar--sticky .chip:hover {
  border-color: var(--teal);
  color: var(--cream);
  background: rgba(20, 179, 166, .18);
}

.tagbar--sticky .chip[aria-pressed="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--brown);
}

/* 时间轴式条目列表 */
.loglist {
  border-top: 1px solid var(--line);
}

.loglist__item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 620px) {
  .loglist__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

.loglist__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mist);
  padding-top: 4px;
}

/* 图片容器基础规则（页面阶段放置图片/占位） */
.figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow-1);
}

.figure__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.figure--tall .figure__media,
.figure--tall .figure__ph { aspect-ratio: 3 / 4; }

.figure__ph {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(20, 179, 166, .55) 0%, rgba(20, 179, 166, .10) 48%, transparent 48%),
    radial-gradient(circle at 78% 20%, rgba(246, 240, 230, .20), transparent 46%),
    linear-gradient(180deg, var(--navy) 0%, var(--deep) 100%);
}

.figure__caption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
  background: var(--cream);
  border-top: 1px solid var(--line);
}

/* 宽窄交替的横向条带 */
.band {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
}

.band > * { grid-column: span 12; }

@media (min-width: 720px) {
  .band > .band--narrow { grid-column: span 5; }
  .band > .band--wide { grid-column: span 7; }
}

/* 面包屑 */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--mist);
}

.crumbs li { display: inline-flex; align-items: center; gap: 8px; }

.crumbs li + li::before {
  content: "/";
  color: var(--mist);
  font-family: var(--font-mono);
}

.crumbs a {
  color: var(--navy);
  border-bottom: 1px solid var(--sand);
  transition: color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}

.crumbs a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: background-color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              transform var(--t-fast) var(--ease);
}

.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--brown);
  box-shadow: var(--shadow-1);
}

.btn--primary:hover {
  background: #FF8347;
  border-color: #FF8347;
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.btn--line {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.btn--line:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--brown);
  transform: translateY(-2px);
}

/* 长阅读正文 */
.prose {
  max-width: 46em;
  font-size: 17px;
  line-height: 1.8;
}

.prose > * + * { margin-top: 1.1em; }

.prose h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.3;
  margin-top: 1.9em;
}

.prose h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.35;
  margin-top: 1.6em;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li + li { margin-top: .4em; }

.prose a {
  color: var(--navy);
  border-bottom: 1px solid var(--teal);
}

.prose a:hover { color: var(--teal); }

.prose blockquote {
  padding: 14px 18px;
  background: var(--sand);
  border-left: 3px solid var(--coral);
  border-radius: 2px;
}

/* ---------- 7. 跳至正文 ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--orange);
  color: var(--brown);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform var(--t-base) var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}

@media (min-width: 901px) {
  .skip-link { left: calc(var(--rail-w) + 12px); }
}

/* ---------- 8. 头部 ---------- */
.site-head {
  position: relative;
  z-index: 100;
}

/* 桌面端侧边轨道 */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  background: var(--deep);
  color: var(--cream);
  border-right: 1px solid var(--line-dark);
  box-shadow: 2px 0 8px rgba(11, 34, 57, .14);
  z-index: 96;
}

.rail__brand {
  display: block;
  padding: 18px 6px 15px;
  text-align: center;
  border-bottom: 1px solid var(--line-dark);
  transition: background-color var(--t-base) var(--ease);
}

.rail__brand:hover { background: rgba(20, 179, 166, .10); }

.rail__brand-mark {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--teal);
}

.rail__brand-name {
  display: block;
  margin-top: 5px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: .01em;
  color: var(--cream);
}

.rail__brand-sub {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--mist);
}

.rail__nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(246, 240, 230, .28) transparent;
}

.rail__nav::-webkit-scrollbar { width: 6px; }
.rail__nav::-webkit-scrollbar-thumb {
  background: rgba(246, 240, 230, .22);
  border-radius: 3px;
}

.rail__item + .rail__item { border-top: 1px solid rgba(246, 240, 230, .07); }

.rail__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 13px 4px;
  color: rgba(246, 240, 230, .72);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .01em;
  transition: color var(--t-base) var(--ease),
              background-color var(--t-base) var(--ease);
}

.rail__num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--mist);
  transition: color var(--t-base) var(--ease);
}

.rail__link:hover {
  color: var(--cream);
  background: rgba(20, 179, 166, .12);
}

.rail__link:hover .rail__num { color: var(--teal); }

.rail__link[aria-current="page"] {
  color: var(--cream);
  background: var(--navy);
}

.rail__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--orange);
}

.rail__link[aria-current="page"] .rail__num { color: var(--orange); }

.rail__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 7px 16px;
  border-top: 1px solid var(--line-dark);
}

.rail__util {
  display: block;
  width: 100%;
  padding: 8px 4px;
  border: 1px solid var(--line-dark-2);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(246, 240, 230, .86);
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}

.rail__util:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--brown);
}

.rail__icp {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: .01em;
  text-align: center;
  color: var(--mist);
  word-break: break-all;
}

/* 移动端顶条 —— 桌面隐藏 */
.mobilebar { display: none; }

.navbtn { display: none; }

/* 关闭遮罩 —— 桌面不存在 */
.rail__scrim { display: none; }

/* ---------- 9. 移动端抽屉 ---------- */
@media (max-width: 900px) {
  html.is-nav-open { overflow: hidden; }

  .mobilebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--bar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 clamp(14px, 4vw, 20px);
    background: var(--deep);
    color: var(--cream);
    border-bottom: 1px solid var(--line-dark);
    z-index: 98;
  }

  .mobilebar__brand {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    line-height: 1.2;
    color: var(--cream);
  }

  .mobilebar__dot { color: var(--orange); }

  .mobilebar__sub {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--mist);
  }

  .navbtn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid var(--line-dark-2);
    border-radius: var(--radius-sm);
    color: var(--cream);
    font-size: 13px;
    font-weight: 700;
    transition: background-color var(--t-fast) var(--ease),
                border-color var(--t-fast) var(--ease),
                color var(--t-fast) var(--ease);
  }

  .navbtn__bars {
    display: block;
    width: 16px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
  }

  .navbtn:hover { border-color: var(--teal); color: var(--teal); }

  .site-head[data-open] .navbtn {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--deep);
  }

  .rail {
    top: var(--bar-h);
    bottom: 0;
    left: 0;
    right: auto;
    width: min(300px, 84vw);
    visibility: hidden;
    transform: translateX(-102%);
    border-right: 1px solid rgba(246, 240, 230, .20);
    box-shadow: 6px 0 24px rgba(11, 34, 57, .38);
    transition: transform 280ms var(--ease), visibility 0s linear 280ms;
    z-index: 97;
  }

  .site-head[data-open] .rail {
    visibility: visible;
    transform: translateX(0);
    transition: transform 280ms var(--ease), visibility 0s linear 0s;
  }

  .rail__brand { display: none; }

  .rail__item + .rail__item { border-top: 1px solid rgba(246, 240, 230, .08); }

  .rail__link {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    padding: 14px 18px;
    font-size: 15px;
  }

  .rail__num { font-size: 11px; }

  .rail__link[aria-current="page"]::before { width: 3px; }

  .rail__foot {
    align-items: stretch;
    padding: 12px 14px 18px;
  }

  .rail__util { font-size: 13px; padding: 10px 6px; }

  .rail__icp { font-size: 10px; }

  .rail__scrim {
    display: block;
    position: fixed;
    top: var(--bar-h);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    margin: 0;
    border: 0;
    background: rgba(11, 34, 57, .58);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition: opacity 240ms var(--ease), visibility 0s linear 240ms;
    z-index: 95;
  }

  .site-head[data-open] .rail__scrim {
    opacity: 1;
    visibility: visible;
    transition: opacity 240ms var(--ease), visibility 0s linear 0s;
  }
}

/* ---------- 10. 页脚 ---------- */
.site-foot {
  position: relative;
  background: var(--deep);
  color: var(--cream);
  border-top: 3px solid var(--orange);
  margin-top: clamp(40px, 6vw, 80px);
}

.site-foot__band {
  max-width: var(--wrap-w);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(18px, 3.4vw, 44px) clamp(24px, 3.4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  border-bottom: 1px solid var(--line-dark);
}

.site-foot__claim {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 84px);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--cream);
  max-width: none;
}

.site-foot__line {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(246, 240, 230, .68);
}

.site-foot__cols {
  max-width: var(--wrap-w);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) clamp(18px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}

@media (max-width: 980px) {
  .site-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .site-foot__cols { grid-template-columns: minmax(0, 1fr); }
}

.site-foot__col { min-width: 0; }

.site-foot__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: .02em;
  color: var(--teal);
}

.site-foot__list li + li { margin-top: 8px; }

.site-foot__list a,
.site-foot__list span {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(246, 240, 230, .78);
}

.site-foot__list a {
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}

.site-foot__list a:hover {
  color: var(--cream);
  border-bottom-color: var(--orange);
  transform: translateX(2px);
}

.site-foot__list--plain span { color: rgba(246, 240, 230, .58); }

.site-foot__mail {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .01em;
  color: var(--cream);
  word-break: break-all;
  max-width: none;
}

.site-foot__text {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(246, 240, 230, .70);
  max-width: none;
}

.site-foot .btn {
  margin-top: 14px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--cream);
}

.site-foot .btn:hover { color: var(--brown); }

.site-foot__legal {
  max-width: var(--wrap-w);
  margin: 0 auto;
  padding: 16px clamp(18px, 3.4vw, 44px) 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--mist);
}

.site-foot__icp,
.site-foot__copy { line-height: 1.6; }

/* ---------- 11. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .card:hover,
  .btn:hover,
  .card__link:hover,
  .site-foot__list a:hover { transform: none; }
}
