/* ==========================================================================
   LINGYU · 灵域数字空间  全站样式表
   版本：v1.0.0
   特性：Web3 极简科技美学 / 深色基底 / 纯静态 / 零外部依赖
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  /* 色彩：深空基底 + 链青色主色 */
  --bg-0: #06080f;
  --bg-1: #0a0e1a;
  --bg-2: #0f1424;
  --bg-3: #161c30;

  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);

  --txt-0: #eef2ff;
  --txt-1: #aab4d4;
  --txt-2: #6f7a9c;

  --chain: #38e0c8;
  --chain-2: #4f8cff;
  --violet: #9a6bff;
  --amber: #ffb547;

  --grad-chain: linear-gradient(120deg, #38e0c8 0%, #4f8cff 55%, #9a6bff 100%);
  --grad-soft: linear-gradient(140deg, rgba(56, 224, 200, .12), rgba(154, 107, 255, .10));

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --r-full: 999px;

  --shadow-1: 0 8px 30px rgba(0, 0, 0, .45);
  --shadow-glow: 0 0 0 1px rgba(56, 224, 200, .25), 0 0 40px rgba(56, 224, 200, .12);

  --maxw: 1180px;
  --nav-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
          "Noto Sans CJK SC", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Consolas, "Courier New", monospace;
}

/* 浅色主题覆盖 */
html[data-theme="light"] {
  --bg-0: #f6f8fc;
  --bg-1: #ffffff;
  --bg-2: #f0f3fa;
  --bg-3: #e6ebf5;
  --line: rgba(10, 20, 45, .09);
  --line-strong: rgba(10, 20, 45, .18);
  --txt-0: #0d1428;
  --txt-1: #4a5570;
  --txt-2: #7e88a0;
  --chain: #0f9e8a;
  --chain-2: #2f6be0;
  --shadow-1: 0 8px 30px rgba(20, 35, 70, .10);
  --shadow-glow: 0 0 0 1px rgba(15, 158, 138, .25), 0 0 40px rgba(15, 158, 138, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--txt-0);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 背景光晕层 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(760px 520px at 12% -5%, rgba(56, 224, 200, .13), transparent 65%),
    radial-gradient(680px 480px at 92% 8%, rgba(154, 107, 255, .13), transparent 65%),
    radial-gradient(900px 600px at 50% 105%, rgba(79, 140, 255, .08), transparent 65%);
  pointer-events: none;
}

/* 网格纹理层 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .5;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 35%, transparent 100%);
}

/* ==========================================================================
   深海动态背景 (Aqua)
   ========================================================================== */
.aqua-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  display: block;
  opacity: 0;
  animation: aqua-in 1.2s var(--ease) forwards;
}
@keyframes aqua-in { to { opacity: .92; } }

/* 开启动态背景时，弱化原有的静态光晕与网格，避免画面杂乱 */
html.has-aqua body::before { opacity: .4; transition: opacity .6s; }
html.has-aqua body::after { opacity: .16; transition: opacity .6s; }

/* 手机壳模式：背景仅作为机身周围的氛围，稍微压暗 */
html.has-aqua.has-shell .aqua-bg { opacity: .72; }
html.has-aqua.has-shell body::before { opacity: .5; }
html.has-aqua.has-shell body::after { opacity: .1; }

@media (prefers-reduced-motion: reduce) {
  .aqua-bg { animation: none; opacity: .8; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(56, 224, 200, .3); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 8px; border: 2px solid var(--bg-1); }
::-webkit-scrollbar-thumb:hover { background: var(--line-strong); }

/* ---------- 排版 ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5.2vw, 54px); letter-spacing: -.03em; }
h2 { font-size: clamp(23px, 3.4vw, 34px); letter-spacing: -.02em; }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }

.grad-text {
  background: var(--grad-chain);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.mono { font-family: var(--mono); font-size: .86em; letter-spacing: .02em; }
.dim { color: var(--txt-1); }
.faint { color: var(--txt-2); }

/* ---------- 布局 ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; position: relative; }
.section--tight { padding: 56px 0; }

.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg-0) 78%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav__in { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad-chain);
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: #04121a;
  box-shadow: 0 4px 18px rgba(56, 224, 200, .3);
}
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 700; font-size: 15px; letter-spacing: .01em; }
.brand__sub { font-size: 10px; color: var(--txt-2); letter-spacing: .16em; text-transform: uppercase; }

.nav__links { display: flex; gap: 3px; margin-left: auto; flex-wrap: wrap; }
.nav__links a {
  padding: 7px 13px; border-radius: var(--r-full);
  font-size: 13.5px; color: var(--txt-1);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--txt-0); background: var(--bg-2); }
.nav__links a[aria-current="page"] { color: var(--chain); background: rgba(56, 224, 200, .1); }

.nav__tools { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg-1);
  color: var(--txt-1); cursor: pointer;
  display: grid; place-items: center;
  transition: all .2s;
}
.icon-btn:hover { color: var(--chain); border-color: var(--line-strong); transform: translateY(-1px); }

.nav__burger { display: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--line-strong); background: transparent; color: var(--txt-0);
  transition: all .22s var(--ease);
  font-family: inherit;
}
.btn:hover { border-color: var(--chain); color: var(--chain); transform: translateY(-2px); }
.btn--primary {
  background: var(--grad-chain); color: #04121a; border-color: transparent;
  box-shadow: 0 6px 24px rgba(56, 224, 200, .26);
}
.btn--primary:hover { color: #04121a; box-shadow: 0 10px 32px rgba(56, 224, 200, .38); }
.btn--ghost { border-color: var(--line); color: var(--txt-1); font-weight: 500; }
.btn--sm { padding: 7px 15px; font-size: 13px; }

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 26px;
  overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s, box-shadow .28s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--chain), transparent);
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.card:hover::before { opacity: .8; }
.card__ico {
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--grad-soft); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--chain);
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 9px; }
.card p { color: var(--txt-1); font-size: 14px; margin: 0; }

/* 卡片序号 */
.card__idx {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--mono); font-size: 12px; color: var(--txt-2); letter-spacing: .1em;
}

/* ---------- 徽章 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: var(--r-full);
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  background: var(--bg-3); color: var(--txt-1);
  border: 1px solid var(--line);
}
.badge--chain { background: rgba(56, 224, 200, .12); color: var(--chain); border-color: rgba(56, 224, 200, .28); }
.badge--violet { background: rgba(154, 107, 255, .12); color: var(--violet); border-color: rgba(154, 107, 255, .28); }
.badge--amber { background: rgba(255, 181, 71, .12); color: var(--amber); border-color: rgba(255, 181, 71, .28); }
.badge--dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 8px currentColor;
}

/* ---------- 页头区 ---------- */
.pagehead { padding: 76px 0 46px; border-bottom: 1px solid var(--line); }
.pagehead__eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--chain); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.pagehead__eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--chain);
}
.pagehead p { color: var(--txt-1); max-width: 700px; margin-top: 16px; font-size: 15.5px; }
.pagehead__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- 区块标题 ---------- */
.sechead { margin-bottom: 38px; max-width: 720px; }
.sechead__label {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--txt-2); margin-bottom: 12px;
}
.sechead h2 { margin-bottom: 13px; }
.sechead p { color: var(--txt-1); font-size: 15px; margin: 0; }
.sechead--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- 首页英雄区 ---------- */
.hero { padding: 92px 0 68px; position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.hero h1 { margin-bottom: 20px; }
.hero__lead { color: var(--txt-1); font-size: 16.5px; max-width: 540px; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__meta { display: flex; gap: 30px; flex-wrap: wrap; }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta b { font-size: 24px; font-weight: 700; font-family: var(--mono); }
.hero__meta span { font-size: 12px; color: var(--txt-2); letter-spacing: .06em; }

/* ---------- 数字空间可视化（核心视觉） ---------- */
.orb {
  position: relative;
  width: 100%;              /* 显式宽度，否则作为 grid 项时 aspect-ratio 无法推导尺寸 */
  max-width: 440px;
  margin: 0 auto;
  aspect-ratio: 1;
  display: grid; place-items: center;
  justify-self: center;
}
.orb__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.orb__ring--1 { animation: spin 26s linear infinite; border-top-color: var(--chain); border-right-color: transparent; }
.orb__ring--2 { inset: 12%; animation: spin 18s linear infinite reverse; border-bottom-color: var(--violet); border-left-color: transparent; }
.orb__ring--3 { inset: 24%; animation: spin 12s linear infinite; border-top-color: var(--chain-2); }
.orb__ring--4 { inset: 36%; border-style: dashed; animation: spin 34s linear infinite reverse; }

.orb__core {
  width: 34%; aspect-ratio: 1; border-radius: 50%;
  background: var(--grad-chain);
  filter: blur(.4px);
  box-shadow: 0 0 70px rgba(56, 224, 200, .42), inset 0 0 40px rgba(255, 255, 255, .28);
  display: grid; place-items: center;
  animation: pulse 4.5s ease-in-out infinite;
}
.orb__core span {
  font-family: var(--mono); font-weight: 800; font-size: 13px;
  color: #04121a; letter-spacing: .1em;
}
.orb__sat {
  position: absolute; width: 11px; height: 11px; border-radius: 50%;
  background: var(--chain); box-shadow: 0 0 14px var(--chain);
}
.orb__sat--a { top: 6%; left: 50%; animation: orbitA 14s linear infinite; }
.orb__sat--b { bottom: 14%; left: 12%; background: var(--violet); box-shadow: 0 0 14px var(--violet); animation: orbitB 19s linear infinite; }
.orb__sat--c { top: 40%; right: 4%; background: var(--amber); box-shadow: 0 0 14px var(--amber); animation: orbitC 23s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes orbitA { from { transform: rotate(0) translateX(0); } to { transform: rotate(360deg) translateX(0); } }
@keyframes orbitB { 0%,100% { transform: translate(0,0); } 50% { transform: translate(16px,-14px); } }
@keyframes orbitC { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-14px,12px); } }

/* ---------- 终端窗口 ---------- */
.term {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r-m); overflow: hidden; font-family: var(--mono);
  box-shadow: var(--shadow-1);
}
.term__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.term__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-3); }
.term__dot:nth-child(1) { background: #ff5f57; }
.term__dot:nth-child(2) { background: #febc2e; }
.term__dot:nth-child(3) { background: #28c840; }
.term__title { margin-left: 8px; font-size: 11.5px; color: var(--txt-2); }
.term__body { padding: 16px; font-size: 12.5px; line-height: 1.85; }
.term__line { display: flex; gap: 9px; }
.term__ln { color: var(--txt-2); user-select: none; min-width: 20px; text-align: right; }
.term__k { color: var(--violet); }
.term__s { color: var(--chain); }
.term__n { color: var(--amber); }
.term__c { color: var(--txt-2); }

/* ---------- 作品卡片 ---------- */
.work {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r-l); overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s, box-shadow .28s;
  display: flex; flex-direction: column;
}
.work:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.work__cover {
  aspect-ratio: 16 / 10; position: relative;
  display: grid; place-items: center; overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.work__cover-inner {
  width: 100%; height: 100%; position: absolute; inset: 0;
  opacity: .95;
}
.work__cover svg { width: 100%; height: 100%; }
.work__no {
  position: absolute; bottom: 12px; right: 14px;
  font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.75);
  background: rgba(6,8,15,.6); padding: 3px 9px; border-radius: var(--r-full);
  backdrop-filter: blur(6px);
}
.work__body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.work__cats { display: flex; gap: 7px; margin-bottom: 12px; flex-wrap: wrap; }
.work__body h3 { font-size: 16.5px; margin-bottom: 9px; }
.work__body p { color: var(--txt-1); font-size: 13.5px; margin: 0 0 16px; flex: 1; }
.work__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--txt-2); font-family: var(--mono);
}

/* ---------- 视频卡片 ---------- */
.video {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r-l); overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s;
}
.video:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.video__thumb {
  aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center;
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.video__thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.video__play {
  position: relative; z-index: 2;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(6, 8, 15, .55); backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, .5);
  display: grid; place-items: center; color: #fff;
  transition: transform .25s var(--ease), background .25s;
}
.video:hover .video__play { transform: scale(1.1); background: rgba(56, 224, 200, .3); border-color: var(--chain); }
.video__dur {
  position: absolute; bottom: 10px; right: 12px; z-index: 2;
  font-family: var(--mono); font-size: 11px; color: #fff;
  background: rgba(6, 8, 15, .72); padding: 2px 8px; border-radius: 5px;
}
.video__body { padding: 17px 19px 20px; }
.video__body h3 { font-size: 15.5px; margin-bottom: 8px; }
.video__body p { color: var(--txt-1); font-size: 13px; margin: 0 0 13px; }
.video__foot { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------- 橱窗（文创） ---------- */
.merch {
  border: 1px solid var(--line); border-radius: var(--r-l);
  overflow: hidden; background: var(--bg-1);
  transition: transform .28s var(--ease), border-color .28s;
}
.merch:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.merch__art {
  aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative;
  border-bottom: 1px solid var(--line);
}
.merch__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.merch__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 10.5px; letter-spacing: .08em; font-weight: 700;
}
.merch__body { padding: 18px 20px 20px; }
.merch__body h3 { font-size: 15px; margin-bottom: 8px; }
.merch__body p { color: var(--txt-1); font-size: 13px; margin: 0; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px;
  width: 1px; background: linear-gradient(180deg, var(--chain), var(--violet), transparent);
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 8px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg-0); border: 2px solid var(--chain);
  box-shadow: 0 0 12px rgba(56, 224, 200, .5);
}
.tl-item__date {
  font-family: var(--mono); font-size: 12px; color: var(--chain);
  letter-spacing: .06em; margin-bottom: 7px;
}
.tl-item h3 { font-size: 16.5px; margin-bottom: 8px; }
.tl-item p { color: var(--txt-1); font-size: 13.8px; margin: 0 0 10px; }
.tl-item__tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- 演示模块 ---------- */
.demo-frame {
  border: 1px solid var(--line); border-radius: var(--r-l);
  background: var(--bg-1); padding: 24px; position: relative; overflow: hidden;
}
.demo-frame__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.demo-stage {
  aspect-ratio: 16 / 9; border-radius: var(--r-m);
  border: 1px dashed var(--line-strong);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 100%,
    var(--bg-2);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.demo-stage__placeholder { text-align: center; padding: 24px; }
.demo-stage__placeholder .mono { color: var(--txt-2); font-size: 12px; display: block; margin-top: 12px; }
.demo-stage__cube {
  width: 84px; height: 84px; margin: 0 auto;
  border: 1px solid var(--chain);
  border-radius: 16px;
  background: var(--grad-soft);
  animation: tilt 6s ease-in-out infinite;
  box-shadow: var(--shadow-glow);
}
@keyframes tilt {
  0%, 100% { transform: rotate(0) scale(1); }
  50% { transform: rotate(8deg) scale(1.06); }
}
.demo-controls { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* 进度条 */
.meter { margin-bottom: 16px; }
.meter:last-child { margin-bottom: 0; }
.meter__top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 7px; }
.meter__top span { color: var(--txt-1); }
.meter__top b { font-family: var(--mono); color: var(--chain); font-size: 12.5px; }
.meter__track { height: 6px; background: var(--bg-3); border-radius: var(--r-full); overflow: hidden; }
.meter__fill {
  height: 100%; background: var(--grad-chain); border-radius: var(--r-full);
  width: 0; transition: width 1.4s var(--ease);
}

/* ---------- 数字名片 ---------- */
.idcard {
  border: 1px solid var(--line-strong); border-radius: var(--r-l);
  background: linear-gradient(150deg, var(--bg-2), var(--bg-1));
  padding: 30px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-1);
}
.idcard::after {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 224, 200, .22), transparent 68%);
  pointer-events: none;
}
.idcard__top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.idcard__avatar {
  width: 66px; height: 66px; border-radius: 20px; flex-shrink: 0;
  background: var(--grad-chain); display: grid; place-items: center;
  font-weight: 800; font-size: 24px; color: #04121a;
  box-shadow: 0 6px 22px rgba(56, 224, 200, .3);
}
.idcard__name { font-size: 20px; font-weight: 700; margin-bottom: 3px; }
.idcard__role { font-size: 13px; color: var(--chain); font-family: var(--mono); }
.idcard__rows { display: grid; gap: 11px; }
.idcard__row {
  display: flex; gap: 14px; font-size: 13.5px;
  padding-bottom: 11px; border-bottom: 1px solid var(--line);
}
.idcard__row:last-child { border-bottom: none; padding-bottom: 0; }
.idcard__row dt { color: var(--txt-2); min-width: 74px; flex-shrink: 0; font-size: 12.5px; }
.idcard__row dd { margin: 0; color: var(--txt-0); }

/* ---------- 数据面板 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.stat { background: var(--bg-1); padding: 24px 20px; text-align: center; }
.stat b { display: block; font-size: 27px; font-family: var(--mono); font-weight: 700; margin-bottom: 5px; }
.stat span { font-size: 12px; color: var(--txt-2); letter-spacing: .05em; }

/* ---------- 声明框 ---------- */
.notice {
  border: 1px solid var(--line); border-left: 3px solid var(--chain);
  border-radius: var(--r-m); background: var(--bg-1);
  padding: 20px 24px; font-size: 14px; color: var(--txt-1);
}
.notice strong { color: var(--txt-0); }
.notice--violet { border-left-color: var(--violet); }
.notice--amber { border-left-color: var(--amber); }
.notice ul { margin: 10px 0 0; padding-left: 20px; }
.notice li { margin-bottom: 7px; }
.notice li:last-child { margin-bottom: 0; }

/* ---------- 合规清单 ---------- */
.clist { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.clist li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; color: var(--txt-1);
  padding: 13px 16px; border-radius: var(--r-m);
  background: var(--bg-1); border: 1px solid var(--line);
}
.clist li::before {
  content: ""; flex-shrink: 0; margin-top: 7px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--chain);
  box-shadow: 0 0 10px var(--chain);
}
.clist li.no::before { background: #ff6b81; box-shadow: 0 0 10px #ff6b81; }

/* ---------- 长文排版 ---------- */
.doc { max-width: 820px; }
.doc h2 { font-size: 22px; margin: 42px 0 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.doc h3 { font-size: 16.5px; margin: 26px 0 11px; color: var(--chain); }
.doc p, .doc li { color: var(--txt-1); font-size: 14.5px; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin-bottom: 9px; }
.doc strong { color: var(--txt-0); }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-1); margin-top: 40px; padding: 52px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 38px; }
.footer__col h4 { font-size: 13px; margin-bottom: 15px; color: var(--txt-0); letter-spacing: .04em; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 9px; }
.footer__col a { color: var(--txt-1); font-size: 13.3px; transition: color .2s; }
.footer__col a:hover { color: var(--chain); }
.footer__desc { color: var(--txt-1); font-size: 13.3px; max-width: 300px; margin-top: 14px; }
.footer__bottom {
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--txt-2);
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--chain); }

/* ---------- 页脚备案条 ---------- */
.footer__icp {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  font-size: 12.5px; color: var(--txt-2);
}
.footer__icp a { color: var(--txt-2); }
.footer__icp a:hover { color: var(--chain); }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .orb { max-width: 340px; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; gap: 2px;
    background: var(--bg-1); border-bottom: 1px solid var(--line);
    padding: 12px 18px 20px; margin: 0;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: all .24s var(--ease);
    box-shadow: var(--shadow-1);
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: 11px 14px; border-radius: var(--r-s); }
  .nav__burger { display: grid; }
  .g-3, .g-2 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 62px 0 46px; }
  .pagehead { padding: 56px 0 36px; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__bottom { flex-direction: column; }
  body::after { background-size: 40px 40px; }
}

@media (max-width: 520px) {
  .g-4 { grid-template-columns: 1fr; }
  .hero__meta { gap: 22px; }
  .wrap { padding: 0 18px; }
  .card { padding: 22px; }
  .stats { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
}

/* ==========================================================================
   增强模块样式 v2.0
   跑马灯 / 手机壳 / 曲面屏 / 二级目录 / 详情弹层 / UBB 正文
   ========================================================================== */

/* ---------- 跑马灯 ---------- */
.marquee {
  position: sticky;
  top: var(--nav-h);
  z-index: 95;
  display: flex;
  align-items: center;
  height: var(--marquee-h, 38px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--chain) 12%, var(--bg-1)),
    color-mix(in srgb, var(--violet) 12%, var(--bg-1)));
  transition: opacity .3s, height .3s;
}
.marquee.is-hiding { opacity: 0; height: 0; }

.marquee__viewport { flex: 1; overflow: hidden; position: relative; height: 100%; }

.marquee__track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: marqueeScroll linear infinite;
  will-change: transform;
}
.marquee--rev .marquee__track { animation-direction: reverse; }

.marquee__item {
  display: inline-block;
  padding-right: 4em;
  font-size: 13px;
  letter-spacing: .03em;
  white-space: nowrap;
  color: var(--txt-0);
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* 跑马灯配色变体 */
.marquee--chain  { --mq: var(--chain); }
.marquee--violet { --mq: var(--violet); }
.marquee--amber  { --mq: var(--amber); }
.marquee--plain  { background: var(--bg-1); }
.marquee--plain .marquee__item { color: var(--txt-1); }
.marquee--chain .marquee__item,
.marquee--violet .marquee__item,
.marquee--amber .marquee__item { color: var(--mq); }

.marquee__x {
  flex-shrink: 0;
  width: 28px; height: 28px; margin-right: 12px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--bg-0) 55%, transparent);
  color: var(--txt-1);
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .2s;
}
.marquee__x:hover { color: var(--chain); border-color: var(--chain); transform: rotate(90deg); }

/* ---------- 手机壳 ---------- */
/* 壳模式：body 自身不滚动，滚动只发生在壳内 stage（唯一视口） */
html.has-shell, html.has-shell body { height: 100%; overflow: hidden; }
html.has-shell body {
  background:
    radial-gradient(120% 90% at 50% 42%, color-mix(in srgb, var(--chain) 9%, #05070d) 0%, #05070d 62%),
    #05070d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  box-sizing: border-box;
}

.device-shell {
  position: relative;
  width: 100%;
  max-width: 472px;
  margin: 0 auto;
  padding: 0;
  height: min(calc(100vh - 44px), 860px);
  max-height: calc(100vh - 44px);
}

/* 机身后方辉光：跟随壳体主色，切色时同步流动 */
.device-shell {
  --glow-a: #6b7180;
  --glow-b: #2a2d35;
}
.device-shell::before {
  content: "";
  position: absolute;
  inset: -6% -18%;
  border-radius: 50%;
  background: radial-gradient(46% 42% at 50% 48%,
    color-mix(in srgb, var(--glow-a) 46%, transparent) 0%,
    color-mix(in srgb, var(--glow-b) 30%, transparent) 45%,
    transparent 72%);
  filter: blur(34px);
  opacity: .7;
  pointer-events: none;
  z-index: 0;
  transition: background .45s var(--ease);
}
/* 壳色 → 辉光色联动 */
.device-shell.shell-c-titanium { --glow-a: #6b7180; --glow-b: #2a2d35; }
.device-shell.shell-c-obsidian { --glow-a: #4a4f5c; --glow-b: #13161c; }
.device-shell.shell-c-azure    { --glow-a: #8fa6c4; --glow-b: #1f3350; }
.device-shell.shell-c-jade     { --glow-a: #8fd0b4; --glow-b: #1c4433; }
.device-shell.shell-c-aurum    { --glow-a: #f0d68f; --glow-b: #6b5218; }
.device-shell.shell-c-rosegold { --glow-a: #f0c4b4; --glow-b: #6b4038; }
.device-shell.shell-c-lunar    { --glow-a: #e2e6ec; --glow-b: #4a515c; }
.device-shell.shell-c-redgold  { --glow-a: #f0c96a; --glow-b: #6b1a1a; }
.device-shell.shell-c-greengold{ --glow-a: #e8d18a; --glow-b: #2a5236; }
.device-shell.shell-c-valentine,
.device-shell.shell-c-rose     { --glow-a: #f5c0d0; --glow-b: #7a2c46; }

/* 金属边框：逐段渐变模拟反光棱边 */
.device-shell__frame {
  position: relative;
  z-index: 1;
  height: 100%;
  box-sizing: border-box;
  border-radius: 52px;
  padding: 11px;
  background: linear-gradient(90deg,
    #0b0c0f 0%, #2a2d35 3%, #6b7180 7%, #3a3e48 13%, #191b21 22%,
    #14161b 50%, #191b21 78%, #3a3e48 87%, #6b7180 93%, #2a2d35 97%, #0b0c0f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.26),
    inset 0 -1px 0 rgba(0,0,0,.8),
    inset 2px 0 3px rgba(255,255,255,.09),
    inset -2px 0 3px rgba(255,255,255,.09),
    0 0 3px rgba(0,0,0,.78),
    0 30px 70px rgba(0,0,0,.72),
    0 0 100px color-mix(in srgb, var(--chain) 8%, transparent);
}
/* 边框内侧细描边，强化"机身与屏幕"的层次 */
.device-shell__frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 44px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.85);
  z-index: 3;
}

/* 侧边实体按键 */
.device-shell__btn {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #4b505c, #23262e 45%, #3a3e48);
  box-shadow: 0 0 2px rgba(0,0,0,.8);
  z-index: 0;
}
.device-shell__btn--power { right: -3px; top: 27%; height: 76px; }
.device-shell__btn--vol-up { left: -3px; top: 21%; height: 46px; }
.device-shell__btn--vol-dn { left: -3px; top: 29%; height: 46px; }
.device-shell__btn--mute { left: -3px; top: 13%; height: 28px; }

/* 灵动岛 */
.device-shell__notch {
  position: absolute;
  top: 21px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 27px;
  border-radius: 15px;
  background: #04060a;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 9px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 1px 2px rgba(0,0,0,.8);
}

.device-shell__bar {
  position: absolute;
  bottom: 16px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,.32);
  z-index: 6;
  pointer-events: none;
}

/* 屏幕：左右内阴影模拟双侧曲面 */
.device-shell__screen {
  position: relative;
  border-radius: 42px;
  overflow: hidden;
  background: var(--bg-0);
  height: 100%;
  box-shadow:
    inset 22px 0 34px -26px rgba(0,0,0,.95),
    inset -22px 0 34px -26px rgba(0,0,0,.95),
    inset 0 3px 10px rgba(255,255,255,.043),
    inset 0 0 0 1px rgba(0,0,0,.9);
}
/* 斜向玻璃反光 */
.device-shell__screen::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 5;
  border-radius: inherit;
  background: linear-gradient(115deg,
    rgba(255,255,255,.11) 0%, rgba(255,255,255,.055) 13%,
    rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%,
    rgba(255,255,255,.04) 86%, rgba(255,255,255,.02) 100%);
  mix-blend-mode: screen;
}

.device-shell__stage {
  position: relative;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}
/* 壳内滚动条收细 */
.device-shell__stage::-webkit-scrollbar { width: 6px; }
.device-shell__stage::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--chain) 34%, transparent);
  border-radius: 3px;
}

/* 外壳材质变体
   注意：材质只负责"表面质感"，颜色交给 .shell-c-* 的变量驱动，
   因此这里不再写死 background，仅做高光/阴影与透明度调整。 */
.device-shell--metal .device-shell__frame {
  /* 金属：标准棱边反光强度，由变量决定颜色 */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.26),
    inset 0 -1px 0 rgba(0,0,0,.8),
    inset 2px 0 3px rgba(255,255,255,.09),
    inset -2px 0 3px rgba(255,255,255,.09),
    0 0 3px rgba(0,0,0,.78),
    0 38px 80px rgba(0,0,0,.72);
}
.device-shell--ceramic .device-shell__frame {
  /* 陶瓷：白瓷亮面 —— 直接覆盖为亮白渐变 */
  background:
    linear-gradient(90deg,
      #b9bec9 0%, #eef1f6 4%, #ffffff 8%, #dcE1e9 14%, #f4f6fa 24%,
      #e7eaf0 50%, #f4f6fa 76%, #dcE1e9 86%, #ffffff 92%, #eef1f6 96%, #b9bec9 100%),
    linear-gradient(160deg, #ffffff 0%, #e7eaf0 45%, #c9ced9 70%, #ffffff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(0,0,0,.16),
    0 38px 80px rgba(0,0,0,.5);
}
.device-shell--ceramic .device-shell__notch { background: #0b0d12; }
.device-shell--glass .device-shell__frame {
  background:
    linear-gradient(90deg,
      rgba(30,40,60,.9) 0%, rgba(120,200,255,.5) 5%, rgba(200,235,255,.72) 9%,
      rgba(90,120,190,.42) 15%, rgba(24,30,46,.88) 24%, rgba(18,22,34,.9) 50%,
      rgba(24,30,46,.88) 76%, rgba(90,120,190,.42) 85%, rgba(200,235,255,.72) 91%,
      rgba(120,200,255,.5) 95%, rgba(30,40,60,.9) 100%),
    linear-gradient(160deg, rgba(120,200,255,.4) 0%, rgba(18,22,34,.92) 50%, rgba(160,120,255,.35) 100%);
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    inset 0 -1px 0 rgba(0,0,0,.6),
    0 30px 70px rgba(0,0,0,.6),
    0 0 100px color-mix(in srgb, var(--violet) 16%, transparent);
}
.device-shell--classic .device-shell__frame { border-radius: 30px; padding: 9px; }
.device-shell--classic .device-shell__frame::after { border-radius: 24px; }
.device-shell--classic .device-shell__screen { border-radius: 22px; }
.device-shell--classic .device-shell__notch { display: none; }
.device-shell--classic .device-shell__bar { display: none; }
.device-shell--classic .device-shell__btn { display: none; }

/* ---------- 机身材质（叠加在壳色之上的纹理层） ---------- */
.device-shell__texture {
  position: absolute;
  inset: 0;
  border-radius: 52px;
  pointer-events: none;
  z-index: 2;
}
.device-shell--classic .device-shell__texture { border-radius: 30px; }
.shell-t-matte .device-shell__texture {
  background: linear-gradient(120deg, rgba(255,255,255,.05), rgba(0,0,0,.07) 55%, rgba(255,255,255,.03));
}
.shell-t-brushed .device-shell__texture {
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.055) 0 1px, rgba(0,0,0,.045) 1px 2px, transparent 2px 4px),
    linear-gradient(120deg, rgba(255,255,255,.04), transparent 45%);
  opacity: .85;
}
.shell-t-leather .device-shell__texture {
  background-image:
    radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.5px),
    radial-gradient(rgba(0,0,0,.12) 1px, transparent 1.5px);
  background-size: 7px 7px, 9px 9px;
  background-position: 0 0, 3px 4px;
  opacity: .8;
}
.shell-t-frost .device-shell__texture {
  background-image:
    radial-gradient(rgba(255,255,255,.12) .8px, transparent 1.3px),
    radial-gradient(rgba(255,255,255,.07) .6px, transparent 1px);
  background-size: 5px 5px, 8px 8px;
  background-position: 0 0, 2px 3px;
  opacity: .6;
}

/* ---------- 机身刻字 ---------- */
.device-shell__engrave {
  position: absolute;
  right: 24px; bottom: 2px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .16em;
  color: rgba(255,255,255,.5);
  text-shadow: 0 1px 1px rgba(0,0,0,.9), 0 -1px 0 rgba(255,255,255,.14);
  pointer-events: none;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 灵动岛交互 ---------- */
.device-shell__notch { cursor: pointer; transition: transform .2s; }
.device-shell__notch:hover { transform: translateX(-50%) scale(1.04); }
.device-shell__cam {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, #2b3a4f, #0a0d12 68%);
  box-shadow: inset 0 0 1px rgba(120,180,255,.6);
  margin-right: 6px;
}

/* ---------- 屏内外观面板 ---------- */
.shellpanel {
  position: absolute;
  inset: 0;
  z-index: 30;
  overflow-y: auto;
  background: color-mix(in srgb, var(--bg-0) 78%, transparent);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  padding: 20px 18px 26px;
  animation: shellpanel-in .26s var(--ease);
}
.shellpanel.is-closing { animation: shellpanel-out .22s var(--ease) forwards; }
@keyframes shellpanel-in { from { opacity: 0; transform: translateY(-14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes shellpanel-out { to { opacity: 0; transform: translateY(-10px) scale(.99); } }

.shellpanel__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.shellpanel__head b { font-size: 17px; font-weight: 600; display: block; letter-spacing: -.01em; }
.shellpanel__head span { font-size: 12px; color: var(--txt-2); display: block; margin-top: 5px; }
.shellpanel__x {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--txt-1);
  cursor: pointer; font-size: 12px; display: grid; place-items: center;
}
.shellpanel__sec { margin-bottom: 22px; }
.shellpanel__sec h4 { font-size: 15.5px; font-weight: 600; margin: 0 0 10px; }
.shellpanel__hint { display: block; font-size: 11.5px; color: var(--txt-2); margin: -4px 0 10px; }
.sp-opts { display: flex; flex-direction: column; gap: 8px; }
.sp-card {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left;
  padding: 9px 13px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.055); background: rgba(255,255,255,.027);
  cursor: pointer; transition: border-color .18s, background .18s, transform .12s;
  color: var(--txt-0);
}
.sp-card:hover { background: rgba(255,255,255,.05); }
/* 选中态：香槟金描边 + 金调底（参考站同款） */
.sp-card.is-on { border-color: rgba(213,183,124,.32); background: rgba(213,183,124,.1); }
.sp-card.is-on .sp-check { opacity: 1; transform: scale(1); }
.sp-check { margin-left: auto; color: #d5b77c; font-weight: 700; opacity: 0; transform: scale(.6); transition: all .18s; }
.sp-txt { position: relative; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sp-txt b { font-size: 13.5px; font-weight: 600; }
.sp-txt i { font-style: normal; font-size: 11px; color: var(--txt-2); }
.sp-tag {
  position: absolute; top: -13px; left: 0;
  font-style: normal; font-size: 9px; letter-spacing: .06em;
  color: #8a6520; background: linear-gradient(120deg, #ffeecb, #f5d79a);
  border-radius: 5px; padding: 0 6px; line-height: 15px;
}
/* 色块：30px、10px 圆角、默认深→亮 135° 渐变（鲜艳的关键） */
.sp-swatch {
  width: 30px; height: 30px; flex: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #4a4f5c 0%, #c9ced9 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.28), inset 0 -1px 2px rgba(0,0,0,.35);
}
.sp-c-obsidian { background: linear-gradient(135deg, #26282e, #0c0d11); }
.sp-c-azure { background: linear-gradient(135deg, #3d5f84, #101c2a); }
.sp-c-jade { background: linear-gradient(135deg, #3f6b50, #10201a); }
.sp-c-redgold { background: linear-gradient(135deg, #8a6136, #221410); }
.sp-c-greengold { background: linear-gradient(135deg, #7e8a44, #171e10); }
.sp-c-rose { background: linear-gradient(135deg, #b37e8a, #26141a); }
.sp-swatch--tex { background: var(--bg-2); }
.sp-tex-matte { background: linear-gradient(120deg, #3a3d45, #1a1c22); }
.sp-tex-brushed { background: repeating-linear-gradient(90deg, #454a55 0 1px, #22252c 1px 2px, #31353e 2px 4px); }
.sp-tex-leather {
  background-color: #23262d;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.5px), radial-gradient(rgba(0,0,0,.35) 1px, transparent 1.5px);
  background-size: 6px 6px, 8px 8px; background-position: 0 0, 3px 4px;
}
.sp-tex-frost {
  background-color: #2c303a;
  background-image: radial-gradient(rgba(255,255,255,.22) .8px, transparent 1.3px);
  background-size: 5px 5px;
}
.sp-engrave { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sp-engrave .ain { flex: 1 1 140px; min-width: 0; }
.sp-toast {
  position: sticky; bottom: 14px;
  margin: 10px auto 0; width: fit-content;
  background: var(--chain); color: #04121a;
  font-size: 12.5px; font-weight: 600;
  border-radius: 20px; padding: 7px 16px;
  opacity: 0; transform: translateY(8px);
  transition: all .25s; pointer-events: none;
}
.sp-toast.show { opacity: 1; transform: none; }
.sp-done { width: 100%; margin-top: 4px; justify-content: center; }

/* ---------- 壳颜色（双层渐变：横向棱边反光 + 对角体面光影） ---------- */
/* 参考站做法：每色定义 5 段色（d0 极深 / d1 深 / l0 最亮 / l1 亮 / l2 中），
   横向 11 段渐变做出金属棱边，对角 160° 渐变做出机身体面。两层叠加才有立体感。 */
.device-shell__frame {
  --s-d0: #0b0c0f;
  --s-d1: #2a2d35;
  --s-l0: #6b7180;
  --s-l1: #3a3e48;
  --s-l2: #191b21;
  /* 切换壳色时的渐变过渡，让变色"活"起来 */
  transition: background .45s var(--ease), box-shadow .45s var(--ease);
  background:
    linear-gradient(90deg,
      var(--s-d0) 0%, var(--s-d1) 3%, var(--s-l0) 7%, var(--s-l1) 13%, var(--s-l2) 22%,
      color-mix(in srgb, var(--s-l2) 82%, #000) 50%,
      var(--s-l2) 78%, var(--s-l1) 87%, var(--s-l0) 93%, var(--s-d1) 97%, var(--s-d0) 100%),
    linear-gradient(160deg,
      var(--s-l1) 0%, var(--s-l2) 40%, var(--s-d0) 65%, var(--s-l1) 100%);
}
/* 10 款壳色（取自参考站实测值） */
.device-shell.shell-c-titanium .device-shell__frame {
  --s-d0: #0b0c0f; --s-d1: #2a2d35; --s-l0: #6b7180; --s-l1: #3a3e48; --s-l2: #191b21; }
.device-shell.shell-c-obsidian .device-shell__frame {
  --s-d0: #040507; --s-d1: #1a1d24; --s-l0: #4a4f5c; --s-l1: #23262e; --s-l2: #0e1015; }
.device-shell.shell-c-azure .device-shell__frame {
  --s-d0: #0a1219; --s-d1: #24384f; --s-l0: #8fa6c4; --s-l1: #3d5b7d; --s-l2: #14202e; }
.device-shell.shell-c-jade .device-shell__frame {
  --s-d0: #07120d; --s-d1: #2a5a43; --s-l0: #8fd0b4; --s-l1: #47916f; --s-l2: #12291f; }
.device-shell.shell-c-aurum .device-shell__frame {
  --s-d0: #1c1508; --s-d1: #5c4718; --s-l0: #f0d68f; --s-l1: #a8842f; --s-l2: #2a2110; }
.device-shell.shell-c-rosegold .device-shell__frame {
  --s-d0: #1f110d; --s-d1: #6b4038; --s-l0: #f0c4b4; --s-l1: #a86b5c; --s-l2: #32201b; }
.device-shell.shell-c-lunar .device-shell__frame {
  --s-d0: #14161a; --s-d1: #545b66; --s-l0: #e2e6ec; --s-l1: #9aa2ae; --s-l2: #262930; }
.device-shell.shell-c-redgold .device-shell__frame {
  --s-d0: #1c0505; --s-d1: #6b1a1a; --s-l0: #f0c96a; --s-l1: #b04434; --s-l2: #35090b; }
.device-shell.shell-c-greengold .device-shell__frame {
  --s-d0: #07130d; --s-d1: #2a5236; --s-l0: #e8d18a; --s-l1: #6b8a4a; --s-l2: #0c2218; }
.device-shell.shell-c-valentine .device-shell__frame {
  --s-d0: #1c0810; --s-d1: #7a2c46; --s-l0: #f5c0d0; --s-l1: #b0607e; --s-l2: #380f1f; }
/* 兼容旧 id */
.device-shell.shell-c-rose .device-shell__frame {
  --s-d0: #1c0810; --s-d1: #7a2c46; --s-l0: #f5c0d0; --s-l1: #b0607e; --s-l2: #380f1f; }


/* 壳内布局压缩（滚动只发生在 .device-shell__stage 内） */
.device-shell .nav { position: sticky; top: 0; z-index: 96; }
.device-shell .nav__in { padding: 0 14px; gap: 10px; }
.device-shell .nav__links { display: none; }
.device-shell .nav__links.is-open { display: flex; }
.device-shell .marquee { position: sticky; top: var(--nav-h); z-index: 95; }
.device-shell .wrap { padding: 0 16px; }
.device-shell .hero { padding: 34px 0 26px; }
.device-shell .hero__grid { gap: 26px; }
.device-shell .section { padding: 40px 0; }
.device-shell .g-2, .device-shell .g-3, .device-shell .g-4 { grid-template-columns: 1fr; }
.device-shell .hero__grid { grid-template-columns: 1fr; }
.device-shell .split, .device-shell .dirsplit { grid-template-columns: 1fr; }
.device-shell .dirsplit__aside { position: static; }
.device-shell .stats { grid-template-columns: 1fr 1fr; }
.device-shell .footer__grid { grid-template-columns: 1fr; }
.device-shell .footer__bottom { flex-direction: column; }
.device-shell .pagehead { padding: 30px 0 22px; }
.device-shell .orb { max-width: 230px; }

/* 壳内排版压缩：缩小大标题与整体字号，避免每行字数过少 */
.device-shell h1 { font-size: clamp(24px, 6.4vw, 32px); }
.device-shell h2 { font-size: 22px; }
.device-shell .hero h1 { font-size: clamp(26px, 7vw, 36px); line-height: 1.25; }
.device-shell .hero__lead { font-size: 14.5px; margin-bottom: 22px; }
.device-shell .hero__meta b { font-size: 19px; }
.device-shell .pagehead h1 { font-size: 26px; }
.device-shell .card h3, .device-shell .card__title { font-size: 16px; }
.device-shell .card p, .device-shell .card__desc { font-size: 13px; }
.device-shell .sechead h2 { font-size: 20px; }
.device-shell .btn { padding: 9px 16px; font-size: 13.5px; }

/* ---------- 曲面屏 ---------- */
.curve-on .device-shell__stage,
.curve-on[data-curve="page"] body {
  perspective: 900px;
}

.curve-on .curve-target {
  transform: perspective(1500px) rotateX(calc(.5deg * var(--curve-k, 1)));
  transform-origin: 50% 50%;
  backface-visibility: hidden;
}

/* 曲面反光与边缘暗角 */
.curve-on .device-shell__screen::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,.42) 0%,
      rgba(0,0,0,.10) 7%,
      transparent 16%,
      transparent 84%,
      rgba(0,0,0,.10) 93%,
      rgba(0,0,0,.42) 100%),
    linear-gradient(180deg, rgba(255,255,255,.055), transparent 14%);
  border-radius: inherit;
}

/* 内容卡片的曲面立体感 */
.curve-on .card,
.curve-on .work,
.curve-on .video,
.curve-on .merch {
  box-shadow: 0 18px 44px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.03) inset;
}

/* 全屏曲面（非手机壳模式下的页面级曲面） */
.curve-on:not(.has-shell) main .section,
.curve-on:not(.has-shell) main .hero {
  position: relative;
}
.curve-on:not(.has-shell) main::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 60;
  background:
    radial-gradient(ellipse 130% 100% at 50% 50%, transparent 55%, rgba(0,0,0,.22) 100%);
}

/* ---------- 二级目录：分类分栏 ---------- */
.catgroup { margin-bottom: 22px; }
.catgroup__title {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--txt-2); margin-bottom: 10px;
}
.catnode {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 11px 15px; margin-bottom: 7px;
  border-radius: var(--r-m); border: 1px solid var(--line);
  background: var(--bg-1); cursor: pointer;
  transition: all .2s var(--ease); font-size: 14px;
}
.catnode:hover { border-color: var(--chain); color: var(--chain); transform: translateX(4px); }
.catnode.is-active { border-color: var(--chain); background: color-mix(in srgb, var(--chain) 10%, var(--bg-1)); color: var(--chain); }
.catnode__n {
  font-size: 11.5px; color: var(--txt-2);
  background: var(--bg-3); padding: 2px 9px; border-radius: var(--r-full);
}

/* ---------- 二级目录：目录树 ---------- */
.treenav, .treenav ul { list-style: none; margin: 0; padding: 0; }
.treenav__node { margin-bottom: 4px; }
.treenav__toggle {
  width: 100%; display: flex; align-items: center; gap: 9px;
  padding: 10px 13px; border: none; border-radius: var(--r-m);
  background: transparent; color: var(--txt-0);
  font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; text-align: left; transition: background .2s;
}
.treenav__toggle:hover { background: var(--bg-2); }
.treenav__chev { display: grid; place-items: center; color: var(--txt-2); transition: transform .25s var(--ease); }
.treenav__node[data-open="0"] .treenav__chev { transform: rotate(-90deg); }
.treenav__name { flex: 1; }
.treenav__n {
  font-size: 11px; color: var(--txt-2);
  background: var(--bg-3); padding: 1px 8px; border-radius: var(--r-full);
}
.treenav__sub {
  overflow: hidden;
  max-height: 420px;
  margin-left: 17px;
  padding-left: 13px;
  border-left: 1px solid var(--line);
  transition: max-height .32s var(--ease), opacity .28s;
}
.treenav__node[data-open="0"] .treenav__sub { max-height: 0; opacity: 0; }
.treenav__leaf {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 12px; border-radius: var(--r-s);
  font-size: 13.5px; color: var(--txt-1); transition: all .2s;
}
.treenav__leaf:hover { background: var(--bg-2); color: var(--chain); }
.treenav__dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--txt-2); transition: all .2s;
}
.treenav__leaf:hover .treenav__dot { background: var(--chain); box-shadow: 0 0 8px var(--chain); }
.treenav__n { margin-left: auto; }

/* ---------- 二级目录：URL 路径 ---------- */
.pathgroup { margin-bottom: 22px; }
.pathgroup__title {
  font-family: var(--mono); font-size: 12px; color: var(--chain);
  letter-spacing: .06em; margin-bottom: 9px;
}
.pathgroup ul { list-style: none; margin: 0; padding: 0; }
.pathgroup li a {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 14px; margin-bottom: 6px;
  border-radius: var(--r-m); border: 1px solid var(--line);
  background: var(--bg-1); transition: all .2s;
}
.pathgroup li a:hover { border-color: var(--chain); transform: translateX(4px); }
.pathnode__name { font-size: 14px; color: var(--txt-0); font-weight: 600; }
.pathnode__url {
  font-family: var(--mono); font-size: 11.5px; color: var(--txt-2);
  background: var(--bg-3); padding: 2px 9px; border-radius: 5px;
}
.pathnode__n { margin-left: auto; font-size: 11.5px; color: var(--txt-2); }

/* ---------- 详情弹层 ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; }
.modal__mask {
  position: absolute; inset: 0;
  background: rgba(3, 5, 10, .78);
  backdrop-filter: blur(8px);
  animation: fadeIn .25s var(--ease);
}
.modal__panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(86vh, 900px);
  border-radius: var(--r-l);
  border: 1px solid var(--line-strong);
  background: var(--bg-1);
  box-shadow: 0 40px 100px rgba(0,0,0,.7);
  overflow: hidden;
  animation: modalUp .32s var(--ease);
}
.modal__x {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(6,8,15,.6); backdrop-filter: blur(8px);
  color: var(--txt-0); display: grid; place-items: center;
  cursor: pointer; transition: all .2s;
}
.modal__x:hover { color: var(--chain); border-color: var(--chain); transform: rotate(90deg); }
.modal__scroll { max-height: min(86vh, 900px); overflow-y: auto; outline: none; }
.modal__cover { aspect-ratio: 16/7; overflow: hidden; position: relative; }
.modal__cover svg { width: 100%; height: 100%; display: block; }
.modal__head { padding: 26px 30px 18px; }
.modal__meta { font-size: 12px; letter-spacing: .06em; margin-bottom: 12px; }
.modal__head h2 { font-size: clamp(20px, 3vw, 27px); }
.modal__foot {
  padding: 18px 30px 26px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalUp { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- UBB 正文样式 ---------- */
.ubb-body { font-size: 14.8px; line-height: 1.9; }
.ubb-body p { color: var(--txt-1); margin: 0 0 1.05em; }
.ubb-body strong { color: var(--txt-0); font-weight: 700; }
.ubb-body > *:first-child { margin-top: 0; }

.ubb-h {
  color: var(--txt-0) !important;
  margin: 1.5em 0 .65em !important;
  padding: 0 0 .45em !important;
  border-bottom: 1px solid var(--line) !important;
  border-top: none !important;
  font-size: 17px !important;
}
.ubb-body h5.ubb-h { font-size: 15.5px !important; }

.ubb-list { color: var(--txt-1); padding-left: 22px; margin: 0 0 1.15em; }
.ubb-list li { margin-bottom: .5em; }
.ubb-list li::marker { color: var(--chain); }

.ubb-quote {
  margin: 1.2em 0; padding: 15px 20px;
  border-left: 3px solid var(--chain);
  border-radius: 0 var(--r-m) var(--r-m) 0;
  background: color-mix(in srgb, var(--chain) 7%, var(--bg-2));
  color: var(--txt-1); font-style: normal;
}
.ubb-quote cite {
  display: block; font-style: normal; font-size: 12.5px;
  color: var(--chain); margin-bottom: 6px; font-family: var(--mono);
}
.ubb-body .ubb-quote p { margin: 0; }

.ubb-code {
  margin: 1.2em 0; padding: 16px 18px;
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: var(--bg-0);
  overflow-x: auto;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.75;
}
.ubb-code code { color: var(--chain); }

.ubb-inline-code {
  font-family: var(--mono); font-size: .87em;
  padding: 2px 7px; border-radius: 5px;
  background: var(--bg-3); color: var(--chain);
}

.ubb-img { border-radius: var(--r-m); margin: 1.2em 0; border: 1px solid var(--line); }

.ubb-hr { border: none; height: 1px; background: var(--line); margin: 2em 0; }

.ubb-table {
  width: 100%; border-collapse: collapse;
  margin: 1.3em 0; font-size: 13.8px;
  border: 1px solid var(--line); border-radius: var(--r-m);
  overflow: hidden;
}
.ubb-table th, .ubb-table td {
  padding: 11px 14px; text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--txt-1);
}
.ubb-table th {
  background: var(--bg-2); color: var(--txt-0);
  font-weight: 600; font-size: 12.8px; letter-spacing: .04em;
}
.ubb-table tr:last-child td { border-bottom: none; }
.ubb-body mark { background: rgba(255,181,71,.28); color: var(--txt-0); padding: 1px 4px; border-radius: 4px; }

/* ---------- 主题切换器（浮层） ---------- */
.themebar {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.themebar__panel {
  width: 268px; padding: 18px;
  border-radius: var(--r-l); border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--bg-1) 94%, transparent);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-1);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.97);
  transition: all .26s var(--ease);
  transform-origin: bottom right;
}
.themebar.is-open .themebar__panel { opacity: 1; visibility: visible; transform: none; }

.themebar__sec { margin-bottom: 16px; }
.themebar__sec:last-child { margin-bottom: 0; }
.themebar__label {
  font-size: 11.5px; color: var(--txt-2); letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 9px; font-family: var(--mono);
}
.swatches { display: flex; gap: 8px; }
.swatch {
  width: 30px; height: 30px; border-radius: 9px;
  border: 2px solid transparent; cursor: pointer;
  transition: all .2s; position: relative;
}
.swatch:hover { transform: scale(1.1); }
.swatch.is-on { border-color: var(--txt-0); }
.swatch.is-on::after {
  content: ""; position: absolute; inset: -6px;
  border-radius: 13px; border: 1px solid var(--line-strong);
}

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 6px 13px; border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--bg-2);
  color: var(--txt-1); font-size: 12.5px; cursor: pointer;
  font-family: inherit; transition: all .2s;
}
.chip:hover { border-color: var(--line-strong); color: var(--txt-0); }
.chip.is-on { background: color-mix(in srgb, var(--chain) 16%, var(--bg-2)); color: var(--chain); border-color: var(--chain); }

.switch {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; font-size: 13px; color: var(--txt-1); cursor: pointer;
}
.switch__track {
  width: 42px; height: 23px; border-radius: var(--r-full);
  background: var(--bg-3); position: relative; transition: background .25s; flex-shrink: 0;
}
.switch__track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--txt-2); transition: all .25s var(--ease);
}
.switch input { display: none; }
.switch input:checked + .switch__track { background: color-mix(in srgb, var(--chain) 35%, var(--bg-3)); }
.switch input:checked + .switch__track::after { left: 22px; background: var(--chain); }

.themebar__fab {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--grad-chain); color: #04121a;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,.4), 0 0 0 6px color-mix(in srgb, var(--chain) 12%, transparent);
  transition: transform .25s var(--ease);
}
.themebar__fab:hover { transform: scale(1.07) rotate(12deg); }
.themebar.is-open .themebar__fab { transform: rotate(90deg); }

/* ---------- 空状态 ---------- */
.empty {
  text-align: center; padding: 56px 24px;
  border: 1px dashed var(--line-strong); border-radius: var(--r-l);
  color: var(--txt-2); font-size: 14px;
}

/* ---------- 响应式补充 ---------- */
@media (max-width: 820px) {
  .marquee { position: relative; top: 0; }
  .device-shell { padding: 0 14px; margin: 20px auto 40px; }
  .device-shell__screen { height: min(74vh, 700px); }
  .themebar { right: 14px; bottom: 14px; }
  .themebar__panel { width: calc(100vw - 28px); max-width: 300px; }
  .modal { padding: 10px; }
  .modal__panel { border-radius: var(--r-m); }
  .modal__head { padding: 22px 20px 14px; }
  .modal__foot { padding: 16px 20px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none !important; }
  .marquee__viewport { overflow-x: auto; }
}

/* ---------- 二级目录 · 页面布局（侧栏 + 内容区） ---------- */
.dirsplit {
  display: grid;
  grid-template-columns: 246px 1fr;
  gap: 28px;
  align-items: start;
}
.dirside {
  position: sticky;
  top: calc(var(--nav-h) + var(--marquee-h, 0px) + 18px);
  padding: 18px;
  border-radius: var(--r-l);
  border: 1px solid var(--line);
  background: var(--bg-1);
}
.dirside__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 14px;
  padding-bottom: 13px; border-bottom: 1px solid var(--line);
}
.dirside__title {
  font-size: 13px; font-weight: 700; letter-spacing: .05em;
  color: var(--txt-0);
}
.dirnav { font-size: 13.5px; }
.dircontent { min-width: 0; }
.dircontent__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 900px) {
  .dirsplit { grid-template-columns: 1fr; gap: 18px; }
  .dirside { position: static; }
}

/* ============================================================
   3D 弧形展厅
   ============================================================ */
.section--showroom { overflow: hidden; }
.section--showroom .sechead { text-align: center; margin-bottom: 8px; }

.sr-stage {
  position: relative;
  height: 520px;
  margin-top: 24px;
  perspective: 1400px;
  perspective-origin: 50% 42%;
  cursor: grab;
  touch-action: pan-y;
}
.sr-stage:active { cursor: grabbing; }

.sr-ring {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.22, .8, .26, .99);
  will-change: transform;
}

.sr-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 400px;
  margin: -200px 0 0 -150px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface, #10141c);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: box-shadow .4s, border-color .4s, filter .4s, opacity .4s;
  filter: brightness(.55) saturate(.8);
  opacity: .78;
}
.sr-card.is-near { filter: brightness(.85); opacity: .92; }
.sr-card.is-active {
  filter: none;
  opacity: 1;
  border-color: rgba(240, 199, 116, .55);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(240, 199, 116, .25), 0 0 44px rgba(240, 199, 116, .16);
}

.sr-card__media { position: absolute; inset: 0; }
.sr-card__media img,
.sr-card__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}
.sr-card__ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 700; letter-spacing: .1em;
  color: rgba(255, 255, 255, .85);
}
.sr-card__ph span {
  width: 108px; height: 108px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(4px);
}

.sr-card__info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 42px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78));
  transform: translateZ(30px);
}
.sr-card__info h3 { margin: 0 0 4px; font-size: 17px; color: #fff; }
.sr-card__info p { margin: 0; font-size: 12px; color: rgba(255, 255, 255, .66); line-height: 1.5; }

.sr-hint {
  position: absolute;
  left: 50%; bottom: 6px;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--muted, #8a93a6);
  animation: srSway 2.2s ease-in-out infinite;
  transition: opacity .6s;
  pointer-events: none;
}
.sr-hint.is-hide { opacity: 0; animation: none; }
@keyframes srSway {
  0%, 100% { transform: translateX(calc(-50% - 8px)); }
  50% { transform: translateX(calc(-50% + 8px)); }
}

@media (max-width: 720px) {
  .sr-stage { height: 400px; }
  .sr-card { width: 210px; height: 300px; margin: -150px 0 0 -105px; border-radius: 14px; }
  .sr-card__ph { font-size: 30px; }
  .sr-card__ph span { width: 76px; height: 76px; }
}

/* Logo 图片（上传后替代文字标识） */
.brand__mark--img {
  width: auto; min-width: 34px; max-width: 132px;
  background: transparent; box-shadow: none; padding: 0;
  border-radius: 8px; overflow: visible;
}
.brand__mark--img img {
  display: block; height: 34px; width: auto; max-width: 132px;
  object-fit: contain;
}
