/* ============================================================
   顺发体育 · 共享 Site Kit  /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, h5, 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, input, select, textarea { font: inherit; color: inherit; }

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

table { border-collapse: collapse; width: 100%; }

[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 色板 */
  --ink-950: #0A0E0D;
  --ink-900: #0E1A16;
  --ink-800: #16261F;
  --ink-700: #24382F;
  --mist-100: #E9EFEB;
  --mist-400: #9BAAA3;
  --flare-500: #FF5E1A;
  --flare-300: #FF8B52;
  --volt-400: #16E0C6;
  --volt-700: #0A8C7C;
  --amber-500: #FFC53D;
  --surface-050: #F2F6F3;

  /* 字体 */
  --f-cond: "Barlow Condensed", "Oswald", "Noto Sans SC", system-ui, sans-serif;
  --f-serif: "Noto Serif SC", "Songti SC", Georgia, serif;
  --f-mono: "JetBrains Mono", "IBM Plex Mono", "Noto Sans Mono", ui-monospace, monospace;
  --f-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;

  /* 尺度 */
  --rail-w: 88px;
  --bar-h: 60px;
  --pad: clamp(20px, 4vw, 56px);
  --shell-max: 1440px;
  --bd: 2px;

  /* 硬阴影 */
  --sh-hard: 6px 6px 0 0 rgba(10, 14, 13, 0.62);
  --sh-soft: 4px 4px 0 0 var(--ink-700);
  --sh-volt: 4px 4px 0 0 rgba(22, 224, 198, 0.22);

  --sf-progress: 0;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-950);
  background-image:
    linear-gradient(rgba(36, 56, 47, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 56, 47, 0.15) 1px, transparent 1px);
  background-size: 100% 72px, 80px 72px;
  color: var(--mist-100);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--f-cond);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.06;
  color: var(--mist-100);
  text-wrap: balance;
}

h1 { font-size: clamp(38px, 6.6vw, 64px); }
h2 { font-size: clamp(28px, 4.2vw, 48px); }
h3 { font-size: clamp(22px, 3vw, 34px); }
h4 { font-size: clamp(18px, 2.2vw, 26px); }
h5 { font-size: 17px; font-weight: 600; letter-spacing: 0.01em; }

p { max-width: 70ch; }

strong, b { font-weight: 800; }

small { font-size: 13px; color: var(--mist-400); }

::selection { background: var(--flare-500); color: var(--ink-950); }

:focus-visible {
  outline: 2px solid var(--flare-500);
  outline-offset: 2px;
}

/* ---------- 4. 布局工具 ---------- */
.sf-wrap {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.sf-section { padding-block: clamp(48px, 7vw, 96px); }

.sf-rule {
  height: var(--bd);
  border: 0;
  margin: 0;
  background: var(--ink-700);
}

.sf-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

.sf-span-4 { grid-column: span 4; }
.sf-span-6 { grid-column: span 6; }
.sf-span-7 { grid-column: span 7; }
.sf-span-8 { grid-column: span 8; }
.sf-span-9 { grid-column: span 9; }
.sf-span-12 { grid-column: span 12; }

/* ---------- 5. 按钮与链接 ---------- */
.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 12px 22px;
  border: var(--bd) solid var(--flare-500);
  background: var(--flare-500);
  color: var(--ink-950);
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
  box-shadow: var(--sh-soft);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.sf-btn:hover {
  background: var(--flare-300);
  border-color: var(--flare-300);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 var(--ink-700);
}

.sf-btn:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0 0 var(--ink-700);
}

.sf-btn--ghost {
  background: transparent;
  color: var(--volt-400);
  border-color: var(--volt-400);
  box-shadow: var(--sh-volt);
}

.sf-btn--ghost:hover {
  background: var(--volt-700);
  border-color: var(--volt-700);
  color: var(--mist-100);
  box-shadow: 6px 6px 0 0 rgba(22, 224, 198, 0.18);
}

.sf-btn--volt {
  background: var(--volt-700);
  border-color: var(--volt-700);
  color: var(--mist-100);
}

.sf-btn--volt:hover {
  background: var(--volt-400);
  border-color: var(--volt-400);
  color: var(--ink-950);
}

.sf-link {
  color: var(--volt-400);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-thickness 0.18s ease, color 0.18s ease;
}

.sf-link::after {
  content: "→";
  display: inline-block;
  margin-left: 0.35em;
  transform: translateX(0);
  transition: transform 0.18s ease;
}

.sf-link:hover {
  color: var(--flare-300);
  text-decoration-thickness: 2px;
}

.sf-link:hover::after { transform: translateX(3px); }

/* ---------- 6. 面包屑 ---------- */
.sf-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6em;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mist-400);
}

.sf-crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.sf-crumbs li + li::before {
  content: "/";
  color: var(--ink-700);
}

.sf-crumbs a { color: var(--mist-400); }

.sf-crumbs a:hover { color: var(--volt-400); }

/* ---------- 7. 图片容器 ---------- */
.sf-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink-800);
  border: var(--bd) solid var(--ink-700);
}

.sf-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}

.sf-media--wide { aspect-ratio: 21 / 9; }
.sf-media--tall { aspect-ratio: 3 / 4; }
.sf-media--square { aspect-ratio: 1 / 1; }

.sf-media--slash {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%);
}

.sf-media__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 12px;
  background: var(--ink-950);
  color: var(--mist-100);
  border-top: var(--bd) solid var(--flare-500);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* ---------- 8. 卡片 / 数据 / 标签 ---------- */
.sf-card {
  background: var(--ink-800);
  border: var(--bd) solid var(--ink-700);
  box-shadow: var(--sh-hard);
}

.sf-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--ink-900);
  border-bottom: var(--bd) solid var(--ink-700);
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.sf-card__body { padding: 16px; }

.sf-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sf-stat__num {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--flare-500);
  font-variant-numeric: tabular-nums;
}

.sf-stat__label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist-400);
}

.sf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 3px 10px;
  background: var(--ink-900);
  border: 1px solid var(--ink-700);
  color: var(--mist-400);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.sf-badge--flare {
  background: var(--flare-500);
  border-color: var(--flare-500);
  color: var(--ink-950);
}

.sf-badge--volt {
  background: var(--volt-700);
  border-color: var(--volt-700);
  color: var(--mist-100);
}

.sf-badge--amber {
  background: var(--amber-500);
  border-color: var(--amber-500);
  color: var(--ink-950);
}

/* ---------- 9. 分段切换 ---------- */
.sf-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: var(--bd) solid var(--ink-700);
}

.sf-tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  margin-bottom: calc(var(--bd) * -1);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--mist-400);
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.sf-tab:hover {
  color: var(--mist-100);
  background: var(--ink-800);
}

.sf-tab[aria-selected="true"] {
  color: var(--mist-100);
  background: var(--ink-800);
  border-bottom-color: var(--flare-500);
}

.sf-panel { padding-top: 20px; }

/* ---------- 10. 长文与旁注 ---------- */
.sf-prose { max-width: 68ch; }

.sf-prose p {
  margin-bottom: 1.1em;
  color: var(--mist-100);
}

.sf-prose h2,
.sf-prose h3 {
  margin: 1.4em 0 0.5em;
}

.sf-prose ul,
.sf-prose ol {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin-bottom: 1.1em;
}

.sf-prose li {
  position: relative;
  padding-left: 24px;
}

.sf-prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 12px;
  height: 2px;
  background: var(--volt-400);
}

.sf-prose a {
  color: var(--volt-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sf-prose a:hover { text-decoration-thickness: 2px; }

.sf-prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--flare-500);
  font-family: var(--f-serif);
  font-size: 18px;
  line-height: 1.8;
  color: var(--mist-400);
}

.sf-note {
  padding: 10px 0 10px 16px;
  border-left: 3px solid var(--amber-500);
  font-family: var(--f-serif);
  font-size: 16px;
  line-height: 1.8;
  color: var(--mist-400);
}

/* ============================================================
   11. Header —— 侧边轨道
   ============================================================ */
.sf-header {
  position: fixed;
  z-index: 80;
}

.sf-skip {
  position: fixed;
  left: 12px;
  top: -140px;
  z-index: 120;
  pointer-events: auto;
  padding: 12px 18px;
  background: var(--flare-500);
  border: var(--bd) solid var(--ink-950);
  color: var(--ink-950);
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
  transition: top 0.16s ease;
}

.sf-skip:focus { top: 12px; }

.sf-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink-900);
  border-right: var(--bd) solid var(--ink-700);
}

.sf-rail__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mist-100);
}

.sf-rail__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  background: var(--flare-500);
  color: var(--ink-950);
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  box-shadow: 3px 3px 0 0 var(--ink-700);
}

.sf-rail__word {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sf-rail__name {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.sf-rail__sub {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--mist-400);
}

.sf-nav__list {
  display: flex;
  flex-direction: column;
}

.sf-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-bottom: 1px solid var(--ink-800);
  color: var(--mist-100);
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  transition: color 0.18s ease, background 0.18s ease;
}

.sf-nav__idx {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist-400);
}

.sf-nav__label { display: inline-block; }

.sf-nav__link[data-active="true"] { color: var(--volt-400); }
.sf-nav__link[data-active="true"] .sf-nav__idx { color: var(--volt-400); }

.sf-nav__link[aria-current="page"] {
  color: var(--mist-100);
  background: var(--ink-800);
}

.sf-nav__link[aria-current="page"] .sf-nav__idx { color: var(--flare-500); }

.sf-nav__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--flare-500);
}

.sf-nav__link:hover {
  color: var(--mist-100);
  background: var(--ink-800);
}

.sf-rail__foot {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sf-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--flare-500);
  border: var(--bd) solid var(--flare-500);
  color: var(--ink-950);
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 3px 3px 0 0 var(--ink-700);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.sf-cta:hover {
  background: var(--flare-300);
  border-color: var(--flare-300);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 0 var(--ink-700);
}

.sf-burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  background: transparent;
  border: var(--bd) solid var(--ink-700);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.sf-burger:hover {
  border-color: var(--volt-400);
  background: var(--ink-800);
}

.sf-burger__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--mist-100);
  transition: transform 0.22s ease, opacity 0.22s ease, background 0.18s ease;
}

.sf-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 90;
  background: linear-gradient(90deg, var(--flare-500) 0%, var(--flare-500) 55%, var(--volt-400) 100%);
  transform: scaleX(var(--sf-progress, 0));
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ============================================================
   12. Footer
   ============================================================ */
.sf-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  background: var(--ink-900);
  border-top: var(--bd) solid var(--ink-700);
}

.sf-footer__ticker {
  height: 6px;
  opacity: 0.5;
  background: repeating-linear-gradient(
    90deg,
    var(--flare-500) 0 40px,
    transparent 40px 58px,
    var(--volt-400) 58px 98px,
    transparent 98px 116px
  );
}

.sf-footer__inner {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 64px) var(--pad) clamp(20px, 3vw, 32px);
}

.sf-footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 22px;
  padding-bottom: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(24px, 3.5vw, 40px);
  border-bottom: 1px solid var(--ink-700);
}

.sf-footer__logo {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.01em;
  color: var(--mist-100);
}

.sf-footer__logo::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 10px;
  background: var(--flare-500);
  vertical-align: 0.15em;
}

.sf-footer__tag {
  font-family: var(--f-serif);
  font-size: 16px;
  color: var(--mist-400);
}

.sf-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  padding-bottom: clamp(26px, 4vw, 44px);
  border-bottom: 1px solid var(--ink-700);
}

.sf-fcol__title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: var(--bd) solid var(--ink-700);
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--mist-400);
}

.sf-fcol__title::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--flare-500);
}

.sf-fcol__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sf-fcol__list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  font-size: 15px;
  color: var(--mist-400);
  transition: color 0.18s ease;
}

.sf-fcol__list a::after {
  content: "→";
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.sf-fcol__list a:hover { color: var(--volt-400); }

.sf-fcol__list a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.sf-fcol__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist-100);
}

.sf-fcol__meta li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-wrap: anywhere;
}

.sf-fcol__k {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist-400);
}

.sf-fcol__note {
  font-family: var(--f-body);
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist-400);
}

.sf-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: clamp(18px, 2.5vw, 28px);
}

.sf-footer__copy {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist-400);
}

.sf-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.sf-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 13px;
  color: var(--mist-400);
  transition: color 0.18s ease;
}

.sf-footer__legal a:hover {
  color: var(--volt-400);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ============================================================
   13. 响应式
   ============================================================ */

/* --- 手机 / 平板：顶栏 + 底部抽屉 --- */
@media (max-width: 1023.98px) {
  .sf-header {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
  }

  .sf-rail {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    height: var(--bar-h);
    padding: 0 14px;
    pointer-events: auto;
    border-right: 0;
    border-bottom: var(--bd) solid var(--ink-700);
  }

  .sf-rail__foot { pointer-events: auto; }

  .sf-burger { display: flex; }

  .sf-burger[aria-expanded="true"] .sf-burger__bar:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  .sf-burger[aria-expanded="true"] .sf-burger__bar:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .sf-burger[aria-expanded="true"] {
    border-color: var(--flare-500);
    background: var(--ink-800);
  }

  .sf-header::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(10, 14, 13, 0.74);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }

  .sf-header[data-open="true"]::after {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .sf-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 2;
    max-height: min(78dvh, 560px);
    overflow-y: auto;
    padding: 14px 16px calc(22px + env(safe-area-inset-bottom, 0px));
    background: var(--ink-900);
    border-top: 3px solid var(--flare-500);
    transform: translateY(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.24s ease, visibility 0.24s ease;
  }

  .sf-header[data-open="true"] .sf-nav {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .sf-nav__link {
    font-size: 21px;
    padding: 0 12px;
    min-height: 52px;
  }
}

/* --- 桌面：左侧纵向轨道 --- */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }

  .sf-header {
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--rail-w);
  }

  .sf-rail {
    position: absolute;
    inset: 0;
    flex-direction: column;
    justify-content: flex-start;
    padding: 18px 0 22px;
    gap: 14px;
  }

  .sf-rail__brand {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .sf-rail__word {
    align-items: center;
    text-align: center;
  }

  .sf-rail__name { font-size: 15px; }

  .sf-rail__sub { display: none; }

  .sf-nav {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
  }

  .sf-nav__list { width: 100%; }

  .sf-nav__link {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-height: 60px;
    padding: 8px 4px;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--mist-400);
    border-bottom: 1px solid var(--ink-800);
  }

  .sf-nav__idx { font-size: 11px; }

  .sf-nav__link:hover,
  .sf-nav__link[aria-current="page"] { color: var(--mist-100); }

  .sf-nav__link[aria-current="page"]::before { width: 3px; }

  .sf-rail__foot {
    flex-direction: column;
    width: 100%;
    padding-inline: 8px;
    gap: 0;
  }

  .sf-cta { width: 100%; }

  .sf-burger { display: none; }
}

/* --- 内容网格降级 --- */
@media (max-width: 900px) {
  .sf-span-4,
  .sf-span-6,
  .sf-span-7,
  .sf-span-8,
  .sf-span-9 {
    grid-column: span 12;
  }

  .sf-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .sf-footer__grid { grid-template-columns: 1fr; }

  .sf-footer__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .sf-cta {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* ---------- 14. 无障碍动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .sf-progress { transition: none; }
}
