/* ============================================================
   华体会赛场 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 头部 / 页脚 / 基础组件
   ============================================================ */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

/* ---------- 变量 ---------- */
:root {
  --navy: #061426;
  --navy-2: #0B1F38;
  --line: #123A5E;
  --paper: #E9E2D4;
  --paper-hi: #F6F2E9;
  --cyan: #28E1D2;
  --orange: #FF7A1A;
  --green: #6FF0A8;
  --amber: #FFC24B;
  --text: #AEBBCB;
  --ink: #1A2230;

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular,
               Menlo, Consolas, "Courier New", monospace;

  --rail-w: 0px;
  --topbar-h: 64px;
  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 18px;
}

@media (min-width: 1080px) {
  :root { --rail-w: 284px; }
  html[data-slim="true"] { --rail-w: 220px; }
}

/* ---------- 中文排版基底 ---------- */
body {
  min-height: 100vh;
  padding-left: var(--rail-w);
  background-color: var(--navy);
  background-image:
    radial-gradient(1100px 620px at 78% -8%, rgba(40, 225, 210, 0.09), transparent 62%),
    radial-gradient(900px 520px at 12% 106%, rgba(255, 122, 26, 0.07), transparent 60%);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  transition: padding-left .28s ease;
}

/* 夜场灯光颗粒 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: .55;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .010) 0 1px, transparent 1px 4px);
}

@media (max-width: 1079.98px) {
  body { padding-left: 0; padding-top: var(--topbar-h); }
}

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--paper-hi);
  letter-spacing: -0.015em;
}
h2 { font-size: clamp(24px, 3vw, 40px); margin-top: .6em; margin-bottom: .5em; }
h3 { font-size: clamp(19px, 2vw, 24px); margin-bottom: .45em; }
h4 { font-size: 17px; margin-bottom: .4em; }

ul:not([class]), ol:not([class]) { padding-left: 1.25em; margin-bottom: 1.1em; }
ul:not([class]) { list-style: none; }
ul:not([class]) > li { position: relative; padding-left: .1em; margin-bottom: .45em; }
ul:not([class]) > li::before {
  content: "";
  position: absolute;
  left: -1em; top: .78em;
  width: 6px; height: 1px;
  background: var(--cyan);
}
ol:not([class]) { list-style: decimal; }
ol:not([class]) > li { margin-bottom: .45em; }

strong { color: var(--paper-hi); font-weight: 700; }

::selection { background: rgba(40, 225, 210, .3); color: var(--paper-hi); }

/* ---------- 焦点可见 ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

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

/* ============================================================
   头部 · 左右分屏左轨
   ============================================================ */
.site-head {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #08182D 0%, var(--navy) 58%, #04101F 100%);
  border-right: 1px solid var(--line);
  transition: width .28s ease;
}

.site-head::after {
  content: "";
  position: absolute;
  top: 0; right: -1px;
  width: 1px; height: 42%;
  background: linear-gradient(180deg, var(--cyan), transparent);
  opacity: .8;
}

/* skip link */
.skip-link {
  position: absolute;
  left: 12px; top: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cyan);
  color: #04101F;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-190%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* 左轨容器 */
.rail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  padding: 26px 20px 24px;
  overflow-y: auto;
}
.rail::-webkit-scrollbar { width: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

/* 品牌浮岛 */
.rail__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.rail__mark {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: linear-gradient(145deg, rgba(40, 225, 210, .18), rgba(255, 122, 26, .12));
  transition: border-color .22s ease, box-shadow .22s ease;
}
.rail__brand:hover .rail__mark {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(40, 225, 210, .14);
}
.rail__mark-bar {
  display: block;
  width: 16px; height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: skewX(-18deg);
}
.rail__mark-bar:nth-child(1) { width: 10px; background: var(--orange); }
.rail__mark-bar:nth-child(3) { width: 13px; background: var(--green); }

.rail__brand-text { display: flex; flex-direction: column; min-width: 0; }
.rail__brand-text strong {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--paper-hi);
  line-height: 1.25;
}
.rail__brand-text small {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--cyan);
  opacity: .85;
  line-height: 1.6;
}

/* 实时数据流状态 */
.rail__status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 31, 56, .62);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
}
.rail__status .num { color: var(--cyan); font-size: 11px; letter-spacing: .1em; }
.rail__status-dot {
  flex: 0 0 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(111, 240, 168, .16);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 58, 94, .3);
  color: var(--paper-hi);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.nav-toggle:hover { border-color: var(--cyan); background: rgba(40, 225, 210, .1); }
.nav-toggle__bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform .2s ease;
}
.site-head[data-open="true"] .nav-toggle__bars i:first-child { transform: translateY(3px) rotate(45deg); }
.site-head[data-open="true"] .nav-toggle__bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* 导航 + 行动区 */
.rail__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1 1 auto;
  min-height: 0;
}

.rail__nav { display: block; }

.nav-list { display: flex; flex-direction: column; gap: 6px; }

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .22s ease, border-color .22s ease, color .22s ease;
}
.nav-link::before {
  content: "";
  flex: 0 0 6px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line);
  transition: background .22s ease, box-shadow .22s ease;
}
.nav-link:hover {
  background: rgba(40, 225, 210, .07);
  border-color: rgba(40, 225, 210, .34);
  color: var(--paper-hi);
}
.nav-link:hover::before { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.nav-link[aria-current="page"] {
  background: linear-gradient(90deg, rgba(40, 225, 210, .18), rgba(40, 225, 210, .02));
  border-color: rgba(40, 225, 210, .5);
  color: var(--paper-hi);
}
.nav-link[aria-current="page"]::before {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(40, 225, 210, .18);
}

.rail__tools {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .22s ease, background .22s ease, color .22s ease,
              transform .22s ease, box-shadow .22s ease;
}
.btn--ghost:hover {
  border-color: var(--cyan);
  background: rgba(40, 225, 210, .09);
  color: var(--paper-hi);
}
.btn--cta {
  border-color: var(--orange);
  background: var(--orange);
  color: #1A1005;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(255, 122, 26, .28);
}
.btn--cta:hover {
  background: #FF8C3A;
  border-color: #FF8C3A;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 122, 26, .34);
}

/* 检索入口按钮 */
.search-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 15px;
  border: 1px dashed var(--line);
  border-radius: 999px;
  background: rgba(11, 31, 56, .6);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.search-btn:hover { border-color: var(--cyan); color: var(--paper-hi); background: rgba(40, 225, 210, .08); }
.search-btn__hint {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 1px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--cyan);
}

/* ============================================================
   站内检索浮层
   ============================================================ */
.search-pop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 14vh 16px 20px;
  background: rgba(3, 10, 20, .74);
}
.search-pop[hidden] { display: none; }
.search-pop__panel {
  width: min(580px, 100%);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, #0D2440, var(--navy-2));
  box-shadow: 0 34px 90px rgba(0, 0, 0, .6);
  animation: popIn .18s ease;
}
@keyframes popIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.search-pop__label {
  margin: 0;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--cyan);
  font-weight: 700;
}
.search-pop__input {
  width: 100%;
  margin-top: 12px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--navy);
  color: var(--paper-hi);
  font-size: 17px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-pop__input::placeholder { color: rgba(174, 187, 203, .6); }
.search-pop__input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(40, 225, 210, .18);
}
.search-pop__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 44vh;
  margin-top: 14px;
  overflow-y: auto;
}
.search-pop__list a {
  display: block;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.search-pop__list a[hidden] { display: none; }
.search-pop__list a:hover,
.search-pop__list a:focus-visible {
  background: rgba(40, 225, 210, .1);
  border-color: rgba(40, 225, 210, .38);
  color: var(--paper-hi);
}
.search-pop__empty {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--amber);
}
.search-pop__close {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  letter-spacing: .1em;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.search-pop__close:hover { border-color: var(--cyan); color: var(--paper-hi); }

/* ============================================================
   页脚
   ============================================================ */
.site-foot {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  padding: clamp(38px, 5vw, 64px) clamp(20px, 4vw, 60px) 34px;
  background: linear-gradient(180deg, #08182D, #04101F);
  border-top: 1px solid var(--line);
}
.site-foot::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(40, 225, 210, 0) 62%);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.5fr); }
}

.foot-brand__mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.015em;
  color: var(--paper-hi);
  text-decoration: none;
}
.foot-brand__mark::before {
  content: "";
  width: 9px; height: 21px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--orange));
  transform: skewX(-16deg);
}
.foot-brand__line {
  margin: 9px 0 0;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--cyan);
}
.foot-brand__summary {
  margin: 14px 0 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.foot-col__title {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 700;
  color: var(--paper-hi);
}
.foot-list { display: flex; flex-direction: column; gap: 9px; }
.foot-link {
  position: relative;
  display: inline-block;
  width: max-content;
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
  transition: color .2s ease;
}
.foot-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width .24s ease;
}
.foot-link:hover { color: var(--paper-hi); }
.foot-link:hover::after { width: 100%; }

.foot-meta {
  max-width: 1280px;
  margin: clamp(30px, 4vw, 52px) auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 13px;
  color: rgba(174, 187, 203, .82);
}
.foot-meta p { margin: 0; }
.foot-meta__legal { color: var(--amber); letter-spacing: .04em; }
.foot-meta__copy { color: rgba(174, 187, 203, .62); }

/* ============================================================
   页面基础组件（供页面 CSS 复用）
   ============================================================ */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 58px);
}

.section { position: relative; padding: clamp(52px, 7.5vw, 104px) 0; }
.section--tight { padding: clamp(32px, 4.5vw, 60px) 0; }

.display {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(44px, 7vw, 112px);
  line-height: .95;
  letter-spacing: -0.03em;
  color: var(--paper-hi);
  transform: skewX(-2deg);
  transform-origin: left bottom;
}
.ghost-text {
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: .92;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  text-stroke: 1px var(--line);
  user-select: none;
}

.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.8;
  color: #C6D2E0;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.label::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--cyan);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 58, 94, .28);
  color: var(--text);
  font-size: 12px;
  letter-spacing: .08em;
  line-height: 1.6;
  white-space: nowrap;
}
.tag--cyan { color: var(--cyan); border-color: rgba(40, 225, 210, .42); }
.tag--orange { color: var(--orange); border-color: rgba(255, 122, 26, .42); }
.tag--green { color: var(--green); border-color: rgba(111, 240, 168, .42); }

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

.card {
  position: relative;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(160deg, rgba(13, 36, 64, .96), rgba(6, 20, 38, .96));
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .42);
}

.paper {
  padding: clamp(20px, 3vw, 38px);
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: var(--radius-l);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .38);
}
.paper h2, .paper h3, .paper h4 { color: var(--ink); }
.paper strong { color: #0B1F38; }
.paper a { color: #0A5F58; text-decoration-color: rgba(10, 95, 88, .45); }
.paper a:hover { color: #063D38; }

.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--text);
}
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li::after { content: "／"; color: var(--line); }
.crumbs li:last-child::after { content: none; }
.crumbs a { color: var(--text); text-decoration: none; transition: color .2s ease; }
.crumbs a:hover { color: var(--cyan); }

.rule-slant {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--cyan) 16%, var(--line) 58%, transparent);
  transform: rotate(-2.2deg);
  opacity: .75;
}

/* 响应式图片容器（页面阶段放置占位与图片） */
.figure {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background-color: var(--navy-2);
  background-image:
    linear-gradient(130deg, rgba(40, 225, 210, .12), rgba(255, 122, 26, .09)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 7px);
}
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure--16x9 { aspect-ratio: 16 / 9; }
.figure--4x3 { aspect-ratio: 4 / 3; }
.figure--1x1 { aspect-ratio: 1 / 1; }
.figure--tall { aspect-ratio: 3 / 4; }
.figure__caption {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(174, 187, 203, .78);
}

/* ---------- 渐显（由 site.js 添加 .is-in） ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   断点 · 平板与手机
   ============================================================ */
@media (max-width: 1079.98px) {
  .site-head {
    inset: 0 0 auto 0;
    width: 100%;
    height: var(--topbar-h);
    flex-direction: row;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(6, 20, 38, .94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .site-head::after { display: none; }

  .rail {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 100%;
    padding: 0 clamp(14px, 4vw, 26px);
    overflow: visible;
  }
  .rail__brand { gap: 9px; }
  .rail__mark { flex-basis: 30px; width: 30px; height: 30px; gap: 2px; }
  .rail__mark-bar { width: 13px; }
  .rail__mark-bar:nth-child(1) { width: 8px; }
  .rail__mark-bar:nth-child(3) { width: 11px; }
  .rail__brand-text strong { font-size: 16px; }
  .rail__brand-text small { display: none; }
  .rail__status { display: none; }

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

  .rail__body {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    flex: 0 0 auto;
    max-height: calc(100dvh - var(--topbar-h));
    padding: 16px clamp(14px, 4vw, 26px) 22px;
    overflow-y: auto;
    background: #08182D;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .55);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .2s ease, opacity .18s ease, visibility .18s ease;
  }
  .site-head[data-open="true"] .rail__body {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list { gap: 8px; }
  .nav-link { font-size: 16px; padding: 13px 16px; }

  .rail__tools {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }
  .search-btn { grid-column: 1 / -1; }

  .search-pop { padding-top: 8vh; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .display { transform: skewX(-1.4deg); }
  .search-pop { padding: 0; align-items: stretch; }
  .search-pop__panel {
    width: 100%;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    animation: none;
  }
  .search-pop__list { max-height: none; }
  .foot-meta { flex-direction: column; gap: 6px; }
}

/* ============================================================
   动效可访问性
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .card:hover, .btn--cta:hover { transform: none; }
  .rail__status-dot { animation: none; }
}
