/* ==========================================================================
   盛大棋牌安装 · 共享样式表 /assets/site.css
   暗场棋牌室 × 街机电玩厅：墨绿为地，筹码金为结构，紫青作霓虹高光
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: rgba(217, 166, 58, .55) rgba(11, 43, 38, .9);
}

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

ul, ol { padding: 0; list-style: none; }

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

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

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

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

/* 2. 变量 ------------------------------------------------------------------ */
:root {
  /* 色彩 —— 自然矿物色 + 暗场棋牌霓虹 */
  --felt: #0B2B26;
  --felt-deep: #14413A;
  --rock: #2B3330;
  --gold: #D9A63A;
  --gold-bright: #F0CE7E;
  --violet: #6B3FD4;
  --neon: #33D6C6;
  --cream: #F3EEE2;
  --text: #E9E4D7;
  --clay: #B9633C;
  --moss: #7E9A8C;

  --line-gold: rgba(217, 166, 58, .28);
  --line-neon: rgba(51, 214, 198, .30);
  --line-soft: rgba(126, 154, 140, .22);
  --glass: rgba(20, 65, 58, .52);
  --glass-strong: rgba(11, 43, 38, .86);

  --ink-on-cream: #1B2B27;

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
               "Source Han Sans SC", "Noto Sans CJK SC", system-ui,
               -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono",
               "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;

  --shell-max: 1400px;
  --gutter: clamp(1.25rem, 5.5vw, 4.5rem);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --header-z: 60;
}

/* 3. 中文排版与基础氛围 ------------------------------------------------------ */
body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 620px at 8% -12%, rgba(51, 214, 198, .07), transparent 62%),
    radial-gradient(960px 540px at 104% 6%, rgba(107, 63, 212, .11), transparent 64%),
    radial-gradient(760px 520px at 50% 108%, rgba(217, 166, 58, .06), transparent 70%),
    var(--felt);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--cream);
}

h1 { font-size: clamp(2rem, 5vw, 3.35rem); }
h2 { font-size: clamp(1.5rem, 3.1vw, 2.2rem); }
h3 { font-size: clamp(1.12rem, 1.9vw, 1.4rem); }

strong { font-weight: 800; color: var(--cream); }

small { font-size: 12.5px; }

code, kbd, samp, .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

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

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

#main-content { display: block; scroll-margin-top: 140px; }

/* 4. 布局容器 -------------------------------------------------------------- */
.shell {
  width: min(var(--shell-max), 100% - var(--gutter));
  margin-inline: auto;
}

.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--tight { padding-block: clamp(1.5rem, 3.5vw, 2.5rem); }

.rule-gold {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg,
    rgba(217, 166, 58, .68) 0%,
    rgba(217, 166, 58, .22) 48%,
    rgba(51, 214, 198, .18) 100%);
}

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--moss);
}

.lede {
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.85;
  color: rgba(233, 228, 215, .84);
  max-width: 62ch;
}

.prose {
  max-width: 68ch;
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
}
.prose p + p { margin-top: .9rem; }
.prose a { color: var(--gold-bright); border-bottom: 1px solid rgba(240, 206, 126, .45); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 5. 跳过链接 -------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: .75rem;
  left: -200vw;
  z-index: 200;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--felt);
  font-weight: 800;
  font-size: 14px;
  transition: left .18s ease;
}
.skip-link:focus { left: .75rem; }

/* 6. 滚动进度刻度 ---------------------------------------------------------- */
.scroll-meter {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: 3px;
  z-index: 90;
  background: rgba(217, 166, 58, .10);
  pointer-events: none;
}
.scroll-meter > i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--neon) 58%, var(--violet) 100%);
  box-shadow: 0 0 12px rgba(51, 214, 198, .55);
}

/* 7. 头部 ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--header-z);
  background: linear-gradient(180deg, rgba(11, 43, 38, .97), rgba(11, 43, 38, .88));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-gold);
}

/* 7.1 上层：品牌说明带 + 版本对照 */
.header-band {
  background: linear-gradient(96deg,
    rgba(20, 65, 58, .92) 0%,
    rgba(43, 51, 48, .62) 58%,
    rgba(107, 63, 212, .20) 100%);
  border-bottom: 1px solid rgba(51, 214, 198, .16);
}

.header-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: .62rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 0;
  flex: 0 1 auto;
}

.brand__chips {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand__chips > span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 2px rgba(11, 43, 38, .88);
}
.brand__chips > span + span { margin-left: -5px; }
.brand__chips > span:nth-child(2) { background: var(--neon); }
.brand__chips > span:nth-child(3) { background: var(--violet); }

.brand__stack { display: block; min-width: 0; }

.brand__name {
  display: block;
  font-size: 1.06rem;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--cream);
  text-shadow: 0 0 18px rgba(240, 206, 126, .28);
  white-space: nowrap;
}

.brand__line {
  display: block;
  font-size: 12px;
  letter-spacing: .13em;
  color: var(--moss);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.version-meter {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .7rem;
  flex-wrap: wrap;
  min-width: 0;
}

.version-meter__cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--moss);
  text-transform: uppercase;
}

.version-meter__track {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  padding: 3px;
  border: 1px solid rgba(217, 166, 58, .32);
  border-radius: 999px;
  background: rgba(11, 43, 38, .68);
}

.version-meter__point {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .3rem .72rem;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--moss);
  white-space: nowrap;
  transition: color .22s ease, background .22s ease, box-shadow .22s ease;
}
.version-meter__point:hover { color: var(--gold-bright); }

.version-meter__point[aria-pressed="true"] {
  background: linear-gradient(124deg, rgba(217, 166, 58, .24), rgba(217, 166, 58, .06));
  color: var(--gold-bright);
  box-shadow: inset 0 0 0 1px rgba(217, 166, 58, .5);
}

.version-meter__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.version-meter__readout {
  font-size: 12px;
  line-height: 1.5;
  color: var(--moss);
  max-width: 26ch;
}

/* 7.2 下层：栏目主轨 */
.header-rail {
  position: relative;
  background: linear-gradient(180deg, rgba(11, 43, 38, .55), rgba(11, 43, 38, .92));
}

.header-rail__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: .5rem;
}

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

.site-nav__list {
  display: flex;
  align-items: center;
  gap: .12rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav__list::-webkit-scrollbar { display: none; }

.site-nav__item { flex: 0 0 auto; }

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .85rem;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--text);
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.site-nav__link::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(217, 166, 58, .48);
  box-shadow: inset 0 0 0 1.5px rgba(11, 43, 38, .7);
  transition: background .2s ease, box-shadow .2s ease;
}

.site-nav__link:hover {
  color: var(--gold-bright);
  background: rgba(217, 166, 58, .09);
}
.site-nav__link:hover::before { background: var(--gold-bright); }

.site-nav__link[aria-current="page"] {
  background: linear-gradient(122deg, var(--gold-bright), var(--gold));
  color: var(--felt);
  font-weight: 800;
  box-shadow: 0 10px 24px -16px rgba(217, 166, 58, .95);
}
.site-nav__link[aria-current="page"]::before {
  background: var(--felt);
  box-shadow: inset 0 0 0 1.5px var(--gold-bright);
}

.record-link {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  flex: 0 0 auto;
  padding: .42rem .85rem;
  border: 1px solid rgba(51, 214, 198, .45);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .07em;
  color: var(--neon);
  white-space: nowrap;
  transition: background .22s ease, box-shadow .22s ease, transform .22s ease;
}
.record-link:hover {
  background: rgba(51, 214, 198, .13);
  box-shadow: 0 0 0 1px rgba(51, 214, 198, .35), 0 10px 22px -18px rgba(51, 214, 198, .9);
  transform: translateY(-1px);
}

.record-link__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
  animation: chip-pulse 2.6s ease-in-out infinite;
}

@keyframes chip-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .34; }
}

/* 7.3 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
  padding: .48rem .8rem;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-sm);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--gold-bright);
}

.nav-toggle__bars {
  display: inline-grid;
  gap: 3px;
  width: 15px;
}
.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .24s ease, opacity .24s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 8. 通用按钮 -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
  transition: transform .2s ease, background .2s ease, border-color .2s ease,
              color .2s ease, box-shadow .2s ease;
}

.btn--gold {
  background: linear-gradient(125deg, var(--gold-bright), var(--gold));
  color: var(--felt);
  box-shadow: 0 12px 28px -18px rgba(217, 166, 58, .95);
}
.btn--gold:hover { transform: translateY(-2px); }

.btn--ghost {
  border-color: rgba(51, 214, 198, .45);
  background: rgba(51, 214, 198, .07);
  color: var(--neon);
}
.btn--ghost:hover {
  background: rgba(51, 214, 198, .15);
  transform: translateY(-2px);
}

.btn--quiet {
  border-color: rgba(243, 238, 226, .22);
  color: var(--text);
}
.btn--quiet:hover {
  border-color: rgba(240, 206, 126, .55);
  color: var(--gold-bright);
}

/* 9. 徽章 ------------------------------------------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .34rem;
  padding: .18rem .58rem;
  border: 1px solid;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  line-height: 1.6;
  white-space: nowrap;
}

.badge--gold { color: var(--gold-bright); border-color: rgba(217, 166, 58, .5); background: rgba(217, 166, 58, .1); }
.badge--violet { color: #BEA6F5; border-color: rgba(107, 63, 212, .62); background: rgba(107, 63, 212, .18); }
.badge--neon { color: var(--neon); border-color: rgba(51, 214, 198, .5); background: rgba(51, 214, 198, .1); }
.badge--clay { color: #E5A07E; border-color: rgba(185, 99, 60, .58); background: rgba(185, 99, 60, .16); }

/* 10. 材质层与框景 --------------------------------------------------------- */
.glass {
  background: var(--glass);
  border: 1px solid rgba(51, 214, 198, .18);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
}

.slab {
  background: linear-gradient(162deg, rgba(243, 238, 226, .98), rgba(243, 238, 226, .9));
  color: var(--ink-on-cream);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
  box-shadow: 0 24px 44px -34px rgba(0, 0, 0, .9);
}
.slab h2, .slab h3, .slab h4 { color: #10231F; }
.slab .eyebrow { color: #6C7A72; }

.frame {
  position: relative;
  border: 1px solid rgba(217, 166, 58, .36);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2.25rem);
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--gold);
  pointer-events: none;
}
.frame::before {
  top: -1px; left: -1px;
  border-right: 0; border-bottom: 0;
  border-radius: var(--radius-lg) 0 0 0;
}
.frame::after {
  right: -1px; bottom: -1px;
  border-left: 0; border-top: 0;
  border-radius: 0 0 var(--radius-lg) 0;
}

/* 11. 网格 ----------------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 12. 图片容器 ------------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 72% 18%, rgba(51, 214, 198, .26), transparent 56%),
    radial-gradient(circle at 14% 88%, rgba(107, 63, 212, .28), transparent 58%),
    linear-gradient(152deg, var(--felt-deep), var(--rock));
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 4 / 5; }

.media__label {
  position: absolute;
  left: .75rem;
  bottom: .75rem;
  padding: .18rem .58rem;
  border-radius: 999px;
  background: rgba(11, 43, 38, .82);
  border: 1px solid var(--line-gold);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
}

/* 13. 面包屑 --------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .42rem;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--moss);
}
.breadcrumb a { color: var(--moss); transition: color .2s ease; }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb__sep { color: rgba(126, 154, 140, .55); }

/* 14. 可展开内容组 --------------------------------------------------------- */
.acc {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(11, 43, 38, .48);
}

.acc__item + .acc__item { border-top: 1px solid var(--line-soft); }

.acc__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  width: 100%;
  padding: 1rem 1.1rem;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--cream);
  transition: color .2s ease, background .2s ease;
}
.acc__trigger:hover { color: var(--gold-bright); background: rgba(217, 166, 58, .06); }

.acc__sign {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(217, 166, 58, .5);
  border-radius: 50%;
  position: relative;
  transition: transform .26s ease, background .26s ease;
}
.acc__sign::before,
.acc__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--gold-bright);
  transform: translate(-50%, -50%);
}
.acc__sign::after { transform: translate(-50%, -50%) rotate(90deg); }

.acc__item[data-open] .acc__sign { transform: rotate(135deg); background: rgba(217, 166, 58, .22); }

.acc__panel {
  display: none;
  padding: 0 1.1rem 1.1rem;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(233, 228, 215, .82);
}
.acc__item[data-open] .acc__panel { display: block; }

/* 15. 显现动效 ------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(4px);
  transition: opacity .62s ease, transform .62s cubic-bezier(.22, .68, .34, 1),
              filter .62s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* 16. 页脚 ---------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 8vw, 6rem);
  padding-block: clamp(2rem, 5vw, 3.25rem) 1.5rem;
  background: linear-gradient(180deg,
    rgba(43, 51, 48, .55) 0%,
    rgba(20, 65, 58, .72) 42%,
    rgba(11, 43, 38, .99) 100%);
  border-top: 1px solid var(--line-gold);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 206, 126, .75), transparent);
}

.footer-record {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  padding: .8rem 1.05rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-md);
  background: rgba(11, 43, 38, .58);
}

.footer-record__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--moss);
}

.footer-record__link {
  font-weight: 800;
  color: var(--gold-bright);
  border-bottom: 1px solid rgba(240, 206, 126, .5);
  transition: color .2s ease;
}
.footer-record__link:hover { color: var(--neon); border-color: rgba(51, 214, 198, .6); }

.footer-record__note {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--moss);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line-soft);
}

.footer-brand__name {
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--cream);
  text-shadow: 0 0 18px rgba(240, 206, 126, .22);
}

.footer-brand__line {
  margin-top: .4rem;
  max-width: 26ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--moss);
}

.footer-brand__chip {
  display: block;
  width: 34px;
  height: 34px;
  margin-top: 1rem;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg,
      var(--gold) 0deg 14deg,
      var(--felt-deep) 14deg 28deg);
  box-shadow: inset 0 0 0 6px var(--felt), 0 0 20px -6px rgba(217, 166, 58, .6);
}

.footer-col__title {
  margin-bottom: .85rem;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--gold);
}

.footer-col__list {
  display: grid;
  gap: .45rem;
  font-size: 14px;
}
.footer-col__list a {
  display: inline-block;
  color: rgba(233, 228, 215, .8);
  transition: color .2s ease, transform .2s ease;
}
.footer-col__list a:hover {
  color: var(--gold-bright);
  transform: translateX(4px);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem 1.4rem;
  padding-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .03em;
  color: var(--moss);
}

.footer-legal__copy { color: rgba(126, 154, 140, .85); }

/* 17. 响应式 -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .version-meter__readout { display: none; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

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

@media (max-width: 900px) {
  :root { --header-z: 60; }

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

  .header-rail__inner {
    justify-content: space-between;
    gap: .6rem;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: linear-gradient(180deg, rgba(11, 43, 38, .99), rgba(20, 65, 58, .98));
    border-bottom: 1px solid var(--line-gold);
    box-shadow: 0 26px 46px -30px rgba(0, 0, 0, .95);
    transition: max-height .34s ease, visibility .34s ease;
  }

  .site-nav[data-open] {
    max-height: min(72vh, 540px);
    overflow-y: auto;
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: .12rem;
    padding: .7rem clamp(1rem, 5vw, 2rem) 1.1rem;
    overflow-x: visible;
  }

  .site-nav__link {
    justify-content: flex-start;
    padding: .7rem .85rem;
    font-size: 15px;
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 720px) {
  .header-band__inner { padding-block: .5rem; }
  .brand__line { display: none; }
  .version-meter__cap { display: none; }
  .version-meter__track { padding: 2px; }
  .version-meter__point { padding: .28rem .58rem; font-size: 12px; }
  .record-link { padding: .4rem .7rem; font-size: 12.5px; }
  .footer-record__note { margin-left: 0; width: 100%; }
}

@media (max-width: 620px) {
  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
  .frame { padding: 1.1rem; }
}

/* 18. 无障碍与动效偏好 ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .record-link:hover,
  .btn:hover,
  .footer-col__list a:hover { transform: none; }
}
