/* =========================================================
   酷游客服 · 共享样式表 /assets/site.css
   目标：悬浮胶囊浮岛 + 切角面板 + 深色入口区/浅色内容区/深色页脚
   ========================================================= */

:root {
  --ink-900: #0B1B2B;
  --ink-800: #12263A;
  --ink-700: #1B3A55;
  --cyan: #21D4FD;
  --teal: #0FA3B1;
  --amber: #F2A93B;
  --mist: #E9EDF2;
  --paper: #F7F5EF;
  --stone: #6B7280;
  --moss: #5C7A5A;
  --clay: #B5715A;
  --white: #FFFFFF;
  --ok: #2E7D5B;

  --text: #23374A;
  --text-soft: #52657A;

  --line: rgba(11, 27, 43, .12);
  --line-strong: rgba(11, 27, 43, .22);
  --line-dark: rgba(255, 255, 255, .14);

  --cyan-soft: rgba(33, 212, 253, .14);
  --amber-soft: rgba(242, 169, 59, .18);

  --radius-pill: 999px;
  --radius-panel: 16px;

  --shadow-panel: 0 22px 44px -36px rgba(11, 27, 43, .75);
  --shadow-island: 0 26px 46px -30px rgba(4, 16, 28, .95);

  --font-display: "HarmonyOS Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", Sora, Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Han Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: .01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.2;
  color: var(--ink-900);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

img, svg, picture { max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

ul, ol { margin: 0; padding: 0; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 3px rgba(33, 212, 253, .32);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.section { padding-block: clamp(30px, 4.6vw, 62px); }
.section--tight { padding-block: clamp(20px, 3vw, 34px); }

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(216px, 1fr)); }
.grid--sidebar { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 1080px) {
  .grid--sidebar {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
  }
}

/* ---------- 面板 ---------- */
.panel {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: clamp(20px, 2.8vw, 34px);
  box-shadow: var(--shadow-panel);
}

.panel--ink {
  background: linear-gradient(150deg, var(--ink-900) 0%, var(--ink-800) 62%, #17334c 100%);
  border-color: rgba(33, 212, 253, .22);
  color: rgba(255, 255, 255, .74);
  box-shadow: 0 30px 60px -42px rgba(4, 16, 28, .95);
}
.panel--ink h1,
.panel--ink h2,
.panel--ink h3 { color: var(--white); }

.panel--cut { overflow: hidden; }
.panel--cut::before {
  content: "";
  position: absolute;
  top: -1px; right: -1px;
  width: 30px; height: 30px;
  border-top-right-radius: var(--radius-panel);
  background:
    linear-gradient(225deg,
      var(--mist) 0 49.4%,
      var(--line-strong) 49.4% 51%,
      transparent 51%);
  pointer-events: none;
}

/* ---------- 文字组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 20px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(33, 212, 253, 0));
}
.panel--ink .eyebrow { color: var(--cyan); }

.section-title {
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  margin: .34em 0 .46em;
}

.lede {
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 64ch;
}
.panel--ink .lede { color: rgba(255, 255, 255, .72); }

.divider {
  height: 1px;
  border: 0;
  margin: clamp(20px, 3vw, 32px) 0;
  background: linear-gradient(90deg, var(--line-strong), rgba(11, 27, 43, 0));
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--accent {
  background: var(--amber);
  color: #1A1206;
  border-color: rgba(0, 0, 0, .08);
  box-shadow: 0 12px 24px -18px rgba(242, 169, 59, .9);
}
.btn--accent:hover { background: #FFBC58; }

.btn--ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  border-color: rgba(33, 212, 253, .34);
}
.btn--ghost:hover {
  background: rgba(33, 212, 253, .16);
  border-color: var(--cyan);
}

.btn--solid {
  background: var(--ink-900);
  color: var(--white);
  border-color: var(--ink-900);
}
.btn--solid:hover { background: var(--ink-700); border-color: var(--ink-700); }

.btn--sm { padding: 8px 15px; font-size: .84rem; }

/* ---------- 标签 / 徽章 / 筛选 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid;
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.6;
  white-space: nowrap;
}
.tag--moss { color: #48603F; border-color: rgba(92, 122, 90, .5); background: rgba(92, 122, 90, .12); }
.tag--clay { color: #9A5238; border-color: rgba(181, 113, 90, .5); background: rgba(181, 113, 90, .13); }
.tag--teal { color: #0A7C88; border-color: rgba(15, 163, 177, .5); background: rgba(15, 163, 177, .12); }
.tag--amber { color: #8A5A0C; border-color: rgba(242, 169, 59, .58); background: rgba(242, 169, 59, .18); }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid rgba(11, 27, 43, .16);
  border-radius: 7px;
  background: rgba(11, 27, 43, .06);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
}
.badge--amber {
  background: rgba(242, 169, 59, .22);
  border-color: rgba(242, 169, 59, .6);
  color: #8A5A0C;
}

.chip {
  padding: 6px 14px;
  border: 1px solid rgba(11, 27, 43, .18);
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  color: #3B4A5C;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.chip:hover { border-color: var(--teal); color: #0A7C88; }
.chip[aria-pressed="true"] {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--white);
}

/* ---------- 指标 ---------- */
.stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink-900);
}
.stat__label {
  display: block;
  margin-top: 4px;
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--stone);
}
.panel--ink .stat__value { color: var(--cyan); }
.panel--ink .stat__label { color: rgba(255, 255, 255, .5); }

/* ---------- 长文 ---------- */
.prose {
  max-width: 70ch;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text);
}
.prose h2 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin: 1.8em 0 .55em;
}
.prose h3 {
  font-size: 1.1rem;
  margin: 1.5em 0 .45em;
}
.prose p { margin: 0 0 1.05em; }
.prose ul, .prose ol { padding-left: 1.35em; margin: 0 0 1.05em; }
.prose li { margin: .34em 0; }
.prose a { color: #0A7C88; text-underline-offset: 3px; }
.prose strong { color: var(--ink-900); }

/* ---------- 面包屑 ---------- */
.breadcrumbs { font-size: .8rem; color: var(--stone); }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
  list-style: none;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before {
  content: "/";
  color: rgba(107, 114, 128, .5);
}
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal); text-decoration: underline; }

/* ---------- 图片容器（供页面阶段使用） ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(140deg, #DCE5EC 0%, #EEF2F6 52%, #D7E2EA 100%),
    repeating-linear-gradient(120deg, rgba(11, 27, 43, .04) 0 1px, transparent 1px 14px);
  aspect-ratio: 16 / 10;
}
.media > img,
.media > picture,
.media > svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }

.media__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 10px;
  background: linear-gradient(180deg, rgba(11, 27, 43, 0) 0%, rgba(11, 27, 43, .8) 100%);
  color: rgba(255, 255, 255, .86);
  font-size: .76rem;
  letter-spacing: .02em;
}

/* =========================================================
   浮动页头
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 12px clamp(12px, 3vw, 32px) 0;
  transition: padding .22s ease;
}
.site-header[data-stuck="true"] { padding-top: 6px; }

.skip-link {
  position: absolute;
  top: 0;
  left: clamp(12px, 3vw, 32px);
  z-index: 3;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--cyan);
  color: #04121B;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .18s ease;
}
.skip-link:focus-visible { transform: translateY(0); outline-offset: 2px; }

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 90;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
  pointer-events: none;
}

.site-header__island {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 9px 12px 9px 16px;
  border: 1px solid rgba(33, 212, 253, .22);
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, rgba(11, 27, 43, .95) 0%, rgba(18, 38, 58, .92) 100%);
  box-shadow: var(--shadow-island), inset 0 1px 0 rgba(255, 255, 255, .07);
  color: var(--white);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  animation: islandFloat 9s ease-in-out infinite;
  transition: box-shadow .22s ease;
}
.site-header[data-stuck="true"] .site-header__island {
  box-shadow: 0 16px 30px -22px rgba(4, 16, 28, .95), inset 0 1px 0 rgba(255, 255, 255, .07);
}

@keyframes islandFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--cyan) 0%, var(--teal) 100%);
  clip-path: polygon(0 0, 72% 0, 100% 28%, 100% 100%, 28% 100%, 0 72%);
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 2px;
  background: var(--ink-900);
  transform: rotate(45deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--white);
}
.brand__tag {
  display: none;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .07em;
  color: rgba(255, 255, 255, .52);
  white-space: nowrap;
}
@media (min-width: 1240px) {
  .brand__tag { display: block; }
}

.brand__version {
  padding: 3px 8px;
  border: 1px solid rgba(33, 212, 253, .3);
  border-radius: var(--radius-pill);
  background: rgba(33, 212, 253, .12);
  color: var(--cyan);
  font-size: .68rem;
  white-space: nowrap;
}

/* 导航 */
.primary-nav {
  margin-inline: auto;
}
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.primary-nav__link {
  display: inline-block;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, .72);
  font-size: .89rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s ease, background-color .16s ease;
}
.primary-nav__link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}
.primary-nav__link[aria-current="page"] {
  background: var(--cyan);
  color: #04121B;
  font-weight: 700;
}
.primary-nav__link[aria-current="page"]:hover {
  background: var(--cyan);
  color: #04121B;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease;
}
.nav-toggle:hover {
  background: rgba(33, 212, 253, .16);
  border-color: rgba(33, 212, 253, .5);
}
.nav-toggle[aria-expanded="true"] {
  background: rgba(33, 212, 253, .2);
  border-color: var(--cyan);
}
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.nav-toggle__bars span:nth-child(2) { width: 72%; }

/* 头部工具 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.tool-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .84);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.tool-toggle:hover {
  background: rgba(33, 212, 253, .14);
  border-color: rgba(33, 212, 253, .5);
  color: var(--white);
}
.tool-toggle[aria-expanded="true"] {
  background: rgba(33, 212, 253, .2);
  border-color: var(--cyan);
  color: var(--white);
}
.tool-toggle__icon {
  position: relative;
  width: 14px;
  height: 14px;
}
.tool-toggle__icon::before {
  content: "";
  position: absolute;
  inset: 0 4px 4px 0;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.tool-toggle__icon::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 6px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

/* 入口检索面板 */
.entry-search {
  display: none;
  max-width: 1280px;
  margin: 10px auto 0;
  padding: 18px;
  border: 1px solid rgba(33, 212, 253, .26);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(11, 27, 43, .97) 0%, rgba(18, 38, 58, .97) 100%);
  color: var(--white);
  box-shadow: 0 30px 60px -36px rgba(4, 16, 28, .95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.entry-search[data-open="true"] {
  display: block;
  animation: panelIn .22s ease both;
}

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

.entry-search__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.entry-search__label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.entry-search__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .92rem;
}
.entry-search__input::placeholder { color: rgba(255, 255, 255, .4); }
.entry-search__input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(33, 212, 253, .2);
}

.entry-search__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 4px;
  margin-top: 12px;
  list-style: none;
}
.entry-search__link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background-color .16s ease, border-color .16s ease;
}
.entry-search__link:hover {
  background: rgba(33, 212, 253, .12);
  border-color: rgba(33, 212, 253, .3);
}
.entry-search__name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
}
.entry-search__desc {
  font-size: .78rem;
  color: rgba(255, 255, 255, .55);
}
.entry-search__link mark {
  padding: 0 1px;
  border-radius: 3px;
  background: rgba(242, 169, 59, .3);
  color: #FFD99B;
}
.entry-search__empty {
  margin-top: 14px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
}

/* 头部响应式 */
@media (max-width: 1024px) {
  .primary-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin-inline: 0;
    padding: 10px;
    border: 1px solid rgba(33, 212, 253, .24);
    border-radius: 22px;
    background: linear-gradient(150deg, rgba(11, 27, 43, .98) 0%, rgba(18, 38, 58, .98) 100%);
    box-shadow: 0 30px 60px -36px rgba(4, 16, 28, .95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .primary-nav[data-open="true"] {
    display: block;
    animation: panelIn .2s ease both;
  }
  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .primary-nav__link {
    display: block;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: .95rem;
  }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 720px) {
  .site-header__island { gap: 10px; padding: 8px 10px 8px 12px; }
  .brand__version { display: none; }
  .header-tools__cta { display: none; }
  .tool-toggle { padding: 9px; }
  .tool-toggle__label { display: none; }
  .nav-toggle__label { display: none; }
  .entry-search { padding: 14px; border-radius: 18px; }
  .entry-search__bar { flex-direction: column; align-items: stretch; gap: 8px; }
  .entry-search__label { letter-spacing: .12em; }
}

@media (max-width: 420px) {
  .brand__name { font-size: .98rem; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__mark::after { inset: 8px; }
}

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 104px);
  padding: clamp(40px, 5.6vw, 74px) 0 26px;
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 10% 0%, #183549 0%, var(--ink-900) 46%, #07121C 100%);
  color: rgba(255, 255, 255, .7);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(33, 212, 253, 0), rgba(33, 212, 253, .7), rgba(33, 212, 253, 0));
}
.site-footer::after {
  content: "";
  position: absolute;
  left: -10%; right: -10%; bottom: -70px;
  height: 220px;
  background: repeating-linear-gradient(115deg, rgba(33, 212, 253, .09) 0 1px, transparent 1px 20px);
  transform: rotate(-3deg);
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(130px, 1fr));
  gap: clamp(24px, 3.6vw, 46px);
  padding-bottom: clamp(26px, 3.6vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.footer__brand-link .brand__mark { width: 32px; height: 32px; }
.footer__brand-link .brand__mark::after { inset: 8px; }

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--white);
}

.footer__domain {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .45);
}

.footer__summary {
  max-width: 36ch;
  margin: 14px 0 0;
  font-size: .88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .62);
}

.footer__stamp {
  margin: 16px 0 0;
  font-size: .74rem;
  letter-spacing: .1em;
  color: rgba(33, 212, 253, .8);
}

.footer__col-title {
  margin: 0 0 13px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer__list {
  display: grid;
  gap: 9px;
  list-style: none;
}
.footer__link {
  display: inline-block;
  color: rgba(255, 255, 255, .7);
  font-size: .9rem;
  text-decoration: none;
  transition: color .16s ease, transform .16s ease;
}
.footer__link:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer__contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 30px;
  padding: clamp(22px, 3.2vw, 34px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.contact-item { min-width: 0; }
.contact-item__label {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
}
.contact-item__value {
  display: inline;
  font-size: .92rem;
  color: var(--white);
  word-break: break-all;
}
.contact-item__value--text {
  font-family: var(--font-body);
  word-break: normal;
  color: rgba(255, 255, 255, .8);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 9px;
  border: 1px solid rgba(33, 212, 253, .34);
  border-radius: var(--radius-pill);
  background: rgba(33, 212, 253, .12);
  color: var(--cyan);
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  cursor: pointer;
  vertical-align: middle;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.copy-btn:hover { background: rgba(33, 212, 253, .24); }
.copy-btn[data-copied="true"] {
  background: rgba(46, 125, 91, .26);
  border-color: rgba(46, 125, 91, .7);
  color: #93E7C0;
}

.footer__note {
  grid-column: 1 / -1;
  margin: 0;
  max-width: 78ch;
  font-size: .8rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .48);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-top: 20px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .45);
}
.footer__legal { margin: 0; }
.footer__legal-link {
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
}
.footer__legal-link:hover { color: var(--cyan); }
.footer__icp { margin: 0; letter-spacing: .06em; }

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__contact { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .site-header__island { animation: none; }
  .btn:hover,
  .footer__link:hover { transform: none; }
}
