/* ==========================================================================
   球帝带CN · 共享站点样式 /assets/site.css
   展览画册式留白 + 坐标映射视觉 + 玻璃浮岛外壳
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h, 84px) + 20px);
}

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

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

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

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

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

table { border-collapse: collapse; }

:focus-visible {
  outline: 2px solid var(--coral-500);
  outline-offset: 3px;
}

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 品牌色 */
  --deep-900: #061A2B;
  --deep-700: #0B2D4A;
  --coral-500: #FF6B4A;
  --coral-200: #FFD4C8;
  --island-500: #1FAE7A;
  --cyan-400: #38E8D0;
  --violet-500: #7B61FF;
  --pearl-50: #F7F4EC;
  --mist-100: #E9EDF0;
  --ink-900: #0A0F14;

  /* 派生 */
  --ink-soft: rgba(10, 15, 20, .68);
  --ink-faint: rgba(10, 15, 20, .46);
  --line-soft: rgba(6, 26, 43, .12);
  --line-strong: rgba(6, 26, 43, .26);
  --on-deep: rgba(247, 244, 236, .94);
  --on-deep-soft: rgba(247, 244, 236, .62);
  --glass-light: rgba(247, 244, 236, .78);
  --glass-solid: rgba(247, 244, 236, .94);
  --glass-deep: rgba(6, 26, 43, .62);

  /* 字体 */
  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "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, Menlo, Consolas, monospace;

  /* 尺寸 */
  --shell: 1200px;
  --gutter: clamp(18px, 4vw, 56px);
  --header-h: 84px;
  --radius-pill: 999px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;

  /* 阴影与缓动 */
  --shadow-float: 0 22px 48px -30px rgba(6, 26, 43, .72);
  --shadow-card: 0 18px 40px -28px rgba(6, 26, 43, .55);
  --ease-out: cubic-bezier(.22, .68, .32, 1);
  --dur: 220ms;
}

/* ---------- 3. 中文排版基础 ---------- */
body {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.02vw, 17px);
  line-height: 1.7;
  font-weight: 400;
  color: var(--ink-900);
  background-color: var(--pearl-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .02em;
  color: var(--deep-900);
  text-wrap: balance;
}

h1 { font-size: clamp(44px, 9vw, 128px); letter-spacing: .015em; }
h2 { font-size: clamp(28px, 4.4vw, 52px); line-height: 1.14; }
h3 { font-size: clamp(21px, 2.4vw, 30px); line-height: 1.22; }
h4 { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.35; font-weight: 800; }

p { max-width: 72ch; }
.card p,
.footer-shell p,
.nav-island p,
.chip p { max-width: none; }

strong, b { font-weight: 800; color: var(--deep-900); }

::selection {
  background: var(--coral-200);
  color: var(--deep-900);
}

/* ---------- 4. 工具类 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(56px, 8vw, 112px);
}

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

.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 24px);
}

.mono {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral-500);
}

.section-label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}

.hairline {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.prose {
  max-width: 760px;
}

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

.prose p { max-width: 760px; }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .82em 1.5em;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .04em;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}

.btn--primary {
  background-color: var(--coral-500);
  color: var(--deep-900);
  border-color: var(--coral-500);
  box-shadow: 0 12px 26px -14px rgba(255, 107, 74, .9);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -16px rgba(255, 107, 74, .95);
}

.btn--ghost {
  background-color: rgba(255, 255, 255, .5);
  color: var(--deep-900);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background-color: #fff;
  border-color: var(--deep-900);
  transform: translateY(-2px);
}

.btn--on-deep {
  background-color: transparent;
  color: var(--pearl-50);
  border-color: rgba(247, 244, 236, .38);
}

.btn--on-deep:hover {
  background-color: rgba(247, 244, 236, .12);
  border-color: var(--cyan-400);
}

.btn--sm {
  padding: .6em 1.15em;
  font-size: 14px;
}

.btn--block {
  display: flex;
  width: 100%;
}

/* ---------- 6. 基础组件 ---------- */
.card {
  position: relative;
  background-color: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vw, 32px);
  box-shadow: var(--shadow-card);
}

.card--glass {
  background-color: rgba(255, 255, 255, .55);
  border-color: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 20px 44px -30px rgba(6, 26, 43, .7);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .42em 1em;
  border-radius: var(--radius-pill);
  background-color: var(--coral-200);
  color: var(--deep-900);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  line-height: 1.4;
  white-space: nowrap;
}

/* 面包屑 */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-faint);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5em;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: .5em;
}

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

.breadcrumb a {
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.breadcrumb a:hover {
  color: var(--deep-900);
  border-bottom-color: var(--coral-500);
}

.breadcrumb [aria-current="page"] {
  color: var(--deep-900);
  font-weight: 500;
}

/* 图片容器基础（页面阶段放入 img 或内联 SVG） */
.figure {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  isolation: isolate;
  background-color: var(--deep-900);
  background-image:
    radial-gradient(80% 90% at 16% 8%, rgba(56, 232, 208, .30), transparent 62%),
    radial-gradient(72% 82% at 90% 94%, rgba(123, 97, 255, .32), transparent 64%),
    linear-gradient(152deg, var(--deep-700), var(--deep-900) 72%);
}

.figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(56, 232, 208, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 232, 208, .14) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 26%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000 26%, transparent 78%);
  pointer-events: none;
}

.figure > img,
.figure > svg,
.figure > picture > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

@media (max-width: 720px) {
  .figure--hero { aspect-ratio: 4 / 3; }
  .figure--wide { aspect-ratio: 4 / 3; }
}

.figure-caption {
  margin-top: .7em;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-faint);
}

/* ---------- 7. 头部：悬浮玻璃胶囊浮岛 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 150;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background-color: var(--deep-900);
  color: var(--pearl-50);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  transform: translateY(-180%);
  transition: transform var(--dur) var(--ease-out);
  pointer-events: auto;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: 2px;
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 120;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--coral-500) 0%, var(--cyan-400) 56%, var(--violet-500) 100%);
  transition: transform 90ms linear;
  pointer-events: none;
}

.nav-island {
  position: relative;
  pointer-events: auto;
  width: 100%;
  max-width: var(--shell);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 24px);
  padding: 8px 8px 8px clamp(14px, 1.8vw, 22px);
  border-radius: var(--radius-pill);
  background-color: var(--glass-light);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  transition: max-width var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              padding var(--dur) var(--ease-out);
}

.site-header[data-scrolled="true"] .nav-island {
  max-width: 1040px;
  background-color: var(--glass-solid);
  box-shadow: 0 16px 34px -26px rgba(6, 26, 43, .85), inset 0 1px 0 rgba(255, 255, 255, .95);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  border-radius: var(--radius-pill);
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background-image: radial-gradient(circle at 32% 28%, var(--cyan-400) 0%, var(--deep-700) 62%, var(--deep-900) 100%);
  box-shadow: 0 0 0 1px rgba(6, 26, 43, .18), 0 0 20px -6px var(--cyan-400);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background-color: var(--pearl-50);
  border-radius: 1px;
}

.brand-mark::before {
  width: 13px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.brand-mark::after {
  width: 1.5px;
  height: 13px;
  transform: translate(-50%, -50%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .06em;
  color: var(--deep-900);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .24em;
  color: var(--ink-faint);
}

/* 主导航 */
.primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-block;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out);
}

.nav-link:hover {
  background-color: rgba(6, 26, 43, .07);
  color: var(--deep-900);
}

.nav-link[aria-current="page"] {
  background-color: var(--deep-900);
  color: var(--pearl-50);
  font-weight: 700;
}

/* 移动端面板内的附加区（桌面隐藏） */
.nav-extra { display: none; }

.nav-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--deep-700);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.nav-chip:hover {
  background-color: rgba(6, 26, 43, .06);
  border-color: var(--deep-900);
}

.nav-extra-cta { margin-top: 6px; }

/* 右侧行动区 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--deep-900);
  color: var(--pearl-50);
  transition: background-color var(--dur) var(--ease-out);
}

.nav-toggle:hover { background-color: var(--deep-700); }

.nav-toggle-box {
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
  transition: background-color var(--dur) var(--ease-out);
}

.nav-toggle-box::before,
.nav-toggle-box::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}

.nav-toggle-box::before { top: -6px; }
.nav-toggle-box::after { top: 6px; }

.site-header[data-open="true"] .nav-toggle-box { background-color: transparent; }
.site-header[data-open="true"] .nav-toggle-box::before { transform: translateY(6px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle-box::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  overflow: hidden;
  color: var(--on-deep);
  background-color: var(--deep-900);
  background-image:
    radial-gradient(110% 120% at 10% -12%, rgba(56, 232, 208, .18), transparent 56%),
    radial-gradient(90% 96% at 92% -6%, rgba(123, 97, 255, .22), transparent 52%),
    radial-gradient(70% 90% at 50% 120%, rgba(255, 107, 74, .14), transparent 60%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(56, 232, 208, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 232, 208, .09) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent 72%);
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) var(--gutter) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .82fr)) minmax(0, 1.4fr);
  gap: clamp(26px, 3.2vw, 48px);
  padding-bottom: clamp(38px, 5vw, 66px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand .brand-name { color: var(--pearl-50); }
.footer-brand .brand-sub { color: rgba(56, 232, 208, .78); }

.footer-tagline {
  font-size: 15px;
  line-height: 1.65;
  color: var(--on-deep-soft);
}

.footer-coord {
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(56, 232, 208, .72);
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  font-size: 15px;
  color: var(--on-deep-soft);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.footer-links a:hover {
  color: var(--pearl-50);
  border-bottom-color: var(--coral-500);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(247, 244, 236, .42);
}

.contact-value {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--on-deep);
  overflow-wrap: anywhere;
}

.contact-value.mono {
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--pearl-50);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  padding-block: 22px 30px;
  border-top: 1px solid rgba(247, 244, 236, .16);
  font-size: 13px;
  color: var(--on-deep-soft);
}

.footer-copy { font-size: 13px; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal a {
  font-size: 13px;
  color: var(--on-deep-soft);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.footer-legal a:hover {
  color: var(--pearl-50);
  border-bottom-color: var(--cyan-400);
}

.footer-icp {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(247, 244, 236, .5);
}

/* ---------- 9. 主内容安全间距 ---------- */
#main-content,
.main-content {
  padding-top: calc(var(--header-h) + clamp(12px, 3vw, 40px));
}

/* ---------- 10. 显现动效 ---------- */
[data-reveal] {
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}

html[data-reveal-ready="true"] [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

html[data-reveal-ready="true"] [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1180px) {
  .nav-link {
    padding: 9px 10px;
    font-size: 13.5px;
  }
}

@media (max-width: 1080px) {
  .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
  }
}

@media (max-width: 920px) {
  :root { --header-h: 80px; }

  .site-header { padding-top: 10px; }

  .nav-island {
    padding: 7px 7px 7px 14px;
    gap: 8px;
  }

  .nav-actions { display: none; }

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

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px;
    max-height: calc(100vh - var(--header-h) - 32px);
    overflow-y: auto;
    border-radius: 24px;
    background-color: var(--glass-solid);
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow: 0 30px 60px -34px rgba(6, 26, 43, .85);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
  }

  .site-header[data-open="true"] .primary-nav {
    display: flex;
  }

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

  .nav-link {
    display: block;
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 16px;
  }

  .nav-extra {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 4px 2px;
    border-top: 1px solid var(--line-soft);
  }

  .nav-chip { justify-content: center; }

  .site-header[data-scrolled="true"] .nav-island { max-width: 100%; }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-contact {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-icp { margin-left: 0; }
  .brand-name { font-size: 15px; }
  .brand-mark { width: 26px; height: 26px; }
}

@media (max-width: 400px) {
  .brand-sub { display: none; }
}

/* ---------- 12. 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  html[data-reveal-ready="true"] [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .scroll-meter { transition: none; }
}
