/* ============================================================
   易倍赛场 · 共享站点样式 /assets/site.css
   蓝图轨道系统 / 暗底霓虹 / 侧轨导航 / 移动抽屉
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }
img, svg, video, canvas { display: block; max-width: 100%; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

/* ---------- 2. Variables ---------- */
:root {
  --ink: #07090C;
  --graphite: #10161C;
  --graphite-deep: #0B1016;
  --rail-line: #2A3644;
  --silver: #C7D2DC;
  --white: #F2F7FA;
  --cyan: #00E5C8;
  --green: #7CFF5A;
  --orange: #FF8A3D;
  --gold: #FFC94D;
  --pale: #E8EEF3;
  --muted: #8A98A6;
  --muted-deep: #5B6A79;
  --font-display: "Oswald", "Barlow Condensed", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-editorial: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-num: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-body: "Noto Sans SC", "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --grad-path: linear-gradient(135deg, #00E5C8 0%, #7CFF5A 100%);
  --grad-warm: linear-gradient(120deg, #FF8A3D 0%, #FFC94D 100%);
  --rail-w: 88px;
  --rail-w-open: 220px;
  --bar-h: 56px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-pill: 999px;
  --wrap: 1240px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 3. Base ---------- */
body {
  background: var(--ink);
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  padding-left: var(--rail-w);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 蓝图网格底层 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(to right, rgba(42, 54, 68, .55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 54, 68, .55) 1px, transparent 1px),
    linear-gradient(to right, rgba(42, 54, 68, .22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 54, 68, .22) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px;
}

/* 夜光晕层 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 400px at 10% 4%, rgba(0, 229, 200, .10), transparent 70%),
    radial-gradient(540px 360px at 92% 96%, rgba(255, 138, 61, .08), transparent 70%);
}

main { position: relative; z-index: 1; }

/* 中文排版基线 */
p { max-width: 720px; }
.measure { max-width: 720px; }
strong { color: var(--white); font-weight: 600; }

/* 焦点可见 */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 6px;
}

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

/* ---------- 4. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translate(-50%, -180%);
  z-index: 300;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  background: var(--grad-path);
  color: #06231F;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 12px 32px rgba(0, 229, 200, .28);
  transition: transform 200ms var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- 5. Header / 侧轨轨道 ---------- */
.site-header { display: block; }

.rail {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--rail-w);
  z-index: 70;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0B1016 0%, #07090C 100%);
  border-right: 1px solid rgba(42, 54, 68, .9);
  overflow: hidden;
  transition: width 240ms var(--ease), box-shadow 240ms var(--ease);
}
.rail:hover,
.rail:focus-within {
  width: var(--rail-w-open);
  box-shadow: 24px 0 60px rgba(0, 0, 0, .55);
}

.rail__brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 84px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(42, 54, 68, .7);
}
.rail__mark {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--grad-path);
  color: #06231F;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -.02em;
  box-shadow: 0 0 0 1px rgba(0, 229, 200, .35), 0 10px 26px rgba(0, 229, 200, .18);
}
.rail__brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}
.rail:hover .rail__brand-text,
.rail:focus-within .rail__brand-text {
  opacity: 1;
  transform: none;
  transition-delay: 70ms;
}
.rail__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: .04em;
  color: var(--white);
}
.rail__sub {
  font-family: var(--font-num);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .08em;
  color: var(--muted-deep);
}

.rail__nav {
  flex: 1 1 auto;
  padding: 18px 12px;
  overflow: hidden auto;
  scrollbar-width: none;
}
.rail__nav::-webkit-scrollbar { display: none; }
.rail__list { display: flex; flex-direction: column; gap: 4px; }

.rail__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 0 8px;
  border-radius: 14px;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}
.rail__link:hover { background: rgba(199, 210, 220, .06); }

.rail__index {
  flex: 0 0 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(42, 54, 68, .95);
  border-radius: 12px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .02em;
  color: #71818F;
  transition: color 180ms var(--ease), border-color 180ms var(--ease),
              box-shadow 180ms var(--ease), background 180ms var(--ease);
}
.rail__label {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 160ms var(--ease), transform 160ms var(--ease);
}
.rail:hover .rail__label,
.rail:focus-within .rail__label {
  opacity: 1;
  transform: none;
  transition-delay: 70ms;
}

.rail__link[aria-current="page"] {
  background: rgba(0, 229, 200, .08);
  color: var(--white);
}
.rail__link[aria-current="page"] .rail__index {
  border-color: rgba(0, 229, 200, .85);
  color: var(--cyan);
  background: rgba(0, 229, 200, .10);
  box-shadow: 0 0 0 3px rgba(0, 229, 200, .10), 0 0 16px rgba(0, 229, 200, .35);
}
.rail__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 3px;
  height: 20px;
  border-radius: 0 3px 3px 0;
  background: var(--grad-path);
  transform: translateY(-50%);
  box-shadow: 0 0 12px rgba(0, 229, 200, .6);
}

.rail__actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px 16px;
}
.rail__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--grad-path);
  color: #06231F;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(0, 229, 200, .18);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.rail__cta:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0, 229, 200, .3); }
.rail__cta--ghost {
  background: rgba(0, 229, 200, .06);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 200, .45);
  box-shadow: none;
}
.rail__cta--ghost:hover {
  background: rgba(0, 229, 200, .14);
  border-color: var(--cyan);
  box-shadow: 0 10px 24px rgba(0, 229, 200, .16);
}
.rail__cta-icon {
  flex: 0 0 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 14px;
  line-height: 1;
}
.rail__cta-text {
  flex: 0 0 auto;
  opacity: 0;
  transition: opacity 160ms var(--ease) 60ms;
}
.rail:hover .rail__cta-text,
.rail:focus-within .rail__cta-text { opacity: 1; }

.rail__foot {
  flex: 0 0 auto;
  padding: 14px 12px 18px;
  border-top: 1px solid rgba(42, 54, 68, .7);
  font-family: var(--font-num);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .02em;
  color: #5B6A79;
  word-break: break-word;
}
.rail__foot-icp,
.rail__foot-region { display: block; }
.rail__foot-region { margin-top: 4px; color: #3E4C5A; }

/* ---------- 6. 移动顶条 ---------- */
.mobilebar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--bar-h);
  z-index: 80;
  align-items: center;
  gap: 10px;
  padding: 0 10px 0 16px;
  background: rgba(7, 9, 12, .93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 54, 68, .85);
}
.mobilebar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-height: 44px;
}
.mobilebar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 229, 200, .85);
}
.mobilebar__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: .04em;
  color: var(--white);
}
.mobilebar__cta { flex: 0 0 auto; }

.nav-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(42, 54, 68, .95);
  display: grid;
  place-items: center;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}
.nav-toggle:hover { border-color: rgba(0, 229, 200, .6); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--silver);
  transition: transform 220ms var(--ease), top 220ms var(--ease), background 220ms var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 5px;
  background: var(--cyan);
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 5px;
  background: var(--cyan);
  transform: rotate(-45deg);
}

/* ---------- 7. 抽屉与遮罩 ---------- */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(3, 5, 7, .74);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms var(--ease), visibility 220ms var(--ease);
}
.scrim[data-open="true"] { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(88vw, 380px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 28px;
  background: linear-gradient(165deg, #0D141B 0%, #07090C 62%);
  border-left: 1px solid rgba(42, 54, 68, .9);
  overflow-y: auto;
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 260ms var(--ease), visibility 260ms var(--ease);
}
.drawer[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(42, 54, 68, .7);
}
.drawer__title {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-deep);
}
.drawer__close {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--rail-line);
  display: grid;
  place-items: center;
  font-size: 17px;
  line-height: 1;
  color: var(--silver);
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}
.drawer__close:hover { border-color: var(--cyan); color: var(--cyan); }

.drawer__nav { margin-top: 8px; }
.drawer__list { display: flex; flex-direction: column; }
.drawer__item { border-bottom: 1px solid rgba(42, 54, 68, .55); }
.drawer__link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 56px;
  padding: 14px 4px;
  transition: background 180ms var(--ease);
}
.drawer__link:hover { background: rgba(0, 229, 200, .05); }
.drawer__index {
  flex: 0 0 26px;
  padding-top: 4px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--muted-deep);
}
.drawer__body { display: flex; flex-direction: column; gap: 3px; }
.drawer__label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--silver);
}
.drawer__desc {
  font-size: 12px;
  line-height: 1.5;
  color: #6C7C8C;
}
.drawer__link[aria-current="page"] .drawer__label { color: var(--cyan); }
.drawer__link[aria-current="page"] .drawer__index { color: var(--cyan); }

.drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.drawer__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(42, 54, 68, .55);
  font-family: var(--font-num);
  font-size: 11px;
  color: var(--muted-deep);
}

html.nav-open,
html.nav-open body { overflow: hidden; }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: transform 160ms var(--ease), background 200ms var(--ease),
              color 200ms var(--ease), border-color 200ms var(--ease),
              box-shadow 200ms var(--ease);
}
.btn--primary {
  background: var(--grad-path);
  color: #06231F;
  box-shadow: 0 8px 24px rgba(0, 229, 200, .18);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(0, 229, 200, .3); }
.btn--ghost {
  background: rgba(0, 229, 200, .06);
  border-color: rgba(0, 229, 200, .5);
  color: var(--cyan);
}
.btn--ghost:hover { background: rgba(0, 229, 200, .14); border-color: var(--cyan); }
.btn--quiet {
  background: rgba(199, 210, 220, .04);
  border-color: var(--rail-line);
  color: var(--silver);
}
.btn--quiet:hover { border-color: var(--cyan); color: var(--white); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; }

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(64px, 10vw, 120px);
  background: linear-gradient(180deg, #080B10 0%, #05070A 100%);
  border-top: 1px solid rgba(42, 54, 68, .9);
}
.footer__grid {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 32px 40px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 44px 32px;
}
.footer__mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer__badge {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-path);
  color: #06231F;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: -.02em;
}
.footer__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: .05em;
  color: var(--white);
}
.footer__note {
  margin-top: 14px;
  max-width: 30ch;
  font-size: 13px;
  line-height: 1.7;
  color: #7B8B9A;
}
.footer__contact {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer__contact-item { display: flex; gap: 10px; }
.footer__k {
  flex: 0 0 40px;
  padding-top: 4px;
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: .14em;
  color: #4E5C6B;
}
.footer__v {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  word-break: break-word;
}
.footer__col-title {
  margin-bottom: 16px;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-deep);
}
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__link {
  position: relative;
  display: inline-block;
  font-size: 14px;
  color: var(--silver);
  transition: color 160ms var(--ease), padding-left 160ms var(--ease);
}
.footer__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transform: translateY(-50%);
  transition: width 160ms var(--ease);
}
.footer__link:hover { color: var(--cyan); padding-left: 10px; }
.footer__link:hover::before { width: 6px; }

.footer__bottom {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px 32px 34px;
  border-top: 1px solid rgba(42, 54, 68, .7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-family: var(--font-num);
  font-size: 12px;
  color: #68778A;
}
.footer__legal { max-width: none; }
.footer__region { max-width: none; }

/* ---------- 10. 通用容器与章节 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}
.wrap--narrow { max-width: 860px; }

.section { position: relative; padding: clamp(56px, 8vw, 104px) 0; }
.section--graphite { background: linear-gradient(180deg, #0C1116 0%, #10161C 100%); }
.section--pale { background: var(--pale); color: #101820; }
.section--pale .section__title { color: #0A1016; }
.section--pale .section__lead { color: #46545F; }
.section--pale .section__eyebrow { color: #068A78; }
.section--pale .board { background: #F7FAFC; border-color: #C9D6E0; }
.section--pale .board__coord { color: #8FA0AE; }

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.section__title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--white);
}
.section__lead {
  margin-top: 14px;
  font-size: 16px;
  color: #9AA9B7;
}

/* ---------- 11. 通用组件 ---------- */
.grid { display: grid; gap: 24px; }

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(42, 54, 68, .95);
  background: rgba(199, 210, 220, .03);
  font-size: 13px;
  font-weight: 500;
  color: #9AA9B7;
  transition: color 180ms var(--ease), border-color 180ms var(--ease),
              background 180ms var(--ease);
}
.pill:hover { border-color: rgba(0, 229, 200, .6); color: var(--white); }
.pill[aria-pressed="true"],
.pill.is-active {
  background: rgba(0, 229, 200, .14);
  border-color: var(--cyan);
  color: var(--cyan);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.filter-bar__label {
  margin-right: 2px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-deep);
}

.board {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(42, 54, 68, .85);
  border-radius: var(--r-md);
  background: linear-gradient(160deg, #0E151C 0%, #0A0F14 100%);
}
.board__coord {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: .14em;
  color: #3E4C5A;
}

.figure {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(42, 54, 68, .8);
  background: var(--graphite);
}
.figure__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0B1016;
  background-image:
    linear-gradient(135deg, rgba(0, 229, 200, .10), rgba(255, 138, 61, .10)),
    repeating-linear-gradient(135deg, rgba(42, 54, 68, .5) 0 1px, transparent 1px 12px);
}
.figure__media > img,
.figure__media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure__media--wide { aspect-ratio: 21 / 9; }
.figure__media--tall { aspect-ratio: 4 / 5; }
.figure__media--square { aspect-ratio: 1 / 1; }
.figure__caption {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid rgba(42, 54, 68, .7);
  background: rgba(7, 9, 12, .6);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.figure__tag {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--orange);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px 0;
  font-family: var(--font-num);
  font-size: 12px;
  color: #68778A;
}
.breadcrumb a { color: var(--muted); transition: color 160ms var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb__sep { color: #35424F; }
.breadcrumb [aria-current="page"] { color: var(--silver); }

/* ---------- 12. 滚动进度与显现 ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 150;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad-path);
  box-shadow: 0 0 12px rgba(0, 229, 200, .5);
  pointer-events: none;
  will-change: transform;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 380ms var(--ease), transform 380ms var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  body { padding-left: 0; padding-top: var(--bar-h); }
  .rail {
    transform: translateX(-100%);
    visibility: hidden;
    pointer-events: none;
  }
  .mobilebar { display: flex; }
  .scroll-progress { top: var(--bar-h); }
  main { padding-top: 0; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 20px; }
  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding: 48px 20px 32px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 30px;
  }
  .section__title { font-size: clamp(26px, 8vw, 36px); }
  .board { padding: 20px; }
}

/* ---------- 14. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .rail__cta:hover { transform: none; }
  .btn--primary:hover { transform: none; }
}
