/* =========================================================
   完美体育CN · 共享样式表 /assets/site.css
   夜间转播控制室 · 悬浮胶囊外壳 · 粗野主义面板
   ========================================================= */

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

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

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, picture, video { max-width: 100%; display: block; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a { color: inherit; text-decoration: none; }

/* ---------- 2. Tokens ---------- */
:root {
  --night-950: #060D17;
  --night-900: #08111F;
  --night-800: #0F1C2D;
  --night-700: #1A2A40;

  --cyan: #2FE3D0;
  --orange: #FF6A2A;
  --warm: #F3EFE4;
  --mist: #8DA1B4;
  --green: #58E08C;
  --amber: #FFC857;
  --alert: #FF5D5D;

  --bg: var(--night-900);
  --surface: var(--night-800);
  --surface-2: var(--night-700);
  --text: var(--warm);
  --text-dim: var(--mist);
  --line: rgba(141, 161, 180, 0.22);
  --line-soft: rgba(141, 161, 180, 0.14);
  --line-strong: #1A2A40;

  --font-display: "Helvetica Neue Condensed", "Arial Narrow", "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia,
    "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-pill: 999px;

  --shadow-hard: 6px 6px 0 rgba(0, 0, 0, 0.38);
  --shadow-hard-lg: 10px 10px 0 rgba(0, 0, 0, 0.45);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 140ms var(--ease);
  --t-base: 180ms var(--ease);
}

/* ---------- 3. 基础排版（中文优先） ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 560px at 84% -12%, rgba(47, 227, 208, 0.10), transparent 62%),
    radial-gradient(880px 500px at 4% 2%, rgba(255, 106, 42, 0.08), transparent 60%),
    linear-gradient(rgba(141, 161, 180, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 161, 180, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  background-attachment: scroll, scroll, fixed, fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: condensed;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 0.98; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); letter-spacing: -0.01em; }
h4 { font-size: 1.02rem; letter-spacing: 0; }

p { line-height: 1.72; }

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

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

/* ---------- 4. 工具类 ---------- */
.container {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.container--wide {
  width: min(100% - 2rem, 1320px);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container,
  .container--wide { width: min(100% - 3.5rem, 100%); }
  .container { max-width: 1180px; }
  .container--wide { max-width: 1320px; }
}

.section { padding-block: clamp(2.6rem, 6vw, 5.5rem); }
.section--tight { padding-block: clamp(1.6rem, 3vw, 2.6rem); }

.stack > * + * { margin-top: 1rem; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid--halves { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.grid--split { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .grid--split {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: start;
  }
}

.rule {
  height: 1px;
  width: 100%;
  border: 0;
  background: var(--line);
  margin: 0;
}

.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;
}

/* ---------- 5. 文本组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--cyan);
  flex: 0 0 auto;
}

.serif {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
}

.num,
.display {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.03em;
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: condensed;
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.chapter { position: relative; }

.chapter__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(47, 227, 208, 0.55);
  margin-bottom: 0.55rem;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.72rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  transition: transform var(--t-base), background-color var(--t-fast),
    color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-base);
}

.btn--primary {
  background: var(--orange);
  color: #14100D;
  box-shadow: 0 0 0 1px rgba(255, 106, 42, 0.35), 4px 4px 0 rgba(0, 0, 0, 0.45);
}
.btn--primary:hover {
  background: #FF8348;
  transform: translate(-2px, -2px);
  box-shadow: 0 0 0 1px rgba(255, 141, 88, 0.5), 6px 6px 0 rgba(0, 0, 0, 0.45);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(47, 227, 208, 0.55);
  color: var(--cyan);
}
.btn--ghost:hover {
  background: rgba(47, 227, 208, 0.12);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.btn--quiet {
  background: rgba(15, 28, 45, 0.9);
  border-color: var(--line);
  color: var(--warm);
}
.btn--quiet:hover {
  border-color: rgba(141, 161, 180, 0.5);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* ---------- 7. 标签 / 面板 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.6rem;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--mist);
  white-space: nowrap;
}
.tag--live { color: var(--cyan); }
.tag--open { color: var(--amber); }
.tag--done { color: var(--green); }
.tag--alert { color: var(--orange); }

.panel {
  position: relative;
  padding: clamp(1rem, 2vw, 1.6rem);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-hard);
}

.panel--accent { border-left: 4px solid var(--cyan); }
.panel--alert { border-left: 4px solid var(--orange); }

.panel--interactive {
  transition: transform var(--t-base), border-color var(--t-fast),
    box-shadow var(--t-base);
}
.panel--interactive:hover {
  transform: translate(-2px, -2px);
  border-color: rgba(47, 227, 208, 0.6);
  box-shadow: var(--shadow-hard-lg);
}

/* ---------- 8. 面包屑 ---------- */
.breadcrumb { padding-block: 0.9rem 0.2rem; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.breadcrumb__list > li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.breadcrumb__list > li + li::before {
  content: "/";
  color: rgba(141, 161, 180, 0.5);
}

.breadcrumb__link {
  color: var(--mist);
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.breadcrumb__link:hover {
  color: var(--cyan);
  border-bottom-color: rgba(47, 227, 208, 0.6);
}

.breadcrumb__current { color: var(--warm); }

/* ---------- 9. 正文容器 ---------- */
.prose {
  max-width: 72ch;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(243, 239, 228, 0.9);
}
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.prose h3 { margin-top: 1.4em; color: var(--warm); }
.prose strong { color: #ffffff; }
.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(47, 227, 208, 0.35);
  transition: border-color var(--t-fast);
}
.prose a:hover { border-bottom-color: var(--cyan); }
.prose ul > li {
  position: relative;
  padding-left: 1.15rem;
  margin-top: 0.5em;
}
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 2px;
  background: var(--cyan);
}
.prose blockquote {
  border-left: 3px solid var(--orange);
  padding-left: 1rem;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--warm);
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--night-700);
  padding: 0.12em 0.4em;
  border-radius: var(--r-sm);
}

/* ---------- 10. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: #0B1726;
  isolation: isolate;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(158deg, rgba(47, 227, 208, 0.14), transparent 52%),
    linear-gradient(338deg, rgba(255, 106, 42, 0.16), transparent 46%);
  mix-blend-mode: screen;
}

.media img,
.media video,
.media > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 21 / 9; }

.media--cut {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
  border-radius: 0;
}

.media__label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  padding: 0.24rem 0.55rem;
  background: rgba(6, 13, 23, 0.82);
  border: 1px solid rgba(47, 227, 208, 0.45);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ---------- 11. Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--cyan);
  color: var(--night-900);
  font-weight: 800;
  border-radius: var(--r-sm);
  transition: top var(--t-base);
}
.skip-link:focus { top: 1rem; }

/* ---------- 12. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: clamp(0.55rem, 1.4vw, 0.95rem) 0 clamp(0.7rem, 1.8vw, 1.15rem);
  background: linear-gradient(
    180deg,
    rgba(8, 17, 31, 0.97) 0%,
    rgba(8, 17, 31, 0.86) 52%,
    rgba(8, 17, 31, 0) 100%
  );
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.header-rail {
  display: flex;
  gap: 4px;
  width: min(100% - 1.5rem, 1240px);
  height: 3px;
  margin: 0 auto 0.55rem;
}

.header-rail span {
  height: 100%;
  border-radius: 2px;
  background: rgba(141, 161, 180, 0.28);
}
.header-rail span:nth-child(1) { flex: 0 0 11%; background: var(--cyan); }
.header-rail span:nth-child(2) { flex: 0 0 4%; background: var(--orange); }
.header-rail span:nth-child(3) { flex: 1 1 auto; }

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: min(100% - 1.5rem, 1240px);
  margin-inline: auto;
}

/* 品牌浮岛 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.85rem 0.4rem 0.45rem;
  background: rgba(15, 28, 45, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  transition: border-color var(--t-fast), transform var(--t-base);
}
.brand:hover {
  border-color: rgba(47, 227, 208, 0.55);
  transform: translateY(-1px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--cyan);
  color: #06121F;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 2px rgba(6, 18, 31, 0.18);
}

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

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--warm);
  white-space: nowrap;
}

.brand-descriptor {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}

/* 导航胶囊 */
.nav-capsule {
  margin-left: auto;
  padding: 0.28rem;
  background: rgba(15, 28, 45, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-item { display: flex; }

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 0.82rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(243, 239, 228, 0.82);
  white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.nav-link:hover {
  background: rgba(47, 227, 208, 0.14);
  color: var(--cyan);
}
.nav-link[aria-current="page"] {
  background: var(--cyan);
  color: #06121F;
  font-weight: 800;
}

/* 悬浮登录模块 */
.login-module {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem 0.35rem 0.9rem;
  background: rgba(255, 106, 42, 0.09);
  border: 1px solid rgba(255, 106, 42, 0.45);
  border-radius: var(--r-pill);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}

.login-module__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
}

.login-module__cta {
  min-height: 38px;
  padding: 0.48rem 0.95rem;
  font-size: 0.85rem;
}

.login-module__hint {
  font-size: 0.72rem;
  color: var(--mist);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.login-module__hint:hover {
  color: var(--cyan);
  border-bottom-color: rgba(47, 227, 208, 0.65);
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.5rem 0.8rem;
  background: rgba(15, 28, 45, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--warm);
  font-size: 0.8rem;
  font-weight: 700;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.nav-toggle:hover { border-color: rgba(47, 227, 208, 0.55); color: var(--cyan); }

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform var(--t-base), opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5px) 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(-5px) rotate(-45deg);
}

.nav-toggle__text { letter-spacing: 0.02em; }

/* 滚动进度轨 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 90;
  pointer-events: none;
  background: rgba(47, 227, 208, 0.1);
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 7vw, 6rem);
  background: linear-gradient(180deg, #0F1C2D 0%, #0A1524 72%, #08111F 100%);
  border-top: 1px solid rgba(47, 227, 208, 0.25);
}

.footer-rail {
  display: flex;
  gap: 4px;
  height: 4px;
}
.footer-rail span { height: 100%; }
.footer-rail span:nth-child(1) { flex: 2 1 0; background: var(--cyan); }
.footer-rail span:nth-child(2) { flex: 1 1 0; background: var(--orange); }
.footer-rail span:nth-child(3) { flex: 4 1 0; background: rgba(141, 161, 180, 0.25); }
.footer-rail span:nth-child(4) { flex: 1 1 0; background: rgba(47, 227, 208, 0.4); }

.footer-main {
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  grid-template-columns: 1fr;
  padding-block: clamp(2rem, 4.5vw, 3.6rem);
}

@media (min-width: 900px) {
  .footer-main {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.7fr) minmax(0, 1fr);
    align-items: start;
  }
}

.footer-brand__mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  color: var(--warm);
}

.footer-brand__tile {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--cyan);
  border-radius: 7px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
}

.footer-brand__line {
  margin-top: 0.9rem;
  max-width: 34ch;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(243, 239, 228, 0.9);
}

.footer-note {
  margin-top: 0.9rem;
  max-width: 40ch;
  font-size: 0.79rem;
  line-height: 1.7;
  color: var(--mist);
}

.footer-nav {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}

.footer-col__title {
  margin-bottom: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-list { display: grid; gap: 0.5rem; }

.footer-link {
  display: inline-block;
  width: fit-content;
  padding-block: 2px;
  font-size: 0.92rem;
  color: rgba(243, 239, 228, 0.78);
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.footer-link:hover {
  color: var(--cyan);
  border-bottom-color: rgba(47, 227, 208, 0.65);
}

.footer-link--quiet {
  font-size: 0.8rem;
  color: var(--mist);
}

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

.footer-contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.5rem;
  font-size: 0.88rem;
  color: rgba(243, 239, 228, 0.85);
  line-height: 1.6;
}

.footer-key {
  flex: 0 0 auto;
  min-width: 2.3em;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.footer-value {
  min-width: 0;
  word-break: break-word;
  font-variant-numeric: tabular-nums;
}

.copy-btn {
  flex: 0 0 auto;
  padding: 0.14rem 0.45rem;
  border: 1px solid rgba(47, 227, 208, 0.45);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  transition: background-color var(--t-fast), color var(--t-fast),
    border-color var(--t-fast);
}
.copy-btn:hover { background: rgba(47, 227, 208, 0.14); }
.copy-btn[data-copied="true"] {
  background: var(--green);
  border-color: var(--green);
  color: #06121F;
}
.copy-btn[data-copied="false"] {
  background: rgba(255, 93, 93, 0.14);
  border-color: var(--alert);
  color: var(--alert);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.2rem;
  padding-block: 1.1rem;
  border-top: 1px solid rgba(141, 161, 180, 0.16);
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.footer-legal--links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-left: auto;
}

/* 回到顶部 */
.to-top {
  position: fixed;
  right: clamp(0.8rem, 2vw, 1.6rem);
  bottom: clamp(0.8rem, 2vw, 1.6rem);
  z-index: 70;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 28, 45, 0.95);
  border: 1px solid rgba(47, 227, 208, 0.5);
  color: var(--cyan);
  font-size: 1.05rem;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t-base), transform var(--t-base),
    visibility var(--t-base), background-color var(--t-fast);
}
.to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover { background: rgba(47, 227, 208, 0.16); }

/* ---------- 14. 平板 ---------- */
@media (max-width: 1180px) {
  .brand-descriptor { display: none; }
  .login-module__hint { display: none; }
  .login-module__label { display: none; }
  .login-module { padding: 0.3rem; border-radius: var(--r-pill); }
}

/* ---------- 15. 移动端：导航胶囊降级为切换面板 ---------- */
@media (max-width: 960px) {
  .header-shell {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
  }

  .brand { padding-right: 0.6rem; }
  .brand-name { font-size: 0.94rem; }

  .nav-toggle { display: inline-flex; }

  .nav-capsule {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    margin-left: 0;
    display: none;
    padding: 0.5rem;
    border-radius: var(--r-lg);
    border-color: var(--line-strong);
    background: rgba(15, 28, 45, 0.99);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.6);
  }

  .nav-capsule[data-open="true"] { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.12rem;
  }

  .nav-link {
    justify-content: space-between;
    padding: 0.72rem 0.9rem;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .login-module { margin-left: auto; }

  .scroll-progress { height: 2px; }

  .footer-legal--links { margin-left: 0; }
}

/* ---------- 16. 小屏 ---------- */
@media (max-width: 560px) {
  .header-rail { display: none; }
  .brand-mark { width: 30px; height: 30px; font-size: 0.68rem; }
  .brand-name { font-size: 0.88rem; }
  .login-module__cta {
    padding: 0.46rem 0.7rem;
    font-size: 0.78rem;
    min-height: 36px;
  }
  .nav-toggle { padding: 0.46rem 0.65rem; }
  .nav-toggle__text { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 17. 降低动效 ---------- */
@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;
  }
}
