/* ==========================================================================
   V8国际娱乐 · 共享站点样式 /assets/site.css
   暗场仪表盘语言：墨黑底 + 切角面板 + 双通道发光 + 等宽读数
   ========================================================================== */

/* ---------- 01 设计令牌 ---------- */
:root {
  --ink: #06080b;
  --ink-soft: #080b10;
  --panel: #12171d;
  --panel-soft: #0b1015;
  --line: #232b34;

  --cyan: #29e7f0;
  --cyan-deep: #0e6e77;
  --magenta: #ff2e88;
  --magenta-deep: #8e1a4b;
  --amber: #f5b841;

  --text: #eaf0f6;
  --muted: #9aa6b2;
  --ok: #4be39b;
  --warn: #ff6b5a;

  --font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, "Cascadia Mono", "Consolas", "Menlo", "Courier New", monospace;

  --shape-xs: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  --shape-sm: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  --shape: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  --shape-lg: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);

  --maxw: 1240px;
  --gutter: 24px;
  --ease: cubic-bezier(0.22, 0.75, 0.3, 1);
  --bounce: cubic-bezier(0.2, 1.12, 0.4, 1);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(880px 520px at 14% -12%, rgba(41, 231, 240, 0.10), transparent 68%),
    radial-gradient(760px 480px at 88% 2%, rgba(255, 46, 136, 0.09), transparent 70%),
    linear-gradient(180deg, #06080b 0%, #080c11 46%, #06080b 100%);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

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

h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }

main { display: block; }

#main-content { scroll-margin-top: 112px; }
#main-content:focus { outline: none; }

::selection {
  background: rgba(41, 231, 240, 0.28);
  color: #ffffff;
}

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

/* ---------- 03 文字与通用工具 ---------- */
.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  font-feature-settings: "tnum" 1;
}

.muted { color: var(--muted); }

.index-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 04 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 18px;
  margin-bottom: 32px;
}

.section-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--amber);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.section-desc {
  flex: 1 1 320px;
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: var(--gutter);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--split { grid-template-columns: 1fr; }

@media (min-width: 900px) {
  .grid--split {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: start;
  }
}

/* ---------- 05 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: var(--shape-sm);
  transition: transform 0.15s var(--ease), background 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease), filter 0.18s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }

.btn--cyan {
  color: #03181b;
  background: linear-gradient(135deg, #63f4fa 0%, var(--cyan) 46%, var(--cyan-deep) 100%);
  border-color: rgba(41, 231, 240, 0.6);
}
.btn--cyan:hover { filter: drop-shadow(0 0 16px rgba(41, 231, 240, 0.55)); }

.btn--magenta {
  color: #250514;
  background: linear-gradient(135deg, #ff74b2 0%, var(--magenta) 48%, var(--magenta-deep) 100%);
  border-color: rgba(255, 46, 136, 0.6);
}
.btn--magenta:hover { filter: drop-shadow(0 0 16px rgba(255, 46, 136, 0.55)); }

.btn--ghost {
  background: rgba(18, 23, 29, 0.6);
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover {
  color: var(--cyan);
  border-color: rgba(41, 231, 240, 0.5);
  filter: drop-shadow(0 0 12px rgba(41, 231, 240, 0.3));
}

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

/* ---------- 06 切角面板与标签 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(160deg, rgba(18, 23, 29, 0.98), rgba(10, 14, 18, 0.98));
  border: 1px solid var(--line);
  clip-path: var(--shape);
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 43, 52, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 43, 52, 0.55) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.28;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 72%);
}

.panel > * { position: relative; z-index: 1; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  color: var(--muted);
  background: rgba(18, 23, 29, 0.8);
  border: 1px solid var(--line);
  clip-path: var(--shape-xs);
}

.chip--cyan { color: var(--cyan); border-color: rgba(41, 231, 240, 0.45); background: rgba(41, 231, 240, 0.08); }
.chip--magenta { color: var(--magenta); border-color: rgba(255, 46, 136, 0.45); background: rgba(255, 46, 136, 0.08); }
.chip--amber { color: var(--amber); border-color: rgba(245, 184, 65, 0.45); background: rgba(245, 184, 65, 0.08); }

/* ---------- 07 视觉容器（供页面阶段放置图片/SVG） ---------- */
.media-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  clip-path: var(--shape);
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(41, 231, 240, 0.16), transparent 62%),
    radial-gradient(100% 80% at 100% 100%, rgba(255, 46, 136, 0.14), transparent 66%),
    linear-gradient(160deg, #0b1015, #070a0e);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 43, 52, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 43, 52, 0.6) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.35;
  pointer-events: none;
}

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

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 4 / 5; }

.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- 08 装饰：刻度条与流动导引线 ---------- */
.tick-rule {
  height: 10px;
  background-image: repeating-linear-gradient(90deg, rgba(154, 166, 178, 0.45) 0 1px, transparent 1px 12px);
  opacity: 0.7;
}

.guide-line {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(35, 43, 52, 0.9), rgba(35, 43, 52, 0.2));
}

.guide-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(41, 231, 240, 0.9) 42%, rgba(255, 46, 136, 0.9) 58%, transparent 100%);
  background-repeat: no-repeat;
  background-size: 40% 100%;
  animation: line-travel 2.4s linear infinite;
}

@keyframes line-travel {
  from { background-position: -45% 0; }
  to { background-position: 145% 0; }
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(75, 227, 155, 0.12), 0 0 10px rgba(75, 227, 155, 0.72); }
  50% { box-shadow: 0 0 0 5px rgba(75, 227, 155, 0.06), 0 0 16px rgba(75, 227, 155, 0.9); }
}

/* ---------- 09 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.breadcrumbs a { color: var(--muted); transition: color 0.18s var(--ease); }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumb-sep { color: var(--line); }
.breadcrumb-current { color: var(--text); }

/* ---------- 10 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #04191b;
  background: var(--cyan);
  clip-path: var(--shape-xs);
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

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

/* ---------- 11 头部刊头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(6, 8, 11, 0.97) 0%, rgba(8, 11, 15, 0.93) 100%);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(41, 231, 240, 0.55) 20%, rgba(255, 46, 136, 0.5) 80%, transparent);
  opacity: 0.75;
  pointer-events: none;
}

.site-header.is-condensed {
  background: rgba(6, 8, 11, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

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

/* 刊头三栏 */
.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-block: 16px 12px;
  border-bottom: 1px solid var(--line);
}

.masthead-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.masthead-tag {
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 1px solid transparent;
  clip-path: var(--shape-xs);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.masthead-tag:hover {
  color: var(--cyan);
  border-color: rgba(41, 231, 240, 0.4);
  background: rgba(41, 231, 240, 0.06);
}

.masthead-tag[aria-current="page"] {
  color: var(--amber);
  border-color: rgba(245, 184, 65, 0.45);
}

/* 品牌刊头 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: center;
  min-width: 0;
}

.brand-mark {
  display: grid;
  align-content: center;
  gap: 4px;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  transform: skewX(-12deg);
}

.brand-mark i {
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(41, 231, 240, 0));
}

.brand-mark i:nth-child(2) {
  width: 78%;
  background: linear-gradient(90deg, var(--magenta), rgba(255, 46, 136, 0));
}

.brand-mark i:nth-child(3) {
  width: 54%;
  background: linear-gradient(90deg, var(--amber), rgba(245, 184, 65, 0));
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.18em;
  color: var(--text);
}

.brand-sub {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.brand:hover .brand-name { color: #ffffff; }

/* 右侧工具 */
.masthead-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.quick-link {
  padding: 9px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  white-space: nowrap;
  border: 1px solid transparent;
  clip-path: var(--shape-xs);
  transition: color 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), filter 0.18s var(--ease);
}

.quick-link--cyan {
  color: var(--cyan);
  border-color: rgba(41, 231, 240, 0.45);
  background: rgba(41, 231, 240, 0.07);
}
.quick-link--cyan:hover {
  background: rgba(41, 231, 240, 0.16);
  filter: drop-shadow(0 0 10px rgba(41, 231, 240, 0.4));
}

.quick-link--magenta {
  color: var(--magenta);
  border-color: rgba(255, 46, 136, 0.45);
  background: rgba(255, 46, 136, 0.07);
}
.quick-link--magenta:hover {
  background: rgba(255, 46, 136, 0.16);
  filter: drop-shadow(0 0 10px rgba(255, 46, 136, 0.4));
}

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

/* 改额度设置模块 */
.quota { position: relative; }

.quota-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
  cursor: pointer;
  color: var(--amber);
  background: linear-gradient(135deg, rgba(245, 184, 65, 0.18), rgba(245, 184, 65, 0.04));
  border: 1px solid rgba(245, 184, 65, 0.5);
  clip-path: var(--shape-sm);
  transition: background 0.18s var(--ease), color 0.18s var(--ease), filter 0.18s var(--ease);
}

.quota-btn:hover {
  background: linear-gradient(135deg, rgba(245, 184, 65, 0.3), rgba(245, 184, 65, 0.1));
  filter: drop-shadow(0 0 12px rgba(245, 184, 65, 0.4));
}

.quota-btn-text { display: inline-block; }

.quota-glyph {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.28s var(--ease);
}

.quota[data-open="true"] .quota-glyph { transform: rotate(-135deg) translateY(-2px); }

.quota-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 95;
  width: 296px;
  max-width: calc(100vw - 32px);
  padding: 18px;
  background: linear-gradient(170deg, #141a21, #0a0e13);
  border: 1px solid var(--line);
  border-top: 1px solid var(--amber);
  clip-path: var(--shape);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.68);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--bounce), visibility 0.28s linear;
}

.quota[data-open="true"] .quota-panel {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.quota-panel-title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--amber);
}

.quota-list { display: grid; gap: 8px; }

.quota-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text);
  background: rgba(18, 23, 29, 0.8);
  border: 1px solid var(--line);
  clip-path: var(--shape-xs);
  transition: color 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.quota-link:hover {
  color: var(--cyan);
  background: rgba(41, 231, 240, 0.08);
  border-color: rgba(41, 231, 240, 0.5);
}

.quota-item-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.quota-note {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* 导航行 */
.nav-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 6px 8px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  cursor: pointer;
  color: var(--text);
  background: rgba(18, 23, 29, 0.9);
  border: 1px solid var(--line);
  clip-path: var(--shape-xs);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--cyan);
  transition: transform 0.24s var(--ease), top 0.24s var(--ease), bottom 0.24s var(--ease);
}

.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 4px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  bottom: 4px;
  transform: rotate(-45deg);
}

.site-nav { flex: 1; min-width: 0; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.nav-item { display: flex; align-items: center; }

.nav-item:not(:first-child)::before {
  content: "";
  width: 1px;
  height: 14px;
  background: linear-gradient(180deg, transparent, rgba(41, 231, 240, 0.55), transparent);
  opacity: 0.6;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 18px;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--muted);
  transition: color 0.18s var(--ease), text-shadow 0.18s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(41, 231, 240, 0.8);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--ease);
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  color: var(--text);
  text-shadow: 0 0 18px rgba(41, 231, 240, 0.35);
}

.nav-link[aria-current="page"]::after {
  height: 2px;
  transform: scaleX(1);
}

.nav-extra { display: none; }

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  animation: dot-pulse 2.4s ease-in-out infinite;
}

/* 收缩态（桌面） */
@media (min-width: 960px) {
  .site-header.is-condensed .header-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding-block: 8px;
  }

  .site-header.is-condensed .masthead { display: contents; }
  .site-header.is-condensed .masthead-tags { display: none; }

  .site-header.is-condensed .brand {
    order: 1;
    justify-self: start;
    gap: 10px;
  }

  .site-header.is-condensed .brand-name { font-size: 18px; letter-spacing: 0.14em; }
  .site-header.is-condensed .brand-sub { display: none; }
  .site-header.is-condensed .brand-mark { width: 20px; height: 20px; }

  .site-header.is-condensed .quick-link { display: none; }

  .site-header.is-condensed .nav-row {
    order: 2;
    padding-block: 0;
  }

  .site-header.is-condensed .masthead-tools {
    order: 3;
    justify-self: end;
  }

  .site-header.is-condensed .nav-status { display: none; }
  .site-header.is-condensed .nav-link { padding-block: 8px; font-size: 13px; }
  .site-header.is-condensed .quota-btn { padding: 8px 14px; font-size: 12px; }
}

/* 移动端头部 */
@media (max-width: 959px) {
  .masthead {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding-block: 12px 10px;
  }

  .masthead-tags { display: none; }
  .quick-link { display: none; }

  .brand { justify-self: center; }
  .brand-name { font-size: 21px; letter-spacing: 0.16em; }
  .brand-sub { display: none; }
  .brand-mark { width: 20px; height: 20px; }

  .masthead-tools { gap: 8px; }
  .quota-btn { padding: 9px 12px; font-size: 12px; letter-spacing: 0.06em; }

  .nav-row { padding-block: 8px 10px; }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    background: linear-gradient(180deg, #0b0f14, #080b0f);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s linear;
    z-index: 85;
  }

  .site-nav[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .nav-item:not(:first-child)::before { display: none; }

  .nav-link {
    display: block;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    letter-spacing: 0.12em;
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] {
    color: var(--cyan);
    background: rgba(41, 231, 240, 0.07);
    box-shadow: inset 3px 0 0 var(--cyan);
  }

  .nav-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 20px 20px;
  }

  .nav-extra-link {
    flex: 1 1 140px;
    padding: 12px 14px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-align: center;
    border: 1px solid transparent;
    clip-path: var(--shape-xs);
  }

  .nav-extra-link--cyan {
    color: var(--cyan);
    border-color: rgba(41, 231, 240, 0.45);
    background: rgba(41, 231, 240, 0.08);
  }

  .nav-extra-link--magenta {
    color: var(--magenta);
    border-color: rgba(255, 46, 136, 0.45);
    background: rgba(255, 46, 136, 0.08);
  }

  .nav-status { display: none; }
}

@media (min-width: 960px) {
  .nav-extra { display: none; }
}

/* ---------- 12 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 0;
  background: linear-gradient(180deg, #080b10, #0b1015 42%, #06080b);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 46, 136, 0.55), rgba(41, 231, 240, 0.55), transparent);
  pointer-events: none;
}

.footer-shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}

@media (min-width: 1040px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
}

.footer-brand { min-width: 0; }

.footer-brand-name {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--text);
}

.footer-brand-name:hover { color: var(--cyan); }

.footer-tagline {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.footer-col { min-width: 0; }

.footer-col-title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--amber);
}

.footer-list { display: grid; gap: 10px; }

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.18s var(--ease);
}

.footer-link::before {
  content: "";
  width: 10px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transition: width 0.18s var(--ease);
}

.footer-link:hover { color: var(--cyan); }
.footer-link:hover::before { width: 16px; }

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

.footer-contact-row { display: grid; gap: 2px; }

.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.footer-contact-value {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  word-break: break-word;
}

.footer-contact-value--mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  word-break: break-all;
}

.footer-cta {
  display: inline-flex;
  margin-top: 16px;
  padding-bottom: 4px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  border-bottom: 1px solid rgba(41, 231, 240, 0.45);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-cta:hover {
  color: #7ef2f7;
  border-color: rgba(41, 231, 240, 0.9);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-copy,
.footer-icp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal-link {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.18s var(--ease);
}

.footer-legal-link:hover { color: var(--text); }

/* ---------- 13 滚动进度与显现 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 12px rgba(41, 231, 240, 0.6);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* ---------- 14 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .guide-line::after { animation: none; background: none; }
  .status-dot { animation: none; }
}
