/* 风动体育 · 共享外壳 site.css */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
address { font-style: normal; }

:root {
  --red: #E63946;
  --red-deep: #A62633;
  --yellow: #F4D35E;
  --green: #1B3A2F;
  --slate: #2E2E38;
  --cyan: #5EEAD4;
  --paper: #F7F3E8;
  --sage: #6B7F73;
  --ink: #14161A;
  --bg: #1B3A2F;
  --line: rgba(247, 243, 232, 0.14);
  --line-strong: rgba(247, 243, 232, 0.28);
  --rail-w: 96px;
  --header-h: 64px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --pill: 999px;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

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

body {
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(620px 420px at 88% -6%, rgba(244, 211, 94, 0.10), transparent 70%),
    radial-gradient(540px 480px at 4% 104%, rgba(230, 57, 70, 0.12), transparent 70%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

::selection { background: var(--yellow); color: var(--ink); }

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

main { display: block; }

#main-content { scroll-margin-top: 84px; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 基础工具 */
.fd-container {
  width: min(1240px, calc(100% - clamp(36px, 7vw, 110px)));
  margin-inline: auto;
}

.fd-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.fd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--yellow);
}

.fd-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 2px;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.fd-display {
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.fd-display em {
  font-style: normal;
  color: var(--red);
}

.fd-lead {
  max-width: 68ch;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.78;
  color: rgba(247, 243, 232, 0.82);
}

.fd-rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line-strong), rgba(94, 234, 212, 0.35), transparent);
}

.fd-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--sage);
}

.fd-grid {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
  grid-template-columns: minmax(0, 1fr);
}

.fd-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--paper);
  white-space: nowrap;
}

.fd-tag--red {
  background: rgba(230, 57, 70, 0.16);
  border-color: rgba(230, 57, 70, 0.5);
  color: #FFB3B8;
}

.fd-tag--yellow {
  background: rgba(244, 211, 94, 0.14);
  border-color: rgba(244, 211, 94, 0.5);
  color: var(--yellow);
}

.fd-tag--cyan {
  background: rgba(94, 234, 212, 0.12);
  border-color: rgba(94, 234, 212, 0.45);
  color: var(--cyan);
}

.fd-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: 14px;
  color: rgba(247, 243, 232, 0.85);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.fd-chip:hover { border-color: var(--yellow); color: var(--yellow); }

.fd-chip[aria-pressed="true"] {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
  font-weight: 700;
}

.fd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.85em 1.5em;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.fd-btn--red {
  background: var(--red);
  color: #FFF7F1;
  box-shadow: 0 10px 26px rgba(230, 57, 70, 0.3);
}

.fd-btn--red:hover { background: var(--red-deep); transform: translateY(-1px); }

.fd-btn--yellow {
  background: var(--yellow);
  color: var(--ink);
}

.fd-btn--yellow:hover { background: #FFE58A; transform: translateY(-1px); }

.fd-btn--ghost {
  border-color: var(--line-strong);
  color: var(--paper);
}

.fd-btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }

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

.fd-btn--sm {
  min-height: 38px;
  padding: 0.6em 1.1em;
  font-size: 13px;
}

.fd-breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--sage);
}

.fd-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.fd-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fd-breadcrumb__item + .fd-breadcrumb__item::before {
  content: "/";
  color: rgba(247, 243, 232, 0.3);
}

.fd-breadcrumb__link {
  color: rgba(247, 243, 232, 0.75);
  transition: color 0.2s var(--ease);
}

.fd-breadcrumb__link:hover { color: var(--yellow); }

.fd-breadcrumb__item[aria-current="page"] { color: var(--paper); }

.fd-card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, rgba(46, 46, 56, 0.72), rgba(27, 58, 47, 0.5));
}

.fd-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.fd-card__title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.fd-card__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--sage);
}

.fd-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  aspect-ratio: 16 / 10;
  isolation: isolate;
}

.fd-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}

.fd-media:hover .fd-media__img {
  transform: scale(1.03);
  filter: grayscale(0.7) contrast(1.05);
}

.fd-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 22, 26, 0.62));
  pointer-events: none;
}

.fd-media--red::before,
.fd-media--yellow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.fd-media--red::before { background: var(--red); opacity: 0.28; }
.fd-media--yellow::before { background: var(--yellow); opacity: 0.22; }

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

.fd-media__caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(247, 243, 232, 0.86);
}

.fd-frame {
  position: relative;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.fd-frame::before,
.fd-frame::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-style: solid;
  border-color: var(--yellow);
  pointer-events: none;
}

.fd-frame::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
  border-top-left-radius: var(--radius-lg);
}

.fd-frame::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
  border-bottom-right-radius: var(--radius-lg);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* 跳转链接 */
.fd-skip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  padding: 12px 20px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  border-radius: 0 0 14px 0;
  transform: translateY(-150%);
  transition: transform 0.2s var(--ease);
}

.fd-skip:focus { transform: translateY(0); }

/* 头部与侧轨 */
.fd-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: linear-gradient(180deg, rgba(20, 22, 26, 0.97), rgba(27, 58, 47, 0.97));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.fd-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 7;
  height: 3px;
  background: rgba(247, 243, 232, 0.08);
  pointer-events: none;
}

.fd-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.12s linear;
  will-change: transform;
}

.fd-rail {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
  padding: 0 16px;
}

.fd-rail__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex: 0 0 auto;
}

.fd-rail__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--red);
  color: var(--paper);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(230, 57, 70, 0.35);
}

.fd-rail__meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.25;
  color: rgba(247, 243, 232, 0.78);
  white-space: nowrap;
}

.fd-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.16em;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.fd-menu-btn:hover { border-color: var(--yellow); color: var(--yellow); }

.fd-menu-btn__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  flex: 0 0 auto;
}

.fd-menu-btn__bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), width 0.25s var(--ease);
}

.fd-menu-btn__bars span:nth-child(2) { width: 70%; }

.fd-header[data-open="true"] .fd-menu-btn {
  border-color: var(--red);
  color: var(--paper);
  background: rgba(230, 57, 70, 0.16);
}

.fd-header[data-open="true"] .fd-menu-btn__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.fd-header[data-open="true"] .fd-menu-btn__bars span:nth-child(2) { opacity: 0; }
.fd-header[data-open="true"] .fd-menu-btn__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.fd-rail__scale { display: none; }

/* 抽屉与导航 */
.fd-backdrop {
  position: fixed;
  inset: 0;
  z-index: 4;
  background: rgba(20, 22, 26, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.fd-header[data-open="true"] .fd-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.fd-drawer {
  position: fixed;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px 20px calc(28px + env(safe-area-inset-bottom));
  background: linear-gradient(160deg, #1B3A2F 0%, #14161A 72%);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0s linear 0.28s;
}

.fd-header[data-open="true"] .fd-drawer {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.fd-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.fd-drawer__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--yellow);
}

.fd-drawer__close {
  min-height: 44px;
  padding: 6px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--paper);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.fd-drawer__close:hover {
  border-color: var(--red);
  background: rgba(230, 57, 70, 0.18);
  color: #FFD7D9;
}

.fd-nav { display: block; }

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

.fd-nav__item { border-bottom: 1px solid var(--line); }

.fd-nav__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 4px;
  font-size: clamp(22px, 7vw, 28px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition: color 0.2s var(--ease), transform 0.22s var(--ease);
}

.fd-nav__index {
  flex: 0 0 2.2em;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--cyan);
  transition: color 0.2s var(--ease);
}

.fd-nav__link:hover,
.fd-nav__link:focus-visible { color: var(--yellow); transform: translateX(5px); }

.fd-nav__link[aria-current="page"] { color: var(--yellow); }
.fd-nav__link[aria-current="page"] .fd-nav__index { color: var(--red); }

.fd-drawer__season {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(46, 46, 56, 0.45);
}

.fd-season__read {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(247, 243, 232, 0.66);
}

.fd-season__read .fd-mono {
  font-size: 17px;
  font-weight: 700;
  color: var(--cyan);
}

.fd-scale {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.fd-scale::-webkit-scrollbar { display: none; }
.fd-scale--h { width: 100%; }

.fd-scale__item {
  flex: 0 0 auto;
  min-width: 40px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: rgba(247, 243, 232, 0.72);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.fd-scale__item:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.fd-scale__item[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.3);
}

.fd-drawer__note {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: var(--sage);
}

/* 页脚 */
.fd-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 140px);
  padding: clamp(48px, 7vw, 88px) 0 calc(26px + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.fd-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 240px at 12% 0%, rgba(230, 57, 70, 0.16), transparent 70%),
    radial-gradient(360px 260px at 92% 12%, rgba(244, 211, 94, 0.10), transparent 70%);
  pointer-events: none;
}

.fd-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
}

.fd-footer__inner { position: relative; z-index: 1; }

.fd-footer__top {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr);
}

.fd-footer__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.7;
  color: var(--yellow);
}

.fd-footer__word {
  margin-top: 14px;
  font-size: clamp(44px, 8vw, 84px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--paper);
}

.fd-footer__word span { color: var(--red); }

.fd-footer__tag {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--sage);
}

.fd-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 28px 20px;
}

.fd-footer__heading {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.fd-footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fd-footer__link {
  display: inline-block;
  min-height: 28px;
  font-size: 15px;
  color: rgba(247, 243, 232, 0.8);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.fd-footer__link:hover { color: var(--yellow); transform: translateX(3px); }
.fd-footer__link[aria-current="page"] { color: var(--yellow); }

.fd-footer__link--minor {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--sage);
  min-height: 24px;
}

.fd-footer__link--minor:hover { color: var(--yellow); }

.fd-footer__contact {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.fd-footer__contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--yellow);
}

.fd-footer__address {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 12px;
  font-size: 14px;
  color: rgba(247, 243, 232, 0.82);
}

.fd-footer__contact-line {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 24px;
}

.fd-footer__contact-line .fd-mono {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--sage);
}

.fd-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--sage);
}

.fd-footer__legal { color: rgba(247, 243, 232, 0.66); }
.fd-footer__icp { color: var(--sage); }

/* 返回顶部 */
.fd-totop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--pill);
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.2s var(--ease);
}

.fd-totop.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.fd-totop:hover { background: var(--paper); }

/* 平板 */
@media (min-width: 720px) {
  .fd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-footer__address { gap: 12px 36px; }
  .fd-totop { right: 22px; bottom: 22px; }
}

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

  .fd-header {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail-w);
    border-right: 1px solid var(--line-strong);
    border-bottom: 0;
    background: linear-gradient(180deg, #14161A 0%, #1B3A2F 52%, #14161A 100%);
  }

  .fd-progress { left: var(--rail-w); }

  .fd-rail {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    height: 100dvh;
    min-height: 0;
    padding: 24px 0 20px;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .fd-rail::-webkit-scrollbar { display: none; }

  .fd-rail__brand {
    flex-direction: column;
    gap: 12px;
    min-height: 0;
  }

  .fd-rail__mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 22px;
  }

  .fd-rail__meta {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 11px;
    letter-spacing: 0.28em;
    line-height: 1.2;
    color: rgba(247, 243, 232, 0.7);
  }

  .fd-menu-btn {
    flex-direction: column;
    gap: 9px;
    width: 54px;
    height: 82px;
    padding: 12px 0;
    border-radius: var(--pill);
  }

  .fd-menu-btn__label {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 11px;
    letter-spacing: 0.3em;
  }

  .fd-rail__scale {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    min-height: 0;
  }

  .fd-rail__scale-cap {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--sage);
  }

  .fd-rail__scale .fd-scale {
    flex-direction: column;
    align-items: center;
    gap: 3px;
    overflow: visible;
    padding: 0;
  }

  .fd-rail__scale .fd-scale__item {
    width: 36px;
    height: 24px;
    min-width: 0;
    padding: 0;
    border-radius: 8px;
    font-size: 10px;
  }

  .fd-backdrop { left: var(--rail-w); }

  .fd-drawer {
    inset: 0 auto 0 var(--rail-w);
    width: min(460px, calc(100vw - var(--rail-w)));
    padding: 34px 34px 40px;
    border-right: 1px solid var(--line-strong);
    transform: translateX(-20px);
    box-shadow: 24px 0 70px rgba(0, 0, 0, 0.4);
  }

  .fd-nav__link { font-size: 26px; }

  .fd-grid--split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .fd-footer__top {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
    align-items: start;
    gap: 48px;
  }

  .fd-totop { right: 28px; bottom: 28px; }

  #main-content { scroll-margin-top: 28px; }
}

@media (min-width: 1024px) and (max-height: 760px) {
  .fd-rail__meta { display: none; }
  .fd-rail__scale .fd-scale__item { height: 20px; }
  .fd-menu-btn { height: 70px; }
}

/* 减少动态 */
@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;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .fd-progress__bar { transition: none; }
}
