/* ============================================================
   616游戏 · 共享站点样式 /assets/site.css
   深空灰外壳 + 电光蓝通道 + 霓虹橙数据点 + 奶油阅读区
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

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

body, h1, h2, h3, h4, 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%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
hr { border: 0; }

:root {
  --ink-950: #0B0E13;
  --ink-900: #111722;
  --ink-800: #161C26;
  --ink-700: #1E2734;
  --blue: #2F7BFF;
  --blue-soft: #7FB0FF;
  --blue-dim: rgba(47, 123, 255, 0.16);
  --orange: #FF6B2C;
  --lime: #8BFF6E;
  --cream: #F6EFDF;
  --warm: #FFF9EF;
  --brown: #211A16;
  --rust: #D9482B;
  --gray: #8D97A5;
  --line-dark: rgba(255, 249, 239, 0.14);
  --line-light: rgba(33, 26, 22, 0.16);
  --shell: 1280px;
  --pad: clamp(18px, 4vw, 48px);
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-display: "Archivo Black", "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-body: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Source Han Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", "SFMono-Regular", Consolas, "Noto Sans Mono CJK SC", monospace;
}

body {
  background: var(--ink-950);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--brown);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-220%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: none; }

/* ---------- 滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 130;
  pointer-events: none;
  background: rgba(255, 249, 239, 0.07);
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue), var(--orange) 68%, var(--lime));
  transition: transform 0.08s linear;
}

/* ============================================================
   页头
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--ink-950);
}

/* 上层：品牌短句 + 通道快捷入口 */
.topbar {
  background: var(--ink-950);
  border-bottom: 1px solid rgba(255, 249, 239, 0.1);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  min-height: 40px;
  flex-wrap: wrap;
  padding-block: 4px;
}
.topbar__brand {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--gray);
}
.topbar__quick {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.quicklink {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border: 1px solid rgba(127, 176, 255, 0.28);
  border-radius: 999px;
  color: var(--blue-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.quicklink:hover {
  background: var(--blue-dim);
  border-color: var(--blue);
  color: var(--warm);
}
.quicklink:first-child {
  border-color: rgba(255, 107, 44, 0.45);
  color: var(--orange);
}
.quicklink:first-child:hover {
  background: rgba(255, 107, 44, 0.14);
  border-color: var(--orange);
  color: var(--warm);
}

/* 下层：品牌 + 主导航 */
.masthead {
  background: var(--ink-800);
  border-bottom: 1px solid var(--line-dark);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--warm);
}
.brand__mark {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  padding: 9px 10px;
  border-radius: 7px;
  background: var(--orange);
  color: var(--ink-950);
  box-shadow: 0 6px 18px rgba(255, 107, 44, 0.28);
}
.brand__text { display: block; }
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.brand__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--gray);
  margin-top: 2px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav-toggle:hover { border-color: var(--blue); color: var(--blue-soft); }
.nav-toggle__bars {
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.site-header[data-open] .nav-toggle__bars { background: transparent; }
.site-header[data-open] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.navlink {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 10px 13px 9px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  color: var(--cream);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.navlink__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gray);
  transition: color 0.18s var(--ease);
}
.navlink__label {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.navlink:hover {
  color: var(--warm);
  border-bottom-color: rgba(47, 123, 255, 0.55);
  background: rgba(47, 123, 255, 0.08);
}
.navlink:hover .navlink__idx { color: var(--blue-soft); }
.navlink[aria-current="page"] {
  border-bottom-color: var(--blue);
  background: rgba(47, 123, 255, 0.1);
}
.navlink[aria-current="page"] .navlink__idx { color: var(--lime); }
.navlink[aria-current="page"] .navlink__label::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(139, 255, 110, 0.18);
}

/* ============================================================
   区块与文字建筑
   ============================================================ */
.section {
  position: relative;
  padding-block: clamp(56px, 8vw, 112px);
}
.section--ink { background: var(--ink-950); color: var(--cream); }
.section--ink-800 { background: var(--ink-800); color: var(--cream); }
.section--cream { background: var(--cream); color: var(--brown); }

.chapter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: clamp(26px, 4vw, 48px);
}
.chapter__num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--orange);
}
.chapter__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
}
.section--cream .chapter__label { color: var(--rust); }

.display-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.025em;
}
.lead {
  max-width: 62ch;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.85;
  color: var(--gray);
}
.section--cream .lead { color: rgba(33, 26, 22, 0.78); }

.prose { max-width: 72ch; }
.prose p + p { margin-top: 1em; }
.prose > * + h2,
.prose > * + h3 { margin-top: 1.6em; }
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
}
.prose h3 {
  font-weight: 800;
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 0.4em;
}
.prose ul { margin-top: 0.8em; display: grid; gap: 8px; }
.prose ul li {
  position: relative;
  padding-left: 20px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 2px;
  background: var(--orange);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; }
.muted { color: var(--gray); }
.section--cream .muted { color: rgba(33, 26, 22, 0.6); }

.rule {
  height: 1px;
  width: 100%;
  background: currentColor;
  opacity: 0.22;
  margin-block: clamp(22px, 3vw, 36px);
}
.rule--rust { background: var(--rust); opacity: 0.55; }

.stack { display: grid; gap: clamp(14px, 2vw, 24px); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }

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

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 27px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
              color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(47, 123, 255, 0.28);
}
.btn--primary:hover { background: #4A8CFF; box-shadow: 0 14px 32px rgba(47, 123, 255, 0.36); }

.btn--accent {
  background: var(--orange);
  color: var(--ink-950);
  box-shadow: 0 10px 26px rgba(255, 107, 44, 0.26);
}
.btn--accent:hover { background: #FF8250; box-shadow: 0 14px 32px rgba(255, 107, 44, 0.34); }

.btn--ghost {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}
.btn--ghost:hover {
  background: rgba(47, 123, 255, 0.12);
  border-color: var(--blue);
  color: var(--blue-soft);
}
.section--cream .btn--ghost:hover { color: var(--blue); background: rgba(47, 123, 255, 0.1); }

.btn--sm { padding: 10px 17px; font-size: 13px; }

/* ============================================================
   面包屑
   ============================================================ */
.breadcrumb {
  padding-block: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(141, 151, 165, 0.5);
}
.breadcrumb a {
  text-decoration: none;
  color: var(--blue-soft);
}
.breadcrumb a:hover { color: var(--warm); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--cream); }
.section--cream .breadcrumb { color: rgba(33, 26, 22, 0.6); }
.section--cream .breadcrumb a { color: var(--rust); }
.section--cream .breadcrumb [aria-current="page"] { color: var(--brown); }

/* ============================================================
   网格
   ============================================================ */
.grid { display: grid; gap: clamp(18px, 2.6vw, 32px); }
.grid--7-5 { grid-template-columns: 7fr 5fr; }
.grid--5-7 { grid-template-columns: 5fr 7fr; }
.grid--8-4 { grid-template-columns: 8fr 4fr; }
.grid--3-9 { grid-template-columns: 3fr 9fr; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ============================================================
   数据卡
   ============================================================ */
.datacard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(47, 123, 255, 0.15), rgba(11, 14, 19, 0.92) 62%);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.datacard:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}
.datacard__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}
.datacard__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--orange);
}
.datacard__note {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gray);
}
.section--cream .datacard {
  background: var(--warm);
  border-color: var(--line-light);
}
.section--cream .datacard__label { color: rgba(33, 26, 22, 0.55); }
.section--cream .datacard__value { color: var(--rust); }
.section--cream .datacard__note { color: rgba(33, 26, 22, 0.72); }

/* ============================================================
   标签 / 状态点
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue-soft);
  line-height: 1.4;
}
.tag--orange { color: var(--orange); }
.tag--lime { color: var(--lime); }
.tag--rust { color: var(--rust); }

.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(139, 255, 110, 0.18);
  vertical-align: middle;
}

/* ============================================================
   折叠面板
   ============================================================ */
.panel {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--ink-800);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.panel:hover { border-color: rgba(47, 123, 255, 0.45); }
.panel[data-open] { border-color: rgba(47, 123, 255, 0.6); }
.panel__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  text-align: left;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.5;
  color: var(--warm);
}
.panel__trigger::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--blue-soft);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}
.panel[data-open] .panel__trigger::after {
  content: "−";
  color: var(--orange);
}
.panel__body {
  display: none;
  padding: 0 20px 20px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--gray);
}
.panel[data-open] .panel__body {
  display: block;
  animation: panelIn 0.24s var(--ease);
}
.panel__body p + p { margin-top: 0.8em; }

.section--cream .panel {
  background: var(--warm);
  border-color: var(--line-light);
}
.section--cream .panel__trigger { color: var(--brown); }
.section--cream .panel__body { color: rgba(33, 26, 22, 0.78); }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   图片容器基础规则
   ============================================================ */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 140% at 12% 8%, rgba(47, 123, 255, 0.35), transparent 58%),
    radial-gradient(90% 120% at 92% 92%, rgba(255, 107, 44, 0.28), transparent 62%),
    linear-gradient(140deg, var(--ink-800), var(--ink-950));
}
.media img,
.media picture,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 21 / 9; }
.media--slant { clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
.media__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--gray);
}
.section--cream .media { border-color: var(--line-light); }
.section--cream .media__caption { color: rgba(33, 26, 22, 0.6); }

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  background: var(--ink-950);
  color: var(--cream);
  border-top: 1px solid var(--line-dark);
  padding-block: clamp(42px, 6vw, 72px) 34px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-bottom: clamp(28px, 4vw, 46px);
  border-bottom: 1px solid var(--line-dark);
}
.footer-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}
.footer-cta__text {
  max-width: 42ch;
  margin: 12px 0 20px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--gray);
}
.footer-cadence { display: grid; gap: 8px; }
.footer-cadence__main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
}
.footer-cadence__main strong { color: var(--orange); font-weight: 800; }
.footer-cadence__mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--gray);
}
.footer-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px 32px;
  padding-block: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--line-dark);
}
.footer-meta__label {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--gray);
}
.footer-meta__item p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--warm);
  word-break: break-word;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  font-size: 13px;
  color: var(--gray);
}
.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer-legal__links a {
  text-decoration: none;
  color: var(--gray);
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer-legal__links a:hover {
  color: var(--blue-soft);
  border-bottom-color: var(--blue);
}
.footer-legal__copy { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }

.feedback-fab {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 75;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink-950);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(255, 107, 44, 0.4);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .navlink { padding: 10px 10px 9px; }
  .navlink__label { font-size: 13.5px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; position: relative; z-index: 95; }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    width: min(88vw, 380px);
    padding: 92px 22px 44px;
    background: var(--ink-800);
    border-left: 1px solid var(--line-dark);
    box-shadow: -30px 0 60px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    transform: translateX(102%);
    transition: transform 0.3s var(--ease);
  }
  .site-header[data-open] .primary-nav { transform: none; }
  body.nav-open { overflow: hidden; }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .navlink {
    padding: 14px 14px;
    border-bottom: 1px solid var(--line-dark);
    border-left: 3px solid transparent;
    border-radius: 0;
  }
  .navlink:hover { background: rgba(47, 123, 255, 0.08); border-bottom-color: var(--line-dark); }
  .navlink[aria-current="page"] {
    border-bottom-color: var(--line-dark);
    border-left-color: var(--blue);
    background: rgba(47, 123, 255, 0.14);
  }
  .navlink__label { font-size: 16px; }

  .masthead__inner { min-height: 66px; }
  .topbar__brand { font-size: 10.5px; letter-spacing: 0.1em; }
  .grid--7-5,
  .grid--5-7,
  .grid--8-4,
  .grid--3-9,
  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-cadence { padding-top: 8px; }
  .feedback-fab { display: inline-flex; }
  .site-footer { padding-bottom: 88px; }
}

@media (max-width: 560px) {
  .topbar__inner { min-height: 0; padding-block: 8px; }
  .topbar__quick { width: 100%; }
  .quicklink { font-size: 11px; padding: 4px 9px; }
  .brand__sub { display: none; }
  .brand__mark { font-size: 15px; padding: 8px 9px; }
  .brand__name { font-size: 16px; }
  .display-title { font-size: clamp(30px, 9vw, 40px); }
  .btn { padding: 14px 22px; font-size: 14px; }
  .datacard { padding: 18px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   动效偏好
   ============================================================ */
@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;
  }
  .btn:hover,
  .datacard:hover { transform: none; }
}
