/* ==========================================================================
   球盟会赛场 · 共享外壳样式 /assets/site.css
   夜间赛场计分屏：深墨绿底 + 苔绿粗边框 + 荧光青数据 + 信号橙状态
   ========================================================================== */

:root {
  --q-bg: #06110E;
  --q-panel: #0C201A;
  --q-panel-2: #0A1A15;
  --q-line: #1D3B31;
  --q-line-strong: #2A5446;
  --q-text: #E8F3EF;
  --q-muted: #94ADA6;
  --q-dim: #5C7A71;
  --q-cyan: #35F0C8;
  --q-orange: #FF7A2F;
  --q-blue: #5B8CFF;
  --q-yellow: #FFD166;
  --q-shadow: #020806;

  --rail-w: 216px;
  --shell-max: 1320px;

  --font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", 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", Consolas, monospace;
}

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

html {
  background: var(--q-bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--q-line-strong) var(--q-bg);
}

html.nav-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--q-bg);
  color: var(--q-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--q-text);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; line-height: 1.2; }

ul, ol { padding-left: 1.15em; }

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

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

/* ---------- 工具 ---------- */
.u-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 跳至主内容 ---------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 300;
  display: inline-block;
  padding: 10px 16px;
  background: var(--q-cyan);
  color: #04120E;
  border: 2px solid #04120E;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- 头部外壳 ---------- */
.site-header { position: relative; z-index: 70; }

/* ---------- 品牌 ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--q-text);
  text-decoration: none;
}
.brand:hover .brand__name { color: var(--q-cyan); }

.brand__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--q-cyan);
  color: #04120E;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
}

.brand__text { display: block; min-width: 0; }

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--q-text);
  transition: color .18s ease;
}

.brand__suffix {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--q-muted);
}

.brand--compact .brand__mark { width: 34px; height: 34px; font-size: 10px; }
.brand--compact .brand__name { font-size: 17px; }
.brand--compact .brand__suffix { font-size: 9px; margin-top: 1px; letter-spacing: .16em; }

/* ---------- 桌面端侧边轨道 ---------- */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: var(--rail-w);
  background:
    repeating-linear-gradient(180deg, rgba(53, 240, 200, .04) 0 1px, transparent 1px 44px),
    linear-gradient(180deg, #0C201A 0%, #07150F 58%, #050E0B 100%);
  border-right: 2px solid var(--q-line);
  box-shadow: 6px 0 0 rgba(2, 8, 6, .55);
}

.rail__brand {
  position: relative;
  padding: 18px 16px 14px;
  border-bottom: 2px solid var(--q-line);
}
.rail__brand::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--q-cyan);
  border-right: 2px solid var(--q-cyan);
  opacity: .45;
  pointer-events: none;
}

.rail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
}

.badge-version {
  padding: 2px 7px;
  border: 1px solid var(--q-orange);
  background: rgba(255, 122, 47, .1);
  color: var(--q-orange);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
}

.status-light {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--q-cyan);
  box-shadow: 0 0 0 3px rgba(53, 240, 200, .16), 0 0 10px rgba(53, 240, 200, .8);
  animation: qmh-pulse 3s ease-in-out infinite;
}

@keyframes qmh-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(53, 240, 200, .16), 0 0 10px rgba(53, 240, 200, .8);
  }
  50% {
    opacity: .55;
    box-shadow: 0 0 0 3px rgba(53, 240, 200, .05), 0 0 4px rgba(53, 240, 200, .35);
  }
}

.status-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--q-muted);
  line-height: 1.4;
}

.rail__nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 0;
}

/* ---------- 导航列表 ---------- */
.nav-list { margin: 0; padding: 0; list-style: none; }

.nav-item {
  position: relative;
  border-bottom: 1px solid rgba(29, 59, 49, .65);
}

.nav-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 16px;
  color: var(--q-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}

.nav-link__idx {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: #3F5C53;
  transition: color .18s ease;
}

.nav-link__label { flex: 1 1 auto; }

.nav-link:hover {
  color: var(--q-text);
  background: rgba(53, 240, 200, .06);
}
.nav-link:hover .nav-link__idx { color: var(--q-cyan); }

.nav-link[aria-current="page"] {
  color: var(--q-cyan);
  background: linear-gradient(90deg, rgba(53, 240, 200, .14), rgba(53, 240, 200, 0) 78%);
}
.nav-link[aria-current="page"] .nav-link__idx { color: var(--q-cyan); }
.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--q-cyan);
  box-shadow: 0 0 12px rgba(53, 240, 200, .75);
}

.rail__foot {
  flex: 0 0 auto;
  padding: 14px 16px 18px;
  border-top: 2px solid var(--q-line);
  background: rgba(2, 8, 6, .35);
}

.rail__coord {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: #3F5C53;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: 2px solid var(--q-line-strong);
  border-radius: 2px;
  background: var(--q-panel);
  color: var(--q-text);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--q-shadow);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--q-shadow);
  border-color: var(--q-cyan);
  color: var(--q-cyan);
}
.btn:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0 var(--q-shadow);
}

.btn--signal {
  border-color: var(--q-orange);
  background: var(--q-orange);
  color: #180700;
}
.btn--signal:hover {
  border-color: var(--q-orange);
  background: #FF8C4D;
  color: #180700;
}

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

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

.rail__cta { width: 100%; font-size: 14px; padding: 10px 12px; }

/* ---------- 移动端顶部条 ---------- */
.topbar { display: none; }

.nav-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--q-line);
  border-radius: 2px;
  background: var(--q-panel);
  color: var(--q-cyan);
  box-shadow: 3px 3px 0 var(--q-shadow);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
.nav-toggle:hover { border-color: var(--q-cyan); }

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) 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(-7px) rotate(-45deg); }

/* ---------- 滚动进度 ---------- */
.rail__progress,
.topbar__progress {
  display: block;
  overflow: hidden;
  background: #0F2A23;
}
.rail__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
}
.topbar__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
}
.progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--q-cyan) 0%, var(--q-blue) 62%, var(--q-orange) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- 移动抽屉 ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(2, 8, 6, .74);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.drawer[data-open="true"] {
  opacity: 1;
  visibility: visible;
}

.drawer__panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(88vw, 360px);
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    repeating-linear-gradient(180deg, rgba(53, 240, 200, .04) 0 1px, transparent 1px 44px),
    linear-gradient(180deg, #0C201A 0%, #07150F 62%, #050E0B 100%);
  border-right: 2px solid var(--q-line);
  box-shadow: 8px 0 0 rgba(2, 8, 6, .6);
  transform: translateX(-102%);
  transition: transform .26s cubic-bezier(.4, 0, .2, 1);
}
.drawer[data-open="true"] .drawer__panel { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 2px solid var(--q-line);
}

.drawer__close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid var(--q-line);
  border-radius: 2px;
  background: transparent;
  color: var(--q-text);
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}
.drawer__close:hover { border-color: var(--q-cyan); color: var(--q-cyan); }

.drawer__nav { padding: 6px 0; }
.drawer__nav .nav-link { padding: 14px 18px; font-size: 16px; }
.drawer__nav .nav-link__idx { font-size: 11px; }

.drawer__pinned {
  padding: 16px 14px 20px;
  border-top: 2px solid var(--q-orange);
  background: rgba(10, 26, 21, .9);
}

.drawer__pinned-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--q-orange);
}

.drawer__pinned-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--q-orange);
  background: var(--q-orange);
  color: #180700;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.01em;
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(2, 8, 6, .85);
  transition: transform .18s ease, box-shadow .18s ease;
}
.drawer__pinned-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(2, 8, 6, .85);
}

.drawer__arrow {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
}

.drawer__pinned .btn { margin-top: 14px; width: 100%; }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  isolation: isolate;
  margin-top: 80px;
  overflow: hidden;
  border-top: 2px solid var(--q-line);
  background: linear-gradient(180deg, #0A1A15 0%, #050E0B 46%, #020806 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 59, 49, .45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 59, 49, .45) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  height: 3px;
  background: linear-gradient(90deg, var(--q-cyan) 0%, var(--q-blue) 48%, var(--q-orange) 100%);
}

.footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: 56px 24px 26px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 2.4fr);
  gap: 44px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--q-line);
}

.footer__mark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--q-cyan);
}

.footer__summary {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  line-height: 1.7;
  color: var(--q-muted);
}

.footer__coord {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 8px;
  border: 1px solid var(--q-line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--q-cyan);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer__col-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--q-orange);
}

.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer__list a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--q-text);
  font-size: 14px;
  text-decoration: none;
  transition: color .18s ease;
}
.footer__list a::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: var(--q-line-strong);
  transform: rotate(45deg);
  transition: background-color .18s ease;
}
.footer__list a:hover { color: var(--q-cyan); }
.footer__list a:hover::before { background: var(--q-cyan); }

.footer__band {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  padding-top: 26px;
  align-items: start;
}

.footer__label {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--q-orange);
}

.footer__contact-text {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--q-muted);
  overflow-wrap: anywhere;
}

.footer__legal {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1.9;
  color: var(--q-dim);
  text-align: right;
}
.footer__legal p { margin: 0 0 4px; }
.footer__legal p:last-child { margin-bottom: 0; }

/* ---------- 通用布局 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

.section { padding-block: clamp(36px, 5vw, 64px); }

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--q-orange);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 26px;
  border-bottom: 2px solid var(--q-line);
}
.section-head > * { margin-bottom: 0; }

.rule {
  height: 0;
  margin: 32px 0;
  border: 0;
  border-top: 2px solid var(--q-line);
}

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.split-7-5 {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px;
  align-items: start;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--q-dim);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before {
  content: "/";
  color: var(--q-line-strong);
}
.breadcrumb a { color: var(--q-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--q-cyan); }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid var(--q-line-strong);
  background: rgba(29, 59, 49, .35);
  color: var(--q-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.6;
  text-transform: uppercase;
}
.tag--cyan { color: var(--q-cyan); border-color: rgba(53, 240, 200, .5); background: rgba(53, 240, 200, .1); }
.tag--orange { color: var(--q-orange); border-color: rgba(255, 122, 47, .55); background: rgba(255, 122, 47, .1); }
.tag--blue { color: var(--q-blue); border-color: rgba(91, 140, 255, .5); background: rgba(91, 140, 255, .1); }

/* ---------- 面板卡片 ---------- */
.panel {
  position: relative;
  padding: 22px;
  border: 2px solid var(--q-line);
  border-radius: 2px;
  background: var(--q-panel);
  box-shadow: 6px 6px 0 var(--q-shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.panel--hover:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--q-shadow);
  border-color: var(--q-line-strong);
}

/* ---------- 数据数字 ---------- */
.stat { display: block; }
.stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--q-cyan);
}
.stat__label {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--q-muted);
}

/* ---------- 图例 ---------- */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--q-muted);
}
.legend__key {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 1px;
  background: var(--q-cyan);
}
.legend__key--orange { background: var(--q-orange); }
.legend__key--blue { background: var(--q-blue); }
.legend__key--line { background: transparent; border: 2px solid var(--q-line-strong); }

/* ---------- 图片容器基础规则 ---------- */
.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 2px solid var(--q-line);
  border-radius: 2px;
  background: var(--q-panel);
}
.img-frame > img,
.img-frame > picture,
.img-frame > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.06);
}
.img-frame > picture { height: 100%; }
.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(53, 240, 200, .09) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
  opacity: .45;
}
.img-frame--wide { aspect-ratio: 21 / 9; }
.img-frame--tall { aspect-ratio: 4 / 5; }
.img-frame--square { aspect-ratio: 1 / 1; }

/* ---------- 显现协议 ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.js-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 断点：平板与手机 ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}

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

  .topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #0C201A 0%, #06110E 100%);
    border-bottom: 2px solid var(--q-line);
    box-shadow: 0 4px 0 rgba(2, 8, 6, .6);
  }
}

@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer__band {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer__legal { text-align: left; }
  .split-7-5 { grid-template-columns: 1fr; }
  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .footer__inner { padding: 40px 18px 22px; }
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .site-footer { margin-top: 56px; }
}

@media (max-width: 420px) {
  .footer__nav { grid-template-columns: 1fr; }
  .brand--compact .brand__name { font-size: 16px; }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .status-light {
    box-shadow: 0 0 0 3px rgba(53, 240, 200, .16);
  }
}
