/* ============================================================
   AG大厅游戏 · /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, p, ul, ol, li, figure, figcaption, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(53, 242, 230, .16);
}

/* ---------- 2. Tokens ---------- */
:root {
  --void: #070B18;
  --panel: #111A33;
  --panel-deep: #0B1226;
  --cyan: #35F2E6;
  --magenta: #FF3DAE;
  --gold: #FFC857;
  --paper: #F2E9D8;
  --ink: #1B120D;
  --steel: #8A97B8;
  --mint: #7CFFB2;
  --coral: #FF6B5E;
  --white: #FFFFFF;
  --text-soft: #C9D3EA;

  --line: rgba(138, 151, 184, .26);
  --line-strong: rgba(138, 151, 184, .52);

  --font-display: "HarmonyOS Sans SC", "Archivo Black", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;

  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --radius: 2px;
  --shadow-hard: 6px 6px 0 rgba(53, 242, 230, .14), 12px 12px 0 rgba(4, 6, 14, .85);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. Base & 中文排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--void);
  background-image:
    linear-gradient(rgba(138, 151, 184, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 151, 184, .045) 1px, transparent 1px),
    radial-gradient(880px 520px at 88% -6%, rgba(255, 61, 174, .17), transparent 70%),
    radial-gradient(760px 460px at 4% 2%, rgba(53, 242, 230, .13), transparent 72%);
  background-size: 76px 76px, 76px 76px, auto, auto;
  background-attachment: fixed, fixed, fixed, fixed;
  background-repeat: repeat, repeat, no-repeat, no-repeat;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .01em;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p { max-width: 68ch; }
strong { font-weight: 700; color: var(--white); }
::selection { background: var(--magenta); color: var(--white); }

#main-content { display: block; }

/* ---------- 4. 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(2.6rem, 6vw, 5.5rem); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
}
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.8rem); }
.section-lead { color: var(--steel); font-size: 1rem; max-width: 54ch; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .62em 1.05em;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  transition: transform .16s var(--ease), border-color .18s var(--ease),
              box-shadow .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease);
}
.btn-primary {
  border-color: transparent;
  background: linear-gradient(105deg, var(--cyan) 0%, #8BE9FF 38%, var(--magenta) 100%);
  color: #04121A;
  box-shadow: 4px 4px 0 rgba(255, 61, 174, .34);
}
.btn-primary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 7px 7px 0 rgba(53, 242, 230, .42);
}
.btn-ghost {
  background: rgba(17, 26, 51, .62);
  border-color: var(--line-strong);
  color: var(--text-soft);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(53, 242, 230, .08);
}
.btn:active { transform: translate(1px, 1px); box-shadow: none; }

/* ---------- 6. 标签 / 高亮 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .34em;
  padding: .26em .58em;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.6;
}
.tag--gold { color: var(--gold); background: rgba(255, 200, 87, .1); }
.tag--mint { color: var(--mint); background: rgba(124, 255, 178, .1); }
.tag--coral { color: var(--coral); background: rgba(255, 107, 94, .1); }
.tag--cyan { color: var(--cyan); background: rgba(53, 242, 230, .1); }
.tag--magenta { color: var(--magenta); background: rgba(255, 61, 174, .12); }

.mark-gold { background: var(--gold); color: var(--ink); padding: 0 .18em; font-weight: 700; }
.mark-cyan { background: var(--cyan); color: var(--void); padding: 0 .18em; font-weight: 700; }

/* ---------- 7. 页头 · 命令栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 11, 24, .94);
  border-bottom: 2px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.site-header[data-stuck] {
  border-bottom-color: rgba(53, 242, 230, .35);
  box-shadow: 0 16px 34px -20px rgba(0, 0, 0, .95), 0 0 0 1px rgba(53, 242, 230, .1);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 2vw, 1.8rem);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: .68rem var(--gutter);
}

/* 品牌 */
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  font-family: var(--font-mono);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--void);
  background: linear-gradient(135deg, var(--cyan) 0%, var(--magenta) 100%);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: filter .2s var(--ease);
}
.brand:hover .brand-mark { filter: brightness(1.15) saturate(1.2); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--white);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--steel);
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
  padding: .46rem .7rem;
  border: 2px solid var(--line-strong);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle-bars { display: grid; gap: 3px; width: 15px; }
.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.site-header[data-open] .nav-toggle { border-color: var(--cyan); color: var(--cyan); }
.site-header[data-open] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}
.nav-list { display: flex; align-items: center; gap: .12rem; }
.nav-item { display: flex; }
.nav-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: .4rem;
  padding: .46rem .56rem;
  border: 2px solid transparent;
  color: var(--text-soft);
  font-size: .84rem;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease);
}
.nav-link::before {
  content: "";
  position: absolute;
  top: .18rem;
  right: .26rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(138, 151, 184, .38);
  transition: background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.nav-index {
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--steel);
  transition: color .18s var(--ease);
}
.nav-label { font-weight: 500; }
.nav-link:hover {
  border-color: var(--cyan);
  background: rgba(53, 242, 230, .07);
  color: var(--white);
}
.nav-link:hover .nav-index { color: var(--cyan); }
.nav-link:hover::before { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.nav-link[aria-current="page"] {
  border-color: var(--cyan);
  background: rgba(53, 242, 230, .1);
  color: var(--white);
}
.nav-link[aria-current="page"] .nav-index { color: var(--cyan); }
.nav-link[aria-current="page"]::before {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: navPulse 2.8s ease-in-out infinite;
}
@keyframes navPulse {
  0%, 100% { box-shadow: 0 0 4px var(--cyan); }
  50% { box-shadow: 0 0 12px var(--cyan), 0 0 18px rgba(53, 242, 230, .5); }
}

.nav-foot { display: none; }
.nav-cta { width: 100%; }
.nav-note {
  margin-top: .8rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  line-height: 1.7;
  color: var(--steel);
  max-width: none;
}

/* 右侧状态与入口 */
.header-aside { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.status-line {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
  max-width: none;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: dotPulse 3.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}
.header-cta { white-space: nowrap; }

/* 滚动光带 */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}
.scroll-meter-fill {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan) 0%, #8BE9FF 42%, var(--magenta) 78%, var(--gold) 100%);
  transition: transform .12s linear;
}

/* 跳至主内容 */
.skip-link {
  position: fixed;
  top: -4rem;
  left: var(--gutter);
  z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--cyan);
  color: var(--void);
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  border: 2px solid var(--void);
  transition: top .18s var(--ease);
}
.skip-link:focus { top: .75rem; }

/* ---------- 8. 页脚 · 状态带 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 7vw, 6.5rem);
  background: linear-gradient(180deg, #0A1024 0%, #05070F 100%);
  border-top: 2px solid var(--line);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(680px 320px at 10% 0%, rgba(53, 242, 230, .16), transparent 70%),
    radial-gradient(560px 300px at 88% 6%, rgba(255, 61, 174, .14), transparent 72%);
}
.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr .9fr .9fr 1.35fr;
  gap: clamp(1.6rem, 3.4vw, 3.2rem);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(2.4rem, 5vw, 4.2rem) var(--gutter) clamp(1.6rem, 3vw, 2.4rem);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--white);
  max-width: none;
}
.footer-brand-sub {
  margin-top: .5rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--cyan);
  max-width: 30ch;
}
.footer-note {
  margin-top: .95rem;
  font-size: .88rem;
  line-height: 1.85;
  color: var(--steel);
  max-width: 34ch;
}
.footer-cta { margin-top: 1.3rem; }

.footer-col-title {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--paper);
}
.footer-list { display: grid; gap: .55rem; }
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding-bottom: 2px;
  font-size: .92rem;
  color: var(--text-soft);
  transition: color .18s var(--ease);
}
.footer-link::before {
  content: "";
  width: 10px;
  height: 2px;
  flex-shrink: 0;
  background: var(--line-strong);
  transition: width .2s var(--ease), background-color .2s var(--ease);
}
.footer-link:hover { color: var(--white); }
.footer-link:hover::before { width: 20px; background: var(--cyan); }

.contact-list { display: grid; gap: .85rem; }
.contact-row { display: grid; gap: .12rem; }
.contact-key {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel);
}
.contact-line { display: inline-flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.contact-value {
  font-family: var(--font-mono);
  font-size: .84rem;
  letter-spacing: .02em;
  color: var(--paper);
  word-break: break-all;
}
.copy-btn {
  padding: .1em .5em;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--steel);
  transition: color .16s var(--ease), border-color .16s var(--ease), background-color .16s var(--ease);
}
.copy-btn:hover { color: var(--cyan); border-color: var(--cyan); background: rgba(53, 242, 230, .1); }
.copy-btn[data-copied] { color: var(--mint); border-color: var(--mint); background: rgba(124, 255, 178, .12); }
.contact-note {
  margin-top: 1rem;
  font-size: .78rem;
  line-height: 1.8;
  color: var(--steel);
  max-width: 36ch;
}

.footer-legal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.8rem;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 1.1rem var(--gutter) 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .09em;
  color: var(--steel);
}
.legal-copy { max-width: none; }
.legal-icp { max-width: none; color: var(--text-soft); }
.legal-meta {
  max-width: none;
  margin-left: auto;
  color: var(--line-strong);
  letter-spacing: .14em;
}

/* ---------- 9. 面包屑 / 正文 / 网格 / 面板 / 图片容器 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--steel);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .3rem; }
.breadcrumb li::after { content: "/"; color: var(--line-strong); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--text-soft); transition: color .16s var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }

.prose {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-soft);
}
.prose > * + * { margin-top: 1.05em; }
.prose p { max-width: 68ch; }
.prose h2 {
  margin-top: 2.1em;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--white);
}
.prose h3 {
  margin-top: 1.7em;
  font-size: clamp(1.12rem, 1.8vw, 1.4rem);
  color: var(--paper);
}
.prose ul, .prose ol { display: grid; gap: .55em; }
.prose li { position: relative; padding-left: 1.5em; max-width: 66ch; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .74em;
  width: 9px;
  height: 2px;
  background: var(--cyan);
}
.prose a { color: var(--cyan); border-bottom: 1px solid rgba(53, 242, 230, .45); }
.prose a:hover { border-bottom-color: var(--cyan); }
.prose blockquote {
  padding: .9rem 1.2rem;
  border-left: 3px solid var(--magenta);
  background: rgba(17, 26, 51, .7);
  color: var(--paper);
}

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.panel {
  position: relative;
  padding: clamp(1.1rem, 2.4vw, 1.8rem);
  background: linear-gradient(160deg, rgba(17, 26, 51, .96) 0%, rgba(7, 11, 24, .96) 100%);
  border: 2px solid var(--line);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.panel::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 22px;
  height: 2px;
  background: var(--cyan);
}
.panel:hover {
  border-color: rgba(53, 242, 230, .55);
  box-shadow: var(--shadow-hard);
  transform: translate(-2px, -2px);
}

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 2px solid var(--line-strong);
  background:
    linear-gradient(135deg, #16203C 0%, #0A1024 55%, #070B18 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.media-frame > img,
.media-frame > picture,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(140deg, rgba(53, 242, 230, .18) 0%, transparent 46%, rgba(255, 61, 174, .2) 100%);
  mix-blend-mode: screen;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }

/* ---------- 10. 响应式 ---------- */
@media (max-width: 1180px) {
  .status-line { display: none; }
}
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .contact-note { max-width: 52ch; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-aside { display: none; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 1rem var(--gutter) 1.5rem;
    background: linear-gradient(180deg, #0C142A 0%, #070B18 100%);
    border-bottom: 2px solid var(--cyan);
    box-shadow: 0 26px 40px -24px rgba(0, 0, 0, .95);
    max-height: calc(100vh - 4.4rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-header[data-open] .site-nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .3rem; }
  .nav-link {
    justify-content: flex-start;
    gap: .8rem;
    padding: .8rem .85rem;
    border-color: var(--line);
    font-size: .96rem;
  }
  .nav-link::before {
    top: 50%;
    right: .9rem;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
  }
  .nav-index { font-size: .64rem; }
  .nav-foot { display: block; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .legal-meta { margin-left: 0; }
  .grid--2 { grid-template-columns: 1fr; }
  .media-frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .brand-sub { display: none; }
  .brand-mark { width: 2.2rem; height: 2.2rem; font-size: .84rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .prose { font-size: .98rem; }
}

/* ---------- 11. 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .status-dot, .nav-link[aria-current="page"]::before { animation: none; }
  .scroll-meter-fill { transition: none; }
  .panel:hover, .btn-primary:hover { transform: none; }
}
