/* ==========================================================================
   冠军娱乐馆 · 全站共享样式 /assets/site.css
   赛场之夜：深底 + 冠军金 + 电竞红 + 电光蓝
   ========================================================================== */

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

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

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

ul, ol { padding: 0; }

img, svg, picture, video { max-width: 100%; display: block; }

button { font: inherit; color: inherit; }

a { color: inherit; }

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

/* ---------- 2. 变量 ---------- */
:root {
  --night: #0B0E14;
  --panel: #12161F;
  --raise: #1C2230;
  --gold: #D4AF37;
  --gold-deep: #B08D22;
  --red: #E63946;
  --cyan: #4CC9F0;
  --text: #C9D0DC;
  --muted: #8A93A6;
  --line: #2A3242;
  --white: #F2F4F8;
  --gold-veil: rgba(212, 175, 55, 0.12);
  --red-veil: rgba(230, 57, 70, 0.12);
  --cyan-veil: rgba(76, 201, 240, 0.10);

  --bar-h: 64px;
  --wrap: 1200px;
  --gap: clamp(16px, 2vw, 28px);
  --r: 2px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-state: 220ms;
  --dur-open: 260ms;

  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-num: "Barlow Condensed", "Oswald", "Arial Narrow", var(--font-sans);

  --shadow-press: 0 18px 44px -30px rgba(0, 0, 0, 0.95);
}

@media (max-width: 1023px) {
  :root { --bar-h: 58px; }
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100%;
  background-color: var(--night);
  background-image:
    linear-gradient(to right, rgba(42, 50, 66, 0.30) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 50, 66, 0.22) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--white);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.2vw, 38px); }
h3 { font-size: clamp(19px, 2.1vw, 26px); font-weight: 500; }
h4 { font-size: 17px; font-weight: 500; }

p { max-width: 72ch; }

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

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

/* ---------- 4. 焦点与无障碍 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--r);
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -120px;
  z-index: 200;
  display: inline-block;
  padding: 11px 20px;
  background: var(--gold);
  color: var(--night);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--r);
  transition: top 180ms var(--ease);
}
.skip-link:focus { top: 12px; }

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

/* ---------- 5. 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section { padding-block: clamp(46px, 7vw, 92px); }
.section + .section { border-top: 1px solid var(--line); }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--5-7, .grid--7-5, .grid--4-8, .grid--8-4 { grid-template-columns: 1fr; }

@media (min-width: 900px) {
  .grid--5-7 { grid-template-columns: 5fr 7fr; }
  .grid--7-5 { grid-template-columns: 7fr 5fr; }
  .grid--4-8 { grid-template-columns: 4fr 8fr; }
  .grid--8-4 { grid-template-columns: 8fr 4fr; }
}

/* ---------- 6. 章节头部（编号体系） ---------- */
.sec-head {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 2vw, 24px);
  margin-bottom: clamp(20px, 3vw, 36px);
}

.sec-num {
  flex: 0 0 auto;
  font-family: var(--font-num);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.01em;
  color: var(--gold);
}

.sec-body { min-width: 0; }

.sec-kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sec-title { display: block; }
.sec-title::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 22px;
  margin-right: 14px;
  vertical-align: -3px;
  background: var(--gold);
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
}

.sec-lead {
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted);
  max-width: 64ch;
}

/* ---------- 7. 正文长文 ---------- */
.prose { max-width: 68ch; font-size: 16.5px; line-height: 1.85; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.1em; font-size: clamp(22px, 2.6vw, 30px); }
.prose h3 { margin-top: 1.7em; color: var(--white); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose hr { border: 0; border-top: 1px solid var(--gold); opacity: 0.4; margin-block: 2em; }
.prose a { color: var(--gold); text-underline-offset: 3px; }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 180ms var(--ease), color 180ms var(--ease),
    background-color 180ms var(--ease), transform 120ms var(--ease);
}
.btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-veil); }
.btn:active { transform: translateY(1px); filter: brightness(0.88); }

.btn--gold {
  background: linear-gradient(150deg, var(--gold), var(--gold-deep));
  border-color: transparent;
  color: var(--night);
}
.btn--gold:hover {
  background: linear-gradient(150deg, #E4C459, #C39E2A);
  border-color: transparent;
  color: var(--night);
}

.btn--ghost { border-color: rgba(212, 175, 55, 0.45); color: var(--gold); }

/* ---------- 9. 标签 / 徽标 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--r);
  white-space: nowrap;
}
.tag--gold { color: var(--gold); border-color: rgba(212, 175, 55, 0.5); background: var(--gold-veil); }
.tag--red { color: var(--red); border-color: rgba(230, 57, 70, 0.5); background: var(--red-veil); }
.tag--cyan { color: var(--cyan); border-color: rgba(76, 201, 240, 0.45); background: var(--cyan-veil); }

.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(76, 201, 240, 0.15);
  flex: 0 0 auto;
}
.dot--gold { background: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15); }
.dot--red { background: var(--red); box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15); }

/* ---------- 10. 卡片面板 / 叠层 ---------- */
.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: var(--shadow-press);
}
.panel--raise { background: var(--raise); }
.panel--gold { border-color: rgba(212, 175, 55, 0.45); }
.panel--stack::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(8px, 8px);
  border: 1px solid var(--line);
  pointer-events: none;
  z-index: -1;
}

.slice {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

/* ---------- 11. 面包屑 ---------- */
.crumbs { padding-block: 18px 4px; font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current="page"] { color: var(--text); }

/* ---------- 12. 图片容器基础规则 ---------- */
.frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--r);
  aspect-ratio: 16 / 9;
}
.frame > img,
.frame > picture > img,
.frame > svg,
.frame > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame--4x3 { aspect-ratio: 4 / 3; }
.frame--3x4 { aspect-ratio: 3 / 4; }
.frame--1x1 { aspect-ratio: 1 / 1; }
.frame--21x9 { aspect-ratio: 21 / 9; }
.frame--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(42, 50, 66, 0.65) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 50, 66, 0.65) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ---------- 13. 可展开内容组 ---------- */
.fold {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.fold + .fold { margin-top: 10px; }

.fold__head {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  background: none;
  border: 0;
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}
.fold__head:hover { background: var(--gold-veil); }
.fold__head[aria-expanded="true"] { color: var(--gold); }

.fold__idx {
  flex: 0 0 auto;
  min-width: 34px;
  font-family: var(--font-num);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 180ms var(--ease);
}
.fold__head[aria-expanded="true"] .fold__idx { color: var(--gold); }

.fold__text { flex: 1 1 auto; min-width: 0; }

.fold__mark {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.fold__mark::before,
.fold__mark::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform var(--dur-open) var(--ease), opacity var(--dur-open) var(--ease);
}
.fold__mark::before { left: 0; right: 0; top: 6px; height: 1.5px; }
.fold__mark::after { top: 0; bottom: 0; left: 6px; width: 1.5px; }
.fold__head[aria-expanded="true"] .fold__mark { color: var(--gold); }
.fold__head[aria-expanded="true"] .fold__mark::after { transform: scaleY(0); opacity: 0; }

.fold__body { height: 0; overflow: hidden; transition: height var(--dur-open) var(--ease); }
.fold__inner {
  padding: 2px 18px 20px 66px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text);
}
.fold__inner > * + * { margin-top: 0.9em; }

@media (max-width: 560px) {
  .fold__inner { padding-left: 18px; }
}

/* ---------- 14. 显现动画协议 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-state) ease-out, transform var(--dur-state) ease-out;
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 15. 页头：命令栏 ---------- */
.cmdbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(11, 14, 20, 0.98), rgba(11, 14, 20, 0.93));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.2), 0 14px 30px -26px rgba(0, 0, 0, 0.9);
}
@supports (backdrop-filter: blur(8px)) {
  .cmdbar { backdrop-filter: blur(10px); }
}

.cmdbar__rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  transition: transform 120ms linear;
  pointer-events: none;
}

.cmdbar__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  min-height: var(--bar-h);
}

.cmdbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}

.brand__glyph {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  font-family: var(--font-num);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--night);
  background: linear-gradient(150deg, var(--gold), var(--gold-deep));
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}

.brand__text { display: flex; flex-direction: column; line-height: 1.3; }
.brand__mark {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}
.brand__tagline { font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }

@media (min-width: 1024px) {
  .brand__mark, .brand__tagline { white-space: nowrap; }
}

.cmdbar__status {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: var(--gold-veil);
  border-radius: var(--r);
  white-space: nowrap;
}
@media (min-width: 1180px) {
  .cmdbar__status { display: inline-flex; }
}

.cmdbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 16px);
  margin-left: auto;
}

.cmdbar__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  counter-reset: navidx;
}

.cmdbar__link {
  position: relative;
  display: block;
  padding: 8px 12px 8px 24px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--r);
  transition: color 180ms var(--ease), background-color 180ms var(--ease);
}
.cmdbar__link::before {
  counter-increment: navidx;
  content: counter(navidx, decimal-leading-zero);
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 180ms var(--ease);
}
.cmdbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 22px;
  background: var(--gold);
  transform: translateY(-50%) scaleY(0);
  transform-origin: 50% 50%;
  transition: transform var(--dur-state) var(--ease);
}
.cmdbar__link:hover { color: var(--white); background: var(--gold-veil); }
.cmdbar__link:hover::before { color: var(--gold); }
.cmdbar__link[aria-current="page"] {
  color: var(--gold);
  font-weight: 700;
  background: var(--gold-veil);
}
.cmdbar__link[aria-current="page"]::before { color: var(--gold); }
.cmdbar__link[aria-current="page"]::after { transform: translateY(-50%) scaleY(1); }

.cmdbar__cta { flex: 0 0 auto; }

.cmdbar__toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 9px 14px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}
.cmdbar__toggle:hover { border-color: var(--gold); color: var(--gold); }

.cmdbar__burger { position: relative; display: block; width: 18px; height: 12px; }
.cmdbar__burger::before,
.cmdbar__burger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur-state) var(--ease);
}
.cmdbar__burger::before { top: 0; }
.cmdbar__burger::after { bottom: 0; }
.cmdbar__toggle[aria-expanded="true"] .cmdbar__burger::before { transform: translateY(5px) rotate(45deg); }
.cmdbar__toggle[aria-expanded="true"] .cmdbar__burger::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1023px) {
  .cmdbar__toggle { display: inline-flex; }

  .cmdbar__nav {
    position: fixed;
    top: var(--bar-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 10px clamp(16px, 4vw, 34px) 22px;
    max-height: calc(100vh - var(--bar-h));
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(18, 22, 31, 0.99), rgba(11, 14, 20, 0.99));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--dur-state) var(--ease), transform var(--dur-state) var(--ease),
      visibility var(--dur-state) var(--ease);
  }
  .cmdbar__nav[data-open] { opacity: 1; visibility: visible; transform: translateY(0); }

  .cmdbar__list { flex-direction: column; align-items: stretch; gap: 0; }

  .cmdbar__link {
    padding: 14px 12px 14px 44px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .cmdbar__link::before { left: 16px; font-size: 12px; }

  .cmdbar__cta { margin-top: 18px; width: 100%; }
}

/* ---------- 16. 页脚 ---------- */
.foot {
  position: relative;
  margin-top: clamp(56px, 8vw, 118px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 22, 31, 0.92), rgba(11, 14, 20, 1));
  overflow: hidden;
}
.foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red), transparent);
}

.foot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 52px);
  padding-top: clamp(38px, 6vw, 70px);
  padding-bottom: clamp(26px, 4vw, 46px);
}
@media (min-width: 720px) {
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1060px) {
  .foot__grid { grid-template-columns: minmax(220px, 1fr) minmax(0, 1.9fr) minmax(250px, 1.05fr); }
}

.foot__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot__brandname {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.foot__slogan { font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 26ch; }
.foot__region {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 5px 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--red);
  border: 1px solid rgba(230, 57, 70, 0.4);
  background: var(--red-veil);
  border-radius: var(--r);
}

.foot__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 34px);
}
@media (min-width: 520px) {
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.foot__title {
  position: relative;
  margin-bottom: 14px;
  padding-left: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  line-height: 1.6;
}
.foot__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 12px;
  background: var(--gold);
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
}

.foot__list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.foot__list li { font-size: 14px; line-height: 1.9; }
.foot__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms var(--ease), transform 180ms var(--ease);
}
.foot__list a::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--line);
  transition: background-color 180ms var(--ease);
}
.foot__list a:hover { color: var(--gold); transform: translateX(3px); }
.foot__list a:hover::before { background: var(--gold); }

.foot__list--plain li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
}
.foot__list--plain li + li { border-top: 1px solid var(--line); padding-top: 10px; }
.foot__list--plain .k {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.foot__list--plain .v {
  font-size: 14px;
  color: var(--text);
  word-break: break-word;
}

.foot__note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 40ch;
}

.foot__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding-top: 16px;
  padding-bottom: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.foot__sep {
  width: 1px;
  height: 10px;
  background: var(--line);
  display: inline-block;
}

/* ---------- 17. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(14px, 2.4vw, 30px);
  bottom: clamp(14px, 2.4vw, 30px);
  z-index: 55;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--gold);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur-state) var(--ease), transform var(--dur-state) var(--ease),
    visibility var(--dur-state) var(--ease), border-color 180ms var(--ease);
}
.to-top::before {
  content: "";
  width: 10px;
  height: 10px;
  border-left: 1.75px solid currentColor;
  border-top: 1.75px solid currentColor;
  transform: rotate(45deg) translate(1px, 1px);
}
.to-top[data-visible] { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--gold); }

/* ---------- 18. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .cmdbar__rail { transition: none; }
}
