/* ============================================================
   球盟会赛场 · 共享样式 /assets/site.css
   墨舱绿底 + 蓝图网格 + 靛紫轨道 + 荧光青数据层
   ============================================================ */

*, *::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%; }

:root {
  --ink: #062A26;
  --panel: #0B3A33;
  --indigo: #1B2350;
  --wine: #5E1F32;
  --cyan: #3AEDC4;
  --orange: #FF8A3C;
  --silver: #B9C6CC;
  --mist: #EDF4F1;
  --line: #16403A;
  --amber: #E8C15A;

  --header-h: 64px;
  --rail-w: 236px;

  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --r-pill: 999px;

  --font-display: "Inter Display", "Inter", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shadow-deep: 0 22px 50px rgba(2, 14, 13, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 基础排版 ---------- */
body {
  padding-top: var(--header-h);
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--mist);
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 520px at 84% -8%, rgba(27, 35, 80, 0.72), transparent 68%),
    radial-gradient(760px 480px at 4% 104%, rgba(11, 58, 51, 0.9), transparent 70%),
    linear-gradient(to right, rgba(22, 64, 58, 0.42) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 64, 58, 0.42) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.14;
}
h1 { font-size: clamp(2rem, 4.6vw, 4.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; letter-spacing: 0; }

p { text-wrap: pretty; }
::selection { background: var(--cyan); color: #04231F; }

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

[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
#main-content { display: block; position: relative; }

/* ---------- 跳到主内容 ---------- */
.skip-link {
  position: fixed;
  left: 50%;
  top: -110px;
  transform: translateX(-50%);
  z-index: 120;
  padding: 11px 20px;
  border-radius: 0 0 14px 14px;
  background: var(--cyan);
  color: #04231F;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: top 0.22s var(--ease);
}
.skip-link:focus { top: 0; }

/* ============================================================
   顶部数据条
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 clamp(12px, 2vw, 22px);
  background: linear-gradient(100deg, #1B2350 0%, #123A47 48%, #0B3A33 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(2, 14, 13, 0.55);
}
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--indigo) 0%, var(--cyan) 26%, transparent 52%, var(--orange) 86%, transparent 100%);
  opacity: 0.8;
}
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--amber) 62%, var(--orange));
  pointer-events: none;
  z-index: 3;
}

/* 品牌锁定 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 6px 6px 6px 2px;
  border-radius: var(--r-sm);
}
.brand-mark {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  background: linear-gradient(140deg, var(--cyan), #1E9E86 58%, var(--orange));
  clip-path: polygon(0 0, 100% 0, 100% 66%, 66% 100%, 0 100%);
  box-shadow: 0 0 0 1px rgba(58, 237, 196, 0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--mist);
}
.brand-slogan {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--silver);
}
.brand:hover .brand-name { color: var(--cyan); }
.brand--footer { padding-left: 0; }
.brand--footer .brand-name { font-size: 19px; }

/* 胶囊栏目条 */
.capsule-strip {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 16px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 16px), transparent 100%);
}
.capsule-strip::-webkit-scrollbar { display: none; }
.capsule {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(6, 42, 38, 0.5);
  color: var(--silver);
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.capsule:hover {
  color: var(--mist);
  border-color: rgba(58, 237, 196, 0.5);
  background: rgba(58, 237, 196, 0.1);
}
.capsule[aria-current="page"] {
  color: #04231F;
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 700;
}

/* 工具组 */
.header-utility { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.season-group {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(6, 42, 38, 0.55);
}
.season-chip {
  border: 0;
  background: transparent;
  color: var(--silver);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.season-chip:hover { color: var(--mist); }
.season-chip[aria-pressed="true"] {
  background: linear-gradient(120deg, var(--cyan), #2ED3AE);
  color: #04231F;
  font-weight: 700;
}
.watch-entry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 138, 60, 0.55);
  background: rgba(255, 138, 60, 0.12);
  color: var(--mist);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.watch-entry:hover { background: var(--orange); border-color: var(--orange); color: #2A1204; }
.watch-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 138, 60, 0.22);
}
.watch-entry:hover .watch-dot { background: #2A1204; box-shadow: none; }

/* 抽屉开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(58, 237, 196, 0.45);
  background: rgba(58, 237, 196, 0.1);
  color: var(--mist);
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(58, 237, 196, 0.2); }
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
  border-top: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
}
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: var(--cyan);
  transform: translateY(-50%);
}
.nav-toggle-label { font-weight: 600; }

/* ============================================================
   左侧轨道导航
   ============================================================ */
.rail {
  position: fixed;
  top: var(--header-h);
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px 16px 26px;
  overflow-y: auto;
  background: linear-gradient(180deg, #1B2350 0%, #123A47 46%, #0B3A33 100%);
  border-right: 1px solid var(--line);
}
.rail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--cyan) 32%, rgba(58, 237, 196, 0.14) 76%, transparent);
}
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rail-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
}
.rail-close {
  display: none;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(6, 42, 38, 0.6);
  color: var(--silver);
  font-size: 12px;
  cursor: pointer;
}
.rail-close:hover { color: var(--mist); border-color: rgba(58, 237, 196, 0.5); }

.rail-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
}
.rail-list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--line), rgba(22, 64, 58, 0.2));
}
.rail-item { position: relative; }
.rail-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 14px;
  color: var(--silver);
  font-size: 15px;
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.rail-link:hover { color: var(--mist); background: rgba(58, 237, 196, 0.09); transform: translateX(2px); }
.rail-index {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(185, 198, 204, 0.6);
}
.rail-link[aria-current="page"],
.rail-link[aria-current="true"] {
  color: #03211D;
  font-weight: 700;
  background: linear-gradient(100deg, var(--cyan), #2ED3AE);
}
.rail-link[aria-current="page"] .rail-index,
.rail-link[aria-current="true"] .rail-index { color: rgba(3, 33, 29, 0.62); }

.rail-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 16px;
  border-top: 1px dashed rgba(185, 198, 204, 0.25);
}
.rail-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--mist);
}
.rail-note { font-size: 11.5px; letter-spacing: 0.05em; color: rgba(185, 198, 204, 0.75); }

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(58, 237, 196, 0.16);
}
.status-dot--amber { background: var(--amber); box-shadow: 0 0 0 4px rgba(232, 193, 90, 0.16); }

.rail-scrim { display: none; }

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 112px);
  background: linear-gradient(160deg, #0B3A33 0%, #062A26 56%, #1B2350 100%);
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan) 22%, transparent 52%, var(--orange) 84%, transparent);
  opacity: 0.7;
}
.footer-inner {
  width: min(1240px, 100% - clamp(28px, 6vw, 80px));
  margin-inline: auto;
  padding: clamp(40px, 6vw, 68px) 0 clamp(24px, 4vw, 34px);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(280px, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 46ch; }
.footer-stamp {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--amber);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  background: rgba(6, 42, 38, 0.55);
}
.footer-contact-item {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
  color: var(--mist);
  word-break: break-word;
}
.footer-contact-label {
  flex: 0 0 68px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--silver);
  padding-top: 3px;
}
.footer-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.footer-group-title {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--mist);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.footer-group-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 38px;
  height: 2px;
  background: var(--cyan);
}
.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  font-size: 14.5px;
  color: var(--silver);
  transition: color 0.2s, padding-left 0.2s var(--ease);
}
.footer-link::before {
  content: "";
  width: 6px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transition: width 0.2s var(--ease), opacity 0.2s;
}
.footer-link:hover { color: var(--cyan); padding-left: 4px; }
.footer-link:hover::before { width: 13px; opacity: 1; }
.footer-meta {
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(185, 198, 204, 0.88);
}
.footer-legal { font-family: var(--font-mono); letter-spacing: 0.04em; }
.footer-note { max-width: 52ch; text-align: right; line-height: 1.7; }

/* ============================================================
   页面通用组件
   ============================================================ */
.shell {
  width: min(1240px, 100% - clamp(28px, 6vw, 80px));
  margin-inline: auto;
}
.section { padding-block: clamp(48px, 7vw, 92px); }
.section--tight { padding-block: clamp(28px, 4vw, 52px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }

.lead {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.72;
  color: #DCE9E4;
}
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.rule { height: 1px; border: 0; background: var(--line); }
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn--primary {
  background: linear-gradient(120deg, var(--orange), #FFB072);
  color: #2A1204;
  box-shadow: 0 10px 26px rgba(255, 138, 60, 0.22);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 15px 32px rgba(255, 138, 60, 0.32); }
.btn--ghost {
  background: transparent;
  border-color: rgba(58, 237, 196, 0.5);
  color: var(--cyan);
}
.btn--ghost:hover { background: rgba(58, 237, 196, 0.12); border-color: var(--cyan); }
.btn--quiet {
  background: rgba(185, 198, 204, 0.1);
  border-color: var(--line);
  color: var(--mist);
}
.btn--quiet:hover { background: rgba(185, 198, 204, 0.18); }

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 16px;
  font-size: 12.5px;
  color: var(--silver);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: rgba(185, 198, 204, 0.42); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--mist); }

/* 面板与卡片 */
.panel {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(11, 58, 51, 0.95), rgba(6, 42, 38, 0.95));
}
.panel--indigo { background: linear-gradient(150deg, #1B2350, #101736); }
.panel--wine { background: linear-gradient(150deg, #5E1F32, #3A1528); }

.card {
  display: block;
  padding: 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(11, 58, 51, 0.8);
  transition: transform 0.22s var(--ease), border-color 0.22s, background 0.22s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(58, 237, 196, 0.45); background: rgba(11, 58, 51, 0.95); }
.card--link { cursor: pointer; }

/* 网格 */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(6, 42, 38, 0.6);
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
}
.tag--cyan { background: var(--cyan); border-color: var(--cyan); color: #04231F; font-weight: 700; }
.tag--amber { background: var(--amber); border-color: var(--amber); color: #2A2103; font-weight: 700; }
.tag--wine { background: rgba(94, 31, 50, 0.9); border-color: var(--wine); color: #F6E6EA; }

/* 图片容器 */
.media-figure { position: relative; margin: 0; display: block; }
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, #0F3F38 0%, #062A26 60%, #1B2350 100%);
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.12) brightness(0.86);
  transition: transform 0.5s var(--ease);
}
.media:hover > img { transform: scale(1.03); }
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 42, 38, 0.1) 0%, rgba(6, 42, 38, 0.5) 62%, rgba(6, 42, 38, 0.92) 100%),
    linear-gradient(120deg, rgba(27, 35, 80, 0.42), transparent 62%);
}
.media-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px 18px;
  font-size: 13px;
  color: var(--mist);
}

/* 滚动显现协议 */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s var(--ease);
}
.js-reveal [data-reveal].is-revealed { opacity: 1; transform: none; }

/* ============================================================
   响应式
   ============================================================ */
@media (min-width: 901px) {
  body { padding-left: var(--rail-w); }
}

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

@media (max-width: 900px) {
  :root { --header-h: 62px; }

  .site-header { gap: 10px; padding: 0 12px; }
  .brand-slogan { display: none; }
  .season-group { display: none; }
  .nav-toggle { display: inline-flex; }
  .capsule-strip { mask-image: none; -webkit-mask-image: none; }

  html.nav-open { overflow: hidden; }

  .rail {
    top: 0;
    bottom: 0;
    width: min(86vw, 320px);
    z-index: 90;
    padding: 20px 16px 26px;
    transform: translateX(-102%);
    transition: transform 0.3s var(--ease);
    box-shadow: 0 0 70px rgba(0, 0, 0, 0.6);
  }
  .rail[data-open] { transform: none; }
  .rail-close { display: inline-flex; align-items: center; }

  .rail-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(3, 20, 18, 0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }
  .rail-scrim[data-open] { opacity: 1; pointer-events: auto; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-note { text-align: left; max-width: 60ch; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .watch-entry { padding: 7px 11px; font-size: 12px; }
  .watch-entry span:last-child { display: none; }
  .watch-entry::after { content: "关注"; font-size: 12px; }
  .capsule { padding: 6px 12px; font-size: 12.5px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer-groups { grid-template-columns: 1fr; }
  .footer-note { font-size: 12px; }
  .footer-meta { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   动效降级
   ============================================================ */
@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;
  }
  .js-reveal [data-reveal],
  .js-reveal [data-reveal].is-revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .rail { transition: none !important; }
  .rail-scrim { transition: none !important; }
}
