/* ============================================================
   宝威赛场 · Flash Arena
   /assets/site.css
   共享设计系统：重置 / 令牌 / 版式 / 页头 / 页脚 / 基础组件
   ============================================================ */

:root {
  --c-primary: #00E5FF;
  --c-neon: #39FF14;
  --c-bg: #0A0E17;
  --c-bg-deep: #060A12;
  --c-card: #121A2A;
  --c-card-2: #0E1726;
  --c-text: #F0F4FF;
  --c-muted: #A6B3CC;
  --c-accent: #FF6A00;
  --c-success: #00D68F;
  --c-warn: #FFC53D;
  --grad-brand: linear-gradient(135deg, #00E5FF 0%, #39FF14 100%);
  --line: rgba(166, 179, 204, 0.18);
  --line-strong: rgba(0, 229, 255, 0.35);
  --shell-w: 1240px;
  --shell-pad: clamp(16px, 3vw, 28px);
  --header-space: clamp(92px, 12vh, 112px);
  --radius: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --font-head: "Space Grotesk", Bahnschrift, "DIN Alternate", "Segoe UI", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "HarmonicOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.38s;
}

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

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

body {
  margin: 0;
  padding-top: var(--header-space);
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(54px, 8vw, 104px); letter-spacing: -0.04em; }
h2 { font-size: clamp(32px, 5vw, 56px); }
h3 { font-size: clamp(22px, 3vw, 30px); }
h4 { font-size: 20px; }
h5, h6 { font-size: 17px; }

p {
  margin: 0 0 1em;
}

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

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: #7DF2FF;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  cursor: pointer;
}

::selection {
  background: var(--c-primary);
  color: #06121a;
}

:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 布局骨架 ---------- */

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

.shell {
  width: min(100% - 2 * var(--shell-pad), var(--shell-w));
  margin-inline: auto;
}

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

.section--tight {
  padding-block: 34px;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.section__label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-neon);
}

.section__title {
  margin: 0;
}

.section__lead {
  max-width: 640px;
  color: var(--c-muted);
  margin-top: 12px;
  font-size: 17px;
}

.section__more {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--c-primary);
}

.prose {
  max-width: 780px;
}

.prose p {
  margin-bottom: 1.1em;
  color: rgba(240, 244, 255, 0.88);
}

.prose h2 {
  margin-top: 1.4em;
}

/* ---------- 工具类 ---------- */

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

.grid-bg {
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.diag-lines {
  background-image: repeating-linear-gradient(115deg, transparent 0 18px, rgba(0, 229, 255, 0.05) 18px 19px);
}

/* ---------- 跳过链接 ---------- */

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  transform: translateY(-160%);
  background: var(--c-primary);
  color: #06121a;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 28px rgba(0, 229, 255, 0.4);
  transition: transform 0.28s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* ---------- 共享页头：悬浮胶囊岛 ---------- */

.site-header {
  position: fixed;
  inset: 14px 14px auto;
  z-index: 1000;
  pointer-events: none;
}

.site-header__island {
  position: relative;
  max-width: 1320px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px 10px 18px;
  background: rgba(10, 14, 23, 0.78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 0 4px rgba(0, 229, 255, 0.03);
  transition:
    padding 0.35s var(--ease),
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled .site-header__island {
  padding-block: 7px;
  background: rgba(7, 10, 18, 0.92);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.6),
    0 0 0 2px rgba(0, 229, 255, 0.12);
}

/* 品牌 */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--c-text);
}

.brand:hover {
  color: var(--c-text);
}

.brand__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}

.brand__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand__text {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* 主导航（桌面） */

.main-nav {
  margin-inline: auto;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav__item {
  flex-shrink: 0;
}

.main-nav__link {
  position: relative;
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  color: var(--c-muted);
  font-size: 15.5px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    color 0.25s var(--ease),
    background-color 0.25s var(--ease),
    text-shadow 0.25s var(--ease);
}

.main-nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.main-nav__link:hover {
  color: var(--c-text);
  background: rgba(0, 229, 255, 0.08);
}

.main-nav__link:hover::after,
.main-nav__link[aria-current="page"]::after {
  width: 14px;
}

.main-nav__link[aria-current="page"] {
  color: var(--c-text);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
}

/* 页头操作区 */

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.search-wrap {
  position: relative;
}

.search-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-muted);
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.search-btn:hover {
  color: var(--c-primary);
  border-color: var(--line-strong);
  background: rgba(0, 229, 255, 0.08);
}

.search-btn svg {
  width: 19px;
  height: 19px;
}

.search-pop {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 268px;
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 16px;
  background: rgba(9, 13, 22, 0.97);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.28s var(--ease),
    transform 0.28s var(--ease),
    visibility 0.28s;
}

.search-pop[data-open] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.search-pop__label {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  color: var(--c-muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  background: var(--c-card);
  border: 1px solid var(--line);
  color: var(--c-text);
  font-size: 13.5px;
  line-height: 1.15;
  transition:
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-neon);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.8);
  flex-shrink: 0;
}

.chip:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  transform: translateY(-2px);
}

.header__cta {
  padding: 9px 20px;
  font-size: 14px;
}

/* 移动导航按钮 */

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--line-strong);
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-text);
  transition:
    transform 0.3s var(--ease),
    opacity 0.25s var(--ease);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 阅读进度 */

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 0;
  height: 3px;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.7);
  pointer-events: none;
}

/* ---------- 通用按钮 ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--grad-brand);
  color: #050A0E;
  box-shadow:
    0 4px 24px rgba(0, 229, 255, 0.35),
    inset 0 0 0 1px rgba(57, 255, 20, 0.2);
}

.btn--primary:hover {
  color: #030507;
  transform: translateY(-2px);
  box-shadow:
    0 6px 32px rgba(0, 229, 255, 0.55),
    inset 0 0 0 1px rgba(57, 255, 20, 0.35);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(166, 179, 204, 0.3);
  color: var(--c-text);
}

.btn--ghost:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 13.5px;
}

/* ---------- 状态徽章 ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.badge--live {
  color: var(--c-neon);
  border: 1px solid rgba(57, 255, 20, 0.4);
  background: rgba(57, 255, 20, 0.08);
}

.badge--warn {
  color: var(--c-warn);
  border: 1px solid rgba(255, 197, 61, 0.4);
  background: rgba(255, 197, 61, 0.08);
}

.badge--sync {
  color: var(--c-success);
  border: 1px solid rgba(0, 214, 143, 0.4);
  background: rgba(0, 214, 143, 0.08);
}

.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-neon);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.9);
  flex-shrink: 0;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(57, 255, 20, 0.7);
  animation: livePulse 1.6s ease-out infinite;
}

@keyframes livePulse {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.data-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: rgba(18, 26, 42, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.22);
  color: var(--c-text);
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
}

.data-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 8px var(--c-primary);
}

/* ---------- 面包屑 / 锚点目录 ---------- */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 20px;
  font-size: 14px;
  color: var(--c-muted);
}

.breadcrumb a {
  color: var(--c-muted);
  transition: color 0.25s var(--ease);
}

.breadcrumb a:hover {
  color: var(--c-primary);
}

.breadcrumb__sep {
  color: rgba(166, 179, 204, 0.45);
}

.breadcrumb [aria-current="page"] {
  color: var(--c-text);
  font-weight: 600;
}

.anchor-index {
  position: sticky;
  top: var(--header-space);
  display: grid;
  gap: 2px;
}

.anchor-index a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-left: 2px solid rgba(0, 229, 255, 0.2);
  color: var(--c-muted);
  font-size: 14px;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.anchor-index a:hover,
.anchor-index a.is-active {
  color: var(--c-primary);
  border-left-color: var(--c-primary);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.08), transparent);
}

/* ---------- Bento 网格 ---------- */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 2vw, 22px);
}

.bento-4 { grid-column: span 4; }
.bento-6 { grid-column: span 6; }
.bento-8 { grid-column: span 8; }
.bento-12 { grid-column: span 12; }

/* ---------- 数据卡 ---------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.6vw, 34px);
  background: var(--c-card);
  border: 1px solid rgba(166, 179, 204, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 229, 255, 0.08);
}

.card--accent {
  border-top: 2px solid var(--c-primary);
}

.card--cut {
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.card__title {
  margin: 0;
  font-size: 22px;
}

.card__desc {
  margin: 0;
  color: var(--c-muted);
  font-size: 15.5px;
}

.metric {
  display: grid;
  gap: 2px;
}

.metric__value {
  font-family: var(--font-mono);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-primary);
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.3);
}

.metric__label {
  font-size: 14px;
  color: var(--c-muted);
}

.progress-lines {
  position: relative;
  height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(166, 179, 204, 0.14);
  overflow: hidden;
}

.progress-lines::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 80%;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
}

/* ---------- 媒体容器 ---------- */

.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(0, 229, 255, 0.14), rgba(10, 14, 23, 0.6) 55%),
    repeating-linear-gradient(-45deg, rgba(166, 179, 204, 0.08) 0 1px, transparent 1px 14px),
    var(--c-card-2);
}

.media-frame::before {
  content: "IMG";
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: rgba(0, 229, 255, 0.55);
  border: 1px dashed rgba(0, 229, 255, 0.3);
  padding: 10px 14px;
  border-radius: 10px;
}

.media-frame img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media-frame__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  margin: 0;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  color: var(--c-text);
  background: rgba(6, 10, 18, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---------- 返回顶部 ---------- */

.back-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(10, 14, 23, 0.85);
  color: var(--c-primary);
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    visibility 0.3s,
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.back-top.is-shown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-top:hover {
  background: var(--c-card);
  color: var(--c-neon);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

/* ---------- 滚动渐显 ---------- */

html.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

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

/* ---------- 共享页脚 ---------- */

.site-footer {
  margin-top: clamp(56px, 8vw, 110px);
  position: relative;
  background:
    radial-gradient(70% 110% at 85% 0%, rgba(0, 229, 255, 0.08), transparent 60%),
    var(--c-bg-deep);
  border-top: 1px solid rgba(0, 229, 255, 0.16);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-primary), var(--c-neon), transparent);
  opacity: 0.6;
}

.site-footer__ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(57, 255, 20, 0.08));
  border-bottom: 1px solid rgba(0, 229, 255, 0.14);
}

.site-footer__trust {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-text);
  text-align: center;
  max-width: 900px;
}

.site-footer__main {
  padding-block: clamp(40px, 6vw, 72px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr;
  gap: clamp(20px, 3.5vw, 44px);
}

.footer-col__title {
  position: relative;
  margin: 0 0 18px;
  padding-left: 12px;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--c-text);
}

.footer-col__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 5px;
  height: 1em;
  border-radius: 3px;
  background: var(--grad-brand);
}

.footer-col__list a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: var(--c-muted);
  font-size: 15px;
  transition:
    color 0.25s var(--ease),
    padding-left 0.25s var(--ease);
}

.footer-col__list a:hover {
  color: var(--c-primary);
  padding-left: 6px;
}

.footer-col--brand .brand {
  margin-bottom: 18px;
}

.brand--footer .brand__icon {
  width: 44px;
  height: 44px;
}

.brand__text--footer {
  font-size: 24px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-brand__summary {
  max-width: 400px;
  margin: 0;
  color: var(--c-muted);
  font-size: 15px;
}

.footer-brand__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.footer-brand__tags .data-chip {
  font-size: 12.5px;
  padding: 5px 11px;
}

.footer-contact__list {
  display: grid;
  gap: 12px;
}

.footer-contact__list li {
  display: grid;
  gap: 2px;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}

.footer-contact__text {
  color: var(--c-text);
  font-size: 15px;
  word-break: break-all;
}

.footer-contact__note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--c-neon);
}

.site-footer__bottom {
  border-top: 1px solid rgba(166, 179, 204, 0.14);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 20px;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--c-muted);
}

.footer-bottom [data-year] {
  font-variant-numeric: tabular-nums;
}

.footer-bottom__copy {
  font-weight: 500;
}

.footer-bottom__icp {
  font-family: var(--font-mono);
}

/* ---------- 响应式 ---------- */

@media (max-width: 1023.98px) {
  .site-header {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .site-header__island {
    padding: 8px 10px 8px 14px;
  }

  .header__actions {
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin: 0;
    display: block;
    background: rgba(6, 10, 18, 0.97);
    border: 1px solid rgba(0, 229, 255, 0.28);
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease),
      visibility 0.3s;
  }

  .main-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav__list {
    flex-direction: column;
    gap: 4px;
  }

  .main-nav__link {
    padding: 13px 18px;
    font-size: 16.5px;
    border-radius: 14px;
  }

  .main-nav__link::after {
    display: none;
  }

  .main-nav__link[aria-current="page"] {
    background: rgba(0, 229, 255, 0.12);
  }

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

  .bento-4 {
    grid-column: span 6;
  }

  .bento-8 {
    grid-column: span 12;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 719.98px) {
  .header__cta {
    display: none;
  }

  .brand__text {
    font-size: 18px;
  }

  .brand__icon {
    width: 32px;
    height: 32px;
  }

  .bento-4,
  .bento-6,
  .bento-8 {
    grid-column: span 12;
  }

  .search-pop {
    position: fixed;
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
  }
}

@media (max-width: 599.98px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__ribbon {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 减弱动效 ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

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

  .main-nav,
  .search-pop {
    transition: none;
  }
}
