/* =====================================================================
   誓言引擎 VowLab · 家族设计规范样式
   底色 #050505 / 主墨 #f4f6f8 / 次级 #9aa3b2 / 发丝边 rgba(255,255,255,.10)
   冷调霓虹色带 + 产品强调色 #5bd8ff（誓言引擎）
   卡片 shell(1px 渐变壳 r30) + core(暗底 r29)；大面板 r34；HUD 四角 + CRT 扫描线
   ===================================================================== */
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

:root {
  --bg: #050505;
  --ink: #f4f6f8;
  --ink-dim: #9aa3b2;
  --ink-faint: rgba(154, 163, 178, .5);
  --hair: rgba(255, 255, 255, .10);
  --glass: rgba(255, 255, 255, .04);
  --glass-2: rgba(255, 255, 255, .07);
  /* 五强调色（家族） */
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --emerald: #34d399;
  --amber: #fbbf24;
  --pink: #f472b6;
  /* 本产品强调色：誓言引擎 */
  --acc: #5bd8ff;
  --acc-dim: rgba(91, 216, 255, .42);
  --acc-soft: rgba(91, 216, 255, .12);
  /* 渐变与质感 */
  --core-grad: linear-gradient(160deg, rgba(20, 20, 24, .94), rgba(8, 8, 10, .98));
  --panel-grad: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  --silver-cta: linear-gradient(135deg, #eef2f7, #c9d3e0);
  --silver-cta-hi: linear-gradient(135deg, #ffffff, #dde6f1);
  --cta-ink: #0b0b0d;
  --neon-band: linear-gradient(90deg,
    #f0f7ff 0%, #cfe2f8 4%, #9dc3e8 9%, #6a9ad8 14%, #4172cc 19%,
    #3f52d4 25%, #5a3fc8 31%, #7c36b4 37%, #a0349e 43%, #c03c8c 49%,
    #dc4a78 55%, #e85a72 60%, #cc5498 66%, #a458cc 72%, #6a66e0 78%,
    #4fd0ea 89%, #a8ecfa 94%, #f0f7ff 100%);
  --nav-trace: linear-gradient(100deg, transparent 8%, rgba(34, 211, 238, .55) 30%,
    transparent 46%, transparent 54%, rgba(224, 43, 255, .5) 72%, transparent 92%);
  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font-display: 'Chakra Petch', 'Noto Sans SC', 'PingFang SC', sans-serif;
  --font-body: 'Space Grotesk', 'Noto Sans SC', 'PingFang SC', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-feature-settings: "ss01" 1, "cv01" 1;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: rgba(91, 216, 255, .35); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ------------------------------------------------ CRT 扫描线 + 扫描光带 */
.crt {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: repeating-linear-gradient(to bottom,
    rgba(0, 4, 8, 0) 0px, rgba(0, 4, 8, 0) 3px, rgba(0, 4, 8, .28) 3px, rgba(0, 4, 8, .28) 4px);
  mix-blend-mode: multiply;
  opacity: .55;
}
.scanbeam {
  position: fixed; left: 0; right: 0; top: -12vh; height: 12vh; z-index: 91; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(91, 216, 255, .045), transparent);
  animation: beam 9s var(--ease) infinite;
}
@keyframes beam { 0% { top: -14vh; } 72% { top: 106vh; } 100% { top: 106vh; } }

/* ------------------------------------------------ 导航胶囊 */
.nav {
  position: sticky; top: 14px; z-index: 80;
  margin: 14px auto 0; max-width: 1080px; padding: 8px 10px 8px 18px;
  display: flex; align-items: center; gap: 18px;
  border-radius: 999px;
  background: rgba(8, 9, 12, .72);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  border: 1px solid var(--hair);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.nav::before {
  content: ''; position: absolute; inset: -1px; border-radius: 999px; padding: 1px;
  background: var(--nav-trace); background-size: 220% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: trace 7s linear infinite; pointer-events: none;
}
@keyframes trace { 0% { background-position: 220% 0; } 100% { background-position: -220% 0; } }
.nav-logo { display: flex; align-items: center; gap: 9px; }
.nav-name {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: -.02em;
}
.nav-name em { color: var(--acc); font-style: normal; }
.nav-logo small {
  font-size: 11px; color: var(--ink-dim); letter-spacing: .18em;
  border-left: 1px solid var(--hair); padding-left: 10px; margin-left: 2px;
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: 13.5px; color: var(--ink-dim); padding: 7px 13px; border-radius: 999px;
  transition: color .3s var(--ease), background .3s var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: var(--glass); }
.nav-links a.active { color: var(--ink); background: var(--acc-soft); }
.nav-side { display: flex; align-items: center; gap: 8px; }

.balance-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--acc);
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--acc-dim); background: rgba(91, 216, 255, .07);
  cursor: pointer; transition: background .3s var(--ease);
  white-space: nowrap;
}
.balance-chip:hover { background: rgba(91, 216, 255, .13); }
.balance-chip .dia { font-size: 11px; opacity: .8; }

/* ------------------------------------------------ 布局容器 */
.app { max-width: 1080px; margin: 0 auto; padding: 34px 22px 80px; min-height: 70vh; }
.app > * { animation: rise .6s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.sec-head { margin: 26px 0 18px; }
.sec-kicker {
  font-size: 9px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--acc); opacity: .85; margin: 0 0 8px;
}
.sec-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 4vw, 34px); letter-spacing: -.015em; line-height: 1.1;
  margin: 0;
}
.sec-sub { color: var(--ink-dim); margin: 10px 0 0; max-width: 640px; font-size: 14.5px; }

/* ------------------------------------------------ 卡片：shell + core 双层 */
.shell {
  position: relative; border-radius: 30px; padding: 1px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03) 40%, rgba(255, 255, 255, .08));
  isolation: isolate;
}
.shell::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--angle),
    transparent 0deg, rgba(91, 216, 255, .0) 40deg, var(--acc-dim) 90deg,
    rgba(244, 114, 182, .35) 140deg, transparent 200deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; z-index: 2;
}
.shell:hover::before { opacity: 1; animation: angle-spin 3.2s linear infinite; }
@keyframes angle-spin { to { --angle: 360deg; } }
.core {
  position: relative; border-radius: 29px; background: var(--core-grad);
  overflow: hidden; height: 100%;
}
/* hover 光斑 */
.core::after {
  content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%;
  right: -80px; top: -120px; pointer-events: none;
  background: radial-gradient(circle, rgba(91, 216, 255, .14), transparent 70%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.shell:hover .core::after { opacity: 1; }

.panel {
  border-radius: 34px; padding: 1px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02) 45%, rgba(255, 255, 255, .07));
}
.panel > .panel-core {
  border-radius: 33px; background:
    radial-gradient(1200px 400px at 20% -10%, rgba(91, 216, 255, .05), transparent 60%),
    linear-gradient(160deg, rgba(18, 20, 26, .96), rgba(7, 8, 10, .98));
  padding: clamp(22px, 4vw, 40px);
}

/* ------------------------------------------------ HUD 四角框线 */
.hud { position: relative; }
.hud .hud-c { position: absolute; width: 26px; height: 26px; pointer-events: none; z-index: 3; }
.hud .hud-c::before, .hud .hud-c::after { content: ''; position: absolute; background: var(--acc-dim); }
.hud .hud-c::before { width: 100%; height: 1px; }
.hud .hud-c::after { width: 1px; height: 100%; }
.hud .hud-c.tl { top: 12px; left: 12px; } .hud .hud-c.tl::before { top: 0; left: 0; } .hud .hud-c.tl::after { top: 0; left: 0; }
.hud .hud-c.tr { top: 12px; right: 12px; } .hud .hud-c.tr::before { top: 0; right: 0; } .hud .hud-c.tr::after { top: 0; right: 0; }
.hud .hud-c.bl { bottom: 12px; left: 12px; } .hud .hud-c.bl::before { bottom: 0; left: 0; } .hud .hud-c.bl::after { bottom: 0; left: 0; }
.hud .hud-c.br { bottom: 12px; right: 12px; } .hud .hud-c.br::before { bottom: 0; right: 0; } .hud .hud-c.br::after { bottom: 0; right: 0; }
.hud-tag {
  position: absolute; top: 16px; left: 48px; z-index: 3;
  font-size: 9px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--acc); opacity: .8; white-space: nowrap;
}

/* ------------------------------------------------ 首页 hero */
.hero {
  position: relative; text-align: center;
  padding: clamp(48px, 9vw, 110px) 20px clamp(40px, 7vw, 80px);
  border-radius: 34px; overflow: hidden;
  background:
    radial-gradient(900px 480px at 50% -20%, rgba(91, 216, 255, .08), transparent 60%),
    radial-gradient(700px 420px at 85% 110%, rgba(139, 92, 246, .10), transparent 65%),
    radial-gradient(600px 300px at 10% 100%, rgba(244, 114, 182, .07), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, .006));
  border: 1px solid var(--hair);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(91, 216, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 216, 255, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(720px 420px at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(720px 420px at 50% 30%, #000 30%, transparent 75%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--acc);
  border: 1px solid var(--acc-dim); border-radius: 999px; padding: 7px 14px;
  background: rgba(91, 216, 255, .06); margin: 0 0 26px; position: relative;
}
.hero-badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--acc);
  box-shadow: 0 0 8px var(--acc); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 7.2vw, 72px); line-height: .98; letter-spacing: -.015em;
  margin: 0; position: relative;
}
.hero-title .neon-text {
  background: var(--neon-band); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: flow 9s linear infinite;
}
@keyframes flow { to { background-position: 200% 0; } }
.hero-sub { color: var(--ink-dim); max-width: 560px; margin: 22px auto 0; font-size: 15.5px; position: relative; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin: 32px 0 0; flex-wrap: wrap; position: relative; }
.hero-stats {
  margin: 38px auto 0; display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap;
  color: var(--ink-faint); font-size: 12px; letter-spacing: .08em; position: relative;
}
.hero-stats b { color: var(--acc); font-weight: 600; }

/* 跑马灯 */
.marquee {
  overflow: hidden; border-block: 1px solid var(--hair);
  margin: 8px 0 0; padding: 12px 0; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; gap: 44px; width: max-content; white-space: nowrap;
  font-family: var(--font-display); font-size: 13px; letter-spacing: .28em;
  color: var(--ink-faint); text-transform: uppercase;
  animation: marquee 36s linear infinite;
}
.marquee-track b { color: var(--acc); font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------ 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; cursor: pointer; user-select: none;
  font-family: var(--font-body); font-weight: 700; font-size: 14.5px;
  padding: 13px 26px; border-radius: 999px;
  background: var(--silver-cta); color: var(--cta-ink);
  transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), opacity .3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn:hover { background: var(--silver-cta-hi); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .38; cursor: not-allowed; transform: none; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--hair); box-shadow: none;
}
.btn-ghost:hover { background: var(--glass); border-color: rgba(255, 255, 255, .2); }
.btn-acc {
  background: linear-gradient(135deg, rgba(91, 216, 255, .22), rgba(91, 216, 255, .08));
  color: var(--acc); border: 1px solid var(--acc-dim); box-shadow: none;
}
.btn-acc:hover { background: rgba(91, 216, 255, .16); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 15px 34px; font-size: 15.5px; }
.btn .spin {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(11, 11, 13, .25); border-top-color: var(--cta-ink);
  animation: rot .8s linear infinite;
}
.btn-acc .spin, .btn-ghost .spin { border-color: rgba(91, 216, 255, .25); border-top-color: var(--acc); }
@keyframes rot { to { transform: rotate(360deg); } }

/* ------------------------------------------------ 三步流程 */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.step-card .core { padding: 26px 24px 24px; }
.step-no {
  font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1;
  background: var(--neon-band); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 14px;
}
.step-card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -.02em; font-weight: 700; }
.step-card p { margin: 0; color: var(--ink-dim); font-size: 13.5px; }
.step-card .step-ic { position: absolute; right: 18px; top: 18px; color: var(--acc); opacity: .5; }
.step-flow {
  display: flex; align-items: center; gap: 8px; margin: 20px 2px 0;
  color: var(--ink-faint); font-size: 11px; letter-spacing: .14em;
}
.step-flow .fl { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--acc-dim), transparent); position: relative; }
.step-flow .fl::after {
  content: ''; position: absolute; right: -1px; top: -2.5px;
  border-left: 6px solid var(--acc-dim); border-block: 3px solid transparent;
}

/* ------------------------------------------------ 场景卡 */
.scenes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.scene-card { display: block; transition: transform .45s var(--ease); }
.scene-card:hover { transform: translateY(-5px); }
.scene-card .core { display: flex; flex-direction: column; }
.scene-art { position: relative; border-radius: 29px 29px 0 0; overflow: hidden; aspect-ratio: 420/280; }
.scene-art svg { width: 100%; height: 100%; display: block; }
.scene-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.scene-name { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.scene-name h3 { margin: 0; font-size: 17px; letter-spacing: -.02em; font-weight: 700; }
.scene-name span { font-size: 10px; letter-spacing: .18em; color: var(--acc); opacity: .85; }
.scene-badge {
  align-self: flex-start; font-size: 10px; letter-spacing: .14em; color: var(--ink-dim);
  border: 1px solid var(--hair); padding: 3px 10px; border-radius: 999px; margin-bottom: 4px;
}
.scene-tag { color: var(--ink); font-size: 13.5px; margin: 0; }
.scene-desc { color: var(--ink-dim); font-size: 12.5px; margin: 0; flex: 1; }
.scene-cta {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 7px;
  color: var(--acc); font-size: 13px; font-weight: 600;
}
.scene-cta .arr { transition: transform .35s var(--ease); }
.scene-card:hover .scene-cta .arr { transform: translateX(4px); }

/* ------------------------------------------------ 套餐卡 */
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.pack-card .core { padding: 26px 24px; display: flex; flex-direction: column; }
.pack-card.rec { transform: scale(1.035); z-index: 2; }
.pack-card.rec .core { background:
  radial-gradient(420px 200px at 80% -10%, rgba(91, 216, 255, .13), transparent 65%),
  var(--core-grad); }
.pack-name { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.pack-name h3 { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.pack-name span { font-size: 10px; letter-spacing: .2em; color: var(--ink-faint); }
.pack-chip {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: 10.5px; letter-spacing: .14em; font-weight: 700; color: #06121a;
  background: linear-gradient(135deg, #9fe8ff, #5bd8ff);
  padding: 6px 16px; border-radius: 999px; white-space: nowrap; z-index: 4;
  box-shadow: 0 6px 18px rgba(91, 216, 255, .35);
}
.pack-price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 4px; }
.pack-price b {
  font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1;
  background: var(--neon-band); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pack-price span { color: var(--ink-dim); font-size: 13px; }
.pack-note { color: var(--ink-faint); font-size: 12px; margin: 0 0 16px; }
.pack-feats { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; flex: 1; }
.pack-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink); }
.pack-feats li.off { color: var(--ink-faint); }
.pack-feats .tick {
  width: 17px; height: 17px; flex: none; margin-top: 2px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--acc-dim); color: var(--acc); font-size: 10px; font-weight: 700;
}
.pack-feats li.off .tick { border-color: var(--hair); color: var(--ink-faint); }
.pack-foot { text-align: center; color: var(--ink-faint); font-size: 12px; margin: 22px 0 0; }
.pack-foot b { color: var(--acc); font-weight: 600; }

/* ------------------------------------------------ 生成台（向导） */
.studio-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.studio-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.ststep {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-faint); padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--hair); background: var(--glass);
  transition: all .4s var(--ease);
}
.ststep i {
  font-style: normal; font-family: var(--font-display); font-size: 10.5px; font-weight: 700;
  width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--hair); color: var(--ink-faint);
}
.ststep.on { color: var(--ink); border-color: var(--acc-dim); background: rgba(91, 216, 255, .07); }
.ststep.on i { border-color: var(--acc); color: var(--acc); }
.ststep.done { color: var(--ink-dim); }
.ststep.done i { border-color: var(--acc-dim); color: var(--acc); background: rgba(91,216,255,.08); }
.ststep .sep { width: 14px; height: 1px; background: var(--hair); margin-left: 8px; }

.wiz-panel > .panel-core { padding: clamp(20px, 3.4vw, 34px); }
.wiz-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0 0 6px; letter-spacing: -.01em; }
.wiz-sub { color: var(--ink-dim); font-size: 13.5px; margin: 0 0 22px; }
.wiz-actions { display: flex; gap: 12px; margin-top: 26px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.wiz-actions .sp { flex: 1; }

/* 上传 */
.dropzone {
  border: 1.5px dashed rgba(255, 255, 255, .18); border-radius: 30px;
  padding: 44px 24px; text-align: center; cursor: pointer;
  transition: border-color .35s var(--ease), background .35s var(--ease);
  background: rgba(255, 255, 255, .015);
}
.dropzone:hover, .dropzone.over { border-color: var(--acc-dim); background: rgba(91, 216, 255, .05); }
.dropzone .dz-ic { color: var(--acc); opacity: .75; margin-bottom: 12px; }
.dropzone h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.dropzone p { margin: 0; color: var(--ink-dim); font-size: 13px; }
.uploads-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; margin-top: 18px; }
.up-cell {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3;
  border: 1px solid var(--hair); background: #0a0c10;
}
.up-cell img { width: 100%; height: 100%; object-fit: cover; }
.up-cell .rm {
  position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--hair); background: rgba(5, 5, 5, .72); color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 12px;
  transition: all .3s var(--ease); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.up-cell .rm:hover { background: rgba(220, 74, 120, .85); border-color: transparent; }
.up-cell .idx {
  position: absolute; bottom: 8px; left: 8px; font-size: 10px; letter-spacing: .14em;
  padding: 3px 9px; border-radius: 999px; background: rgba(5, 5, 5, .72);
  border: 1px solid var(--hair); color: var(--acc);
}
.uploads-hint { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--ink-dim); font-size: 13px; flex-wrap: wrap; }
.uploads-hint b { color: var(--acc); font-weight: 600; }

/* 选择场景（紧凑） */
.pick-label { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--acc); margin: 20px 0 12px; }
.mini-scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mini-scene {
  position: relative; border-radius: 20px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--hair); transition: all .35s var(--ease); aspect-ratio: 420/280;
}
.mini-scene svg { width: 100%; height: 100%; }
.mini-scene:hover { border-color: rgba(255, 255, 255, .28); transform: translateY(-2px); }
.mini-scene.sel { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc), 0 12px 30px rgba(91, 216, 255, .18); }
.mini-scene .ms-name {
  position: absolute; left: 10px; bottom: 8px; font-size: 12px; font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
}
.mini-scene .ms-ck {
  position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: rgba(5,5,5,.55); color: transparent;
  display: flex; align-items: center; justify-content: center; font-size: 11px;
  transition: all .3s var(--ease);
}
.mini-scene.sel .ms-ck { background: var(--acc); border-color: var(--acc); color: #06121a; }

/* 套餐选择（紧凑单选） */
.mini-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-pack {
  position: relative; border-radius: 22px; border: 1px solid var(--hair);
  background: var(--glass); padding: 16px 16px 14px; cursor: pointer;
  transition: all .35s var(--ease);
}
.mini-pack:hover { background: var(--glass-2); }
.mini-pack.sel { border-color: var(--acc); background: rgba(91, 216, 255, .07); box-shadow: 0 10px 26px rgba(91, 216, 255, .12); }
.mini-pack .mp-name { display: flex; justify-content: space-between; align-items: baseline; }
.mini-pack .mp-name b { font-size: 15.5px; font-weight: 700; }
.mini-pack .mp-name span { font-size: 10px; letter-spacing: .16em; color: var(--ink-faint); }
.mini-pack .mp-price { margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--acc); }
.mini-pack .mp-price small { font-size: 11px; color: var(--ink-dim); font-family: var(--font-body); font-weight: 500; }
.mini-pack .mp-desc { margin: 6px 0 0; font-size: 12px; color: var(--ink-dim); }
.mini-pack .mp-rec {
  position: absolute; top: -9px; right: 14px; font-size: 9.5px; letter-spacing: .12em;
  color: #06121a; font-weight: 700; background: linear-gradient(135deg, #9fe8ff, #5bd8ff);
  padding: 3px 10px; border-radius: 999px;
}
.names-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; margin-top: 14px; }

/* 表单 */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12px; color: var(--ink-dim); letter-spacing: .04em; }
.input, select.input {
  background: rgba(255, 255, 255, .045); border: 1px solid var(--hair); border-radius: 16px;
  color: var(--ink); padding: 12px 15px; font-size: 14px; font-family: inherit;
  outline: none; transition: border-color .3s var(--ease), background .3s var(--ease);
  width: 100%;
}
.input:focus { border-color: var(--acc-dim); background: rgba(91, 216, 255, .05); }
.input::placeholder { color: var(--ink-faint); }
input.input[type="date"] { color-scheme: dark; }

/* 确认摘要 */
.confirm-rows { display: grid; gap: 0; border: 1px solid var(--hair); border-radius: 22px; overflow: hidden; }
.crow { display: flex; justify-content: space-between; gap: 14px; padding: 14px 18px; font-size: 14px; border-bottom: 1px solid var(--hair); }
.crow:last-child { border-bottom: 0; }
.crow .k { color: var(--ink-dim); }
.crow .v { font-weight: 600; text-align: right; }
.crow.total { background: rgba(91, 216, 255, .05); }
.crow.total .v { color: var(--acc); font-family: var(--font-display); font-size: 18px; }

/* 余额不足引导卡 */
.shortfall { border-radius: 22px; padding: 1px; margin-top: 18px;
  background: linear-gradient(160deg, rgba(251, 191, 36, .5), rgba(220, 74, 120, .35)); }
.shortfall .sf-core {
  border-radius: 21px; background: linear-gradient(160deg, rgba(30, 24, 10, .97), rgba(18, 10, 12, .98));
  padding: 20px 22px;
}
.shortfall h4 { margin: 0 0 6px; display: flex; align-items: center; gap: 9px; font-size: 15.5px; color: var(--amber); }
.shortfall p { margin: 0 0 14px; color: var(--ink-dim); font-size: 13px; }
.shortfall p b { color: var(--ink); }
.sf-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ------------------------------------------------ 进度与成片 */
.progress-panel .stage-chips { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.stage-chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-faint);
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--hair); background: var(--glass);
  transition: all .4s var(--ease);
}
.stage-chip i { font-style: normal; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-faint); }
.stage-chip.on { color: var(--ink); border-color: var(--acc-dim); background: rgba(91, 216, 255, .08); }
.stage-chip.on i { background: var(--acc); box-shadow: 0 0 10px var(--acc); animation: pulse 1.6s infinite; }
.stage-chip.done i { background: var(--emerald); box-shadow: none; animation: none; }
.stage-chip .arw { color: var(--ink-faint); margin-left: 2px; }
.pbar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--hair); overflow: hidden; position: relative; }
.pbar-fill {
  height: 100%; border-radius: 999px; width: 0%;
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--pink), var(--acc));
  background-size: 220% 100%; animation: flow 4s linear infinite;
  transition: width 1s var(--ease); position: relative;
}
.pbar-meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12.5px; color: var(--ink-dim); }
.pbar-meta b { color: var(--acc); font-family: var(--font-display); font-size: 15px; }

.result-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 30px 0 16px; }
.result-head h3 { font-family: var(--font-display); margin: 0; font-size: 21px; }
.result-head .rh-sub { color: var(--ink-dim); font-size: 13px; margin-top: 4px; }
.status-pill {
  font-size: 11px; letter-spacing: .14em; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--hair); color: var(--ink-dim);
}
.status-pill.ok { color: var(--emerald); border-color: rgba(52, 211, 153, .4); background: rgba(52, 211, 153, .07); }
.status-pill.run { color: var(--acc); border-color: var(--acc-dim); background: rgba(91, 216, 255, .07); }
.status-pill.bad { color: var(--pink); border-color: rgba(244, 114, 182, .4); background: rgba(244, 114, 182, .07); }

.photo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.ph-cell { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--hair); background: #090b0f; aspect-ratio: 3/4; cursor: pointer; }
.ph-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ph-cell.rh-fit img { object-fit: contain; }
.ph-cell.rh-fit:hover img { transform: none; }
.ph-cell:hover img { transform: scale(1.05); }
.ph-cell .ph-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 12px 9px;
  background: linear-gradient(transparent, rgba(5, 5, 5, .88));
  font-size: 11px; color: var(--ink); letter-spacing: .06em; display: flex; justify-content: space-between; gap: 6px;
}
.ph-cell .ph-label .st { color: var(--acc); }
.ph-cell .ph-label .st.ok { color: var(--emerald); }
.ph-cell .ph-label .st.bad { color: var(--pink); }
.ph-cell.pending { display: flex; align-items: center; justify-content: center; }
.ph-cell .ph-wait { text-align: center; color: var(--ink-faint); font-size: 11px; letter-spacing: .16em; }
.ph-cell .ph-wait .ring {
  width: 26px; height: 26px; margin: 0 auto 10px; border-radius: 50%;
  border: 2px solid rgba(91, 216, 255, .18); border-top-color: var(--acc);
  animation: rot 1s linear infinite;
}
.ph-cell.pending { background:
  linear-gradient(100deg, rgba(255,255,255,.02) 30%, rgba(91,216,255,.07) 50%, rgba(255,255,255,.02) 70%);
  background-size: 220% 100%; animation: shimmer 1.8s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }

/* 视频 / 请柬 大卡 */
.deliv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.deliv-card .core { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.deliv-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.deliv-title h4 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 9px; }
.deliv-title h4 .ic { color: var(--acc); }
.video-frame { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--hair); aspect-ratio: 4/3; background: #080a0e; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.video-frame .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(300px 160px at 50% 50%, rgba(5, 5, 5, .25), rgba(5, 5, 5, .55));
}
.video-frame .play .tri {
  width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--acc-dim); background: rgba(5, 10, 14, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 34px rgba(91, 216, 255, .25); transition: transform .4s var(--ease);
}
.video-frame:hover .play .tri { transform: scale(1.1); }
.video-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.vmeta {
  font-size: 11px; letter-spacing: .1em; color: var(--ink-dim);
  border: 1px solid var(--hair); border-radius: 999px; padding: 4px 11px;
}
.inv-frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--hair); background: #080a0e; }
.inv-frame img { width: 100%; aspect-ratio: 1000/1400; object-fit: cover; }
.inv-empty {
  border-radius: 18px; border: 1px dashed rgba(255, 255, 255, .16);
  aspect-ratio: 1000/1400; display: flex; flex-direction: column; gap: 10px;
  align-items: center; justify-content: center; text-align: center; padding: 26px;
  color: var(--ink-faint); font-size: 12.5px;
}
.inv-empty .ic { color: var(--pink); opacity: .65; }
.inv-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inv-form .field.wide { grid-column: 1 / -1; }

/* ------------------------------------------------ 空态 / 加载 / 错误 */
.empty {
  border: 1px dashed rgba(255, 255, 255, .15); border-radius: 26px; text-align: center;
  padding: 52px 26px; color: var(--ink-faint);
}
.empty .ic { color: var(--acc); opacity: .55; margin-bottom: 14px; }
.empty h4 { margin: 0 0 8px; color: var(--ink-dim); font-size: 16px; }
.empty p { margin: 0 0 18px; font-size: 13px; }
.skel-grid { display: grid; gap: 18px; }
.skel-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.skel-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.skel {
  border-radius: 30px; height: 320px;
  background: linear-gradient(100deg, rgba(255,255,255,.025) 30%, rgba(91,216,255,.06) 50%, rgba(255,255,255,.025) 70%);
  background-size: 220% 100%; animation: shimmer 1.6s linear infinite;
}
.err-banner {
  border-radius: 18px; border: 1px solid rgba(244, 114, 182, .4);
  background: rgba(244, 114, 182, .07); color: var(--ink);
  padding: 14px 18px; font-size: 13.5px; display: flex; gap: 10px; align-items: flex-start;
}
.err-banner .ic { color: var(--pink); flex: none; margin-top: 1px; }

/* ------------------------------------------------ 我的 */
.me-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.me-balance { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 4px; }
.me-balance b { font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: 1;
  background: var(--neon-band); -webkit-background-clip: text; background-clip: text; color: transparent; }
.me-balance span { color: var(--ink-dim); font-size: 13px; }
.tx-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tx-table th { text-align: left; color: var(--ink-faint); font-weight: 500; font-size: 11px; letter-spacing: .12em; padding: 10px 12px; border-bottom: 1px solid var(--hair); }
.tx-table td { padding: 11px 12px; border-bottom: 1px solid rgba(255, 255, 255, .05); color: var(--ink-dim); }
.tx-table td.plus { color: var(--emerald); font-weight: 600; }
.tx-table td.minus { color: var(--pink); font-weight: 600; }
.tx-table tr:last-child td { border-bottom: 0; }
.order-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); cursor: pointer; transition: background .3s; border-radius: 12px; }
.order-row:hover { background: var(--glass); }
.order-row:last-child { border-bottom: 0; }
.order-row .or-l b { font-size: 14px; }
.order-row .or-l span { display: block; color: var(--ink-faint); font-size: 12px; margin-top: 2px; }

/* ------------------------------------------------ 弹层 / 提示 */
.modal-mask {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center;
  background: rgba(3, 4, 6, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 20px; animation: fadein .3s var(--ease);
}
@keyframes fadein { from { opacity: 0; } }
.modal {
  width: min(440px, 100%); border-radius: 30px; padding: 1px; position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.03) 45%, rgba(91,216,255,.16));
  animation: rise .45s var(--ease-out);
}
.modal .m-core { border-radius: 29px; background: var(--core-grad); padding: 28px; position: relative; }
.modal h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 20px; }
.modal .m-sub { color: var(--ink-dim); font-size: 13px; margin: 0 0 20px; }
.m-close { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--hair); background: var(--glass); color: var(--ink-dim); cursor: pointer; font-size: 13px;
  display: flex; align-items: center; justify-content: center; transition: all .3s; }
.m-close:hover { color: var(--ink); border-color: rgba(255,255,255,.3); }
.demo-code {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px dashed var(--acc-dim); background: rgba(91, 216, 255, .05);
  border-radius: 16px; padding: 10px 14px; margin: 12px 0; font-size: 13px; color: var(--ink-dim);
}
.demo-code b { font-family: var(--font-display); font-size: 19px; letter-spacing: .3em; color: var(--acc); }
.demo-code button { background: none; border: 0; color: var(--acc); cursor: pointer; font-size: 12px; font-weight: 600; }

.lightbox {
  position: fixed; inset: 0; z-index: 130; display: flex; flex-direction: column; gap: 14px;
  align-items: center; justify-content: center; background: rgba(3, 4, 6, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding: 26px; animation: fadein .3s var(--ease);
}
.lightbox img { max-width: min(620px, 92vw); max-height: 74vh; border-radius: 22px; border: 1px solid var(--hair); box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.lightbox .lb-bar { display: flex; gap: 12px; align-items: center; color: var(--ink-dim); font-size: 13px; }

.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 140; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 10px; min-width: 240px; max-width: 360px;
  border-radius: 18px; padding: 13px 16px; font-size: 13.5px;
  background: rgba(10, 12, 16, .92); border: 1px solid var(--hair);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  animation: toast-in .45s var(--ease-out);
}
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.toast.out { opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); }
.toast .t-ic { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.toast.ok .t-ic { background: var(--emerald); box-shadow: 0 0 10px var(--emerald); }
.toast.err .t-ic { background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.toast.info .t-ic { background: var(--acc); box-shadow: 0 0 10px var(--acc); }

/* ------------------------------------------------ 页脚 */
.footer { border-top: 1px solid var(--hair); margin-top: 30px; }
.footer-in { max-width: 1080px; margin: 0 auto; padding: 34px 22px 44px; text-align: center; }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.footer-brand span { color: var(--acc); }
.footer-brand em { font-style: normal; color: var(--ink-dim); font-size: 12px; margin-left: 8px; letter-spacing: .2em; }
.footer-line { color: var(--ink-dim); font-size: 12.5px; margin: 10px 0 0; }
.footer-meta { color: var(--ink-faint); font-size: 10.5px; letter-spacing: .12em; margin: 14px 0 0; }

/* ------------------------------------------------ 响应式 */
@media (max-width: 960px) {
  .scenes-grid { grid-template-columns: repeat(2, 1fr); }
  .skel-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .mini-scenes { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 820px) {
  .pack-grid { grid-template-columns: 1fr; }
  .pack-card.rec { transform: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .deliv-grid, .me-grid { grid-template-columns: 1fr; }
  .names-form { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav { top: 8px; margin: 8px 10px 0; padding: 8px 8px 8px 14px; gap: 10px; overflow-x: auto; }
  .nav-logo small { display: none; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 7px 9px; font-size: 12.5px; }
  .app { padding: 22px 14px 60px; }
  .scenes-grid { grid-template-columns: 1fr; }
  .skel-grid.cols-4, .skel-grid.cols-3 { grid-template-columns: 1fr; }
  .mini-scenes { grid-template-columns: repeat(2, 1fr); }
  .mini-packs { grid-template-columns: 1fr; }
  .inv-form { grid-template-columns: 1fr; }
  .photo-wall { grid-template-columns: repeat(2, 1fr); }
  .tx-wrap { overflow-x: auto; }
}

/* ------------------------------------------------ 动效降级 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important; animation-iteration-count: 1 !important;
    transition-duration: .001s !important; scroll-behavior: auto !important;
  }
  .scanbeam, .crt { display: none; }
  .hero-title .neon-text, .pbar-fill { animation: none; }
}
