/* ============================================================
   八大胜体育官网 · 共享样式表 /assets/site.css
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100dvh; }
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 2. 变量 ---------- */
:root {
  --ink-950: #05070D;
  --ink-900: #0B1220;
  --ink-850: #0F1626;
  --ink-800: #141B2B;

  --blue: #2E6BFF;
  --orange: #FF6A2B;
  --green: #37F5A0;
  --cyan: #6FE3FF;
  --mist: #9AA6B8;
  --snow: #F5F8FF;
  --red: #FF3B5C;

  --line: rgba(154, 166, 184, .16);
  --line-strong: rgba(154, 166, 184, .3);

  --rail-w: 96px;
  --bar-h: 64px;
  --content-max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  --r-xs: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-pill: 999px;

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(.22, .7, .28, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .01em;
  color: var(--snow);
  background-color: var(--ink-950);
  background-image:
    radial-gradient(70vw 58vw at 94% -10%, rgba(46, 107, 255, .18), transparent 62%),
    radial-gradient(52vw 46vw at -10% 106%, rgba(255, 106, 43, .10), transparent 64%),
    linear-gradient(180deg, rgba(11, 18, 32, .85) 0px, rgba(5, 7, 13, 0) 420px);
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-top: var(--bar-h);
}

p { max-width: 34em; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }

.mono, code, kbd {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.lead {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.85;
  color: var(--mist);
}

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

/* ---------- 4. 无障碍辅助 ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  transform: translateY(-180%);
  transition: transform .22s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

#main-content { display: block; scroll-margin-top: 88px; }
html.js [data-reveal] {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .48s ease-out, transform .48s ease-out;
  transition-delay: var(--reveal-delay, 0ms);
}
html.js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* ---------- 5. 头部 / 侧边轨道 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(5, 7, 13, .94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.rail__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: var(--bar-h);
  padding: 8px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--snow);
}
.brand__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--blue), #15379c);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.04em;
  box-shadow: 0 0 0 1px rgba(111, 227, 255, .3), 0 12px 26px -14px rgba(46, 107, 255, .95);
}
.brand__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand__meta {
  display: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mist);
}

.nav-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  color: var(--snow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: border-color .24s var(--ease), color .24s var(--ease), background-color .24s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(46, 107, 255, .1); }
.nav-toggle__box { position: relative; display: block; width: 18px; height: 12px; }
.nav-toggle__box span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .28s var(--ease), opacity .2s var(--ease), width .28s var(--ease);
}
.nav-toggle__box span:nth-child(2) { top: 5px; width: 68%; }
.nav-toggle__box span:nth-child(3) { top: 10px; }
.site-header[data-open] .nav-toggle__box span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__box span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__box span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); width: 100%; }

.rail__nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  max-height: calc(100dvh - var(--bar-h));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px var(--gutter) 28px;
  background: linear-gradient(180deg, var(--ink-900), var(--ink-950));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s linear;
}
.site-header[data-open] .rail__nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

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

.nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  color: var(--mist);
  font-size: 16px;
  font-weight: 600;
  transition: color .24s var(--ease), background-color .24s var(--ease), border-color .24s var(--ease);
}
.nav-link:hover { color: var(--snow); background: rgba(46, 107, 255, .1); border-color: rgba(46, 107, 255, .35); }
.nav-link__index {
  min-width: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: rgba(154, 166, 184, .7);
}
.nav-link__icon { flex: none; display: grid; place-items: center; width: 22px; height: 22px; color: currentColor; }
.nav-link__icon svg { width: 100%; height: 100%; }
.nav-link__text { flex: 1 1 auto; }

.nav-link[aria-current="page"] {
  color: var(--snow);
  border-color: rgba(46, 107, 255, .45);
  background: linear-gradient(90deg, rgba(46, 107, 255, .24), rgba(46, 107, 255, .02));
  box-shadow: inset 3px 0 0 var(--blue);
}
.nav-link[aria-current="page"] .nav-link__index { color: var(--cyan); }

.rail__dock {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.rail__dock-line {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .03em;
  color: var(--mist);
  max-width: 100%;
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(80px, 10vw, 160px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 18, 32, .9) 0%, var(--ink-950) 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue) 32%, var(--orange) 62%, transparent);
  opacity: .75;
}

.footer__inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) var(--gutter) clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 56px);
}

.footer__col { min-width: 0; }
.footer__col--brand .brand { margin-bottom: 4px; }

.footer__lede {
  margin-top: 18px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
  max-width: 30ch;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}
.footer__legal a {
  color: var(--mist);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .22s var(--ease), border-color .22s var(--ease);
}
.footer__legal a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

.footer__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--cyan);
  text-transform: uppercase;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.footer__info { display: flex; flex-direction: column; gap: 14px; }
.footer__info li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: baseline;
}
.footer__key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mist);
}
.footer__val {
  font-size: 15px;
  color: var(--snow);
  word-break: break-word;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 26px;
}
.footer__nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--mist);
  transition: color .22s var(--ease);
}
.footer__nav a:hover { color: var(--cyan); }

.footer__bar {
  border-top: 1px solid var(--line);
}
.footer__bar-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 22px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.footer__copy,
.footer__note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--mist);
  max-width: none;
}
.footer__note { color: rgba(154, 166, 184, .72); }

/* ---------- 7. 容器与网格 ---------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }
.container--wide { max-width: 1400px; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }

/* ---------- 8. 章节骨架 ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }

.section__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.section__num {
  font-family: var(--font-mono);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
  color: rgba(46, 107, 255, .22);
  -webkit-text-stroke: 1.5px rgba(46, 107, 255, .78);
}
.section__lead {
  color: var(--mist);
  font-size: 16px;
  line-height: 1.85;
  max-width: 34em;
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(46, 107, 255, .6), rgba(154, 166, 184, .12) 45%, transparent);
}

/* ---------- 9. 按钮 ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -16px rgba(46, 107, 255, .85); }
.btn:active { transform: translateY(0); }

.btn--orange { --btn-bg: var(--orange); --btn-fg: #0A0A0A; }
.btn--orange:hover { box-shadow: 0 16px 32px -16px rgba(255, 106, 43, .9); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--snow);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  --btn-fg: var(--cyan);
  border-color: var(--cyan);
  background: rgba(46, 107, 255, .1);
  box-shadow: none;
}

.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- 10. 胶囊 / 标签 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: rgba(20, 27, 43, .72);
  color: var(--mist);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.5;
  white-space: nowrap;
}
.chip__dot {
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: chipPulse 2.4s var(--ease) infinite;
}
.chip--live {
  color: var(--green);
  border-color: rgba(55, 245, 160, .38);
  background: rgba(55, 245, 160, .1);
}
.chip--verify {
  color: var(--cyan);
  border-color: rgba(46, 107, 255, .45);
  background: rgba(46, 107, 255, .13);
}
.chip--hot {
  color: var(--orange);
  border-color: rgba(255, 106, 43, .42);
  background: rgba(255, 106, 43, .12);
}

@keyframes chipPulse {
  0%   { box-shadow: 0 0 0 0 rgba(55, 245, 160, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(55, 245, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(55, 245, 160, 0); }
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: rgba(46, 107, 255, .12);
  border: 1px solid rgba(46, 107, 255, .3);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
}

/* ---------- 11. 数据与卡片 ---------- */
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--snow);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--mist);
}

.card {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(20, 27, 43, .92), rgba(11, 18, 32, .86));
  transition: border-color .28s var(--ease), transform .28s var(--ease);
}
.card:hover { border-color: rgba(46, 107, 255, .5); transform: translateY(-3px); }
.card__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.card__title {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--snow);
}
.card__text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 12. 图片容器 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background-color: var(--ink-800);
  background-image:
    linear-gradient(135deg, rgba(46, 107, 255, .22), rgba(5, 7, 13, 0) 62%),
    radial-gradient(circle at 1px 1px, rgba(154, 166, 184, .22) 1px, transparent 0);
  background-size: auto, 22px 22px;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: rgba(5, 7, 13, .78);
  border: 1px solid rgba(46, 107, 255, .4);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* ---------- 13. 面包屑 ---------- */
.breadcrumb { margin-bottom: 22px; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--mist);
}
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(154, 166, 184, .42);
}
.breadcrumb a { color: var(--mist); transition: color .22s var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--snow); }

/* ---------- 14. 折叠组 ---------- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion__item {
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(20, 27, 43, .55);
  transition: border-color .28s var(--ease), background-color .28s var(--ease);
}
.accordion__item[data-open] {
  border-color: rgba(46, 107, 255, .55);
  background: rgba(20, 27, 43, .9);
}
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--snow);
  transition: color .22s var(--ease);
}
.accordion__trigger:hover { color: var(--cyan); }
.accordion__index {
  flex: none;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--blue);
}
.accordion__arrow {
  flex: none;
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: var(--mist);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.accordion__item[data-open] .accordion__arrow {
  color: var(--cyan);
  transform: rotate(-135deg) translate(-2px, -2px);
}
.accordion__panel {
  height: 0;
  overflow: hidden;
  transition: height .32s var(--ease);
}
.accordion__panel-inner {
  padding: 0 22px 22px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}
.accordion__panel-inner p + p { margin-top: 1.1em; }

/* ---------- 15. 平板 ---------- */
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__col--brand { grid-column: 1 / -1; }
}

/* ---------- 16. 桌面：96px 侧边轨道 ---------- */
@media (min-width: 1024px) {
  body { padding-top: 0; padding-left: var(--rail-w); }

  .site-header {
    inset: 0 auto 0 0;
    right: auto;
    width: var(--rail-w);
    display: flex;
    flex-direction: column;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-950) 74%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .rail__bar {
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-height: 0;
    padding: 22px 0 14px;
  }
  .brand { flex-direction: column; gap: 10px; text-align: center; }
  .brand__mark { width: 40px; height: 40px; border-radius: 13px; font-size: 18px; }
  .brand__name {
    writing-mode: vertical-rl;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .24em;
    color: var(--snow);
  }
  .brand__meta { display: block; writing-mode: vertical-rl; letter-spacing: .3em; }
  .nav-toggle { display: none; }

  .rail__nav {
    position: static;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: none;
    border-bottom: 0;
    box-shadow: none;
    padding: 4px 0 10px;
    gap: 10px;
    transition: none;
  }

  .nav-list { flex: 1 1 auto; gap: 2px; padding: 0 8px; }

  .nav-link {
    position: relative;
    flex-direction: column;
    gap: 7px;
    min-height: 0;
    padding: 11px 4px;
    border-radius: 16px;
    align-items: center;
  }
  .nav-link__index { min-width: 0; font-size: 10px; letter-spacing: .16em; }
  .nav-link__icon { width: 21px; height: 21px; }
  .nav-link__text {
    flex: none;
    writing-mode: vertical-rl;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
  }
  .nav-link[aria-current="page"] {
    background: linear-gradient(180deg, rgba(46, 107, 255, .24), rgba(46, 107, 255, .04));
    box-shadow: inset 0 0 0 1px rgba(46, 107, 255, .45);
  }
  .nav-link::after {
    content: attr(data-label);
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    z-index: 6;
    transform: translate(-8px, -50%);
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: var(--ink-800);
    border: 1px solid rgba(46, 107, 255, .5);
    color: var(--snow);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .nav-link:hover::after,
  .nav-link:focus-visible::after { opacity: 1; transform: translate(0, -50%); }

  .rail__dock {
    flex: none;
    align-items: center;
    text-align: center;
    margin-top: auto;
    padding: 14px 6px 18px;
    gap: 8px;
  }
  .rail__dock-line { display: none; }
  .chip {
    white-space: normal;
    text-align: center;
    font-size: 10px;
    padding: 6px 7px;
    letter-spacing: .02em;
    line-height: 1.45;
  }

  .brand--footer { flex-direction: row; gap: 12px; text-align: left; }
  .brand--footer .brand__name {
    writing-mode: horizontal-tb;
    font-size: 18px;
    letter-spacing: .02em;
  }
  .brand--footer .brand__mark { width: 38px; height: 38px; border-radius: 12px; }

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

  .footer__inner { grid-template-columns: 1.25fr 1.1fr .9fr; }
  .footer__col--brand { grid-column: auto; }
}

/* ---------- 17. 矮视口适配 ---------- */
@media (min-width: 1024px) and (max-height: 880px) {
  .rail__bar { padding: 16px 0 10px; gap: 10px; }
  .brand__meta { display: none; }
  .nav-link { padding: 8px 4px; gap: 5px; }
  .nav-link__text { font-size: 11px; letter-spacing: .14em; }
  .nav-link__icon { width: 19px; height: 19px; }
  .rail__dock { padding: 10px 6px 12px; }
}

/* ---------- 18. 减少动效 ---------- */
@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;
  }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .chip__dot { animation: none !important; }
}
