/* ============================================================
   VG棋牌官方 · 共享样式 /assets/site.css
   牌桌墨绿基底 + 绒布暗红强调 + 冷金数据 + 霓虹青状态
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body, h1, h2, h3, h4, h5, h6, 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; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; }
[hidden] { display: none !important; }

/* ---------- 2. Tokens ---------- */
:root {
  --felt-base: #0B1F1A;
  --felt-panel: #12302A;
  --felt-deep: #071411;
  --line: #2A4A40;
  --line-soft: rgba(42, 74, 64, .6);
  --cloth-red: #4A1618;
  --cloth-red-hi: #7A2429;
  --gold: #C9A227;
  --gold-hi: #E8CE78;
  --cyan: #3FE0D0;
  --bone: #F2EFE6;
  --mist: #93A8A0;
  --glass: rgba(242, 239, 230, .07);
  --glass-strong: rgba(242, 239, 230, .13);

  --font-head: "PingFang SC", "Helvetica Neue", -apple-system, "Segoe UI", Roboto, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Hiragino Sans GB", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;

  --rail-w: 84px;
  --bar-h: 66px;
  --maxw: 1280px;
  --gutter: clamp(18px, 4vw, 52px);
  --ruler: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 14px);
}

/* ---------- 3. 中文排版基底 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .012em;
  color: var(--bone);
  background-color: var(--felt-base);
  background-image:
    radial-gradient(1100px 620px at 10% -12%, rgba(201, 162, 39, .07), transparent 62%),
    radial-gradient(900px 520px at 102% 2%, rgba(63, 224, 208, .05), transparent 58%),
    repeating-linear-gradient(0deg, rgba(242, 239, 230, .015) 0 1px, transparent 1px 4px);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .h-head {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.18;
  color: var(--bone);
}

h1 { font-size: clamp(30px, 5.2vw, 56px); font-weight: 900; }
h2 { font-size: clamp(24px, 3.2vw, 38px); }
h3 { font-size: clamp(19px, 2.2vw, 26px); }
h4 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }

p { max-width: 38em; }

::selection { background: var(--gold); color: var(--felt-base); }

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

/* 滚动条 */
* { scrollbar-color: var(--line) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--felt-deep); }
::-webkit-scrollbar-thumb { background: var(--line); border: 2px solid var(--felt-deep); }
::-webkit-scrollbar-thumb:hover { background: #3a6157; }

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  z-index: 300;
  top: -80px;
  left: 16px;
  padding: 11px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--felt-base);
  background: var(--gold);
  border-radius: 2px;
  transition: top .18s ease;
}
.skip-link:focus { top: 14px; }

/* ---------- 5. 头部外壳 ---------- */
.site-header { position: relative; z-index: 60; }

.header-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: var(--bar-h);
  padding: 10px var(--gutter);
  background: linear-gradient(180deg, rgba(18, 48, 42, .94), rgba(11, 31, 26, .9));
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line);
}
.header-bar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 6px;
  background-image: var(--ruler);
  opacity: .55;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -.03em;
  color: var(--gold);
  background: var(--cloth-red);
  border: 1px solid var(--cloth-red-hi);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, .28);
  border-radius: 2px;
}
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.015em;
  color: var(--bone);
}
.brand-descriptor {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--mist);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.update-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding: 7px 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--mist);
  background: var(--glass);
  border: 1px solid rgba(242, 239, 230, .12);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
  white-space: nowrap;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(63, 224, 208, .18);
}

.header-actions { display: flex; align-items: center; gap: 10px; }

/* 按钮族 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -.01em;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-primary {
  color: var(--bone);
  background: var(--cloth-red);
  border-color: var(--cloth-red-hi);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, .32);
}
.btn-primary:hover { background: var(--cloth-red-hi); border-color: var(--gold); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost {
  color: var(--gold);
  background: transparent;
  border-color: rgba(201, 162, 39, .5);
}
.btn-ghost:hover { color: var(--gold-hi); border-color: var(--gold-hi); background: rgba(201, 162, 39, .09); }
.btn-sm { padding: 8px 13px; font-size: 13px; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--bone);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.nav-toggle:hover { border-color: var(--gold); color: var(--gold-hi); }
.nav-toggle-bars { display: flex; flex-direction: column; gap: 4px; width: 18px; }
.nav-toggle-bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 侧边轨道导航（桌面） */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 70;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 24px;
  background: linear-gradient(180deg, #12302A 0%, #0B1F1A 62%, #081713 100%);
  border-right: 1px solid var(--line);
}
.rail-index {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .28em;
  color: var(--mist);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.rail-list {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.rail-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 9px 0;
  color: var(--mist);
}
.rail-tick {
  width: 2px;
  height: 12px;
  background: var(--line);
  transition: height .2s ease, background-color .2s ease;
}
.rail-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--mist);
  font-variant-numeric: tabular-nums;
}
.rail-label {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translate(-6px, -50%);
  padding: 7px 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -.01em;
  color: var(--bone);
  background: rgba(18, 48, 42, .96);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.rail-link:hover,
.rail-link:focus-visible { color: var(--bone); }
.rail-link:hover .rail-tick,
.rail-link:focus-visible .rail-tick { height: 20px; background: var(--gold); }
.rail-link:hover .rail-label,
.rail-link:focus-visible .rail-label { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.rail-link[aria-current="page"] { color: var(--gold-hi); }
.rail-link[aria-current="page"] .rail-tick { height: 24px; background: var(--gold); }
.rail-link[aria-current="page"] .rail-num { color: var(--gold-hi); }
.rail-link[aria-current="page"] .rail-label { border-left-color: var(--gold-hi); color: var(--gold-hi); }

.rail-progress {
  position: relative;
  width: 2px;
  height: 108px;
  margin-top: 14px;
  background: var(--line);
  overflow: hidden;
}
.rail-progress-fill {
  position: absolute;
  inset: 0;
  transform: scaleY(0);
  transform-origin: top center;
  background: linear-gradient(180deg, var(--gold), var(--cyan));
}

.nav-scrim { display: none; }

/* ---------- 6. 页脚外壳 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 110px);
  background: linear-gradient(180deg, var(--felt-base) 0%, var(--felt-panel) 100%);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer-ruler {
  height: 8px;
  background-image: var(--ruler);
  border-bottom: 1px solid var(--line-soft);
  opacity: .75;
}
.footer-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr);
  gap: clamp(24px, 4vw, 64px);
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 66px) var(--gutter) clamp(22px, 3vw, 40px);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -.02em;
  color: var(--bone);
}
.footer-brand-desc {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--gold);
}
.footer-note {
  max-width: 32em;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
  padding-left: 12px;
  border-left: 2px solid var(--line);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--gold);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 12px;
}
.footer-list li { margin-bottom: 8px; }
.footer-link {
  display: inline-block;
  font-size: 14.5px;
  color: var(--mist);
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease, transform .18s ease;
}
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--gold-hi);
  border-bottom-color: rgba(232, 206, 120, .5);
  transform: translateX(2px);
}
.footer-meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 48px);
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 32px) var(--gutter) clamp(30px, 4vw, 54px);
  border-top: 1px solid var(--line-soft);
}
.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13.5px;
  color: var(--bone);
}
.contact-key {
  flex: 0 0 auto;
  min-width: 68px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
}
.contact-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  color: var(--bone);
  word-break: break-word;
}
.footer-legal { display: flex; flex-direction: column; gap: 8px; }
.legal-item {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--mist);
}
.footer-watermark {
  position: absolute;
  right: -12px;
  bottom: -34px;
  z-index: 1;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(130px, 22vw, 280px);
  line-height: .78;
  letter-spacing: -.06em;
  color: rgba(42, 74, 64, .3);
  -webkit-text-stroke: 1px rgba(201, 162, 39, .16);
  pointer-events: none;
  user-select: none;
}

/* ---------- 7. 通用版式组件 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
main { display: block; }

.section { padding: clamp(34px, 5vw, 76px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin-bottom: clamp(16px, 2.4vw, 30px); }

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

.section-lead {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.65;
  color: var(--bone);
  padding-left: 14px;
  border-left: 2px solid var(--gold);
}
.lede { font-size: 17.5px; color: var(--mist); }
.data {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13.5px;
  letter-spacing: .02em;
}
.rule { height: 1px; background: var(--line); margin: clamp(18px, 3vw, 34px) 0; }

.layout-editorial {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(16px, 2.4vw, 36px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mist);
}
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px 0 2px; color: var(--line); }
.breadcrumbs a:hover { color: var(--gold-hi); }
.breadcrumbs [aria-current="page"] { color: var(--bone); }

/* 框景首屏容器 */
.frame {
  position: relative;
  padding: clamp(20px, 3.4vw, 44px);
  background: linear-gradient(180deg, rgba(18, 48, 42, .92), rgba(11, 31, 26, .97));
  border: 1px solid var(--line);
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 7px;
  background-image: var(--ruler);
  pointer-events: none;
}
.frame::before { top: -1px; }
.frame::after { bottom: -1px; }

.glass-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 12px 16px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-strong);
  border-radius: 2px;
}

.panel-red {
  padding: clamp(16px, 2.4vw, 26px);
  color: var(--bone);
  background: linear-gradient(180deg, var(--cloth-red), #391012);
  border-left: 3px solid var(--gold);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--mist);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.tag--red { color: var(--bone); background: var(--cloth-red); border-color: var(--cloth-red-hi); }
.tag--gold { color: var(--gold); border-color: rgba(201, 162, 39, .5); }

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.stat-value {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 13px; color: var(--mist); }

/* 横向牌列 */
.strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.strip-item { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; }

/* 主题筛选 */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--mist);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.filter-chip:hover { color: var(--bone); border-color: var(--gold); }
.filter-chip[aria-pressed="true"] {
  color: var(--bone);
  background: var(--cloth-red);
  border-color: var(--gold);
}
.filter-chip.filter-in { animation: none; }

/* 折叠问答 */
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 16px 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.01em;
  text-align: left;
  color: var(--bone);
}
.accordion-trigger::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--gold);
}
.accordion-trigger[aria-expanded="true"] { color: var(--gold-hi); }
.accordion-trigger[aria-expanded="true"]::after { content: "–"; }
.accordion-trigger:hover { color: var(--gold-hi); }
.accordion-panel { padding: 0 4px 20px; font-size: 15.5px; color: var(--mist); }
.accordion-panel p + p { margin-top: 10px; }

/* 图片容器（页面阶段放 <img> 或保持纯装饰） */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 100% at 18% 0%, rgba(201, 162, 39, .1), transparent 60%),
    radial-gradient(90% 80% at 92% 100%, rgba(63, 224, 208, .08), transparent 60%),
    repeating-linear-gradient(135deg, rgba(18, 48, 42, .92) 0 12px, rgba(11, 31, 26, .92) 12px 24px);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }
.media-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--bone);
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--glass-strong);
}

/* 显现与筛选动效 */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes filterIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.filter-in { animation: filterIn .18s ease both; }

/* ---------- 8. 断点 ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-primary { padding: 10px 14px; font-size: 13.5px; }

  .rail {
    width: min(84vw, 330px);
    padding: 22px 18px 28px;
    align-items: stretch;
    overflow-y: auto;
    transform: translateX(-102%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 26px 0 64px rgba(0, 0, 0, .55);
  }
  .rail[data-open] { transform: translateX(0); }
  .rail-index {
    writing-mode: horizontal-tb;
    letter-spacing: .22em;
    padding: 0 0 14px;
    margin-bottom: 8px;
  }
  .rail-list { flex: 0 0 auto; justify-content: flex-start; gap: 0; }
  .rail-link {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 15px 6px;
    border-bottom: 1px solid var(--line-soft);
  }
  .rail-tick { width: 14px; height: 2px; }
  .rail-link:hover .rail-tick,
  .rail-link:focus-visible .rail-tick { height: 2px; width: 22px; }
  .rail-link[aria-current="page"] .rail-tick { height: 2px; width: 22px; }
  .rail-link[aria-current="page"] .rail-label { color: var(--gold-hi); }
  .rail-num { order: 3; margin-left: auto; font-size: 11px; }
  .rail-label {
    position: static;
    transform: none;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--bone);
    background: none;
    border: 0;
    opacity: 1;
    visibility: visible;
    white-space: normal;
  }
  .rail-progress { display: none; }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 65;
    background: rgba(4, 14, 11, .68);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }
  .nav-scrim[data-open] { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }

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

@media (max-width: 900px) {
  .update-badge { display: none; }
  .header-bar { grid-template-columns: minmax(0, 1fr) auto; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-watermark { font-size: 160px; right: -18px; bottom: -26px; }
  .footer-brand-name { font-size: 21px; }
}

@media (max-width: 560px) {
  .brand-descriptor { display: none; }
  .header-actions { gap: 8px; }
  .header-actions .btn-primary { padding: 9px 11px; font-size: 12.5px; }
  .nav-toggle-text { display: none; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .stat-value { font-size: 34px; }
}

/* ---------- 9. 减少动态偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .rail-progress-fill { transition: none; }
}
