/* ============================================================
   /assets/site.css — 1973棋牌登录 · 版本说明站 共享样式
   ============================================================ */

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

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

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%; height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; padding: 0; cursor: pointer; }

a { color: inherit; }

/* ---------- 2. tokens ---------- */
:root {
  /* 色彩 */
  --ink: #07120F;
  --panel: #0E211C;
  --card: #143129;
  --line: #1F4A3D;
  --paper: #F4EEDF;
  --mute: #9DB3A8;
  --orange: #FF7A2F;
  --neon: #C9F24D;
  --arcade: #39D98A;
  --peach: #F7C9A8;
  --label: #E4D9C2;

  /* 尺寸与节奏 */
  --wrap: 1200px;
  --pad: clamp(14px, 3.4vw, 32px);
  --gap: clamp(14px, 2.2vw, 26px);
  --panel-pad: clamp(16px, 2.6vw, 28px);

  /* 纸张堆叠投影 */
  --stack: 6px 6px 0 0 rgba(7, 18, 15, .92);
  --stack-sm: 3px 3px 0 0 rgba(7, 18, 15, .92);

  /* 动效 */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: 220ms;

  /* 字体 */
  --font-display: "Source Han Sans SC Heavy", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- 3. 页面基底：夜桌 + 扫描线 ---------- */
body {
  min-height: 100vh;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .004em;
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 52% at 50% 0%, rgba(20, 49, 41, .92), rgba(7, 18, 15, 0) 64%),
    repeating-linear-gradient(180deg, rgba(157, 179, 168, .035) 0 1px, transparent 1px 5px);
  background-repeat: no-repeat, repeat;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 920px) {
  body { font-size: 16px; }
}

#main-content {
  display: block;
  outline: 0;
}

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

h1 { font-size: clamp(1.55rem, 6vw, 2.625rem); }
h2 { font-size: clamp(1.2rem, 3.4vw, 1.75rem); }
h3 { font-size: clamp(1.06rem, 2.4vw, 1.25rem); }
h4 { font-size: 1rem; letter-spacing: 0; }

p { max-width: 68ch; }

strong, b { font-weight: 700; }

a {
  color: var(--peach);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--dur) var(--ease);
}

a:hover { color: var(--orange); }

::selection {
  background: var(--neon);
  color: var(--ink);
}

/* ---------- 5. 通用工具类 ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

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

.mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1;
  letter-spacing: .06em;
}

.label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
}

.plate {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 3px 10px;
  background: var(--label);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .18em;
  text-transform: uppercase;
  box-shadow: var(--stack-sm);
}

.plate--dark {
  background: transparent;
  color: var(--neon);
  border: 1px solid var(--line);
  box-shadow: none;
}

.lede {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.7;
  color: var(--paper);
  max-width: 60ch;
}

.rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: clamp(30px, 5.5vw, 52px) 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
}

.rule::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 14px);
}

/* ---------- 6. 焦点可见 ---------- */
:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
  border-radius: 1px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

/* ---------- 7. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 120;
  padding: 10px 18px;
  background: var(--neon);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-decoration: none;
  box-shadow: var(--stack-sm);
  transition: top var(--dur) var(--ease);
}

.skip-link:focus {
  top: 12px;
  color: var(--ink);
}

/* ---------- 8. 顶部状态条 ---------- */
.statusbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  color: var(--mute);
}

.statusbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--pad);
  overflow-x: auto;
  scrollbar-width: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.statusbar__inner::-webkit-scrollbar { display: none; }

.statusbar__group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  min-width: 0;
}

.statusbar__group--end { margin-left: auto; }

.statusbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.statusbar__item b {
  color: var(--neon);
  font-weight: 700;
}

.statusbar__led {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--arcade);
  box-shadow: 0 0 7px var(--arcade);
}

.statusbar__flag {
  color: var(--mute);
  white-space: nowrap;
}

.statusbar__flag::before {
  content: "·";
  margin-right: 6px;
  color: var(--line);
}

.statusbar__jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.statusbar__jump .mono,
.statusbar__jump .mono {
  color: var(--orange);
}

.statusbar__jump:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.statusbar__rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.statusbar__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--arcade), var(--neon));
  box-shadow: 0 0 8px rgba(201, 242, 77, .5);
}

/* ---------- 9. 页头主体 ---------- */
.masthead {
  position: relative;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.masthead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 11px);
  opacity: .8;
  pointer-events: none;
}

.masthead__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 13px var(--pad);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--paper);
  text-decoration: none;
}

.brand:hover { color: var(--paper); }

.brand__plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 34px;
  flex: 0 0 auto;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 3px 3px 0 0 rgba(201, 242, 77, .55);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.brand__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.brand__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}

.masthead__cta { display: none; }

/* 移动导航按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  box-shadow: var(--stack-sm);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-toggle:hover { border-color: var(--orange); }

.nav-toggle[aria-expanded="true"] {
  border-color: var(--neon);
  color: var(--neon);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

.nav-toggle__bars i {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }

/* ---------- 10. 命令栏导航 ---------- */
.cmdnav {
  display: none;
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

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

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

.cmdnav__item { width: 100%; }

.cmdnav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-left: 2px solid transparent;
  background: linear-gradient(90deg, rgba(20, 49, 41, .72), rgba(20, 49, 41, 0));
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.cmdnav__index {
  font-size: 10px;
  color: var(--mute);
  letter-spacing: .1em;
  transition: color var(--dur) var(--ease);
}

.cmdnav__link:hover {
  color: var(--neon);
  border-left-color: var(--orange);
}

.cmdnav__link:hover .cmdnav__index { color: var(--orange); }

.cmdnav__link[aria-current="page"] {
  color: var(--neon);
  font-weight: 700;
  border-left-color: var(--neon);
  background: linear-gradient(90deg, rgba(201, 242, 77, .12), rgba(201, 242, 77, 0));
}

.cmdnav__link[aria-current="page"] .cmdnav__index { color: var(--neon); }

.cmdnav__cta {
  margin-top: 10px;
}

.cmdnav__cta .btn { width: 100%; justify-content: center; }

/* ---------- 11. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .72em 1.15em;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--card);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--stack-sm);
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.btn:hover { color: var(--paper); transform: translate(-1px, -1px); }
.btn:active { transform: translate(1px, 1px); }

.btn--primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 3px 3px 0 0 rgba(201, 242, 77, .5);
}

.btn--primary:hover {
  background: #ff8f52;
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--paper);
  box-shadow: none;
}

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

.btn--sm {
  padding: .55em .9em;
  font-size: .8rem;
}

/* ---------- 12. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45em;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: .45em;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--line);
}

.breadcrumbs a {
  color: var(--mute);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.breadcrumbs a:hover {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

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

/* ---------- 13. 网格 ---------- */
.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid--2,
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .grid--sidebar {
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: start;
    gap: clamp(20px, 3vw, 40px);
  }
}

/* ---------- 14. 面板（纸张叠层） ---------- */
.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--stack);
  padding: var(--panel-pad);
  min-width: 0;
}

.panel--card { background: var(--card); }

.panel--flat { box-shadow: none; }

.panel--framed {
  box-shadow: inset 0 0 0 1px rgba(31, 74, 61, .55), var(--stack);
}

.panel--framed::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(31, 74, 61, .5);
  pointer-events: none;
}

.panel__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.panel__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.3;
}

.panel__head .label { margin-left: auto; }

.panel__body > * + * { margin-top: 12px; }

/* ---------- 15. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, rgba(20, 49, 41, .9) 0 10px, rgba(14, 33, 28, .9) 10px 20px);
  box-shadow: 5px 5px 0 0 rgba(7, 18, 15, .85);
}

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

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 4 / 5; }

.media-frame__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 4px 11px;
  background: var(--label);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.7;
}

/* ---------- 16. 展开组 ---------- */
.disclosure {
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color var(--dur) var(--ease);
}

.disclosure + .disclosure { margin-top: 8px; }

.disclosure[data-open="true"] { border-color: var(--neon); }

.disclosure__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 13px 16px;
  text-align: left;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.5;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.disclosure__trigger:hover { color: var(--neon); background: rgba(20, 49, 41, .7); }

.disclosure[data-open="true"] .disclosure__trigger { color: var(--neon); }

.disclosure__sign {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border: 1px solid currentColor;
}

.disclosure__sign::before,
.disclosure__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.disclosure__sign::after { transform: translate(-50%, -50%) rotate(90deg); }

.disclosure[data-open="true"] .disclosure__sign::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.disclosure__panel {
  padding: 0 16px 16px;
  color: var(--mute);
  font-size: .92rem;
  border-top: 1px dashed var(--line);
  margin-top: 0;
  padding-top: 14px;
  animation: sk-drop var(--dur) var(--ease) both;
}

.disclosure__panel > * + * { margin-top: 10px; }

@keyframes sk-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 17. 复制按钮 ---------- */
.copy-btn {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--mute);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.8;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.copy-btn:hover { color: var(--orange); border-color: var(--orange); }

.copy-btn[data-copied="true"] {
  color: var(--neon);
  border-color: var(--neon);
}

/* ---------- 18. 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  box-shadow: var(--stack-sm);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.to-top[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- 19. 页脚 ---------- */
.sitefooter {
  position: relative;
  margin-top: clamp(48px, 7vw, 84px);
  background: var(--panel);
  border-top: 1px solid var(--line);
  color: var(--mute);
}

.sitefooter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 14px);
  opacity: .9;
  pointer-events: none;
}

.sitefooter__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.6vw, 44px);
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 58px) var(--pad) 0;
}

.sitefooter__lead { min-width: 0; }

.sitefooter__mark {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--neon);
}

.sitefooter__title {
  margin-top: 8px;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--paper);
}

.sitefooter__summary {
  margin-top: 10px;
  max-width: 36ch;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--mute);
}

.sitefooter__lead .plate { margin-top: 16px; }

.sitefooter__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: clamp(18px, 3vw, 32px);
  min-width: 0;
}

.sitefooter__col { min-width: 0; }

.sitefooter__coltitle {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--label);
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.sitefooter__list { display: grid; gap: 2px; }

.sitefooter__link {
  display: inline-block;
  padding: 4px 0;
  color: var(--mute);
  font-size: .92rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.sitefooter__link:hover {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

.sitefooter__contact {
  display: grid;
  gap: 10px;
  padding: clamp(16px, 2.4vw, 22px);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--stack-sm);
}

.sitefooter__contacttitle {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
}

.sitefooter__line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: .9rem;
  margin: 0;
  max-width: none;
}

.sitefooter__key {
  flex: 0 0 auto;
  min-width: 42px;
  color: var(--mute);
  font-size: 10px;
  letter-spacing: .18em;
}

.sitefooter__val {
  color: var(--paper);
  word-break: break-word;
}

.sitefooter__note {
  font-size: .82rem;
  color: var(--mute);
  max-width: 52ch;
}

.sitefooter__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 16px 0 22px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
}

.sitefooter__legal p { margin: 0; max-width: none; }

/* ---------- 20. 断点：平板与桌面 ---------- */
@media (min-width: 920px) {
  .nav-toggle { display: none; }

  .cmdnav {
    display: block;
    width: auto;
    padding-top: 0;
    border-top: 0;
  }

  .cmdnav__list {
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }

  .cmdnav__item { width: auto; }

  .cmdnav__link {
    position: relative;
    padding: 9px 12px;
    border-left: 0;
    background: none;
    font-size: 14px;
    gap: 7px;
  }

  .cmdnav__link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 1px;
    height: 2px;
    background: var(--neon);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 180ms var(--ease), background-color 180ms var(--ease);
  }

  .cmdnav__link[aria-current="page"]::after { transform: scaleX(1); }

  .cmdnav__link:hover::after {
    transform: scaleX(1);
    background: var(--orange);
  }

  .cmdnav__link[aria-current="page"] {
    background: none;
    border-left: 0;
  }

  .cmdnav__cta { display: none; }

  .sitefooter__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.55fr);
    align-items: start;
  }

  .sitefooter__contact { grid-column: 1 / -1; }
  .sitefooter__legal { grid-column: 1 / -1; }
}

@media (min-width: 1100px) {
  .masthead__cta { display: inline-flex; }
}

@media (min-width: 1240px) {
  .statusbar__inner { padding-inline: 0; }
  .masthead__inner { padding-inline: 0; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .to-top { transform: none; }
}
