/* ==========================================================================
   三升体育 · 共享站点样式
   路径：/assets/site.css
   ========================================================================== */

/* ---------- 1. 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html,
body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol, pre { margin: 0; padding: 0; }

ul, ol { list-style: none; }

img, picture, 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; }

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

th { text-align: left; font-weight: 500; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 色板 */
  --ink: #05080F;
  --navy: #0B1220;
  --panel: #141D2F;
  --glass: rgba(242, 245, 247, .06);
  --glass-line: rgba(242, 245, 247, .12);
  --white: #F2F5F7;
  --cyan: #2BF5D0;
  --cyan-soft: rgba(43, 245, 208, .14);
  --orange: #FF6A1A;
  --clay: #B5452B;
  --line: #26314A;
  --muted: #93A1B8;
  --up: #3BE08A;
  --down: #FF5C7A;

  /* 字体 */
  --font-display: "Oswald", "Archivo Narrow", "Arial Narrow",
                  "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
                  "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Consolas,
               "Liberation Mono", "Noto Sans SC", monospace;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;

  /* 字号阶梯 12 / 14 / 17 / 21 / 28 / 40 / 64 / 96 */
  --fs-1: 12px;
  --fs-2: 14px;
  --fs-3: 17px;
  --fs-4: 21px;
  --fs-5: 28px;
  --fs-6: 40px;
  --fs-7: 64px;
  --fs-8: 96px;

  /* 结构 */
  --bar-h-base: 68px;
  --bar-h: 68px;
  --rail-w: 208px;
  --shell: 1420px;
  --gutter: clamp(18px, 4vw, 56px);
  --radius: 2px;

  /* 动效 */
  --ease: cubic-bezier(.2, .7, .3, 1);
  --dur: 160ms;
}

/* ---------- 3. 页面基底 ---------- */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--ink);
}

body {
  min-height: 100vh;
  padding-top: var(--bar-h-base);
  background-color: var(--ink);
  background-image:
    radial-gradient(780px 540px at 86% -12%, rgba(43, 245, 208, .09), transparent 64%),
    radial-gradient(640px 520px at -8% 38%, rgba(181, 69, 43, .13), transparent 62%),
    radial-gradient(560px 420px at 52% 106%, rgba(255, 106, 26, .07), transparent 66%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-3);
  font-weight: 400;
  line-height: 1.85;
  overflow-x: hidden;
}

body.is-condensed { --bar-h: 52px; }
body.nav-open { overflow: hidden; }

::selection { background: rgba(43, 245, 208, .3); color: var(--white); }

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

#main-content { scroll-margin-top: calc(var(--bar-h) + 20px); }

/* ---------- 4. 中文排版 ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--white);
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 7vw, 96px); line-height: .95; }
h2 { font-size: clamp(28px, 3.6vw, 52px); }
h3 { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.15; }
h4 { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.25; }

p { text-wrap: pretty; }

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

/* ---------- 5. 无障碍工具类 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--ink);
  font-size: var(--fs-2);
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: var(--radius);
  transform: translateY(-180%);
  transition: transform 160ms var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: 3px;
}

/* ---------- 6. 页头：品牌顶栏 ---------- */
.masthead {
  position: relative;
  z-index: 80;
}

.brand-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  padding: 0 var(--gutter);
  background: rgba(5, 8, 15, .8);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: height 220ms var(--ease), background 220ms var(--ease);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  margin-right: auto;
  padding: 4px;
  margin-left: -4px;
  border-radius: var(--radius);
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(43, 245, 208, .45);
  border-radius: 12px 12px 12px 2px;
  background: linear-gradient(145deg, rgba(43, 245, 208, .18), rgba(11, 18, 32, 1));
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 8px;
  height: 14px;
  border-top: 2px solid var(--cyan);
  border-radius: 60% 60% 0 0 / 100% 100% 0 0;
  transform: rotate(-14deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--white);
}

.brand-sub {
  max-height: 14px;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--muted);
  overflow: hidden;
  transition: max-height 220ms var(--ease), opacity 220ms var(--ease),
              color var(--dur) var(--ease);
}

.brand-lockup:hover .brand-sub { color: var(--cyan); }
body.is-condensed .brand-sub { max-height: 0; opacity: 0; }

.season-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: .04em;
  color: var(--muted);
  white-space: nowrap;
}

.season-chip-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 3px rgba(59, 224, 138, .18);
}

.bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--clay) 0%, var(--orange) 34%, var(--cyan) 100%);
  will-change: transform;
  transition: transform 90ms linear;
}

/* ---------- 7. 页头：侧边轨道导航 ---------- */
.rail-nav {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  bottom: 0;
  z-index: 60;
  width: var(--rail-w);
  display: none;
  flex-direction: column;
  padding: 34px 18px 26px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--ink) 82%);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  transition: top 220ms var(--ease);
}

.rail-nav::-webkit-scrollbar { width: 6px; }
.rail-nav::-webkit-scrollbar-thumb { background: var(--line); }

.rail-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  width: 1px;
  height: 70px;
  background: linear-gradient(180deg, var(--cyan), transparent);
}

.rail-label {
  padding-left: 14px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.rail-link {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 10px 12px 14px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.rail-link:hover {
  color: var(--white);
  background: rgba(242, 245, 247, .045);
  border-left-color: var(--clay);
}

.rail-link[aria-current="page"] {
  color: var(--white);
  border-left-color: var(--cyan);
  background: linear-gradient(90deg, rgba(43, 245, 208, .13), rgba(43, 245, 208, 0) 74%);
}

.rail-link[aria-current="page"] .rail-num { color: var(--cyan); }

.rail-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  color: rgba(147, 161, 184, .62);
  transition: color var(--dur) var(--ease);
}

.rail-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rail-foot {
  margin-top: auto;
  padding: 22px 14px 0;
}

.rail-foot-arc {
  display: block;
  width: 62px;
  height: 22px;
  margin-bottom: 12px;
  border-top: 1px solid var(--clay);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.rail-foot-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted);
}

/* ---------- 8. 页头：移动端抽屉按钮 ---------- */
.nav-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: 62px;
  height: 62px;
  display: none;
  place-items: center;
  border: 1px solid rgba(43, 245, 208, .5);
  border-radius: 50% 50% 6px 50%;
  background: rgba(11, 18, 32, .94);
  color: var(--cyan);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(43, 245, 208, .1);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}

.nav-toggle:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  background: rgba(17, 27, 46, .96);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background 200ms var(--ease);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 220ms var(--ease);
}

.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 9. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--fs-2);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.2;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.btn-solid {
  background: var(--cyan);
  color: #04140F;
}

.btn-solid:hover {
  background: #6BFFE4;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(242, 245, 247, .03);
  border-color: var(--line);
  color: var(--white);
}

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

.btn-line {
  border-color: rgba(43, 245, 208, .55);
  color: var(--cyan);
}

.btn-line:hover {
  background: rgba(43, 245, 208, .12);
  border-color: var(--cyan);
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(72px, 11vw, 150px);
  background: var(--navy);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.footer-stripe {
  height: 3px;
  background: linear-gradient(90deg,
    var(--clay) 0 14%,
    var(--orange) 14% 26%,
    var(--cyan) 26% 34%,
    var(--line) 34% 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  gap: clamp(32px, 5vw, 72px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 76px) var(--gutter) clamp(36px, 4vw, 56px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--white);
}

.footer-lockup-sep { color: var(--orange); }

.footer-lockup-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .3em;
  color: var(--muted);
}

.footer-lede {
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.footer-col { min-width: 0; }

.footer-col-title {
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(147, 161, 184, .74);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  display: inline-block;
  font-size: 15px;
  color: rgba(242, 245, 247, .82);
  transition: color var(--dur) var(--ease);
}

.footer-links a:hover {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.footer-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 32px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 24px var(--gutter) 36px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  line-height: 1.9;
  color: rgba(147, 161, 184, .9);
}

.footer-legal,
.footer-contact,
.footer-copy { max-width: 56ch; }

.footer-copy { color: var(--muted); }

[data-year] {
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

/* ---------- 11. 容器与网格 ---------- */
.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.span-full { grid-column: 1 / -1; }

/* ---------- 12. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(16px, 2vw, 28px);
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: .04em;
  color: var(--muted);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.crumbs li + li::before {
  content: "/";
  color: rgba(147, 161, 184, .45);
}

.crumbs a {
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}

.crumbs a:hover { color: var(--cyan); }

.crumbs [aria-current="page"] { color: var(--white); }

/* ---------- 13. 正文容器 ---------- */
.prose {
  max-width: 72ch;
  font-size: var(--fs-3);
  line-height: 1.85;
  color: rgba(242, 245, 247, .9);
}

.prose--long {
  max-width: 64ch;
  font-size: 19px;
  line-height: 1.95;
}

.prose p + p { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; margin-bottom: .6em; }
.prose h3 { margin-top: 1.8em; margin-bottom: .5em; }
.prose h4 { margin-top: 1.6em; margin-bottom: .4em; }

.prose ul,
.prose ol { margin: 1.1em 0; }

.prose ul li {
  position: relative;
  padding-left: 1.2em;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .82em;
  width: 8px;
  height: 1px;
  background: var(--cyan);
}

.prose ol {
  padding-left: 1.4em;
  list-style: decimal;
}

.prose li + li { margin-top: .5em; }

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--clay);
  color: var(--muted);
}

/* ---------- 14. 面板与玻璃层 ---------- */
.panel {
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
}

/* ---------- 15. 数字体系 ---------- */
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -.02em;
}

.num--xl {
  display: block;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: .9;
  color: var(--cyan);
}

.num--m {
  display: block;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.num--s { font-size: 15px; }
.num--up { color: var(--up); }
.num--down { color: var(--down); }

/* ---------- 16. 编号章节 ---------- */
.chapter {
  display: flex;
  align-items: baseline;
  gap: clamp(12px, 1.6vw, 22px);
  margin-bottom: clamp(20px, 3vw, 36px);
}

.chapter-num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 700;
  line-height: .82;
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange);
}

@supports not (-webkit-text-stroke: 1px #000) {
  .chapter-num { color: var(--orange); }
}

.chapter-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.chapter-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}

.chapter-title { font-size: clamp(22px, 3vw, 36px); }

/* ---------- 17. 状态标签 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.chip--cyan {
  border-color: rgba(43, 245, 208, .4);
  color: var(--cyan);
}

.chip--orange {
  border-color: rgba(255, 106, 26, .42);
  color: var(--orange);
}

/* ---------- 18. 图片容器 ---------- */
.figure {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--panel);
  background-image: linear-gradient(135deg, rgba(43, 245, 208, .1), rgba(11, 18, 32, 0) 55%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure--21x9 { aspect-ratio: 21 / 9; }
.figure--16x9 { aspect-ratio: 16 / 9; }
.figure--4x3  { aspect-ratio: 4 / 3; }
.figure--1x1  { aspect-ratio: 1 / 1; }
.figure--3x4  { aspect-ratio: 3 / 4; }

.figure--arc    { border-bottom-left-radius: 56px; }
.figure--arc-tr { border-top-right-radius: 56px; }

.figure--empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(38, 49, 74, .6) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(38, 49, 74, .6) 0 1px, transparent 1px 28px);
  opacity: .55;
}

.figure-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(5, 8, 15, 0), rgba(5, 8, 15, .92));
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--white);
}

/* ---------- 19. 弯道分隔线 ---------- */
.arc-rule {
  position: relative;
  height: 1px;
  margin: clamp(28px, 5vw, 64px) 0;
  background: var(--line);
}

.arc-rule::after {
  content: "";
  position: absolute;
  right: 0;
  top: -14px;
  width: min(160px, 32%);
  height: 28px;
  border-top: 1px solid var(--clay);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ---------- 20. 响应式 ---------- */
@media (max-width: 1200px) {
  .season-chip { display: none; }
}

@media (max-width: 1023px) {
  .bar-actions { display: none; }

  .nav-toggle { display: grid; }

  /* 导航抽屉 */
  .rail-nav {
    display: flex;
    top: var(--bar-h);
    width: 100%;
    padding: 28px var(--gutter) 130px;
    background: var(--ink);
    border-right: 0;
    transform: translateY(calc(-100% - var(--bar-h)));
    visibility: hidden;
    transition: transform 300ms var(--ease), visibility 0s linear 300ms;
  }

  .rail-nav[data-open] {
    transform: translateY(0);
    visibility: visible;
    transition: transform 300ms var(--ease), visibility 0s;
  }

  .rail-nav::before { display: none; }

  .rail-label { padding-left: 4px; margin-bottom: 22px; }

  .rail-list { gap: 6px; }

  .rail-link {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 13px 14px;
    border-left-width: 3px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.01em;
  }

  .rail-num { font-size: 13px; }

  .rail-foot { margin-top: 34px; padding-left: 4px; }
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
  .rail-nav { display: flex; }
  .nav-toggle { display: none; }
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
}

@media (max-width: 767px) {
  body { background-attachment: scroll; }
}

@media (max-width: 560px) {
  .grid-12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .brand-name { font-size: 18px; }

  .chapter { flex-direction: column; gap: 10px; align-items: flex-start; }

  .footer-meta { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 21. 减动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .scroll-progress { transition: none; }
}
