/* ==========================================================
   万利门户 · 全站共享样式 /assets/site.css
   风格：极简文字建筑 + 框架式导航 + 赛博朋克数据流
   ========================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --bg-deep: #0A1F44;
  --bg-panel: #0D2A5C;
  --bg-panel-alt: #102A54;
  --accent-orange: #FF6A00;
  --accent-lime: #A8E10C;
  --text-primary: #EAF2FF;
  --text-secondary: #A9B7D6;
  --text-muted: #6A7CA5;
  --line-grid: #2E4A7A;
  --status-warn: #FFB300;
  --surface-highlight: #123369;

  --font-display: '站酷快乐体', 'YouYuan', 'Heiti SC', sans-serif;
  --font-body: 'JetBrains Mono', 'Roboto Mono', 'Cascadia Code', monospace;
  --font-fallback: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;

  --container-w: 1280px;
  --container-pad: clamp(16px, 3vw, 40px);
  --header-h-desktop: 76px;
  --header-h-mobile: 60px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(rgba(46, 74, 122, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 74, 122, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--text-primary);
  font-family: var(--font-body), var(--font-fallback);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
}

a {
  color: var(--accent-orange);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-lime);
}

::selection {
  background: var(--accent-orange);
  color: var(--bg-deep);
}

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

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--line-grid);
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* ---------- 3. 中文排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), var(--font-fallback);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

em, i {
  font-style: italic;
}

strong, b {
  font-weight: 700;
}

/* ---------- 4. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

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

.section--tight {
  padding-block: clamp(32px, 5vw, 56px);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------- 5. 无障碍 ---------- */
.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;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--accent-orange);
  color: var(--bg-deep);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}

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

/* ---------- 6. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 31, 68, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-grid);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h-desktop);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--text-primary);
}

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

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent-orange) 0%, #c94f00 100%);
  color: var(--bg-deep);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: filter 0.2s ease;
}

.brand:hover .brand__mark {
  filter: brightness(1.15);
}

.brand__mark::after {
  content: '';
  position: absolute;
  left: 3px;
  bottom: 3px;
  width: 6px;
  height: 6px;
  background: var(--accent-lime);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.brand__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display), var(--font-fallback);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  white-space: nowrap;
}

.brand__en {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* 移动端导航按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--line-grid);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--accent-orange);
  background: rgba(255, 106, 0, 0.06);
}

.nav-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 主导航 */
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.site-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 12px 14px;
  color: var(--text-secondary);
  font-family: var(--font-body), var(--font-fallback);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  position: relative;
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav__num {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-style: normal;
  transition: color 0.2s ease;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: var(--accent-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--text-primary);
  background: var(--bg-panel-alt);
}

.site-nav__link:hover .site-nav__num,
.site-nav__link:focus-visible .site-nav__num {
  color: var(--accent-orange);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.site-nav__link[aria-current="page"] {
  color: var(--accent-lime);
  background: linear-gradient(180deg, rgba(168, 225, 12, 0.08), transparent);
}

.site-nav__link[aria-current="page"] .site-nav__num {
  color: var(--accent-orange);
}

.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--accent-orange);
}

/* 页头右侧 */
.site-header__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  font-family: var(--font-body), var(--font-fallback);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-orange);
  text-decoration: none;
  border: 1px solid rgba(255, 106, 0, 0.35);
  background: rgba(255, 106, 0, 0.07);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header-cta:hover {
  color: #ff8f3d;
  background: rgba(255, 106, 0, 0.16);
  border-color: rgba(255, 106, 0, 0.6);
}

.update-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-family: var(--font-body), var(--font-fallback);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--accent-lime);
  border: 1px solid rgba(168, 225, 12, 0.25);
  background: rgba(168, 225, 12, 0.05);
  white-space: nowrap;
}

.update-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-lime);
  box-shadow: 0 0 8px rgba(168, 225, 12, 0.5);
  flex-shrink: 0;
}

.update-badge__text {
  font-size: 12px;
  letter-spacing: 0.05em;
}

.update-badge__ver {
  padding-left: 6px;
  border-left: 1px solid rgba(168, 225, 12, 0.2);
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
}

/* 滚动进度条 */
.site-header__progress {
  height: 2px;
  background: rgba(46, 74, 122, 0.35);
  overflow: hidden;
}

.site-header__progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-lime));
  transition: width 0.08s linear;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 0;
  background: linear-gradient(180deg, #0A1F44 0%, #060E24 100%);
  border-top: 1px solid var(--line-grid);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent-orange) 0 14px,
    transparent 14px 28px,
    rgba(168, 225, 12, 0.4) 28px 34px,
    transparent 34px 50px
  );
  opacity: 0.7;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-block: 64px 48px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.brand--footer .brand__name {
  font-size: 18px;
}

.brand--footer .brand__mark {
  width: 36px;
  height: 36px;
  font-size: 20px;
}

.site-footer__statement {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 300px;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__heading {
  font-family: var(--font-body), var(--font-fallback);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(46, 74, 122, 0.6);
}

.site-footer__links {
  list-style: none;
  display: grid;
  gap: 10px;
}

.site-footer__links a {
  display: inline-block;
  color: var(--text-secondary);
  font-family: var(--font-body), var(--font-fallback);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, padding-left 0.2s ease, transform 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--accent-lime);
  padding-left: 4px;
}

.site-footer__contact {
  font-style: normal;
  display: grid;
  gap: 12px;
}

.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body), var(--font-fallback);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.site-footer__contact-label {
  flex-shrink: 0;
  min-width: 36px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  padding-top: 2px;
}

.site-footer__contact-value {
  color: var(--text-secondary);
  word-break: break-all;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 24px;
  border-top: 1px solid rgba(46, 74, 122, 0.5);
  font-family: var(--font-body), var(--font-fallback);
  font-size: 12px;
  color: var(--text-muted);
}

.site-footer__copyright {
  white-space: nowrap;
}

.site-footer__icp {
  white-space: nowrap;
}

/* ---------- 8. 通用组件 ---------- */

/* 8.1 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body), var(--font-fallback);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--bg-panel);
  color: var(--text-primary);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  filter: brightness(1.12);
  color: var(--text-primary);
}

.btn--primary {
  background: var(--accent-orange);
  color: var(--bg-deep);
  font-weight: 700;
}

.btn--primary:hover {
  background: #e85d00;
  color: var(--bg-deep);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-grid);
  color: var(--text-primary);
}

.btn--ghost:hover {
  background: var(--bg-panel-alt);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 13px;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

/* 8.2 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-family: var(--font-body), var(--font-fallback);
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb li + li::before {
  content: '/';
  margin: 0 8px;
  color: var(--line-grid);
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--accent-lime);
}

.breadcrumb [aria-current="page"] {
  color: var(--text-primary);
}

/* 8.3 页面头部 */
.page-head {
  padding-block: clamp(32px, 6vw, 72px) clamp(24px, 4vw, 48px);
  border-bottom: 1px solid var(--line-grid);
  margin-bottom: clamp(32px, 5vw, 64px);
}

.page-head__index {
  display: inline-block;
  padding: 4px 14px;
  margin-bottom: 16px;
  font-family: var(--font-body), var(--font-fallback);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-orange);
  border: 1px solid rgba(255, 106, 0, 0.3);
  background: rgba(255, 106, 0, 0.06);
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}

.page-head__title {
  font-family: var(--font-display), var(--font-fallback);
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.page-head__desc {
  font-family: var(--font-body), var(--font-fallback);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 640px;
}

/* 8.4 区块标题 */
.heading-block {
  margin-bottom: 40px;
  position: relative;
}

.heading-block__index {
  display: inline-block;
  padding: 2px 12px;
  margin-bottom: 12px;
  font-family: var(--font-body), var(--font-fallback);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-orange);
  background: rgba(255, 106, 0, 0.06);
  border-left: 2px solid var(--accent-orange);
}

.heading-block__title {
  font-family: var(--font-display), var(--font-fallback);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
}

.heading-block__desc {
  font-family: var(--font-body), var(--font-fallback);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 620px;
}

/* 8.5 数据卡片 */
.data-card {
  position: relative;
  padding: 24px;
  background: var(--bg-panel);
  border: 1px solid var(--line-grid);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.data-card::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 14px;
  height: 14px;
  background: var(--accent-orange);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  transition: background 0.25s ease;
}

.data-card:hover {
  background: var(--surface-highlight);
  border-color: rgba(255, 106, 0, 0.4);
}

.data-card:hover::before {
  background: var(--accent-lime);
}

.data-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.data-card__label {
  font-family: var(--font-body), var(--font-fallback);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.data-card__value {
  font-family: var(--font-display), var(--font-fallback);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
}

.data-card__value--orange {
  color: var(--accent-orange);
}

.data-card__value--lime {
  color: var(--accent-lime);
}

.data-card__meta {
  margin-top: 10px;
  font-family: var(--font-body), var(--font-fallback);
  font-size: 12px;
  color: var(--text-secondary);
}

/* 8.6 终端面板 */
.terminal-box {
  padding: 20px 24px;
  background: #050E24;
  border: 1px solid var(--line-grid);
  font-family: var(--font-body), var(--font-fallback);
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-secondary);
  overflow-x: auto;
}

.terminal-box::before {
  content: '// data-log';
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(46, 74, 122, 0.4);
  margin-bottom: 12px;
}

/* 8.7 时间线 */
.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line-grid);
}

.timeline__item {
  position: relative;
  padding-bottom: 32px;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: var(--accent-orange);
  transform: rotate(45deg);
  box-shadow: 0 0 0 2px var(--bg-deep), 0 0 10px rgba(255, 106, 0, 0.3);
}

.timeline__item--current::before {
  background: var(--accent-lime);
  box-shadow: 0 0 0 2px var(--bg-deep), 0 0 12px rgba(168, 225, 12, 0.4);
}

/* 8.8 对照表 */
.comparison-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-family: var(--font-body), var(--font-fallback);
  font-size: 13px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  border: 1px solid rgba(46, 74, 122, 0.6);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.comparison-table th {
  background: var(--bg-panel);
  color: var(--accent-lime);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-table td {
  background: rgba(13, 42, 92, 0.3);
  color: var(--text-secondary);
}

.comparison-table tbody tr:hover td {
  background: var(--surface-highlight);
  color: var(--text-primary);
}

/* 8.9 状态旗标 */
.status-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  font-family: var(--font-body), var(--font-fallback);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--line-grid);
  background: rgba(13, 42, 92, 0.3);
}

.status-flag__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
}

.status-flag--active {
  color: var(--accent-lime);
  border-color: rgba(168, 225, 12, 0.3);
  background: rgba(168, 225, 12, 0.04);
}

.status-flag--warn {
  color: var(--status-warn);
  border-color: rgba(255, 179, 0, 0.3);
  background: rgba(255, 179, 0, 0.04);
}

/* 8.10 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--font-body), var(--font-fallback);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  border: 1px solid var(--line-grid);
  background: transparent;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}

.tag--orange {
  color: var(--accent-orange);
  border-color: rgba(255, 106, 0, 0.35);
}

.tag--lime {
  color: var(--accent-lime);
  border-color: rgba(168, 225, 12, 0.35);
}

/* 8.11 图片占位 */
.img-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-panel-alt);
  border: 1px solid var(--line-grid);
  overflow: hidden;
  isolation: isolate;
}

.img-placeholder::before {
  content: attr(data-label);
  font-family: var(--font-body), var(--font-fallback);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 16px;
  text-align: center;
  z-index: 1;
}

.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 28px, rgba(46, 74, 122, 0.18) 28px, rgba(46, 74, 122, 0.18) 29px),
    repeating-linear-gradient(90deg, transparent 0, transparent 28px, rgba(46, 74, 122, 0.18) 28px, rgba(46, 74, 122, 0.18) 29px);
}

/* 8.12 数据流纹理 */
.data-veil {
  position: relative;
  isolation: isolate;
}

.data-veil::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 42%, rgba(168, 225, 12, 0.035) 42%, rgba(168, 225, 12, 0.035) 45%, transparent 45%),
    linear-gradient(115deg, transparent 55%, rgba(255, 106, 0, 0.028) 55%, rgba(255, 106, 0, 0.028) 58%, transparent 58%);
}

/* ---------- 9. 响应式 ---------- */

/* 平板及以下 */
@media (max-width: 1100px) {
  .site-nav__link {
    padding: 12px 9px;
    font-size: 13px;
  }

  .update-badge__ver {
    display: none;
  }

  .site-header__meta {
    gap: 8px;
  }
}

/* 平板竖屏 / 大手机 */
@media (max-width: 991px) {
  .site-header__inner {
    flex-wrap: wrap;
    min-height: var(--header-h-mobile);
    padding-block: 8px;
  }

  .nav-toggle {
    display: flex;
    order: 3;
  }

  .site-header__meta {
    margin-left: auto;
    order: 2;
  }

  .site-nav {
    order: 4;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    border-top: 0 solid var(--line-grid);
    transition: max-height 0.35s ease, opacity 0.3s ease, visibility 0s 0.35s;
  }

  .site-nav[data-open="true"] {
    max-height: calc(100vh - var(--header-h-mobile));
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    border-top-width: 1px;
    transition: max-height 0.35s ease, opacity 0.3s ease, visibility 0s;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 20px;
  }

  .site-nav__item {
    border-bottom: 1px solid rgba(46, 74, 122, 0.3);
  }

  .site-nav__item:last-child {
    border-bottom: none;
  }

  .site-nav__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 8px;
    font-size: 15px;
    width: 100%;
  }

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

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

/* 手机 */
@media (max-width: 767px) {
  .site-header__inner {
    gap: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .brand__name {
    font-size: 17px;
  }

  .brand__en {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .update-badge {
    padding: 4px 10px;
    font-size: 11px;
  }

  .update-badge__dot {
    width: 5px;
    height: 5px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 48px 36px;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__statement {
    max-width: 100%;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-block: 20px;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .data-card {
    padding: 18px;
  }

  .data-card__value {
    font-size: 28px;
  }
}

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

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

  .site-header__progress-bar {
    transition: none;
  }

  .site-nav {
    transition: none;
  }
}
