/* =====================================================================
   爱游戏体育 · 共享外壳样式表 /assets/site.css
   夜间球场数据指挥室：深墨绿底 + 荧光青数据高亮 + 暖橙关键动作
   ===================================================================== */

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

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

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

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

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

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

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

/* ---------- 2. tokens ---------- */
:root {
  --ink-900: #06130F;
  --ink-800: #0B1F19;
  --ink-700: #123027;
  --line-600: #1E4A3C;
  --cyan-400: #38F5D0;
  --cyan-200: #A7FFF0;
  --orange-500: #FF8A3D;
  --orange-600: #FFA45C;
  --orange-200: #FFCFAE;
  --orange-deep: #B4551F;
  --paper-100: #E8F5F0;
  --muted-400: #7FA79A;
  --mist-050: #EDF6F2;
  --ink-on-light: #0A1A14;
  --teal-on-light: #0B6B57;

  --rail-w: 240px;
  --bar-h: 64px;
  --content-max: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  --font-head: 'Archivo Narrow', 'Oswald', 'Noto Sans SC', system-ui, sans-serif;
  --font-num: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-body: 'Noto Sans SC', 'PingFang SC', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22, .68, .32, 1);
  --shadow: 0 18px 40px rgba(0, 0, 0, .38);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--bar-h);
  overflow-x: clip;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(900px 420px at 88% -6%, rgba(56, 245, 208, .07), transparent 62%),
    radial-gradient(700px 380px at 4% 104%, rgba(255, 138, 61, .05), transparent 60%);
  background-repeat: no-repeat;
  color: var(--paper-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

h1, h2, h3, h4,
.font-head {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.01em;
}

.num,
.font-num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: .06em;
}

::selection { background: var(--cyan-400); color: var(--ink-900); }

:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 2px;
}

.btn:focus-visible,
.chip:focus-visible,
.nav-toggle:focus-visible,
.copy-btn:focus-visible,
.to-top:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--cyan-200);
}

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

/* ---------- 4. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(2.25rem, 5.5vw, 4.5rem); }
.section--tight { padding-block: clamp(1.4rem, 3vw, 2.25rem); }

.section--light {
  background: var(--mist-050);
  color: var(--ink-on-light);
}
.section--light h1,
.section--light h2,
.section--light h3 { color: var(--ink-on-light); }
.section--light .lede,
.section--light .panel-note { color: #3E5B51; }
.section--light a { color: var(--teal-on-light); }
.section--light .eyebrow { color: var(--teal-on-light); }
.section--light .eyebrow::before { background: var(--teal-on-light); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: clamp(1rem, 2.4vw, 1.75rem);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 300;
  line-height: 1.15;
}
.title-strong { font-weight: 900; }
.title-soft { font-weight: 300; color: var(--muted-400); }

.display-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.02em;
}

.lede {
  max-width: 62ch;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.75;
  color: var(--muted-400);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan-400);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--cyan-400);
}

.band-slant {
  height: 4px;
  background: repeating-linear-gradient(115deg,
    var(--cyan-400) 0 14px,
    rgba(56, 245, 208, .12) 14px 34px);
}

.breadcrumbs {
  padding-block: 14px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted-400);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--line-600);
}
.breadcrumbs a:hover { color: var(--cyan-200); }
.breadcrumbs [aria-current="page"] { color: var(--cyan-200); }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  border: 1px solid transparent;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }

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

.btn--ghost {
  border-color: var(--line-600);
  color: var(--cyan-200);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn--ghost:hover {
  background: rgba(56, 245, 208, .12);
  border-color: var(--cyan-400);
  color: var(--paper-100);
}

.btn--cyan {
  background: var(--cyan-400);
  color: var(--ink-900);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.btn--cyan:hover { background: var(--cyan-200); }

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

/* ---------- 6. 面板 / 数据块 ---------- */
.panel {
  background: var(--ink-700);
  border: 1px solid var(--line-600);
  padding: clamp(1rem, 2.2vw, 1.5rem);
}
.panel--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}
.panel--outline { background: transparent; }
.panel--accent { border-left: 3px solid var(--cyan-400); }

.panel-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: .01em;
}
.panel-note {
  font-size: 13px;
  color: var(--muted-400);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line-600);
  border: 1px solid var(--line-600);
}
.stat {
  background: var(--ink-800);
  padding: 14px 16px;
}
.stat__value {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--cyan-200);
}
.stat--hot .stat__value { color: var(--orange-500); }
.stat__label {
  display: block;
  margin-top: 2px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-400);
}

.data-list {
  display: grid;
  gap: 1px;
  background: var(--line-600);
  border: 1px solid var(--line-600);
}
.data-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--ink-800);
  transition: background-color .18s var(--ease);
}
.data-row:hover { background: var(--ink-700); }
.data-row__rank {
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--muted-400);
}
.data-row__name { font-weight: 500; }
.data-row__value {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  color: var(--cyan-200);
}
.data-row[data-move="up"] .data-row__value { color: var(--orange-500); }

/* ---------- 7. chips ---------- */
.chip-row {
  display: flex;
  gap: 8px;
  padding-bottom: 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted-400);
  background: var(--ink-800);
  border: 1px solid var(--line-600);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: color .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}
.chip:hover { color: var(--cyan-200); border-color: var(--cyan-400); }
.chip[aria-pressed="true"],
.chip.is-active {
  background: rgba(56, 245, 208, .14);
  border-color: var(--cyan-400);
  color: var(--cyan-200);
}

/* ---------- 8. 图片容器（页面阶段直接放入 img） ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(140deg, #0F2A22, #0B1F19 55%, #123027);
  border: 1px solid var(--line-600);
}
.media > img { width: 100%; height: 100%; object-fit: cover; }
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(155deg, rgba(56, 245, 208, .24), rgba(6, 19, 15, .62) 72%);
}
.media--plain::after { display: none; }
.media--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }
.media__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 8px 12px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan-200);
  background: rgba(6, 19, 15, .78);
}

/* ---------- 9. 提示条 / 手风琴 ---------- */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  font-size: 14px;
  background: rgba(56, 245, 208, .08);
  border-left: 3px solid var(--cyan-400);
}
.notice--warm {
  background: rgba(255, 138, 61, .12);
  border-left-color: var(--orange-500);
  color: var(--orange-200);
}

.accordion { border-top: 1px solid var(--line-600); }
.accordion details { border-bottom: 1px solid var(--line-600); }
.accordion summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 2px;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  font-family: var(--font-num);
  color: var(--cyan-400);
}
.accordion details[open] summary::after { content: "\2013"; }
.accordion__body {
  padding: 0 2px 16px;
  font-size: 15px;
  color: var(--muted-400);
}

/* ---------- 10. 网格 ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--sidebar { grid-template-columns: 1fr; }

/* ---------- 11. 头部外壳 ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink-900);
  background: var(--cyan-400);
  transform: translateY(-180%);
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 70;
}

.site-header__rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bar-h);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  background: linear-gradient(90deg, #0D241D, #0B1F19 70%);
  border-bottom: 1px solid var(--line-600);
}
.site-header__rail::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(170px 96px at 6% 0, rgba(56, 245, 208, .18), transparent 70%);
}

.rail-brand { display: flex; align-items: center; min-width: 0; }
.rail-brand__mark { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rail-brand__name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--paper-100);
  white-space: nowrap;
}
.rail-brand__sub {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan-400);
  white-space: nowrap;
}
.rail-brand__tagline {
  display: none;
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted-400);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--cyan-200);
  border: 1px solid var(--line-600);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.nav-toggle:hover { background: rgba(56, 245, 208, .1); border-color: var(--cyan-400); }
.nav-toggle__text { text-transform: uppercase; }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
}
.nav-toggle__bars i {
  display: block;
  height: 2px;
  background: var(--cyan-400);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.site-header[data-open] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.rail-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--bar-h));
  padding: 14px 16px 20px;
  overflow-y: auto;
  background: var(--ink-800);
  border-bottom: 1px solid var(--line-600);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-14px);
  transition: transform .28s var(--ease), opacity .22s var(--ease), visibility .28s var(--ease);
}
.site-header[data-open] .rail-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.site-header__scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(6, 19, 15, .72);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.site-header[data-open] .site-header__scrim { opacity: 1; visibility: visible; }

.rail-nav__list { display: flex; flex-direction: column; gap: 2px; }
.rail-nav__item { display: block; }
.rail-nav__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px;
  color: var(--muted-400);
  border-left: 2px solid transparent;
  transition: color .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.rail-nav__link:hover {
  color: var(--cyan-200);
  background: rgba(56, 245, 208, .07);
  border-left-color: var(--cyan-200);
  transform: translateX(2px);
}
.rail-nav__link[aria-current="page"] {
  color: var(--paper-100);
  background: linear-gradient(90deg, rgba(56, 245, 208, .16), rgba(56, 245, 208, 0));
  border-left-color: var(--cyan-400);
}
.rail-nav__index {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .08em;
  opacity: .75;
}
.rail-nav__link[aria-current="page"] .rail-nav__index { color: var(--cyan-400); opacity: 1; }
.rail-nav__label {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
}

.rail-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.rail-utility {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-600);
}
.rail-utility__link {
  font-size: 12.5px;
  color: var(--muted-400);
  transition: color .18s var(--ease);
}
.rail-utility__link:hover { color: var(--cyan-200); }

.scroll-meter {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--cyan-400), var(--orange-500));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--cyan-200);
  background: var(--ink-700);
  border: 1px solid var(--line-600);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  animation: toTopIn .22s var(--ease);
  transition: color .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}
.to-top:hover {
  color: var(--ink-900);
  background: var(--cyan-400);
  border-color: var(--cyan-400);
}
.to-top[hidden] { display: none; }
.to-top__label {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .08em;
}
@keyframes toTopIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 12. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--ink-800);
  border-top: 1px solid var(--line-600);
  color: var(--paper-100);
}

.site-footer__inner {
  display: grid;
  gap: clamp(1.4rem, 4vw, 2.5rem);
  padding-block: clamp(2rem, 5vw, 3.25rem);
}

.footer-brand__mark { display: inline-flex; flex-direction: column; gap: 2px; }
.footer-brand__name {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.footer-brand__sub {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan-400);
}

.footer-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 16px;
}
.footer-stats li { display: flex; flex-direction: column; gap: 2px; }
.footer-stats__num {
  font-family: var(--font-num);
  font-size: 1.15rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--cyan-200);
}
.footer-stats__label {
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--muted-400);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}
.footer-col__title {
  margin-bottom: 10px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan-200);
}
.footer-col__list { display: flex; flex-direction: column; gap: 8px; }
.footer-link {
  font-size: 14px;
  color: var(--paper-100);
  opacity: .86;
  transition: color .18s var(--ease), opacity .18s var(--ease);
}
.footer-link:hover {
  color: var(--cyan-200);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-link[aria-current="page"] { color: var(--orange-500); opacity: 1; }

.footer-contact {
  padding: 16px 18px 18px;
  background: var(--ink-700);
  border: 1px solid var(--line-600);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; flex-direction: column; gap: 3px; }
.contact-list__label {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-400);
}
.contact-list__value {
  font-size: 14px;
  line-height: 1.55;
  color: var(--paper-100);
  word-break: break-word;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-left: -8px;
  padding: 4px 8px;
  font-family: var(--font-num);
  font-size: 13.5px;
  letter-spacing: .02em;
  color: var(--paper-100);
  border: 1px dashed transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.copy-btn::after {
  content: "复制";
  padding-left: 7px;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted-400);
  border-left: 1px solid var(--line-600);
}
.copy-btn:hover { color: var(--cyan-200); border-color: var(--line-600); }
.copy-btn[data-copy-state="ok"] { color: var(--cyan-400); }
.copy-btn[data-copy-state="ok"]::after { content: "已复制"; color: var(--cyan-400); }
.copy-btn[data-copy-state="manual"]::after { content: "长按复制"; color: var(--orange-200); }

.footer-contact__note {
  margin-top: 14px;
  padding-top: 12px;
  font-size: 12.5px;
  color: var(--muted-400);
  border-top: 1px solid var(--line-600);
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  padding-block: 16px 22px;
  font-size: 12.5px;
  color: var(--muted-400);
  border-top: 1px solid var(--line-600);
}
.footer-base-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-base-links a { font-size: 12.5px; color: var(--muted-400); }
.footer-base-links a:hover { color: var(--cyan-200); }
.footer-legal { font-family: var(--font-num); letter-spacing: .06em; }
.footer-year { font-family: var(--font-num); letter-spacing: .06em; }

/* ---------- 13. 进入视口 ---------- */
html[data-reveal-ready="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
html[data-reveal-ready="on"] [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 14. 响应式 ---------- */
@media (min-width: 768px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

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

  .site-header__rail {
    right: auto;
    bottom: 0;
    width: var(--rail-w);
    height: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 26px 20px 22px;
    overflow-x: hidden;
    overflow-y: auto;
    background: linear-gradient(180deg, #0E251E, #0B1F19 45%, #081612);
    border-right: 1px solid var(--line-600);
    border-bottom: 0;
  }
  .site-header__rail::before {
    background: radial-gradient(200px 150px at 12% 0, rgba(56, 245, 208, .16), transparent 72%);
  }

  .rail-brand { display: block; }
  .rail-brand__name { font-size: 20px; }
  .rail-brand__sub { font-size: 11px; }
  .rail-brand__tagline { display: block; }
  .rail-brand__mark:hover .rail-brand__name { color: var(--cyan-200); }

  .nav-toggle { display: none; }

  .rail-nav {
    position: static;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    max-height: none;
    margin-top: 22px;
    padding: 0;
    overflow: visible;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .rail-nav__list { gap: 3px; }
  .rail-actions { margin-top: auto; padding-top: 22px; }
  .rail-utility { margin-top: 14px; }

  .scroll-meter {
    left: auto;
    right: 0;
    top: 0;
    bottom: auto;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--cyan-400), var(--orange-500));
    transform: scaleY(var(--scroll-progress, 0));
    transform-origin: top center;
  }

  .site-header__scrim { display: none; }

  .to-top { right: 26px; bottom: 26px; }

  .site-footer__inner { grid-template-columns: 1.1fr 1.9fr 1.3fr; }
  .footer-brand { grid-column: auto; }

  .grid--sidebar { grid-template-columns: 260px 1fr; }
}

/* ---------- 15. 减少动效 ---------- */
@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[data-reveal-ready="on"] [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
