/* ============================================================
   博电竞主站 · 共享样式 /assets/site.css
   深空黑底 · 电光青 + 品红双主色 · 战术面板视觉语言
   ============================================================ */

/* ---------- 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, dl, dt, dd, figure, blockquote {
  margin: 0;
}

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

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

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

a { color: inherit; }

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

/* ---------- 2. 变量 ---------- */
:root {
  /* 色彩 */
  --ink:        #06070C;
  --ink-2:      #0F1420;
  --line:       #1E2636;
  --line-soft:  rgba(30, 38, 54, .68);
  --cyan:       #2EE6E6;
  --magenta:    #FF2E8B;
  --green:      #37E58A;
  --orange:     #FF9A3C;
  --muted:      #8A93A6;
  --paper:      #F5F7FA;
  --text-soft:  #C4CBDA;

  --grad-rank:  linear-gradient(90deg, #3BE8F0 0%, #8C6BF0 52%, #FF3C8E 100%);
  --grad-line:  linear-gradient(90deg, var(--cyan), var(--magenta));

  /* 尺寸 */
  --shell:        1280px;
  --gutter:       clamp(16px, 4vw, 40px);
  --header-offset: 120px;

  --r-pill: 999px;
  --r-lg:   28px;
  --r-md:   18px;
  --r-sm:   12px;

  --ease: cubic-bezier(.22, .61, .36, 1);

  /* 字体 */
  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", system-ui,
               -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace,
               SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
}

/* ---------- 3. 文档底 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--header-offset);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    radial-gradient(760px 520px at 8% -6%,   rgba(46, 230, 230, .16), transparent 68%),
    radial-gradient(680px 560px at 96% 2%,   rgba(255, 46, 139, .13), transparent 70%),
    radial-gradient(1000px 780px at 50% 108%, rgba(46, 230, 230, .07), transparent 72%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}

/* 扫描线层 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(245, 247, 250, .05) 0 1px,
    transparent 1px 5px
  );
  animation: scan-drift 14s linear infinite;
}

@keyframes scan-drift {
  from { background-position: 0 0; }
  to   { background-position: 0 260px; }
}

#main-content {
  position: relative;
  z-index: 1;
  display: block;
}

/* ---------- 4. 焦点与可访问性 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 130;
  transform: translate(-50%, -180%);
  padding: 10px 22px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: #03141A;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  box-shadow: 0 14px 34px -14px rgba(46, 230, 230, .9);
  transition: transform .2s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* ---------- 5. 布局原语 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(48px, 7vw, 96px);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.grid-12 > * { grid-column: span 12; min-width: 0; }

.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-12 { grid-column: span 12; }

.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background:
    linear-gradient(180deg, rgba(15, 20, 32, .94), rgba(15, 20, 32, .62));
}

/* ---------- 6. 文字原语 ---------- */
.mono-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-figure {
  display: block;
  font-family: var(--font-mono);
  font-weight: 200;
  font-size: clamp(56px, 9vw, 140px);
  line-height: .92;
  letter-spacing: -.03em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

/* ---------- 7. 按钮与标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.btn--primary {
  background: var(--magenta);
  color: #170309;
}

.btn--primary:hover {
  box-shadow: 0 0 0 1px var(--magenta), 0 14px 34px -14px rgba(255, 46, 139, .9);
}

.btn--cyan {
  background: var(--cyan);
  color: #03141A;
}

.btn--cyan:hover {
  box-shadow: 0 0 0 1px var(--cyan), 0 14px 34px -14px rgba(46, 230, 230, .9);
}

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

.btn--ghost:hover {
  border-color: rgba(46, 230, 230, .6);
  color: var(--cyan);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tag--up   { color: var(--green);   background: rgba(55, 229, 138, .08);  border-color: rgba(55, 229, 138, .42); }
.tag--move { color: var(--orange);  background: rgba(255, 154, 60, .08);  border-color: rgba(255, 154, 60, .42); }
.tag--live { color: var(--cyan);    background: rgba(46, 230, 230, .08);  border-color: rgba(46, 230, 230, .42); }

/* ---------- 8. 面包屑 ---------- */
.breadcrumbs {
  margin-bottom: 28px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: #39435A;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.breadcrumbs a:hover { color: var(--cyan); }

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

/* ---------- 9. 正文容器 ---------- */
.prose {
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
}

.prose > * + * { margin-top: 1.1em; }

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(24px, 3vw, 28px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--paper);
}

.prose h3 {
  margin-top: 1.8em;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--paper);
}

.prose strong { color: var(--paper); font-weight: 700; }

.prose a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 230, 230, .38);
}

.prose a:hover { border-bottom-color: var(--cyan); }

.prose ul,
.prose ol {
  padding-left: 1.35em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li + li { margin-top: .5em; }

.prose code {
  font-family: var(--font-mono);
  font-size: .9em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(46, 230, 230, .1);
  color: var(--cyan);
}

/* ---------- 10. 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-2);
}

.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.96) contrast(1.06);
}

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(6, 7, 12, .26) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 50% 45%, transparent 42%, rgba(6, 7, 12, .74) 100%);
}

.media--ph {
  background-image:
    linear-gradient(135deg,
      rgba(46, 230, 230, .07) 25%, transparent 25%,
      transparent 50%, rgba(46, 230, 230, .07) 50%,
      rgba(46, 230, 230, .07) 75%, transparent 75%),
    linear-gradient(180deg, var(--ink-2), #0A0E17);
  background-size: 14px 14px, 100% 100%;
}

.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
}

/* ---------- 11. 显现动效 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   12. 悬浮胶囊头部
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 24px var(--gutter) 0;
  pointer-events: none;
  transition: padding .3s var(--ease);
}

.site-header[data-scrolled="true"] {
  padding-top: 10px;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.header-shell > * { pointer-events: auto; }

/* 滚动进度条 */
.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 90;
  background: rgba(245, 247, 250, .07);
  pointer-events: none;
}

.scroll-meter i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--grad-line);
  transition: width .12s linear;
}

/* 品牌胶囊 */
.brand-capsule {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 20px 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(15, 20, 32, .8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-decoration: none;
  color: var(--paper);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}

.brand-capsule:hover {
  border-color: rgba(46, 230, 230, .55);
  box-shadow: 0 0 0 1px rgba(46, 230, 230, .18);
}

.brand-mark {
  flex: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  width: 30px;
  height: 30px;
  padding-bottom: 7px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--cyan), var(--magenta));
}

.brand-mark i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: rgba(6, 7, 12, .86);
}

.brand-mark i:nth-child(1) { height: 7px; }
.brand-mark i:nth-child(2) { height: 12px; }
.brand-mark i:nth-child(3) { height: 9px; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .05em;
}

.brand-version {
  display: block;
  max-height: 14px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  transition: max-height .3s var(--ease), opacity .2s var(--ease);
}

.site-header[data-scrolled="true"] .brand-version {
  max-height: 0;
  opacity: 0;
}

/* 栏目胶囊 */
.nav-capsule {
  pointer-events: auto;
  display: flex;
  align-items: center;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(15, 20, 32, .8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-list a {
  display: block;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none;
  color: var(--muted);
  transition: color .2s var(--ease), background .2s var(--ease),
              box-shadow .2s var(--ease);
}

.nav-list a:hover {
  color: var(--paper);
  background: rgba(46, 230, 230, .09);
}

.nav-list a[aria-current="page"] {
  color: var(--cyan);
  background: rgba(46, 230, 230, .1);
  box-shadow: inset 0 0 0 1px rgba(46, 230, 230, .58);
}

.nav-gap {
  width: 1px;
  height: 18px;
  margin: 0 7px;
  background: var(--line);
}

/* 使用工具 CTA */
.tool-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: var(--magenta);
  color: #170309;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 46, 139, .45),
              0 12px 32px -16px rgba(255, 46, 139, .95);
  transition: filter .2s var(--ease), box-shadow .2s var(--ease);
}

.tool-cta:hover {
  filter: brightness(1.09);
  box-shadow: 0 0 0 1px var(--magenta),
              0 16px 38px -16px rgba(255, 46, 139, 1);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(15, 20, 32, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(46, 230, 230, .5);
  color: var(--cyan);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.nav-toggle-bars i {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) {
  transform: translateY(5.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(-5.5px) rotate(-45deg);
}

.nav-toggle-text { line-height: 1; }

/* ============================================================
   13. 页脚
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(64px, 10vw, 120px);
  padding: 0 var(--gutter) 36px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(620px 320px at 50% 0, rgba(46, 230, 230, .08), transparent 70%),
    linear-gradient(180deg, rgba(15, 20, 32, .86), rgba(6, 7, 12, .99));
}

/* 工具胶囊条 */
.tool-dock {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: -26px 0 42px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(15, 20, 32, .93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 54px -30px rgba(46, 230, 230, .7);
}

.tool-dock-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.tool-dock-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-chip {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  text-decoration: none;
  color: var(--muted);
  transition: color .2s var(--ease), border-color .2s var(--ease),
              background .2s var(--ease), box-shadow .2s var(--ease);
}

.tool-chip:hover {
  color: var(--paper);
  border-color: rgba(46, 230, 230, .5);
}

.tool-chip.is-active {
  color: #03141A;
  font-weight: 800;
  border-color: transparent;
  background: linear-gradient(120deg, var(--cyan), #8BF4F4);
  box-shadow: 0 0 26px -6px rgba(46, 230, 230, .85);
}

.tool-dock-note {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--muted);
}

/* 品牌区 */
.footer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--paper);
}

.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  padding-bottom: 8px;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.footer-brand-text strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .05em;
}

.footer-brand-text span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .09em;
  color: var(--muted);
}

/* 四列 */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 28px;
  padding: 38px 0 42px;
}

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

.footer-col-title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-list {
  display: grid;
  gap: 10px;
}

.footer-list a {
  font-size: 14px;
  text-decoration: none;
  color: var(--text-soft);
  transition: color .2s var(--ease);
}

.footer-list a:hover { color: var(--cyan); }

.footer-contact {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  font-size: 13px;
}

.footer-contact dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-contact dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--text-soft);
  line-height: 1.6;
}

.copy-btn {
  flex: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.copy-btn:hover {
  color: var(--cyan);
  border-color: rgba(46, 230, 230, .55);
}

.copy-btn[data-copied="true"] {
  color: var(--green);
  border-color: rgba(55, 229, 138, .65);
}

/* 法与备案 */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.footer-legal-line,
.footer-legal-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--muted);
}

.footer-legal-note { text-align: right; }

/* ============================================================
   14. 响应式
   ============================================================ */
@media (max-width: 1024px) {
  :root { --header-offset: 104px; }

  .site-header { padding: 16px var(--gutter) 0; }
  .site-header[data-scrolled="true"] { padding-top: 10px; }

  .header-shell { gap: 10px; }

  .brand-capsule { padding: 8px 16px 8px 10px; }
  .brand-name { font-size: 14px; }

  .tool-cta { padding: 11px 16px; font-size: 13px; }

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

  .nav-capsule {
    position: fixed;
    top: 78px;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: var(--r-lg);
    background: rgba(9, 12, 20, .97);
    box-shadow: 0 32px 70px -34px rgba(46, 230, 230, .8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    max-height: calc(100vh - 130px);
    overflow: auto;
    transition: opacity .2s var(--ease), transform .24s var(--ease),
                visibility .2s var(--ease);
  }

  .nav-capsule[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-list a {
    padding: 13px 16px;
    border-radius: var(--r-sm);
    font-size: 15px;
  }

  .nav-gap {
    width: 100%;
    height: 1px;
    margin: 8px 0;
  }

  .tool-dock { margin-top: -22px; }
}

@media (max-width: 900px) {
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  .col-3  { grid-column: span 3; }
  .col-4  { grid-column: span 3; }
  .col-5  { grid-column: span 6; }
  .col-6  { grid-column: span 3; }
  .col-7  { grid-column: span 6; }
  .col-8  { grid-column: span 6; }
  .col-9  { grid-column: span 6; }
  .col-10 { grid-column: span 6; }
  .col-12 { grid-column: span 6; }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
  }

  .footer-meta { width: 100%; }
  .tool-dock-note { margin-left: 0; width: 100%; }
  .footer-legal-note { text-align: left; }
}

@media (max-width: 560px) {
  :root { --header-offset: 96px; }

  .grid-12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10,
  .col-12 { grid-column: span 2; }

  .brand-version { display: none; }

  .tool-cta { padding: 10px 14px; font-size: 12.5px; }
  .nav-toggle { padding: 10px 14px; font-size: 12.5px; }
  .nav-toggle-text { display: none; }

  .nav-capsule { top: 72px; }

  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .tool-dock { border-radius: var(--r-lg); }
  .footer-legal-line,
  .footer-legal-note { font-size: 11px; }
}

/* ============================================================
   15. 降低动态效果
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  body::before { animation: none; }

  html.js [data-reveal],
  html.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
}
