/* ============================================================
   海城 HAICHENG · 航海海报视觉体系（v2）
   设计语言：海盐奶油 / 深海墨蓝 / 海事信号橙红
   浓缩无衬线大字 ×  editorial 衬线 × 等宽终端字体
   01 变量  02 基础  03 组件  04 顶栏  05 Hero  06 分隔带
   07 关于  08 体验  09 机器地址  10 加入  11 弹窗  12 页脚
   ============================================================ */

/* ---------- 01 变量 ---------- */
:root {
  --L: #F2F5F3;            /* 海盐纸（亮） */
  --D: #0E1B22;            /* 深海墨蓝（暗） */
  --accent: #0A84DB;       /* 浮标蓝（主色，用于填充与块面） */
  --accent-deep: #075A9C;  /* 主色·深（交互态） */
  --accent-hi: #38A8F2;    /* 浅标蓝（深海背景上的小号强调文字/图形） */
  --foam: #2FBE96;         /* 海沫绿（在线状态） */

  /* 下潜深度阶梯：越往页面底部，蓝色越深 */
  --sea1: #123C55;         /* Hero · 浅海 */
  --sea2: #0F3348;         /* 关于 */
  --sea3: #0B2A3D;         /* 体验 */
  --sea4: #082333;         /* 机器地址 */
  --sea5: #051B29;         /* 加入 */
  --sea6: #020F18;         /* 页脚 · 深海 */

  --font-display: 'Anton', 'Noto Sans SC', 'Arial Narrow', sans-serif;
  --font-cjk: 'Noto Sans SC', 'HarmonyOS Sans SC', 'MiSans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-serif: 'Instrument Serif', 'Noto Serif SC', 'Songti SC', Georgia, serif;
  --font-mono: 'IBM Plex Mono', 'Noto Sans SC', Consolas, monospace;

  --line: 1.5px solid color-mix(in srgb, currentColor 22%, transparent);
  --pad: clamp(20px, 5vw, 72px);
  --container: 1400px;
  --head-h: 64px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.65, 0.05, 0, 1);
}
/* 明暗反色（对比度切换）：深海阶梯反相为浅海阶梯 */
html.alt {
  --L: #0E1B22;
  --D: #F2F5F3;
  --accent-hi: #075A9C;
  --sea1: #E6EEF3;
  --sea2: #DCE7EF;
  --sea3: #D1DEE9;
  --sea4: #C6D6E3;
  --sea5: #BACDDE;
  --sea6: #ADC3D6;
}

/* ---------- 02 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #020F18; }
/* 用 clip 代替 hidden：避免创建滚动容器导致 sticky 文件堆叠失效 */
html, body { overflow-x: clip; }

body {
  font-family: var(--font-cjk);
  font-size: 16px;
  line-height: 1.75;
  color: var(--L);
  background: transparent;
  -webkit-font-smoothing: antialiased;
}

/* 细颗粒，统一印刷质感 */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
html.alt body::after { mix-blend-mode: multiply; }

body.menu-open, body.modal-open { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
em { font-style: normal; }
i { font-style: normal; }

::selection { background: var(--accent); color: #FFF6F0; }

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

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--D); }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--L) 30%, transparent); border: 2px solid var(--D); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 500;
  padding: 10px 20px;
  background: var(--accent);
  color: var(--D);
  font-size: 14px;
  transition: top 0.3s;
}
.skip-link:focus { top: 14px; }

main { display: block; margin: 0; padding: 0; }
section[id] { scroll-margin-top: calc(var(--head-h) + 10px); }

/* 深度阶梯块面 */
.d1, .d2, .d3, .d4, .d5, .d6 { color: var(--L); }
.d1 { background: var(--sea1); }
.d2 { background: var(--sea2); }
.d3 { background: var(--sea3); }
.d4 { background: var(--sea4); }
.d5 { background: var(--sea5); }
.d6 { background: var(--sea6); }

/* 文件堆叠：向下滚动时，下一板块像抽出一份文件盖上来 */
main > section {
  position: sticky;
  top: var(--head-h);
  transform-origin: 50% 0;
  will-change: transform, filter;
  /* 板块包边：四边勾勒，与深色大背景区分 */
  border: 1.5px solid color-mix(in srgb, var(--accent-hi) 18%, transparent);
  border-top-color: color-mix(in srgb, var(--accent-hi) 35%, transparent);
  border-bottom-color: color-mix(in srgb, var(--accent-hi) 35%, transparent);
}
/* Hero 作为首页，不需要 sticky（避免 top:64px 产生空隙） */
.hero { position: relative; top: auto; border: 0; }
main > section + section {
  box-shadow:
    0 -1.5px 0 color-mix(in srgb, var(--accent-hi) 28%, transparent),
    0 -20px 36px -10px rgba(2, 8, 14, 0.3);
}

/* ---------- 03 通用组件 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding: clamp(90px, 11vh, 150px) 0; position: relative; }
.section > .container { position: relative; z-index: 1; }
.footer > .container, .footer__bottom { position: relative; z-index: 1; }

.icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  vertical-align: -0.18em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.dim { opacity: 0.62; }

/* 区头：mono 序号 + 描边幽灵字 + 实色大标题 */
.shead { position: relative; margin-bottom: clamp(48px, 6.5vw, 90px); }
.shead__mono {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.shead__mono span { color: var(--accent-hi); }
.shead__mono::after { content: ''; width: 56px; height: 1.5px; background: currentColor; opacity: 0.35; }
.shead__title { position: relative; margin-top: 22px; }
.shead__ghost {
  position: absolute;
  left: -0.05em;
  bottom: 0.18em;
  font-family: var(--font-display);
  font-size: clamp(76px, 13vw, 190px);
  line-height: 0.8;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--L) 28%, transparent);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.shead__solid {
  position: relative;
  display: block;
  padding-top: clamp(46px, 7vw, 100px);
  font-weight: 900;
  font-size: clamp(38px, 5.6vw, 80px);
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.shead__sub {
  margin-top: 22px;
  max-width: 600px;
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.9;
  opacity: 0.85;
}

/* 按钮：直角 + 硬投影 */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 30px;
  border: 1.5px solid currentColor;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn .icon { width: 15px; height: 15px; }
.btn--accent { background: var(--accent); border-color: var(--accent-hi); color: var(--D); }
.btn--accent:hover { box-shadow: 7px 7px 0 rgba(2, 8, 14, 0.5); }
.btn--accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--L); }
.btn--line:hover { box-shadow: 7px 7px 0 color-mix(in srgb, currentColor 28%, transparent); }
.btn--solid { background: var(--D); border-color: var(--D); color: var(--L); }
.btn--solid:hover { box-shadow: 7px 7px 0 var(--accent); }
.btn--ink { background: var(--D); border-color: var(--D); color: #FFF6F0; }
.btn--ink:hover { box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.4); }
.btn:not(.magnetic):hover { transform: translate(-3px, -3px); }
.btn:not(.magnetic) { transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background-color 0.25s, color 0.25s, border-color 0.25s; }
.btn:active { filter: brightness(0.92); }

/* ---------- 04 顶栏（单元格网格） ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 120;
  display: flex;
  align-items: stretch;
  height: var(--head-h);
  background: var(--D);
  color: var(--L);
  border-bottom: var(--line);
  transition: box-shadow 0.4s;
}
.site-head.scrolled { box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.55); }
.sh-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  border-right: var(--line);
}
.sh-logo .logo-mark { width: 28px; height: 28px; color: var(--L); }
.sh-logo b { font-size: 19px; font-weight: 900; letter-spacing: 0.16em; }
.sh-console {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: color-mix(in srgb, var(--L) 68%, transparent);
  overflow: hidden;
  white-space: nowrap;
}
.sh-console__prompt { color: var(--accent-hi); }
.sh-cursor {
  width: 8px;
  height: 15px;
  background: var(--accent-hi);
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.sh-menu { display: flex; align-items: stretch; }
.nav__link {
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-left: var(--line);
  font-size: 14.5px;
  letter-spacing: 0.06em;
  transition: color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.nav__link:hover { color: var(--accent-hi); background: color-mix(in srgb, var(--L) 5%, transparent); }
.nav__link.active { color: var(--accent-hi); box-shadow: inset 0 -3px 0 var(--accent-hi); }
.sh-contrast {
  width: 58px;
  display: grid;
  place-items: center;
  border-left: var(--line);
  transition: color 0.25s, background-color 0.25s;
}
.sh-contrast:hover { color: var(--accent-hi); background: color-mix(in srgb, var(--L) 5%, transparent); }
.sh-contrast .icon { width: 18px; height: 18px; }
.sh-join {
  display: flex;
  align-items: center;
  padding: 0 30px;
  border-left: var(--line);
  background: var(--accent);
  color: var(--D);
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.14em;
  transition: background-color 0.25s, color 0.25s;
}
.sh-join:hover, .sh-join.active { background: var(--accent-deep); color: var(--L); box-shadow: none; }

/* 顶栏管理员快捷按钮 */
.nav-admin-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-left: var(--line);
}
.nav-admin-actions[hidden] { display: none; }
.nav-admin-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border: 1.5px solid currentColor;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.nav-admin-btn--save {
  background: var(--accent);
  border-color: var(--accent-hi);
  color: var(--D);
}
.nav-admin-btn--save:hover { background: var(--accent-deep); color: var(--L); }
.nav-admin-btn--logout {
  background: transparent;
  border-color: color-mix(in srgb, var(--L) 25%, transparent);
  color: var(--L);
  opacity: 0.7;
}
.nav-admin-btn--logout:hover { opacity: 1; border-color: var(--L); }
.sh-toggle { display: none; position: relative; width: 58px; border-left: var(--line); }
.sh-toggle span {
  position: absolute;
  left: 18px;
  width: 22px;
  height: 2px;
  background: var(--L);
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
}
.sh-toggle span:nth-child(1) { top: 25px; }
.sh-toggle span:nth-child(2) { top: 36px; }
body.menu-open .sh-toggle span:nth-child(1) { top: 30px; transform: rotate(45deg); }
body.menu-open .sh-toggle span:nth-child(2) { top: 30px; transform: rotate(-45deg); }

/* 移动端全屏菜单 */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 8vw 48px;
  background: var(--D);
  color: var(--L);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0s 0.4s;
}
body.menu-open .mmenu { opacity: 1; visibility: visible; transition: opacity 0.4s; }
.mmenu__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border-bottom: var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.25s;
}
.mmenu__link span { font-size: clamp(30px, 7vw, 42px); font-weight: 900; letter-spacing: 0.04em; }
.mmenu__link small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; opacity: 0.55; }
.mmenu__link:hover { color: var(--accent-hi); }
body.menu-open .mmenu__link {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.08s + var(--i) * 0.08s), calc(0.08s + var(--i) * 0.08s), 0s;
}
.mmenu__foot {
  margin-top: 44px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  opacity: 0;
  transition: opacity 0.7s ease 0.4s;
}
body.menu-open .mmenu__foot { opacity: 0.5; }

/* ---------- 05 Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--head-h));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero__waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(48px, 7vh, 90px) var(--pad) 0;
}
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.tri {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid var(--accent-hi);
}
.hero__titlewrap { position: relative; margin: clamp(20px, 4vh, 44px) 0 clamp(18px, 3.5vh, 36px); }
.hero__ghost {
  position: absolute;
  left: -0.04em;
  top: -0.58em;
  font-family: var(--font-display);
  font-size: clamp(84px, 15vw, 230px);
  line-height: 0.8;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--L) 30%, transparent);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
.hero__title {
  position: relative;
  font-weight: 900;
  font-size: clamp(110px, 22vw, 330px);
  line-height: 0.96;
  letter-spacing: 0.02em;
}
.hero__title .char {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  z-index: 3;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* 入场动画期间禁止交互，避免鼠标挡住动画 */
.hero__title.entering .char {
  pointer-events: none;
}
.hero__title .char:active { cursor: grabbing; }
.hero__title .char.dragging {
  cursor: grabbing;
  z-index: 10;
  transition: none;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent-hi) 60%, transparent));
}
/* 浮板：hover 时字体内层像漂在海面上的浮板一样起伏 */
.hero__title .char:not(.dragging):hover .char-inner {
  animation: float-board 1.8s ease-in-out infinite;
}
@keyframes float-board {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  15% {
    transform: translateY(-6px) rotate(1.2deg);
  }
  30% {
    transform: translateY(-2px) rotate(1.8deg);
  }
  45% {
    transform: translateY(-8px) rotate(0.4deg);
  }
  60% {
    transform: translateY(-3px) rotate(-1.2deg);
  }
  75% {
    transform: translateY(-7px) rotate(-0.8deg);
  }
  90% {
    transform: translateY(-1px) rotate(0.6deg);
  }
}
.hero__title .char-inner { display: inline-block; will-change: transform; }
.hero__serif {
  position: relative;
  margin-top: clamp(16px, 3vh, 30px);
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.1vw, 42px);
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.hero__serif em { color: var(--accent-hi); }
.hero__asterisk { color: var(--accent-hi); font-family: var(--font-display); }
.hero__sub {
  max-width: 580px;
  font-size: 15.5px;
  line-height: 2.05;
  color: color-mix(in srgb, var(--L) 72%, transparent);
}
.hero__actions { margin-top: clamp(30px, 4.5vh, 44px); display: flex; gap: 16px; flex-wrap: wrap; }
.hero__meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  border-top: var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
}
.hero__meta span, .hero__meta a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px 16px 0;
  margin-right: 26px;
  border-right: var(--line);
}
.hero__meta span:last-of-type { border-right: 0; }
.hero__meta b { color: var(--accent-hi); font-weight: 500; }
.hero__meta a { margin-left: auto; margin-right: 0; border-right: 0; padding-right: 0; transition: color 0.25s; }
.hero__meta a:hover { color: var(--accent-hi); }
.hero__scroll {
  position: absolute;
  right: 26px;
  bottom: 110px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  writing-mode: vertical-rl;
  opacity: 0.55;
}
.hero__scroll i {
  width: 1.5px;
  height: 56px;
  background: color-mix(in srgb, var(--L) 40%, transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: '';
  position: absolute;
  left: 0;
  top: -30%;
  width: 100%;
  height: 30%;
  background: var(--accent-hi);
  animation: scrollDot 2.6s var(--ease-smooth) infinite;
}
@keyframes scrollDot { 0% { top: -30%; } 62%, 100% { top: 112%; } }

/* 入场编排（JS 可用时才隐藏） */
.js .hero .rise { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(0.4s + var(--i, 0) * 0.14s); }
.js body.is-ready .hero .rise { opacity: 1; transform: none; }
.js .hero__title .char-inner {
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(0.3s + var(--i) * 0.11s);
}
.js body.is-ready .hero__title .char-inner {
  transform: translateY(0);
}
.js .hero__ghost { opacity: 0; transition: opacity 1.4s ease 0.9s; }
.js body.is-ready .hero__ghost { opacity: 1; }

/* ---------- 06 文件头（标签 + 二进制 + 条纹） ---------- */
.file-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 var(--pad);
  height: 54px;
  border-bottom: var(--line);
  overflow: hidden;
}
.file-head__tab {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent-hi);
  white-space: nowrap;
}
.file-head__tab .tri { border-left-width: 9px; border-top-width: 5.5px; border-bottom-width: 5.5px; }
.file-head .binstrip__code {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  white-space: nowrap;
  opacity: 0.7;
}
.file-head .binstrip__code .b1 { color: var(--accent-hi); opacity: 1; }
.file-head__stripes {
  flex: 1;
  height: 9px;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, currentColor 45%, transparent) 0 2px, transparent 2px 9px);
}
@media (max-width: 720px) {
  .file-head .binstrip__code { display: none; }
}

/* ---------- 07 关于我们 ---------- */
.about__lede {
  max-width: 1080px;
  font-family: var(--font-serif);
  font-size: clamp(27px, 4vw, 56px);
  line-height: 1.55;
  letter-spacing: 0.01em;
}
.about__lede em { color: var(--accent-hi); }
.about__desc {
  margin-top: 34px;
  max-width: 600px;
  font-size: 15.5px;
  line-height: 2.05;
  opacity: 0.72;
}
.values { margin-top: clamp(64px, 8vw, 110px); border-top: var(--line); }
.values li {
  display: grid;
  grid-template-columns: 72px minmax(180px, 0.85fr) 1.35fr auto;
  align-items: baseline;
  gap: 26px;
  padding: clamp(26px, 3.2vw, 42px) 0;
  border-bottom: var(--line);
  transition: background-color 0.25s, padding-left 0.25s;
}
.values li:hover { background: color-mix(in srgb, currentColor 5%, transparent); padding-left: 16px; }
.values__idx { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.2em; color: var(--accent-hi); }
.values h3 { font-size: clamp(23px, 2.5vw, 34px); font-weight: 900; letter-spacing: 0.06em; }
.values p { font-size: 15px; line-height: 2; opacity: 0.72; max-width: 520px; }
.values__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; opacity: 0.5; }

/* ---------- 08 社区成员（MC 皮肤卡片） ---------- */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 22px;
}
.member-card {
  position: relative;
  border: var(--line);
  text-align: center;
  padding: 32px 18px 22px;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
  overflow: hidden;
}
.member-card:hover { border-color: var(--accent-hi); box-shadow: 8px 8px 0 rgba(2,8,14,.45); }
.member-card__avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 4px;
  display: block;
  image-rendering: pixelated;
  background: color-mix(in srgb, var(--D) 50%, transparent);
}
.member-card__avatar--broken {
  opacity: 0.45;
}
.member-card__id {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent-hi);
}
/* NameMC 皮肤链接 */
.member-card__skin-link {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.45;
  transition: opacity 0.25s, color 0.25s;
}
.member-card__skin-link:hover { opacity: 1; color: var(--accent-hi); }
.member-card__note {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: var(--line);
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.68;
  min-height: 20px;
}
/* 管理员添加成员弹窗 */
.member-add-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.member-add-form .admin-pwd-input { flex: 1; }
.member-card--add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-style: dashed;
  cursor: pointer;
  gap: 10px;
  color: color-mix(in srgb, var(--L) 45%, transparent);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.member-card--add:hover { color: var(--accent-hi); border-color: var(--accent-hi); background: color-mix(in srgb, var(--L) 4%, transparent); }

/* ---------- 08b 图像加载失败回退 ---------- */
img[src]:not([src=""]):not([src^="data:"]) {
  position: relative;
}
img.showcase-card__img::before,
img.member-card__avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--D) 40%, transparent);
}

/* ---------- 09 机器地址（深海中的浮标蓝终端） ---------- */
.terminal {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vw, 54px);
  background: var(--accent);
  color: var(--D);
  border: 2px solid var(--D);
  box-shadow: 14px 14px 0 color-mix(in srgb, var(--D) 80%, transparent);
}
.terminal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
}
.terminal__head b { font-weight: 500; }
.terminal__status { display: inline-flex; align-items: center; gap: 10px; }
.sqdot { width: 9px; height: 9px; background: var(--D); animation: sqblink 2.8s steps(2, start) infinite; }
@keyframes sqblink { 50% { opacity: 0.25; } }
.sqdot--off { background: var(--accent-deep); }
.terminal__label {
  margin-top: 34px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.72;
}
.terminal__row {
  position: relative;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.terminal__address {
  font-family: var(--font-display);
  font-size: clamp(30px, 6.2vw, 82px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  word-break: break-all;
}
.copybtn .icon-check { display: none; }
.copybtn.copied { background: var(--foam); border-color: var(--foam); color: var(--D); }
.copybtn.copied .icon-copy { display: none; }
.copybtn.copied .icon-check { display: inline-block; }
.ripple-ring {
  position: absolute;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid var(--D);
  pointer-events: none;
  animation: ringOut 1s var(--ease-out) forwards;
}
.ripple-ring--late { animation-delay: 0.15s; opacity: 0.6; }
@keyframes ringOut { 0% { transform: scale(0.4); opacity: 1; } 100% { transform: scale(16); opacity: 0; } }
.terminal__stats {
  margin-top: clamp(30px, 3.6vw, 46px);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  border: var(--line);
}
.stat { padding: 22px 26px; border-right: var(--line); }
.stat:last-child { border-right: 0; }
.stat__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.24em; opacity: 0.7; }
.stat__num { margin-top: 10px; font-family: var(--font-mono); font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; line-height: 1.1; }
.stat__num small { font-size: 0.45em; opacity: 0.65; }
.stat__num--status { display: flex; align-items: center; gap: 12px; font-size: clamp(18px, 1.8vw, 24px); }
.stat__num--status .sqdot { animation: none; }
.stat__bar { margin-top: 16px; height: 6px; background: color-mix(in srgb, var(--D) 18%, transparent); }
.stat__bar i { display: block; height: 100%; width: 0; background: var(--D); transition: width 1.6s var(--ease-smooth) 0.3s; }

/* ---------- 10 加入我们 ---------- */
.join__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 72px); }
.joinlist { border-top: var(--line); }
.jrow {
  display: grid;
  grid-template-columns: 52px 26px 1fr auto 22px;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 24px 0;
  border-bottom: var(--line);
  text-align: left;
  transition: background-color 0.25s, color 0.25s, padding 0.25s;
}
.jrow:hover { background: var(--D); color: var(--L); padding-left: 18px; padding-right: 18px; }
.jrow__idx { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--accent-hi); }
.jrow__icon { width: 20px; height: 20px; }
.jrow__label { font-size: 17px; font-weight: 700; letter-spacing: 0.04em; }
.jrow__value { font-family: var(--font-mono); font-size: 12.5px; opacity: 0.6; }
.jrow__arrow { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.jrow:hover .jrow__arrow { transform: translate(3px, -3px); color: var(--accent-hi); }

/* 管理员：加入方式行编辑按钮 */
.admin-edit-join {
  display: none;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid color-mix(in srgb, var(--L) 30%, transparent);
  font-family: var(--font-mono);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
  background: transparent;
  color: var(--L);
}
.admin-edit-join:hover { border-color: var(--accent-hi); color: var(--accent-hi); background: color-mix(in srgb, var(--L) 5%, transparent); }
.admin-mode .admin-edit-join { display: flex; }
.admin-mode .jrow { grid-template-columns: 52px 26px 1fr auto auto 22px; }
.admin-mode .jrow__arrow { display: none; }
.admin-edit-detail { display: none; }
.admin-mode .admin-edit-detail { display: inline-flex; }

/* 加入方式行内编辑面板 */
.join-edit-panel {
  padding: 20px 24px;
  border-bottom: var(--line);
  background: color-mix(in srgb, var(--D) 45%, transparent);
  display: none;
}
.join-edit-panel.open { display: block; }
.join-edit-panel label {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0.5;
  text-transform: uppercase;
}
.join-edit-panel label:first-child { margin-top: 0; }
.join-edit-panel input {
  width: 100%;
  margin-top: 4px;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--L) 8%, transparent);
  color: var(--L);
  border: var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  transition: border-color 0.25s;
}
.join-edit-panel input:focus { border-color: var(--accent-hi); outline: none; }
.join-edit-panel .join-edit-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.join-edit-panel .btn { padding: 10px 20px; font-size: 12px; }

/* ---------- 11 弹窗 / 提示 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--D) 72%, transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.modal.open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative;
  width: min(620px, 100%);
  max-height: 86vh;
  overflow: auto;
  padding: clamp(26px, 3.6vw, 42px);
  background: var(--D);
  color: var(--L);
  border: 2px solid var(--L);
  box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s, transform 0.5s var(--ease-out);
}
.modal.open .modal__panel { opacity: 1; transform: none; }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.modal__head h3 { font-size: 28px; font-weight: 900; letter-spacing: 0.06em; }
.modal__head p { margin-top: 8px; font-family: var(--font-serif); font-size: 15px; opacity: 0.75; }
.modal__close {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: var(--line);
  transition: color 0.25s, background-color 0.25s;
}
.modal__close:hover { color: var(--accent-hi); background: color-mix(in srgb, var(--L) 6%, transparent); }
.modal__close .icon { width: 15px; height: 15px; }
.modal__list { margin-top: 28px; border-top: var(--line); }
.modal__list li { opacity: 0; transform: translateY(12px); }
.modal.open .modal__list li { animation: mItem 0.5s var(--ease-out) forwards; animation-delay: calc(0.12s + var(--i) * 0.06s); }
@keyframes mItem { to { opacity: 1; transform: none; } }
.jitem {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 0;
  border-bottom: var(--line);
  text-align: left;
  transition: background-color 0.25s, color 0.25s, padding 0.25s;
}
.jitem:hover { background: color-mix(in srgb, var(--L) 6%, transparent); padding-left: 12px; padding-right: 12px; }
.jitem__icon { width: 46px; height: 46px; display: grid; place-items: center; border: var(--line); color: var(--accent-hi); }
.jitem__icon .icon { width: 20px; height: 20px; }
.jitem__body strong { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: 0.04em; }
.jitem__body em { display: block; margin-top: 3px; font-family: var(--font-mono); font-size: 12.5px; color: var(--accent-hi); }
.jitem__body small { display: block; margin-top: 4px; font-size: 12px; opacity: 0.6; }
.jitem__action {
  padding: 9px 18px;
  border: var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.jitem:hover .jitem__action { background: var(--accent); border-color: var(--accent-hi); color: var(--D); }
.jitem__action--go { display: inline-flex; align-items: center; gap: 6px; }
.modal__note { margin-top: 24px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; opacity: 0.5; text-align: center; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  z-index: 400;
  max-width: min(88vw, 520px);
  padding: 15px 28px;
  background: var(--D);
  color: var(--L);
  border: var(--line);
  border-left: 5px solid var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 0.35s, transform 0.35s var(--ease-out);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 12 页脚 ---------- */
.footer {
  position: relative;
  overflow: hidden;
  border: 1.5px solid color-mix(in srgb, var(--accent-hi) 18%, transparent);
  border-top-color: color-mix(in srgb, var(--accent-hi) 35%, transparent);
  border-bottom-color: color-mix(in srgb, var(--accent-hi) 35%, transparent);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  padding-top: clamp(56px, 8vw, 96px);
}
.footer__brand .logo-mark { width: 42px; height: 42px; color: var(--L); }
.footer__name { margin-top: 20px; font-size: 24px; font-weight: 900; letter-spacing: 0.2em; }
.footer__en { margin-top: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.34em; opacity: 0.6; }
.footer__slogan { margin-top: 18px; font-family: var(--font-serif); font-size: 15px; opacity: 0.75; }
.footer__col h4 { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.28em; opacity: 0.55; margin-bottom: 22px; }
.footer__col li + li { margin-top: 13px; }
.footer__col a { font-size: 14.5px; opacity: 0.85; transition: color 0.25s, opacity 0.25s; }
.footer__col a:hover { color: var(--accent-hi); opacity: 1; }
.footer__bottom {
  margin-top: clamp(50px, 6vw, 80px);
  padding: 26px var(--pad);
  border-top: var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.75;
}
.footer__icp { opacity: 0.7; }
.footer__top-link { display: inline-flex; align-items: center; gap: 8px; transition: color 0.25s; }
.footer__top-link:hover { color: var(--accent-hi); }
.footer__mark {
  margin: clamp(30px, 4vw, 50px) auto -0.16em;
  text-align: center;
  font-weight: 900;
  font-size: clamp(150px, 26vw, 400px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--L) 14%, transparent);
  user-select: none;
  pointer-events: none;
}

/* ---------- 13 机器展示 ---------- */
.admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 22px;
  margin-bottom: 26px;
  background: var(--accent);
  color: var(--D);
  border: 2px solid var(--D);
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--D) 60%, transparent);
}
.admin-bar[hidden] { display: none; }
.admin-bar__status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
}
.admin-dot {
  width: 8px; height: 8px;
  background: var(--D);
  animation: sqblink 2.8s steps(2, start) infinite;
}
.admin-bar__actions { display: flex; gap: 10px; flex-wrap: wrap; }
/* 子板块管理栏（更紧凑） */
.admin-bar--sub {
  margin-top: 0;
  margin-bottom: 0;
  padding: 10px 22px;
  background: color-mix(in srgb, var(--accent) 50%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--accent-hi) 35%, transparent);
  box-shadow: none;
  font-size: 12px;
}
.admin-bar--sub .admin-bar__status { font-size: 11px; }
.admin-bar--sub .admin-bar__hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.65;
}
.admin-btn { padding: 9px 18px !important; font-size: 12.5px !important; }
.admin-bar .btn--accent { background: var(--D); border-color: var(--D); color: var(--L); }
.admin-bar .btn--accent:hover { background: var(--L); color: var(--D); }
.admin-bar .btn--line { border-color: var(--D); color: var(--D); }
.admin-bar .btn--line:hover { background: var(--D); color: var(--L); }

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.showcase-card {
  position: relative;
  border: var(--line);
  cursor: default;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  overflow: hidden;
}
.showcase-card:hover { border-color: var(--accent-hi); box-shadow: 8px 8px 0 rgba(2,8,14,.45); }
.showcase-card--add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  border-style: dashed;
  cursor: pointer;
  gap: 12px;
  color: color-mix(in srgb, var(--L) 45%, transparent);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.showcase-card--add:hover { color: var(--accent-hi); border-color: var(--accent-hi); background: color-mix(in srgb, var(--L) 4%, transparent); }
.showcase-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: color-mix(in srgb, var(--D) 60%, transparent);
}
.showcase-card__body { padding: 18px 22px 22px; }
.showcase-card__title {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.35;
}
.showcase-card__desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.85;
  opacity: 0.68;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 管理员模式下的编辑遮罩 */
.showcase-card__overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--D) 70%, transparent);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
  pointer-events: none;
}
.admin-mode .showcase-card:not(.showcase-card--add) { cursor: pointer; }
.admin-mode .showcase-card:not(.showcase-card--add):hover .showcase-card__overlay { opacity: 1; }
.showcase-card__edit-hint {
  color: var(--L);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  padding: 10px 24px;
  border: 1.5px solid var(--L);
}

.showcase-empty {
  text-align: center;
  padding: 48px 20px;
  font-family: var(--font-serif);
  font-size: 17px;
  opacity: 0.5;
}

/* 图片灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: color-mix(in srgb, var(--D) 92%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: pointer;
}
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 0 80px rgba(0,0,0,.6);
}

/* 管理员模式：可编辑文字 — 用虚线下划线替代背景色块，不遮挡板块背景 */
.admin-mode [data-edit] {
  cursor: text;
  transition: box-shadow 0.2s, text-decoration-color 0.2s;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  outline: none;
}
.admin-mode [data-edit]:hover {
  text-decoration-color: color-mix(in srgb, var(--accent-hi) 55%, transparent);
}
.admin-mode [data-edit]:focus {
  text-decoration-color: var(--accent-hi);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-hi) 30%, transparent);
}

/* 管理员模式：子板块增删控件 */
.admin-del-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--D);
  color: var(--L);
  border: 1.5px solid color-mix(in srgb, var(--L) 35%, transparent);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.admin-del-btn:hover { background: #c0392b; border-color: #c0392b; color: #fff; }
.admin-mode .values li,
.admin-mode .cell { position: relative; }
.admin-mode .admin-del-btn { display: flex; }
.admin-mode .values li:hover .admin-del-btn,
.admin-mode .cell:hover .admin-del-btn { display: flex; }

.admin-add-btn {
  display: none;
  width: 100%;
  padding: 16px;
  border: 1.5px dashed color-mix(in srgb, var(--L) 30%, transparent);
  color: color-mix(in srgb, var(--L) 45%, transparent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
  margin-top: 8px;
}
.admin-add-btn:hover { border-color: var(--accent-hi); color: var(--accent-hi); background: color-mix(in srgb, var(--L) 4%, transparent); }
.admin-mode .admin-add-btn { display: block; }

/* 管理员登录弹窗 */
.admin-pwd-input {
  width: 100%;
  padding: 14px 18px;
  background: color-mix(in srgb, var(--L) 8%, transparent);
  color: var(--L);
  border: var(--line);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: border-color 0.25s, background-color 0.25s;
}
.admin-pwd-input:focus { border-color: var(--accent-hi); outline: none; background: color-mix(in srgb, var(--L) 13%, transparent); }
.admin-pwd-input::placeholder { color: color-mix(in srgb, var(--L) 35%, transparent); }
.admin-login-err {
  margin-top: 10px;
  color: var(--accent-hi);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.admin-login-err[hidden] { display: none; }

/* 编辑弹窗 */
.edit-label {
  display: block;
  margin-top: 18px;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  opacity: 0.55;
  text-transform: uppercase;
}
.edit-label:first-child { margin-top: 0; }
.edit-img-zone {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s, background-color 0.25s;
}
.edit-img-zone:hover { border-color: var(--accent-hi); background: color-mix(in srgb, var(--L) 5%, transparent); }
.edit-img-zone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.edit-img-zone img[hidden] { display: none; }
.edit-img-zone span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  opacity: 0.55;
}
.edit-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

/* ---------- 14 背景纹理 / 艺术字 / 动效 / 响应式 ---------- */

/* 条形动态波浪纹（各板块背景） */
.bg-bars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 页脚砖块废墟（沉海遗迹） */
.footer__bricks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='56' viewBox='0 0 112 56'%3E%3Cg fill='none' stroke='%23F2F5F3' stroke-opacity='0.09' stroke-width='1.5'%3E%3Crect x='1' y='1' width='54' height='26'/%3E%3Crect x='57' y='1' width='54' height='26'/%3E%3Crect x='-27' y='29' width='54' height='26'/%3E%3Crect x='29' y='29' width='54' height='26'/%3E%3Crect x='85' y='29' width='54' height='26'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 62%);
  mask-image: linear-gradient(180deg, transparent 0%, black 62%);
}
html.alt .footer__bricks {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='56' viewBox='0 0 112 56'%3E%3Cg fill='none' stroke='%230E1B22' stroke-opacity='0.10' stroke-width='1.5'%3E%3Crect x='1' y='1' width='54' height='26'/%3E%3Crect x='57' y='1' width='54' height='26'/%3E%3Crect x='-27' y='29' width='54' height='26'/%3E%3Crect x='29' y='29' width='54' height='26'/%3E%3Crect x='85' y='29' width='54' height='26'/%3E%3C/g%3E%3C/svg%3E");
}

/* 解构艺术字标 */
.artmark { display: block; height: 30px; width: auto; color: var(--L); }
.footer__brand .artmark { height: 46px; margin-bottom: 4px; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease-out) var(--d, 0s), transform 0.85s var(--ease-out) var(--d, 0s);
  will-change: opacity, transform;
}
.js [data-reveal].is-inview { opacity: 1; transform: none; }

.only-desktop { display: inline; }

@media (max-width: 1080px) {
  .sh-console { display: none; }
  .values li { grid-template-columns: 60px 1fr auto; }
  .values p { grid-column: 2; }
}

@media (max-width: 920px) {
  .members-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --head-h: 56px; }
  .sh-menu, .sh-join { display: none; }
  .sh-toggle { display: block; }
  .terminal__stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: var(--line); }
  .stat:last-child { border-bottom: 0; }
  .hero__scroll { display: none; }
}

@media (max-width: 720px) {
  .only-desktop { display: none; }
  .hero__kicker { flex-wrap: wrap; row-gap: 10px; letter-spacing: 0.18em; font-size: 11.5px; }
  .hero__kicker .dim { flex-basis: 100%; }
  .values li { grid-template-columns: 1fr; gap: 10px; }
  .values p { grid-column: auto; }
  .jrow { grid-template-columns: 40px 22px 1fr 20px; gap: 14px; }
  .jrow__value { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero__actions .btn, .join__actions .btn { width: 100%; }
  .hero__meta a { display: none; }
  .terminal__row { flex-direction: column; align-items: stretch; }
  .copybtn { width: 100%; }
}

@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;
    transition-delay: 0s !important;
  }
  .js [data-reveal], .js .hero .rise, .js .hero__ghost { opacity: 1; transform: none; }
  .js .hero__title .char-inner { transform: none; }
  .splash-particle { animation-duration: 0.001s !important; }
}

/* ---------- 15 拖拽浪花粒子 ---------- */
.splash-particle {
  position: fixed;
  pointer-events: none;
  z-index: 150;
  border-radius: 50%;
  animation: splashOut 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes splashOut {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  60% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translate(var(--sx), var(--sy)) scale(0);
  }
}

/* ---------- 16 深蓝色大背景 ---------- */
.deep-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 100% at 50% 0%, #0E2D44 0%, #091F2E 35%, #051620 65%, #020F18 100%);
}
.deep-bg__glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 90% 35% at 50% 25%, rgba(10, 132, 219, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 50% 30% at 75% 65%, rgba(10, 132, 219, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 40% 25% at 25% 55%, rgba(56, 168, 242, 0.03) 0%, transparent 50%);
}
.deep-bg__text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: 900;
  font-size: clamp(280px, 40vw, 600px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: rgba(242, 245, 243, 0.015);
  white-space: nowrap;
  user-select: none;
  text-shadow: 0 0 120px rgba(10, 132, 219, 0.04);
}
/* 反色主题 */
html.alt .deep-bg {
  background:
    radial-gradient(ellipse 120% 100% at 50% 0%, #EAF0F5 0%, #DEE7EF 35%, #CFD9E3 65%, #C6D6E3 100%);
}
html.alt .deep-bg__glow {
  background:
    radial-gradient(ellipse 90% 35% at 50% 25%, rgba(7, 90, 156, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 50% 30% at 75% 65%, rgba(7, 90, 156, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 40% 25% at 25% 55%, rgba(14, 27, 34, 0.02) 0%, transparent 50%);
}
html.alt .deep-bg__text {
  color: rgba(14, 27, 34, 0.015);
  text-shadow: 0 0 120px rgba(7, 90, 156, 0.03);
}
