/* ============================================================
   VideoGen Studio — Dark Liquid Glass UI
   千问创作式暗夜液态玻璃：深黑底 + 环境光晕 + 半透明深色玻璃
   卡片 hover 提亮 #323234，发丝高光描边，克制蓝点缀
   ============================================================ */

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

/* ===== Design Tokens ===== */
:root {
  --bg:           #0a0a0d;
  --bg-2:         #060608;
  --surface:      rgba(255, 255, 255, 0.05);
  --surface-solid:#1c1c20;
  --glass:        rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --border:       rgba(255, 255, 255, 0.1);
  --accent:       #0a84ff;
  --accent-2:     #0064d2;
  --accent-3:     #6db2ff;
  --text:         #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-dim:     #6e6e73;
  --success:      #30d158;
  --danger:       #ff453a;
  --radius:       20px;
  --radius-sm:    12px;
  --radius-xs:    8px;
  --glow:         0 16px 44px -14px rgba(10, 132, 255, 0.35);
  --glow-sm:      0 8px 24px -10px rgba(10, 132, 255, 0.28);
  --shadow:       0 24px 60px -18px rgba(0, 0, 0, 0.55), 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg:    0 32px 80px -20px rgba(0, 0, 0, 0.65), 0 8px 24px rgba(0, 0, 0, 0.35);
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --primary:      var(--accent);
  --text-primary: var(--text);

  --navbar-h:     64px;
}

/* ===== Lucide Icons ===== */
[data-lucide] {
  display: inline-block;
  vertical-align: middle;
  stroke-width: 1.8;
}

.navbar-logo [data-lucide] {
  width: 18px; height: 18px;
  color: #fff;
  stroke-width: 2.2;
}

.navbar-btn [data-lucide] {
  width: 14px; height: 14px;
}

.select-card .icon [data-lucide] {
  width: 32px; height: 32px;
  color: var(--text);
}

.upload-icon [data-lucide] {
  width: 36px; height: 36px;
  color: var(--text-dim);
}

.section-title [data-lucide] {
  width: 16px; height: 16px;
  color: var(--text-dim);
}

.remove-btn [data-lucide] {
  width: 12px; height: 12px;
}

/* ===== Body & Background ===== */
body {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(1100px 560px at 24% -8%, rgba(255, 150, 80, 0.08), transparent 58%),
    radial-gradient(1200px 620px at 86% 22%, rgba(64, 140, 255, 0.10), transparent 60%),
    radial-gradient(900px 540px at 10% 110%, rgba(90, 70, 200, 0.08), transparent 62%),
    linear-gradient(180deg, #0b0b0f 0%, #060608 100%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 细腻噪点：给深色底加胶片颗粒质感 */
html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
}

/* Ambient background orbs — 玻璃背后的环境光 */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 680px; height: 680px;
  top: -220px; left: -160px;
  background: radial-gradient(circle, rgba(255, 150, 80, 0.10) 0%, transparent 70%);
  animation: orbFloat1 18s ease-in-out infinite;
}

body::after {
  width: 620px; height: 620px;
  bottom: -200px; right: -140px;
  background: radial-gradient(circle, rgba(64, 140, 255, 0.11) 0%, transparent 70%);
  animation: orbFloat2 22s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, 40px) scale(1.1); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-40px, -30px) scale(1.08); }
}

/* ===== Video Background ===== */
.video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.video-bg video.ready {
  opacity: 0.5;
}

.video-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 9, 0.55);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(10, 10, 14, 0.55);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  animation: fadeIn 0.4s ease both;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-logo {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2a94ff, #0064d2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(10, 132, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.navbar-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

.navbar-title .brand-sub {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 13px;
  margin-left: 6px;
}

.navbar-title .brand-tag {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 13px;
  margin-left: 6px;
}

.navbar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 导航栏步骤进度条 */
.navbar-steps {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  transition: all var(--transition);
  flex-shrink: 0;
}

.nav-dot.active {
  background: linear-gradient(135deg, #2a94ff, #0064d2);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(10, 132, 255, 0.45);
  transform: scale(1.15);
}

.nav-dot.done {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-size: 12px;
}

.nav-line {
  width: 20px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  flex-shrink: 0;
  transition: background var(--transition);
}

.nav-line.done {
  background: rgba(10, 132, 255, 0.55);
}

.navbar-step-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  white-space: nowrap;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.navbar-btn-ghost {
  background: transparent;
  color: var(--text); /* 2026-09-07 纯文字按钮提亮为白（原 var(--text-dim) 太暗） */
  border: 1px solid transparent;
}


/* 联系客服：白底黑字圆角胶囊（强调按钮） */
.navbar-btn.navbar-btn-contact {
  background: #ffffff;
  color: #0a0a12;
  border: 1px solid #ffffff;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.18);
}
.navbar-btn.navbar-btn-contact:hover {
  background: rgba(255, 255, 255, 0.88);
  color: #0a0a12;
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.28);
}

.navbar-btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

/* ===== Main Container ===== */
.container {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--navbar-h) + 36px) 24px 64px;
}

/* ===== Page Header ===== */
.page-header {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
}

.page-header::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-3), var(--accent-2));
  opacity: 0.6;
}

.hero-header {
  margin-bottom: 56px;
  padding: 48px 0 8px;
  position: relative;
}

/* 标题背后呼吸光晕 */
.hero-header::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 140px;
  background: radial-gradient(ellipse, rgba(10, 132, 255, 0.14) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  animation: heroGlow 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.15); }
}

.hero-title {
  font-size: 46px !important;
  letter-spacing: -1.5px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  color: var(--text);
}

/* 入场 */
.animate-in .hero-title {
  animation: heroEnter 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-in .hero-header .page-subtitle {
  animation: heroSubEnter 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroSubEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  line-height: 1.3;
}

.page-subtitle {
  color: var(--text-dim);
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
}

/* ===== Glass Card ===== */
/* 暗夜液态玻璃：深色半透明体 + 高斯模糊 + 发丝高光描边 */
.card {
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 34%) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05) 44%, rgba(120, 170, 255, 0.12)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03),
    var(--shadow);
}

.card:hover {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 34%) padding-box,
    linear-gradient(135deg, #323234, rgba(50, 50, 52, 0.82)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08) 44%, rgba(120, 170, 255, 0.16)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 28px 68px -18px rgba(0, 0, 0, 0.6),
    0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* ===== Select Cards Grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.select-card {
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.09)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 36px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.select-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition);
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.1), rgba(10, 132, 255, 0.03));
}

.select-card:hover {
  background:
    linear-gradient(135deg, #323234, rgba(50, 50, 52, 0.78)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0.13)) border-box;
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 48px -14px rgba(0, 0, 0, 0.6);
}

.select-card:hover::before { opacity: 1; }

.select-card.selected {
  background:
    linear-gradient(135deg, #3a3a3e, rgba(52, 52, 58, 0.85)) padding-box,
    linear-gradient(135deg, rgba(10, 132, 255, 0.75), rgba(10, 132, 255, 0.25) 60%, rgba(10, 132, 255, 0.45)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 0 3px rgba(10, 132, 255, 0.16),
    0 16px 44px -12px rgba(10, 132, 255, 0.3);
}

.select-card.selected::before { opacity: 1; }

.select-card.disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.select-card.disabled:hover {
  transform: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.09)) border-box;
  box-shadow: 0 12px 36px -12px rgba(0, 0, 0, 0.5);
}

.select-card.disabled .hint {
  color: var(--danger);
}

.card-badge {
  position: absolute;
  top: -1px;
  right: 12px;
  background: linear-gradient(135deg, #2a94ff, #0064d2);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 0 0 8px 8px;
  letter-spacing: 0.5px;
  z-index: 1;
}

.select-card .icon {
  font-size: 32px;
  margin-bottom: 10px;
  position: relative;
}

.select-card .label {
  font-weight: 600;
  font-size: 15px;
  position: relative;
}

.select-card .hint {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 5px;
  position: relative;
}

/* ===== Form Error ===== */
.form-error {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 12px 18px;
  background: rgba(255, 69, 58, 0.1);
  border: 1px solid rgba(255, 69, 58, 0.3);
  border-radius: var(--radius-sm);
  color: var(--danger);
  font-size: 13px;
  font-weight: 500;
  animation: fadeIn 0.3s ease both;
}

.form-error [data-lucide] {
  width: 15px; height: 15px;
  flex-shrink: 0;
}

/* ===== Upload Zone ===== */
.upload-zone {
  border: 1.5px dashed rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: rgba(10, 132, 255, 0.6);
  background: rgba(10, 132, 255, 0.05);
  box-shadow: inset 0 0 40px rgba(10, 132, 255, 0.06);
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.upload-zone .upload-icon,
.upload-zone .upload-text {
  pointer-events: none;
}

.upload-zone .upload-icon {
  font-size: 36px;
  margin-bottom: 10px;
  opacity: 0.8;
}

.upload-zone .upload-text {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

.upload-zone .upload-text strong {
  color: var(--accent-3);
  font-weight: 600;
}

/* ===== Image Preview ===== */
.preview {
  margin-top: 16px;
  display: none;
}

.preview.show { display: block; }

.preview img {
  max-width: 200px;
  max-height: 160px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

.preview .remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  background: rgba(255, 69, 58, 0.1);
  color: var(--danger);
  border: 1px solid rgba(255, 69, 58, 0.25);
  border-radius: var(--radius-xs);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preview .remove-btn:hover {
  background: rgba(255, 69, 58, 0.2);
  border-color: rgba(255, 69, 58, 0.45);
}

/* 多图预览（场景参考图最多 3 张） */
.preview-multi .preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-multi .preview-thumb img {
  max-width: 160px;
  max-height: 130px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  display: block;
}

.preview-multi .preview-actions {
  margin-top: 12px;
}

.preview-multi .preview-actions .remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 0;
}

/* 多图预览：继续补充占位块 */
.preview-multi .add-tile {
  width: 120px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition);
}

.preview-multi .add-tile:hover {
  border-color: rgba(10, 132, 255, 0.6);
  color: var(--accent-3);
  background: rgba(10, 132, 255, 0.06);
}

/* ===== Section Title ===== */
.section-title {
  font-size: 15px;
  font-weight: 600;
  margin: 32px 0 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: "";
  width: 3px;
  height: 16px;
  background: linear-gradient(180deg, #f5f5f7, rgba(245, 245, 247, 0.3));
  border-radius: 2px;
  flex-shrink: 0;
}

/* ===== Textarea ===== */
textarea {
  width: 100%;
  min-height: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: all var(--transition);
  line-height: 1.6;
}

textarea:focus {
  outline: none;
  border-color: rgba(10, 132, 255, 0.6);
  box-shadow: 0 0 0 3.5px rgba(10, 132, 255, 0.15);
}

textarea::placeholder {
  color: var(--text-dim);
}

/* ===== Buttons ===== */
.btn-row {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  padding: 12px 32px;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, #2a94ff, #0064d2);
  color: #fff;
  box-shadow: 0 10px 28px rgba(10, 132, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #43a3ff, #0a70e0);
  box-shadow: 0 14px 36px rgba(10, 132, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-primary:disabled:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  transform: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
  background: #323234;
}

.btn-download {
  background: #f5f5f7;
  color: #1d1d1f;
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.12);
}

.btn-download:hover {
  background: #fff;
  box-shadow: 0 14px 36px rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

/* ===== Tutorial Card ===== */
.tutorial-card {
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 24px;
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05) 50%, rgba(48, 209, 88, 0.2)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    var(--shadow);
}

.tutorial-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.tutorial-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.tutorial-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a94ff, #0064d2);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(10, 132, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.tutorial-body {
  flex: 1;
  padding-top: 3px;
}

.tutorial-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.tutorial-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.tutorial-desc strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 640px) {
  .tutorial-step {
    gap: 10px;
  }
  .tutorial-num {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
}

/* ===== Summary Page ===== */
.summary-card {
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 20px;
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05) 50%, rgba(120, 170, 255, 0.12)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    var(--shadow);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.summary-item {
  text-align: center;
  padding: 20px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.summary-item:hover {
  background: #323234;
  border-color: rgba(255, 255, 255, 0.16);
}

.summary-item .value {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #f5f5f7, #98989d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.summary-item .label {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.image-grid .img-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  transition: all var(--transition);
}

.image-grid .img-card:hover {
  background: #323234;
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.image-grid .img-card img {
  max-width: 100%;
  max-height: 130px;
  border-radius: var(--radius-xs);
  object-fit: cover;
}

.image-grid .img-card .img-label {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}

.btn-multiview {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  background: rgba(10, 132, 255, 0.12);
  color: var(--accent-3);
  border: 1px solid rgba(10, 132, 255, 0.3);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
  justify-content: center;
}

.btn-multiview:hover {
  background: rgba(10, 132, 255, 0.24);
  border-color: rgba(10, 132, 255, 0.5);
  color: #fff;
}

.btn-multiview:disabled {
  opacity: 0.25;
  cursor: wait;
}

.btn-multiview.done {
  background: rgba(48, 209, 88, 0.12);
  border-color: rgba(48, 209, 88, 0.4);
  color: var(--success);
}

/* ===== 步骤3：上传区右侧的去真人按钮 ===== */
.role-upload-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
}
.role-upload-main {
  flex: 1;
  min-width: 0;
}
.role-upload-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 172px;
}
.role-upload-side .btn-multiview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  margin-top: 0;
  padding: 10px 6px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(135deg, #2a94ff, #0064d2);
  border: none;
  border-radius: 50px;
  box-shadow: 0 8px 22px rgba(10, 132, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.role-upload-side .btn-multiview .mv-rec {
  color: #ffd60a;
  font-weight: 800;
}
.role-upload-side .btn-multiview:hover:not(:disabled) {
  filter: brightness(1.08);
  box-shadow: 0 10px 28px rgba(10, 132, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}
.role-upload-side .btn-multiview:disabled {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-dim);
  box-shadow: none;
}
.role-upload-side .btn-multiview.done {
  background: linear-gradient(135deg, #30d158, #1d9d4c);
  box-shadow: 0 8px 22px rgba(48, 209, 88, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 生成中：保持按钮清晰可见（覆盖 disabled 半透明效果） */
.btn-multiview.btn-generating,
.btn-multiview.btn-generating:disabled {
  opacity: 1;
  cursor: wait;
}
.role-upload-side .btn-multiview.btn-generating,
.role-upload-side .btn-multiview.btn-generating:disabled {
  background: linear-gradient(135deg, #2a94ff, #0064d2);
  color: #fff;
  box-shadow: 0 8px 22px rgba(10, 132, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== Prompt Box ===== */
/* 提示词终端块：更深的黑 + 发丝描边 */
.prompt-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 18px;
  font-family: "Cascadia Code", "Fira Code", "JetBrains Mono", "Consolas", monospace;
  font-size: 12.5px;
  line-height: 1.85;
  color: #c9d8ec;
  white-space: pre-wrap;
  max-height: 340px;
  overflow-y: auto;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 32px rgba(0, 0, 0, 0.4);
}

.prompt-box::-webkit-scrollbar { width: 5px; }
.prompt-box::-webkit-scrollbar-track { background: transparent; }
.prompt-box::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
.prompt-box::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f5f5f7;
  color: #1d1d1f;
  border: none;
  border-radius: 50px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.btn-copy:hover {
  background: #fff;
}

.btn-copy.copied {
  background: var(--success);
  color: #fff;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    /* ⚠️ 必须写 none 而非 translateY(0)：fill-mode:both 会让末帧永久生效，
       非 none 的 transform 计算值会把元素变成其后代 fixed 定位的包含块
       （容器内弹窗因此被定位到文档中部而非视口 —— 2026-09-07 踩坑修复） */
    transform: none;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-in {
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Stagger children */
.animate-in > * {
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-in > *:nth-child(1) { animation-delay: 0s; }
.animate-in > *:nth-child(2) { animation-delay: 0.06s; }
.animate-in > *:nth-child(3) { animation-delay: 0.12s; }
.animate-in > *:nth-child(4) { animation-delay: 0.18s; }
.animate-in > *:nth-child(5) { animation-delay: 0.24s; }
.animate-in > *:nth-child(6) { animation-delay: 0.3s; }
.animate-in > *:nth-child(7) { animation-delay: 0.36s; }
.animate-in > *:nth-child(8) { animation-delay: 0.42s; }

/* ===== Confetti ===== */
.confetti-wrap {
  position: relative;
  height: 0;
  overflow: visible;
  pointer-events: none;
}

.confetti {
  position: absolute;
  left: var(--x);
  top: -10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c);
  opacity: 0;
  animation: confettiDrop var(--d) ease-in var(--s) infinite;
  transform: rotate(var(--r));
}

.confetti:nth-child(even) {
  width: 6px;
  height: 10px;
  border-radius: 1px;
}

@keyframes confettiDrop {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(var(--r)) scale(0.5);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(120px) rotate(calc(var(--r) + 180deg)) scale(0.3);
  }
}

/* ===== 生成区：方式1 免费自助 / 方式2 一键成片 ===== */
.gen-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.gen-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.09)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    var(--shadow);
}

.gen-option-paid {
  background:
    linear-gradient(160deg, rgba(251, 191, 36, 0.1), rgba(255, 255, 255, 0.03) 55%) padding-box,
    linear-gradient(135deg, rgba(251, 191, 36, 0.4), rgba(255, 255, 255, 0.08) 50%, rgba(245, 158, 11, 0.3)) border-box;
}

.gen-option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gen-option-num {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gen-option-paid .gen-option-num {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.35);
}

.gen-option-tag {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.gen-option-tag.free {
  color: var(--success);
  background: rgba(48, 209, 88, 0.12);
  border: 1px solid rgba(48, 209, 88, 0.35);
}

.gen-option-tag.paid {
  color: #1a1206;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.4);
}

.gen-option-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.gen-option-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: -6px;
}

.gen-option-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.gen-option-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.gen-option-step [data-lucide] {
  width: 15px; height: 15px;
  flex-shrink: 0;
  color: var(--accent-3);
}

.gen-option-paid .gen-option-step [data-lucide] {
  color: #fbbf24;
}

.gen-option-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-restart-row {
  display: flex;
  justify-content: center;
  margin: 10px 0 28px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-ghost [data-lucide] {
  width: 15px; height: 15px;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
  background: #323234;
}

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

.btn-ghost.copied {
  color: var(--success);
  border-color: rgba(48, 209, 88, 0.4);
  background: rgba(48, 209, 88, 0.1);
}

/* —— 方式2：一键成片按钮 —— */
.btn-seedance {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 18px;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  text-align: center;
  color: #1a1206;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 10px 32px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-seedance:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 42px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-seedance:active {
  transform: translateY(0);
}

.btn-seedance-label {
  font-size: 15px;
  font-weight: 800;
}

.btn-seedance-label b {
  font-size: 22px;
}

.btn-seedance [data-lucide] {
  width: 18px; height: 18px;
  color: #1a1206;
}

@media (max-width: 768px) {
  .gen-options {
    grid-template-columns: 1fr;
  }
  .btn-ghost {
    justify-content: center;
    flex: 1;
  }
}

/* ===== AI Generation Card ===== */
.ai-gen-card {
  margin-bottom: 20px;
  background:
    linear-gradient(135deg, rgba(10, 132, 255, 0.08), rgba(255, 255, 255, 0.03) 60%) padding-box,
    linear-gradient(135deg, rgba(10, 132, 255, 0.3), rgba(255, 255, 255, 0.06) 50%, rgba(10, 132, 255, 0.18)) border-box;
}

.ai-direction-input {
  width: 100%;
  min-height: 56px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: all var(--transition);
  line-height: 1.5;
}

.ai-direction-input:focus {
  outline: none;
  border-color: rgba(10, 132, 255, 0.6);
  box-shadow: 0 0 0 3.5px rgba(10, 132, 255, 0.15);
}

.ai-direction-input::placeholder {
  color: var(--text-dim);
}

.example-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip:hover {
  background: rgba(10, 132, 255, 0.12);
  border-color: rgba(10, 132, 255, 0.4);
  color: var(--accent-3);
}

#ai-generate-btn:disabled {
  opacity: 0.25;
  cursor: wait;
}

/* ===== Dialogue Timeline ===== */
.timeline {
  position: relative;
  padding-left: 36px;
  margin-bottom: 16px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(10, 132, 255, 0.55), rgba(10, 132, 255, 0.08));
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  margin-bottom: 14px;
  animation: fadeInUp 0.3s ease both;
}

.timeline-dot {
  position: absolute;
  left: -36px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1c1c20;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-3);
  z-index: 1;
  box-shadow: 0 4px 14px rgba(10, 132, 255, 0.3);
}

.timeline-card {
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 14px;
  transition: all var(--transition);
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.08)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 12px 36px -14px rgba(0, 0, 0, 0.5);
}

.timeline-card:hover {
  background:
    linear-gradient(135deg, #323234, rgba(50, 50, 52, 0.7)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0.12)) border-box;
}

.timeline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.timeline-role-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(10, 132, 255, 0.4);
  flex-shrink: 0;
}

.timeline-avatar-placeholder {
  background: rgba(10, 132, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
}

/* step4 对白时间线：角色头像为横版卡片，置于左侧、垂直居中 */
.timeline-card-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-avatar-wrap {
  flex-shrink: 0;
  display: flex;
}

.timeline-card-body .timeline-avatar {
  width: 140px;
  height: 84px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(10, 132, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  display: block;
}

.timeline-card-body .timeline-avatar-placeholder {
  background: linear-gradient(180deg, rgba(10, 132, 255, 0.14), rgba(10, 132, 255, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
}

.timeline-main {
  flex: 1;
  min-width: 0;
}

.timeline-role-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xs);
  padding: 6px 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a6' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.timeline-role-select:focus {
  outline: none;
  border-color: rgba(10, 132, 255, 0.6);
}

.timeline-role-select option {
  background: #1c1c20;
  color: var(--text);
}

.timeline-remove {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
}

.timeline-remove:hover {
  color: var(--danger);
  background: rgba(255, 69, 58, 0.12);
}

.timeline-textarea {
  width: 100%;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: all var(--transition);
  line-height: 1.5;
}

.timeline-textarea:focus {
  outline: none;
  border-color: rgba(10, 132, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.12);
}

.timeline-textarea::placeholder {
  color: var(--text-dim);
}

.btn-add-turn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 10px 20px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 24px;
  width: 100%;
  justify-content: center;
}

.btn-add-turn:hover {
  border-color: rgba(10, 132, 255, 0.55);
  color: var(--accent-3);
  background: rgba(10, 132, 255, 0.05);
}

/* ===== Hero 免费徽章 ===== */
/* 中性深色玻璃胶囊：不参与彩色语义（金=钱、蓝=交互） */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.hero-badge [data-lucide] {
  width: 15px; height: 15px;
  color: var(--text);
  stroke-width: 2.2;
}

/* ===== Hero 限时价格横幅（价格来自后端 VIDEO_PRICE_PER_SECOND） ===== */
.price-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 9px 18px 9px 10px;
  border-radius: 50px;
  border: 1px solid transparent;
  background:
    linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(255, 255, 255, 0.03) 60%) padding-box,
    linear-gradient(135deg, rgba(251, 191, 36, 0.55), rgba(255, 255, 255, 0.08) 50%, rgba(245, 158, 11, 0.4)) border-box;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 28px rgba(245, 158, 11, 0.18);
  position: relative;
  z-index: 1;
}

.price-banner .price-tag {
  font-size: 12px;
  font-weight: 800;
  color: #1a1206;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 2px;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.price-banner .price-num {
  font-size: 22px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: -0.5px;
  line-height: 1;
}

.price-banner .price-unit {
  font-size: 13px;
  font-weight: 600;
  color: #fbbf24;
  opacity: 0.85;
  margin-left: -5px;
}

.price-banner .price-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.14);
}

.price-banner .price-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

.price-banner .price-desc b {
  color: #fbbf24;
  font-weight: 700;
}

/* ===== 知了分镜任务广场 · 广告位 ===== */
.plaza-ad {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 44px;
  padding: 22px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  background:
    linear-gradient(135deg, rgba(10, 132, 255, 0.09), rgba(255, 255, 255, 0.03) 60%) padding-box,
    linear-gradient(135deg, rgba(10, 132, 255, 0.35), rgba(255, 255, 255, 0.07) 50%, rgba(10, 132, 255, 0.22)) border-box;
  transition: all var(--transition);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    var(--shadow);
}

/* 顶部渐变描光线 */
.plaza-ad::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), rgba(10, 132, 255, 0.6), transparent);
  opacity: 0.6;
}

/* 角落光晕 */
.plaza-ad::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.plaza-ad:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 52px -14px rgba(10, 132, 255, 0.3);
  transform: translateY(-2px);
}

.plaza-ad-logo {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2a94ff, #0064d2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(10, 132, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  position: relative;
  z-index: 1;
}

.plaza-ad-logo [data-lucide] {
  width: 26px; height: 26px;
  color: #fff;
  stroke-width: 2;
}

.plaza-ad-body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.plaza-ad-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.plaza-ad-tag {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  padding: 2px 8px;
  border-radius: 5px;
  background: linear-gradient(135deg, #2a94ff, #0064d2);
  letter-spacing: 0.5px;
}

.plaza-ad-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}

.plaza-ad-desc {
  margin-top: 5px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.plaza-ad-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 50px;
  background: #f5f5f7;
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}

.plaza-ad-btn [data-lucide] {
  width: 15px; height: 15px;
}

.plaza-ad-btn:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.18);
}

/* ===== 精选作品展示 ===== */
.featured-works {
  margin-top: 96px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 780px;
  margin: 0 auto;
}

.featured-card {
  position: relative;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 22px;
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.1)) border-box;
  transition: all var(--transition);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 44px -14px rgba(0, 0, 0, 0.55);
}

.featured-card::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), rgba(10, 132, 255, 0.5), transparent);
  opacity: 0.7;
  z-index: 1;
}

.featured-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 60px -16px rgba(10, 132, 255, 0.3);
  transform: translateY(-2px);
}

.featured-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #141418;
  cursor: pointer;
}

.featured-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-cover {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s var(--ease-out-q);
  background: var(--cover-grad, linear-gradient(160deg, #17263f 0%, #0b0f18 100%));
  overflow: hidden;
}

.featured-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 78% at 50% 12%, rgba(255, 255, 255, 0.12), transparent 62%);
}

.featured-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.featured-video-wrap.started .featured-cover {
  opacity: 0;
}

.featured-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 13, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  opacity: 1;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.featured-play-btn [data-lucide] {
  width: 22px;
  height: 22px;
  color: #fff;
  margin-left: 2px;
}

.featured-video-wrap:hover .featured-play-btn {
  transform: translate(-50%, -50%) scale(1.07);
  background: rgba(10, 132, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.34);
}

.featured-video-wrap.playing .featured-play-btn {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
}

@media (max-width: 640px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .featured-card { padding: 8px; border-radius: 16px; }
  .featured-video-wrap { border-radius: 12px; }
  .featured-play-btn { width: 46px; height: 46px; }
  .featured-play-btn [data-lucide] { width: 18px; height: 18px; }
  .timeline-card-body { gap: 10px; }
  .timeline-card-body .timeline-avatar {
    width: 104px;
    height: 66px;
  }
}

@media (max-width: 640px) {
  .plaza-ad {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 14px;
    padding: 20px;
  }
  .plaza-ad-logo {
    margin: 0 auto;
  }
  .plaza-ad-head {
    justify-content: center;
  }
  .plaza-ad-btn {
    display: flex;
    justify-content: center;
  }
}

/* ===== Summary 增强 ===== */
/* 提示词模板行内复制按钮 */
.btn-copy-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-mini [data-lucide] {
  width: 13px; height: 13px;
}

.btn-copy-mini:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.24);
  background: #323234;
}

.btn-copy-mini.copied {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

/* 教程折叠 */
.tutorial-toggle {
  cursor: pointer;
  user-select: none;
}

.tutorial-toggle:hover .section-title {
  color: var(--accent-3);
}

.tutorial-chevron {
  margin-left: auto;
  color: var(--text-dim);
  transition: transform var(--transition);
}

.tutorial-chevron.open {
  transform: rotate(180deg);
}

/* 对白时间轴 */
.timeline-turn {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.timeline-text {
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== Footer · 克制暗色 ===== */
.site-footer {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 44px;
  text-align: center;
}

.site-footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #98989d;
  background: rgba(255, 255, 255, 0.04);
}

.site-footer-mark [data-lucide] {
  width: 14px; height: 14px;
  stroke-width: 1.6;
}

.site-footer-brand {
  font-size: 13px;
  font-weight: 600;
  color: #d1d1d6;
  letter-spacing: 0.6px;
}

.site-footer-tagline {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  color: #6e6e73;
}

.site-footer-rule {
  width: 44px;
  height: 1px;
  margin: 22px auto;
  background: rgba(255, 255, 255, 0.12);
}

.site-footer-copy {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #6e6e73;
}

.site-footer-icp {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #6e6e73;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.site-footer-icp a {
  color: #6e6e73;
  text-decoration: none;
}
.site-footer-icp a:hover {
  color: var(--accent-3);
}
.site-footer-sep {
  color: #3a3a3e;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  :root {
    --navbar-h: 56px;
  }

  .navbar {
    padding: 0 16px;
  }

  .navbar-title .brand-sub,
  .navbar-title .brand-tag { display: none; }

  .navbar-center { display: none; }

  /* 移动端导航按钮压缩为纯图标，防止溢出 */
  .navbar-btn { padding: 8px; }
  .navbar-btn .nav-btn-label { display: none; }

  .container {
    padding: calc(var(--navbar-h) + 24px) 16px 40px;
  }

  .page-title { font-size: 22px; }

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

  .btn { padding: 10px 20px; font-size: 13px; }

  /* 步骤3：移动端去真人按钮换行横排，防溢出 */
  .role-upload-row { flex-direction: column; }
  .role-upload-side {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }
  .role-upload-side .btn-multiview { max-width: 220px; }
}

@media (max-width: 380px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ===== 联系客服弹窗 ===== */
/* ⚠️ 定位必须显式四边，禁用 inset 简写：微信 X5 等旧内核不识别 inset，
   会导致弹窗固定在 DOM 文档位置（偏下、不满屏、无法滚动）——2026-09-07 踩坑修复。
   align-items 用 flex-start 而非 center：弹窗高于视口时 center 会对称裁剪、
   顶部够不着；flex-start + 子项 margin:auto 同样居中，超高时顶部可滚达。 */
.contact-modal-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.2s ease;
}
.contact-modal {
  position: relative;
  width: min(92vw, 400px);
  padding: 24px;
  background: rgba(28, 28, 32, 0.85);
  backdrop-filter: blur(36px) saturate(1.6);
  -webkit-backdrop-filter: blur(36px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--shadow-lg);
  animation: modalIn 0.25s ease;
}
.contact-modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.contact-modal-x:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}
.contact-modal-x [data-lucide] { width: 16px; height: 16px; }
.contact-modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.contact-modal-head > [data-lucide] {
  width: 34px;
  height: 34px;
  padding: 7px;
  color: var(--accent-3);
  background: rgba(10, 132, 255, 0.14);
  border-radius: var(--radius-sm);
}
.contact-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.contact-modal-sub {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}
.contact-wechat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.contact-wechat-label {
  font-size: 13px;
  color: var(--text-dim);
  flex-shrink: 0;
}
.contact-wechat-value {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.contact-wechat-id {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border: none;
  border-radius: var(--radius-xs);
  background: rgba(10, 132, 255, 0.16);
  color: var(--accent-3);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.contact-copy-btn:hover {
  background: rgba(10, 132, 255, 0.28);
  color: #fff;
}
.contact-copy-btn [data-lucide] { width: 13px; height: 13px; }
.contact-modal-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.contact-modal-note b { color: var(--text); }

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== 交付页：视频生成状态 ===== */
.deliver-card {
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 36px 26px;
  margin-bottom: 20px;
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05) 50%, rgba(120, 170, 255, 0.12)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    var(--shadow);
  text-align: center;
}

.deliver-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* 加载态：旋转呼吸图标 */
.deliver-loader {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(10, 132, 255, 0.3);
  animation: deliverPulse 2s ease-in-out infinite;
}

.deliver-loader [data-lucide] {
  width: 34px; height: 34px;
  color: var(--accent-3);
}

@keyframes deliverPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(10, 132, 255, 0.25); }
  50%      { transform: scale(1.06); box-shadow: 0 0 36px 4px rgba(10, 132, 255, 0.2); }
}

.deliver-status-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.deliver-status-hint {
  font-size: 13px;
  color: var(--text-dim);
}

/* 进度条：流光动画 */
.deliver-progress {
  width: 100%;
  max-width: 360px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  position: relative;
}

.deliver-progress-bar {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2a94ff, #0064d2);
  animation: deliverFlow 1.6s ease-in-out infinite;
}

@keyframes deliverFlow {
  0%   { left: -40%; }
  100% { left: 110%; }
}

/* 成功态：视频本身即卡片（不再嵌套在玻璃卡内） */
.deliver-success {
  margin-bottom: 20px;
}

.deliver-video {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.deliver-video video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  background: #000;
}

.deliver-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

/* 失败态 */
.deliver-error {
  text-align: center;
  padding: 8px 12px;
}

.deliver-error-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 69, 58, 0.1);
  border: 1px solid rgba(255, 69, 58, 0.3);
}

.deliver-error-icon [data-lucide] {
  width: 28px; height: 28px;
  color: var(--danger);
}

.deliver-error-title {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.deliver-error-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  word-break: break-all;
}

/* ===== 微信支付页（pay.html） ===== */
.pay-card {
  max-width: 440px;
  margin: 0 auto 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 32px 26px;
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05) 50%, rgba(120, 170, 255, 0.12)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    var(--shadow);
  text-align: center;
}

.pay-amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
}
.pay-amount-label {
  font-size: 13px;
  color: var(--text-secondary);
}
.pay-amount-value {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #30d158, #07c160);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pay-amount-hint {
  font-size: 13px;
  color: var(--text-secondary);
}

.pay-qrcode {
  width: 220px;
  height: 220px;
  margin: 0 auto 8px;
  padding: 10px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}
.pay-qrcode img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.pay-qrcode-hint {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.pay-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--text-primary);
}
.pay-status svg {
  width: 18px;
  height: 18px;
  color: #07c160;
}

.pay-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.pay-tip {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   2026-08-30 前端质感升级层（append-only，覆盖上方同名规则）
   微交互统一 · 玻璃细节 · 排版点缀 · 动效系统
   ============================================================ */
:root {
  --ease-out-q: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.15s;
  --dur-mid: 0.28s;
  --dur-slow: 0.55s;
}

/* ---- 细节杂项：选区 / 滚动条 / 键盘焦点 / 数字排版 ---- */
::selection {
  background: rgba(10, 132, 255, 0.38);
  color: #fff;
}
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.26); }
:focus-visible {
  outline: 2px solid rgba(10, 132, 255, 0.75);
  outline-offset: 2px;
  border-radius: 6px;
}
.price-num, .price-unit, .price-desc b {
  font-variant-numeric: tabular-nums;
}

/* ---- 微交互：选项卡片（hover 提亮 + 按下回弹 + 选中弹性定格） ---- */
.select-card {
  will-change: transform;
}
.select-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 48px -14px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(109, 178, 255, 0.22),
    0 10px 32px -12px rgba(10, 132, 255, 0.28);
}
.select-card:active {
  transform: translateY(-1px) scale(0.975);
  transition-duration: 0.08s;
}
@keyframes cardPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.select-card.selected {
  animation: cardPop 0.32s var(--ease-out-q);
}
.select-card.selected .icon,
.select-card.selected .label {
  animation: cardPop 0.32s var(--ease-out-q) 0.04s;
}

/* ---- 微交互：按钮（光泽扫过 + 按压反馈） ---- */
.btn { will-change: transform; }
.btn:active, .navbar-btn:active, .navbar-btn-contact:active { transform: scale(0.97); }
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease-out-q);
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }
.navbar-btn-ghost:hover { transform: translateY(-1px); }
.navbar-btn-contact { transition: transform 0.15s var(--ease-out-q), box-shadow 0.28s var(--ease-out-q), background 0.28s var(--ease-out-q); }

/* ---- 微交互：图标与徽章的呼应 ---- */
.select-card .icon { transition: transform 0.28s var(--ease-out-q); }
.select-card:hover .icon { transform: translateY(-2px) scale(1.06); }

/* ---- 排版点缀：hero 渐变关键词 ---- */
.grad-text {
  background: linear-gradient(95deg, #ffffff 15%, #9cc8ff 55%, #4da3ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- 动效系统：分区滚动进场 ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease-out-q),
    transform 0.6s var(--ease-out-q);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.reveal-in {
  opacity: 1;
  transform: none;
}

/* ---- 无障碍：偏好减弱动效时全部退化 ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .select-card.selected, .select-card.selected .icon, .select-card.selected .label { animation: none; }
  .btn-primary::after { display: none; }
}

/* ============================================================
   2026-08-30 前端质感升级层（append-only，覆盖上方同名规则）
   微交互统一 · 玻璃细节 · 排版点缀 · 动效系统
   ============================================================ */
:root {
  --ease-out-q: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.15s;
  --dur-mid: 0.28s;
  --dur-slow: 0.55s;
}

/* ---- 细节杂项：选区 / 滚动条 / 键盘焦点 / 数字排版 ---- */
::selection {
  background: rgba(10, 132, 255, 0.38);
  color: #fff;
}
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.26); }
:focus-visible {
  outline: 2px solid rgba(10, 132, 255, 0.75);
  outline-offset: 2px;
  border-radius: 6px;
}
.price-num, .price-unit, .price-desc b {
  font-variant-numeric: tabular-nums;
}

/* ---- 微交互：选项卡片（hover 提亮 + 按下回弹 + 选中弹性定格） ---- */
.select-card {
  will-change: transform;
}
.select-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 48px -14px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(109, 178, 255, 0.22),
    0 10px 32px -12px rgba(10, 132, 255, 0.28);
}
.select-card:active {
  transform: translateY(-1px) scale(0.975);
  transition-duration: 0.08s;
}
@keyframes cardPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.select-card.selected {
  animation: cardPop 0.32s var(--ease-out-q);
}
.select-card.selected .icon,
.select-card.selected .label {
  animation: cardPop 0.32s var(--ease-out-q) 0.04s;
}

/* ---- 微交互：按钮（光泽扫过 + 按压反馈） ---- */
.btn { will-change: transform; }
.btn:active, .navbar-btn:active, .navbar-btn-contact:active { transform: scale(0.97); }
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease-out-q);
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }
.navbar-btn-ghost:hover { transform: translateY(-1px); }
.navbar-btn-contact { transition: transform 0.15s var(--ease-out-q), box-shadow 0.28s var(--ease-out-q), background 0.28s var(--ease-out-q); }

/* ---- 微交互：图标与徽章的呼应 ---- */
.select-card .icon { transition: transform 0.28s var(--ease-out-q); }
.select-card:hover .icon { transform: translateY(-2px) scale(1.06); }

/* ---- 排版点缀：hero 渐变关键词 ---- */
.grad-text {
  background: linear-gradient(95deg, #ffffff 15%, #9cc8ff 55%, #4da3ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- 动效系统：分区滚动进场 ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease-out-q),
    transform 0.6s var(--ease-out-q);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.reveal-in {
  opacity: 1;
  transform: none;
}

/* ---- 无障碍：偏好减弱动效时全部退化 ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .select-card.selected, .select-card.selected .icon, .select-card.selected .label { animation: none; }
  .btn-primary::after { display: none; }
}

/* ============================================================
   2026-08-30 客服弹窗质感升级（覆盖上方同名规则）
   ============================================================ */
@keyframes modalInPolish {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.contact-modal {
  width: min(92vw, 380px);
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(38, 52, 84, 0.92), rgba(16, 22, 38, 0.94)) padding-box,
    linear-gradient(135deg, rgba(140, 180, 255, 0.35), rgba(255, 255, 255, 0.06) 45%, rgba(10, 132, 255, 0.28)) border-box;
  border: 1px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 60px -18px rgba(10, 132, 255, 0.35);
  animation: modalInPolish 0.38s var(--ease-out-q, cubic-bezier(0.22, 1, 0.36, 1)) both;
}
.contact-modal-x {
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
}
.contact-modal-head { margin-bottom: 20px; gap: 14px; }
.contact-modal-head > [data-lucide] {
  width: 42px; height: 42px;
  padding: 11px;
  box-sizing: border-box;
  border-radius: 14px;
  background: linear-gradient(135deg, #2a94ff, #0064d2);
  color: #fff;
  box-shadow: 0 6px 20px -6px rgba(10, 132, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.contact-modal-title { font-size: 17px; font-weight: 700; letter-spacing: 0.01em; }
.contact-modal-sub { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.contact-wechat-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.contact-wechat-label { font-size: 12px; color: var(--text-dim); }
.contact-wechat-id {
  font-size: 17px; font-weight: 700; letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.contact-copy-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #2a94ff, #0064d2);
  color: #fff; font-size: 12.5px; font-weight: 600;
  box-shadow: 0 6px 18px -6px rgba(10, 132, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all var(--transition-fast);
}
.contact-copy-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(10, 132, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.contact-copy-btn:active { transform: scale(0.95); }
.contact-modal-note {
  font-size: 12.5px; line-height: 1.8; color: var(--text-dim);
  margin-top: 14px;
}
.contact-modal-note b { color: var(--accent-3); font-weight: 600; }

/* ============================================================
   2026-08-30 前端质感升级层（append-only，覆盖上方同名规则）
   微交互统一 · 玻璃细节 · 排版点缀 · 动效系统
   ============================================================ */
:root {
  --ease-out-q: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.15s;
  --dur-mid: 0.28s;
  --dur-slow: 0.55s;
}

/* ---- 细节杂项：选区 / 滚动条 / 键盘焦点 / 数字排版 ---- */
::selection {
  background: rgba(10, 132, 255, 0.38);
  color: #fff;
}
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.26); }
:focus-visible {
  outline: 2px solid rgba(10, 132, 255, 0.75);
  outline-offset: 2px;
  border-radius: 6px;
}
.price-num, .price-unit, .price-desc b {
  font-variant-numeric: tabular-nums;
}

/* ---- 微交互：选项卡片（hover 提亮 + 按下回弹 + 选中弹性定格） ---- */
.select-card {
  will-change: transform;
}
.select-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 48px -14px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(109, 178, 255, 0.22),
    0 10px 32px -12px rgba(10, 132, 255, 0.28);
}
.select-card:active {
  transform: translateY(-1px) scale(0.975);
  transition-duration: 0.08s;
}
@keyframes cardPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.select-card.selected {
  animation: cardPop 0.32s var(--ease-out-q);
}
.select-card.selected .icon,
.select-card.selected .label {
  animation: cardPop 0.32s var(--ease-out-q) 0.04s;
}

/* ---- 微交互：按钮（光泽扫过 + 按压反馈） ---- */
.btn { will-change: transform; }
.btn:active, .navbar-btn:active, .navbar-btn-contact:active { transform: scale(0.97); }
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease-out-q);
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }
.navbar-btn-ghost:hover { transform: translateY(-1px); }
.navbar-btn-contact { transition: transform 0.15s var(--ease-out-q), box-shadow 0.28s var(--ease-out-q), background 0.28s var(--ease-out-q); }

/* ---- 微交互：图标与徽章的呼应 ---- */
.select-card .icon { transition: transform 0.28s var(--ease-out-q); }
.select-card:hover .icon { transform: translateY(-2px) scale(1.06); }

/* ---- 排版点缀：hero 渐变关键词 ---- */
.grad-text {
  background: linear-gradient(95deg, #ffffff 15%, #9cc8ff 55%, #4da3ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- 动效系统：分区滚动进场 ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease-out-q),
    transform 0.6s var(--ease-out-q);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.reveal-in {
  opacity: 1;
  transform: none;
}

/* ---- 无障碍：偏好减弱动效时全部退化 ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .select-card.selected, .select-card.selected .icon, .select-card.selected .label { animation: none; }
  .btn-primary::after { display: none; }
}

/* ============================================================
   2026-08-30 客服弹窗质感升级（覆盖上方同名规则）
   ============================================================ */
@keyframes modalInPolish {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.contact-modal {
  width: min(92vw, 380px);
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(38, 52, 84, 0.92), rgba(16, 22, 38, 0.94)) padding-box,
    linear-gradient(135deg, rgba(140, 180, 255, 0.35), rgba(255, 255, 255, 0.06) 45%, rgba(10, 132, 255, 0.28)) border-box;
  border: 1px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 60px -18px rgba(10, 132, 255, 0.35);
  animation: modalInPolish 0.38s var(--ease-out-q, cubic-bezier(0.22, 1, 0.36, 1)) both;
}
.contact-modal-x {
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
}
.contact-modal-head { margin-bottom: 20px; gap: 14px; }
.contact-modal-head > [data-lucide] {
  width: 42px; height: 42px;
  padding: 11px;
  box-sizing: border-box;
  border-radius: 14px;
  background: linear-gradient(135deg, #2a94ff, #0064d2);
  color: #fff;
  box-shadow: 0 6px 20px -6px rgba(10, 132, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.contact-modal-title { font-size: 17px; font-weight: 700; letter-spacing: 0.01em; }
.contact-modal-sub { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.contact-wechat-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.contact-wechat-label { font-size: 12px; color: var(--text-dim); }
.contact-wechat-id {
  font-size: 17px; font-weight: 700; letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.contact-copy-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #2a94ff, #0064d2);
  color: #fff; font-size: 12.5px; font-weight: 600;
  box-shadow: 0 6px 18px -6px rgba(10, 132, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all var(--transition-fast);
}
.contact-copy-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(10, 132, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.contact-copy-btn:active { transform: scale(0.95); }
.contact-modal-note {
  font-size: 12.5px; line-height: 1.8; color: var(--text-dim);
  margin-top: 14px;
}
.contact-modal-note b { color: var(--accent-3); font-weight: 600; }

/* ============================================================
   2026-08-30 客服弹窗品牌展示区
   ============================================================ */
.contact-modal { width: min(92vw, 440px); padding: 30px 32px; }
.contact-brand {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 13px;
}
.contact-brand-logo {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0) 50%),
    conic-gradient(from 210deg, #6ea8ff, #b7d3ff, #3b6fd4, #6ea8ff);
  box-shadow: 0 4px 16px -4px rgba(110, 168, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.contact-brand-logo [data-lucide] { width: 18px; height: 18px; }
.contact-brand-meta { min-width: 0; }
.contact-brand-name { font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: 0.01em; }
.contact-brand-name span { font-weight: 400; font-size: 12px; color: var(--text-secondary); margin-left: 2px; }
.contact-brand-slogan {
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 3px;
  letter-spacing: 0.06em;
}
.contact-brand-url {
  margin-left: auto;
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-3);
  text-decoration: none;
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(109, 178, 255, 0.3);
  transition: all var(--transition-fast);
}
.contact-brand-url:hover {
  color: #fff;
  background: rgba(10, 132, 255, 0.28);
  border-color: rgba(140, 190, 255, 0.55);
}

/* ============================================================
   2026-08-30 前端质感升级层（append-only，覆盖上方同名规则）
   微交互统一 · 玻璃细节 · 排版点缀 · 动效系统
   ============================================================ */
:root {
  --ease-out-q: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.15s;
  --dur-mid: 0.28s;
  --dur-slow: 0.55s;
}

/* ---- 细节杂项：选区 / 滚动条 / 键盘焦点 / 数字排版 ---- */
::selection {
  background: rgba(10, 132, 255, 0.38);
  color: #fff;
}
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.26); }
:focus-visible {
  outline: 2px solid rgba(10, 132, 255, 0.75);
  outline-offset: 2px;
  border-radius: 6px;
}
.price-num, .price-unit, .price-desc b {
  font-variant-numeric: tabular-nums;
}

/* ---- 微交互：选项卡片（hover 提亮 + 按下回弹 + 选中弹性定格） ---- */
.select-card {
  will-change: transform;
}
.select-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 48px -14px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(109, 178, 255, 0.22),
    0 10px 32px -12px rgba(10, 132, 255, 0.28);
}
.select-card:active {
  transform: translateY(-1px) scale(0.975);
  transition-duration: 0.08s;
}
@keyframes cardPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.select-card.selected {
  animation: cardPop 0.32s var(--ease-out-q);
}
.select-card.selected .icon,
.select-card.selected .label {
  animation: cardPop 0.32s var(--ease-out-q) 0.04s;
}

/* ---- 微交互：按钮（光泽扫过 + 按压反馈） ---- */
.btn { will-change: transform; }
.btn:active, .navbar-btn:active, .navbar-btn-contact:active { transform: scale(0.97); }
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease-out-q);
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }
.navbar-btn-ghost:hover { transform: translateY(-1px); }
.navbar-btn-contact { transition: transform 0.15s var(--ease-out-q), box-shadow 0.28s var(--ease-out-q), background 0.28s var(--ease-out-q); }

/* ---- 微交互：图标与徽章的呼应 ---- */
.select-card .icon { transition: transform 0.28s var(--ease-out-q); }
.select-card:hover .icon { transform: translateY(-2px) scale(1.06); }

/* ---- 排版点缀：hero 渐变关键词 ---- */
.grad-text {
  background: linear-gradient(95deg, #ffffff 15%, #9cc8ff 55%, #4da3ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- 动效系统：分区滚动进场 ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease-out-q),
    transform 0.6s var(--ease-out-q);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.reveal-in {
  opacity: 1;
  transform: none;
}

/* ---- 无障碍：偏好减弱动效时全部退化 ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .select-card.selected, .select-card.selected .icon, .select-card.selected .label { animation: none; }
  .btn-primary::after { display: none; }
}

/* ============================================================
   2026-08-30 客服弹窗质感升级（覆盖上方同名规则）
   ============================================================ */
@keyframes modalInPolish {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.contact-modal {
  width: min(92vw, 380px);
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(38, 52, 84, 0.92), rgba(16, 22, 38, 0.94)) padding-box,
    linear-gradient(135deg, rgba(140, 180, 255, 0.35), rgba(255, 255, 255, 0.06) 45%, rgba(10, 132, 255, 0.28)) border-box;
  border: 1px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 60px -18px rgba(10, 132, 255, 0.35);
  animation: modalInPolish 0.38s var(--ease-out-q, cubic-bezier(0.22, 1, 0.36, 1)) both;
}
.contact-modal-x {
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
}
.contact-modal-head { margin-bottom: 20px; gap: 14px; }
.contact-modal-head > [data-lucide] {
  width: 42px; height: 42px;
  padding: 11px;
  box-sizing: border-box;
  border-radius: 14px;
  background: linear-gradient(135deg, #2a94ff, #0064d2);
  color: #fff;
  box-shadow: 0 6px 20px -6px rgba(10, 132, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.contact-modal-title { font-size: 17px; font-weight: 700; letter-spacing: 0.01em; }
.contact-modal-sub { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.contact-wechat-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.contact-wechat-label { font-size: 12px; color: var(--text-dim); }
.contact-wechat-id {
  font-size: 17px; font-weight: 700; letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.contact-copy-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #2a94ff, #0064d2);
  color: #fff; font-size: 12.5px; font-weight: 600;
  box-shadow: 0 6px 18px -6px rgba(10, 132, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all var(--transition-fast);
}
.contact-copy-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(10, 132, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.contact-copy-btn:active { transform: scale(0.95); }
.contact-modal-note {
  font-size: 12.5px; line-height: 1.8; color: var(--text-dim);
  margin-top: 14px;
}
.contact-modal-note b { color: var(--accent-3); font-weight: 600; }

/* ============================================================
   2026-08-30 客服弹窗品牌展示区
   ============================================================ */
.contact-modal { width: min(92vw, 440px); padding: 30px 32px; }
.contact-brand {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 13px;
}
.contact-brand-logo {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0) 50%),
    conic-gradient(from 210deg, #6ea8ff, #b7d3ff, #3b6fd4, #6ea8ff);
  box-shadow: 0 4px 16px -4px rgba(110, 168, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.contact-brand-logo [data-lucide] { width: 18px; height: 18px; }
.contact-brand-meta { min-width: 0; }
.contact-brand-name { font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: 0.01em; }
.contact-brand-name span { font-weight: 400; font-size: 12px; color: var(--text-secondary); margin-left: 2px; }
.contact-brand-slogan {
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 3px;
  letter-spacing: 0.06em;
}
.contact-brand-url {
  margin-left: auto;
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-3);
  text-decoration: none;
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(109, 178, 255, 0.3);
  transition: all var(--transition-fast);
}
.contact-brand-url:hover {
  color: #fff;
  background: rgba(10, 132, 255, 0.28);
  border-color: rgba(140, 190, 255, 0.55);
}

/* ============================================================
   2026-08-30 客服弹窗纵向呼吸感增强
   ============================================================ */
.contact-modal {
  width: min(92vw, 460px);
  padding: 38px 38px 34px;
  border-radius: 26px;
}
.contact-modal-head { margin-bottom: 30px; gap: 15px; }
.contact-modal-title { font-size: 18px; }
.contact-modal-sub { margin-top: 5px; font-size: 13px; }
.contact-wechat-row { padding: 17px 18px; border-radius: 16px; }
.contact-wechat-id { font-size: 18px; }
.contact-copy-btn { padding: 9px 18px; }
.contact-modal-note { margin-top: 20px; line-height: 1.9; }
.contact-brand {
  margin-top: 32px;
  padding-top: 28px;
  gap: 14px;
}
.contact-brand-logo { width: 42px; height: 42px; border-radius: 13px; }

/* ============================================================
   2026-08-30 前端质感升级层（append-only，覆盖上方同名规则）
   微交互统一 · 玻璃细节 · 排版点缀 · 动效系统
   ============================================================ */
:root {
  --ease-out-q: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.15s;
  --dur-mid: 0.28s;
  --dur-slow: 0.55s;
}

/* ---- 细节杂项：选区 / 滚动条 / 键盘焦点 / 数字排版 ---- */
::selection {
  background: rgba(10, 132, 255, 0.38);
  color: #fff;
}
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.26); }
:focus-visible {
  outline: 2px solid rgba(10, 132, 255, 0.75);
  outline-offset: 2px;
  border-radius: 6px;
}
.price-num, .price-unit, .price-desc b {
  font-variant-numeric: tabular-nums;
}

/* ---- 微交互：选项卡片（hover 提亮 + 按下回弹 + 选中弹性定格） ---- */
.select-card {
  will-change: transform;
}
.select-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 48px -14px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(109, 178, 255, 0.22),
    0 10px 32px -12px rgba(10, 132, 255, 0.28);
}
.select-card:active {
  transform: translateY(-1px) scale(0.975);
  transition-duration: 0.08s;
}
@keyframes cardPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.select-card.selected {
  animation: cardPop 0.32s var(--ease-out-q);
}
.select-card.selected .icon,
.select-card.selected .label {
  animation: cardPop 0.32s var(--ease-out-q) 0.04s;
}

/* ---- 微交互：按钮（光泽扫过 + 按压反馈） ---- */
.btn { will-change: transform; }
.btn:active, .navbar-btn:active, .navbar-btn-contact:active { transform: scale(0.97); }
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease-out-q);
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }
.navbar-btn-ghost:hover { transform: translateY(-1px); }
.navbar-btn-contact { transition: transform 0.15s var(--ease-out-q), box-shadow 0.28s var(--ease-out-q), background 0.28s var(--ease-out-q); }

/* ---- 微交互：图标与徽章的呼应 ---- */
.select-card .icon { transition: transform 0.28s var(--ease-out-q); }
.select-card:hover .icon { transform: translateY(-2px) scale(1.06); }

/* ---- 排版点缀：hero 渐变关键词 ---- */
.grad-text {
  background: linear-gradient(95deg, #ffffff 15%, #9cc8ff 55%, #4da3ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- 动效系统：分区滚动进场 ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease-out-q),
    transform 0.6s var(--ease-out-q);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.reveal-in {
  opacity: 1;
  transform: none;
}

/* ---- 无障碍：偏好减弱动效时全部退化 ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .select-card.selected, .select-card.selected .icon, .select-card.selected .label { animation: none; }
  .btn-primary::after { display: none; }
}

/* ============================================================
   2026-08-30 客服弹窗质感升级（覆盖上方同名规则）
   ============================================================ */
@keyframes modalInPolish {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.contact-modal {
  width: min(92vw, 380px);
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(38, 52, 84, 0.92), rgba(16, 22, 38, 0.94)) padding-box,
    linear-gradient(135deg, rgba(140, 180, 255, 0.35), rgba(255, 255, 255, 0.06) 45%, rgba(10, 132, 255, 0.28)) border-box;
  border: 1px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 60px -18px rgba(10, 132, 255, 0.35);
  animation: modalInPolish 0.38s var(--ease-out-q, cubic-bezier(0.22, 1, 0.36, 1)) both;
}
.contact-modal-x {
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
}
.contact-modal-head { margin-bottom: 20px; gap: 14px; }
.contact-modal-head > [data-lucide] {
  width: 42px; height: 42px;
  padding: 11px;
  box-sizing: border-box;
  border-radius: 14px;
  background: linear-gradient(135deg, #2a94ff, #0064d2);
  color: #fff;
  box-shadow: 0 6px 20px -6px rgba(10, 132, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.contact-modal-title { font-size: 17px; font-weight: 700; letter-spacing: 0.01em; }
.contact-modal-sub { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.contact-wechat-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.contact-wechat-label { font-size: 12px; color: var(--text-dim); }
.contact-wechat-id {
  font-size: 17px; font-weight: 700; letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.contact-copy-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #2a94ff, #0064d2);
  color: #fff; font-size: 12.5px; font-weight: 600;
  box-shadow: 0 6px 18px -6px rgba(10, 132, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all var(--transition-fast);
}
.contact-copy-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(10, 132, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.contact-copy-btn:active { transform: scale(0.95); }
.contact-modal-note {
  font-size: 12.5px; line-height: 1.8; color: var(--text-dim);
  margin-top: 14px;
}
.contact-modal-note b { color: var(--accent-3); font-weight: 600; }

/* ============================================================
   2026-08-30 客服弹窗品牌展示区
   ============================================================ */
.contact-modal { width: min(92vw, 440px); padding: 30px 32px; }
.contact-brand {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 13px;
}
.contact-brand-logo {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0) 50%),
    conic-gradient(from 210deg, #6ea8ff, #b7d3ff, #3b6fd4, #6ea8ff);
  box-shadow: 0 4px 16px -4px rgba(110, 168, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.contact-brand-logo [data-lucide] { width: 18px; height: 18px; }
.contact-brand-meta { min-width: 0; }
.contact-brand-name { font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: 0.01em; }
.contact-brand-name span { font-weight: 400; font-size: 12px; color: var(--text-secondary); margin-left: 2px; }
.contact-brand-slogan {
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 3px;
  letter-spacing: 0.06em;
}
.contact-brand-url {
  margin-left: auto;
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-3);
  text-decoration: none;
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(109, 178, 255, 0.3);
  transition: all var(--transition-fast);
}
.contact-brand-url:hover {
  color: #fff;
  background: rgba(10, 132, 255, 0.28);
  border-color: rgba(140, 190, 255, 0.55);
}

/* ============================================================
   2026-08-30 客服弹窗纵向呼吸感增强
   ============================================================ */
.contact-modal {
  width: min(92vw, 460px);
  padding: 38px 38px 34px;
  border-radius: 26px;
}
.contact-modal-head { margin-bottom: 30px; gap: 15px; }
.contact-modal-title { font-size: 18px; }
.contact-modal-sub { margin-top: 5px; font-size: 13px; }
.contact-wechat-row { padding: 17px 18px; border-radius: 16px; }
.contact-wechat-id { font-size: 18px; }
.contact-copy-btn { padding: 9px 18px; }
.contact-modal-note { margin-top: 20px; line-height: 1.9; }
.contact-brand {
  margin-top: 32px;
  padding-top: 28px;
  gap: 14px;
}
.contact-brand-logo { width: 42px; height: 42px; border-radius: 13px; }

/* 网址胶囊改为按钮后的形态补丁 */
.contact-brand-url {
  cursor: pointer;
  font-family: inherit;
  user-select: none;
}

/* ============================================================
   2026-08-30 前端质感升级层（append-only，覆盖上方同名规则）
   微交互统一 · 玻璃细节 · 排版点缀 · 动效系统
   ============================================================ */
:root {
  --ease-out-q: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.15s;
  --dur-mid: 0.28s;
  --dur-slow: 0.55s;
}

/* ---- 细节杂项：选区 / 滚动条 / 键盘焦点 / 数字排版 ---- */
::selection {
  background: rgba(10, 132, 255, 0.38);
  color: #fff;
}
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.26); }
:focus-visible {
  outline: 2px solid rgba(10, 132, 255, 0.75);
  outline-offset: 2px;
  border-radius: 6px;
}
.price-num, .price-unit, .price-desc b {
  font-variant-numeric: tabular-nums;
}

/* ---- 微交互：选项卡片（hover 提亮 + 按下回弹 + 选中弹性定格） ---- */
.select-card {
  will-change: transform;
}
.select-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 48px -14px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(109, 178, 255, 0.22),
    0 10px 32px -12px rgba(10, 132, 255, 0.28);
}
.select-card:active {
  transform: translateY(-1px) scale(0.975);
  transition-duration: 0.08s;
}
@keyframes cardPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.select-card.selected {
  animation: cardPop 0.32s var(--ease-out-q);
}
.select-card.selected .icon,
.select-card.selected .label {
  animation: cardPop 0.32s var(--ease-out-q) 0.04s;
}

/* ---- 微交互：按钮（光泽扫过 + 按压反馈） ---- */
.btn { will-change: transform; }
.btn:active, .navbar-btn:active, .navbar-btn-contact:active { transform: scale(0.97); }
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease-out-q);
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }
.navbar-btn-ghost:hover { transform: translateY(-1px); }
.navbar-btn-contact { transition: transform 0.15s var(--ease-out-q), box-shadow 0.28s var(--ease-out-q), background 0.28s var(--ease-out-q); }

/* ---- 微交互：图标与徽章的呼应 ---- */
.select-card .icon { transition: transform 0.28s var(--ease-out-q); }
.select-card:hover .icon { transform: translateY(-2px) scale(1.06); }

/* ---- 排版点缀：hero 渐变关键词 ---- */
.grad-text {
  background: linear-gradient(95deg, #ffffff 15%, #9cc8ff 55%, #4da3ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- 动效系统：分区滚动进场 ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease-out-q),
    transform 0.6s var(--ease-out-q);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.reveal-in {
  opacity: 1;
  transform: none;
}

/* ---- 无障碍：偏好减弱动效时全部退化 ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .select-card.selected, .select-card.selected .icon, .select-card.selected .label { animation: none; }
  .btn-primary::after { display: none; }
}

/* ============================================================
   2026-08-30 客服弹窗质感升级（覆盖上方同名规则）
   ============================================================ */
@keyframes modalInPolish {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.contact-modal {
  width: min(92vw, 380px);
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(38, 52, 84, 0.92), rgba(16, 22, 38, 0.94)) padding-box,
    linear-gradient(135deg, rgba(140, 180, 255, 0.35), rgba(255, 255, 255, 0.06) 45%, rgba(10, 132, 255, 0.28)) border-box;
  border: 1px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 60px -18px rgba(10, 132, 255, 0.35);
  animation: modalInPolish 0.38s var(--ease-out-q, cubic-bezier(0.22, 1, 0.36, 1)) both;
}
.contact-modal-x {
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
}
.contact-modal-head { margin-bottom: 20px; gap: 14px; }
.contact-modal-head > [data-lucide] {
  width: 42px; height: 42px;
  padding: 11px;
  box-sizing: border-box;
  border-radius: 14px;
  background: linear-gradient(135deg, #2a94ff, #0064d2);
  color: #fff;
  box-shadow: 0 6px 20px -6px rgba(10, 132, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.contact-modal-title { font-size: 17px; font-weight: 700; letter-spacing: 0.01em; }
.contact-modal-sub { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.contact-wechat-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.contact-wechat-label { font-size: 12px; color: var(--text-dim); }
.contact-wechat-id {
  font-size: 17px; font-weight: 700; letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.contact-copy-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #2a94ff, #0064d2);
  color: #fff; font-size: 12.5px; font-weight: 600;
  box-shadow: 0 6px 18px -6px rgba(10, 132, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all var(--transition-fast);
}
.contact-copy-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(10, 132, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.contact-copy-btn:active { transform: scale(0.95); }
.contact-modal-note {
  font-size: 12.5px; line-height: 1.8; color: var(--text-dim);
  margin-top: 14px;
}
.contact-modal-note b { color: var(--accent-3); font-weight: 600; }

/* ============================================================
   2026-08-30 客服弹窗品牌展示区
   ============================================================ */
.contact-modal { width: min(92vw, 440px); padding: 30px 32px; }
.contact-brand {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 13px;
}
.contact-brand-logo {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0) 50%),
    conic-gradient(from 210deg, #6ea8ff, #b7d3ff, #3b6fd4, #6ea8ff);
  box-shadow: 0 4px 16px -4px rgba(110, 168, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.contact-brand-logo [data-lucide] { width: 18px; height: 18px; }
.contact-brand-meta { min-width: 0; }
.contact-brand-name { font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: 0.01em; }
.contact-brand-name span { font-weight: 400; font-size: 12px; color: var(--text-secondary); margin-left: 2px; }
.contact-brand-slogan {
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 3px;
  letter-spacing: 0.06em;
}
.contact-brand-url {
  margin-left: auto;
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-3);
  text-decoration: none;
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(109, 178, 255, 0.3);
  transition: all var(--transition-fast);
}
.contact-brand-url:hover {
  color: #fff;
  background: rgba(10, 132, 255, 0.28);
  border-color: rgba(140, 190, 255, 0.55);
}

/* ============================================================
   2026-08-30 客服弹窗纵向呼吸感增强
   ============================================================ */
.contact-modal {
  width: min(92vw, 460px);
  padding: 38px 38px 34px;
  border-radius: 26px;
}
.contact-modal-head { margin-bottom: 30px; gap: 15px; }
.contact-modal-title { font-size: 18px; }
.contact-modal-sub { margin-top: 5px; font-size: 13px; }
.contact-wechat-row { padding: 17px 18px; border-radius: 16px; }
.contact-wechat-id { font-size: 18px; }
.contact-copy-btn { padding: 9px 18px; }
.contact-modal-note { margin-top: 20px; line-height: 1.9; }
.contact-brand {
  margin-top: 32px;
  padding-top: 28px;
  gap: 14px;
}
.contact-brand-logo { width: 42px; height: 42px; border-radius: 13px; }

/* 网址胶囊改为按钮后的形态补丁 */
.contact-brand-url {
  cursor: pointer;
  font-family: inherit;
  user-select: none;
}

/* ============================================================
   2026-08-30 弹窗主次重排：分享为主、客服为辅
   ============================================================ */
.contact-support {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-support-head {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.contact-support-head span { color: var(--accent-3); }
.contact-brand {
  margin-top: 22px;
  padding-top: 0;
  border-top: none;
  margin-bottom: 4px;
}

/* ============================================================
   2026-08-30 前端质感升级层（append-only，覆盖上方同名规则）
   微交互统一 · 玻璃细节 · 排版点缀 · 动效系统
   ============================================================ */
:root {
  --ease-out-q: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.15s;
  --dur-mid: 0.28s;
  --dur-slow: 0.55s;
}

/* ---- 细节杂项：选区 / 滚动条 / 键盘焦点 / 数字排版 ---- */
::selection {
  background: rgba(10, 132, 255, 0.38);
  color: #fff;
}
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.26); }
:focus-visible {
  outline: 2px solid rgba(10, 132, 255, 0.75);
  outline-offset: 2px;
  border-radius: 6px;
}
.price-num, .price-unit, .price-desc b {
  font-variant-numeric: tabular-nums;
}

/* ---- 微交互：选项卡片（hover 提亮 + 按下回弹 + 选中弹性定格） ---- */
.select-card {
  will-change: transform;
}
.select-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 48px -14px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(109, 178, 255, 0.22),
    0 10px 32px -12px rgba(10, 132, 255, 0.28);
}
.select-card:active {
  transform: translateY(-1px) scale(0.975);
  transition-duration: 0.08s;
}
@keyframes cardPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.select-card.selected {
  animation: cardPop 0.32s var(--ease-out-q);
}
.select-card.selected .icon,
.select-card.selected .label {
  animation: cardPop 0.32s var(--ease-out-q) 0.04s;
}

/* ---- 微交互：按钮（光泽扫过 + 按压反馈） ---- */
.btn { will-change: transform; }
.btn:active, .navbar-btn:active, .navbar-btn-contact:active { transform: scale(0.97); }
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease-out-q);
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }
.navbar-btn-ghost:hover { transform: translateY(-1px); }
.navbar-btn-contact { transition: transform 0.15s var(--ease-out-q), box-shadow 0.28s var(--ease-out-q), background 0.28s var(--ease-out-q); }

/* ---- 微交互：图标与徽章的呼应 ---- */
.select-card .icon { transition: transform 0.28s var(--ease-out-q); }
.select-card:hover .icon { transform: translateY(-2px) scale(1.06); }

/* ---- 排版点缀：hero 渐变关键词 ---- */
.grad-text {
  background: linear-gradient(95deg, #ffffff 15%, #9cc8ff 55%, #4da3ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- 动效系统：分区滚动进场 ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease-out-q),
    transform 0.6s var(--ease-out-q);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.reveal-in {
  opacity: 1;
  transform: none;
}

/* ---- 无障碍：偏好减弱动效时全部退化 ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .select-card.selected, .select-card.selected .icon, .select-card.selected .label { animation: none; }
  .btn-primary::after { display: none; }
}

/* ============================================================
   2026-08-30 客服弹窗质感升级（覆盖上方同名规则）
   ============================================================ */
@keyframes modalInPolish {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.contact-modal {
  width: min(92vw, 380px);
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(38, 52, 84, 0.92), rgba(16, 22, 38, 0.94)) padding-box,
    linear-gradient(135deg, rgba(140, 180, 255, 0.35), rgba(255, 255, 255, 0.06) 45%, rgba(10, 132, 255, 0.28)) border-box;
  border: 1px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 60px -18px rgba(10, 132, 255, 0.35);
  animation: modalInPolish 0.38s var(--ease-out-q, cubic-bezier(0.22, 1, 0.36, 1)) both;
}
.contact-modal-x {
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
}
.contact-modal-head { margin-bottom: 20px; gap: 14px; }
.contact-modal-head > [data-lucide] {
  width: 42px; height: 42px;
  padding: 11px;
  box-sizing: border-box;
  border-radius: 14px;
  background: linear-gradient(135deg, #2a94ff, #0064d2);
  color: #fff;
  box-shadow: 0 6px 20px -6px rgba(10, 132, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.contact-modal-title { font-size: 17px; font-weight: 700; letter-spacing: 0.01em; }
.contact-modal-sub { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.contact-wechat-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.contact-wechat-label { font-size: 12px; color: var(--text-dim); }
.contact-wechat-id {
  font-size: 17px; font-weight: 700; letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.contact-copy-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #2a94ff, #0064d2);
  color: #fff; font-size: 12.5px; font-weight: 600;
  box-shadow: 0 6px 18px -6px rgba(10, 132, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all var(--transition-fast);
}
.contact-copy-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(10, 132, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.contact-copy-btn:active { transform: scale(0.95); }
.contact-modal-note {
  font-size: 12.5px; line-height: 1.8; color: var(--text-dim);
  margin-top: 14px;
}
.contact-modal-note b { color: var(--accent-3); font-weight: 600; }

/* ============================================================
   2026-08-30 客服弹窗品牌展示区
   ============================================================ */
.contact-modal { width: min(92vw, 440px); padding: 30px 32px; }
.contact-brand {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 13px;
}
.contact-brand-logo {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0) 50%),
    conic-gradient(from 210deg, #6ea8ff, #b7d3ff, #3b6fd4, #6ea8ff);
  box-shadow: 0 4px 16px -4px rgba(110, 168, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.contact-brand-logo [data-lucide] { width: 18px; height: 18px; }
.contact-brand-meta { min-width: 0; }
.contact-brand-name { font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: 0.01em; }
.contact-brand-name span { font-weight: 400; font-size: 12px; color: var(--text-secondary); margin-left: 2px; }
.contact-brand-slogan {
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 3px;
  letter-spacing: 0.06em;
}
.contact-brand-url {
  margin-left: auto;
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-3);
  text-decoration: none;
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(109, 178, 255, 0.3);
  transition: all var(--transition-fast);
}
.contact-brand-url:hover {
  color: #fff;
  background: rgba(10, 132, 255, 0.28);
  border-color: rgba(140, 190, 255, 0.55);
}

/* ============================================================
   2026-08-30 客服弹窗纵向呼吸感增强
   ============================================================ */
.contact-modal {
  width: min(92vw, 460px);
  padding: 38px 38px 34px;
  border-radius: 26px;
}
.contact-modal-head { margin-bottom: 30px; gap: 15px; }
.contact-modal-title { font-size: 18px; }
.contact-modal-sub { margin-top: 5px; font-size: 13px; }
.contact-wechat-row { padding: 17px 18px; border-radius: 16px; }
.contact-wechat-id { font-size: 18px; }
.contact-copy-btn { padding: 9px 18px; }
.contact-modal-note { margin-top: 20px; line-height: 1.9; }
.contact-brand {
  margin-top: 32px;
  padding-top: 28px;
  gap: 14px;
}
.contact-brand-logo { width: 42px; height: 42px; border-radius: 13px; }

/* 网址胶囊改为按钮后的形态补丁 */
.contact-brand-url {
  cursor: pointer;
  font-family: inherit;
  user-select: none;
}

/* ============================================================
   2026-08-30 弹窗主次重排：分享为主、客服为辅
   ============================================================ */
.contact-support {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-support-head {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.contact-support-head span { color: var(--accent-3); }
.contact-brand {
  margin-top: 22px;
  padding-top: 0;
  border-top: none;
  margin-bottom: 4px;
}

/* ============================================================
   2026-08-30 品牌块改为卡片底部 footer
   ============================================================ */
.contact-brand-foot {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-brand-foot .contact-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
}

/* ===== 首页 · 核心价值 / 适用人群 / 常见问题 ===== */
.hm-section { margin-top: 96px; }

.hm-lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin: -4px 0 18px;
}

.hm-hint {
  font-weight: 400;
  color: var(--text-dim);
  font-size: 12px;
}

.hm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hm-card {
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 22px 18px 20px;
  transition: all var(--transition);
}

.hm-card:hover {
  border-color: rgba(109, 178, 255, 0.3);
  transform: translateY(-2px);
}

.hm-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(10, 132, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-3);
  margin-bottom: 12px;
}

.hm-icon [data-lucide] { width: 20px; height: 20px; }

.hm-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.hm-desc {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 6px;
  line-height: 1.7;
}

/* 常见问题：原生 details 折叠，零 JS */
.hm-faq { display: flex; flex-direction: column; gap: 8px; }

.hm-faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.hm-faq-item[open] { border-color: rgba(109, 178, 255, 0.35); }

.hm-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  user-select: none;
}

.hm-faq-q::-webkit-details-marker { display: none; }
.hm-faq-q::marker { content: ""; }

.hm-faq-chevron {
  color: var(--text-dim);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.hm-faq-item[open] .hm-faq-chevron { transform: rotate(180deg); }

.hm-faq-a {
  padding: 0 16px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.85;
}

.hm-faq-a b { color: var(--text); }

@media (max-width: 900px) {
  .hm-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .hm-section { margin-top: 72px; }
  .hm-grid { grid-template-columns: 1fr; }
}


/* ===== 区块大标题：居中 · 渐变 · 醒目 ===== */
.sec-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin: 0 0 30px;
}

.sec-headline [data-lucide] {
  width: 24px;
  height: 24px;
  color: var(--accent-3);
  stroke-width: 1.6;
}

.sec-headline-text {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.25;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #a7bdd8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 标题下细分隔线，给居中标题一个视觉落点 */
.sec-headline::after {
  content: '';
  display: block;
  width: 44px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(109, 178, 255, 0.85), transparent);
  margin-top: 2px;
}

.sec-headline .hm-hint {
  display: block;
  margin: -2px 0 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-dim);
}

@media (max-width: 900px) {
  .sec-headline-text { font-size: 26px; }
}

@media (max-width: 560px) {
  .sec-headline { gap: 10px; margin-bottom: 24px; }
  .sec-headline [data-lucide] { width: 21px; height: 21px; }
  .sec-headline-text { font-size: 23px; letter-spacing: -0.4px; }
}

/* 英雄区价格向副标题：价格数字高亮，其余弱化 */
.hero-sub-price {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.hero-sub-price b {
  color: var(--accent-3);
  font-weight: 700;
}

@media (max-width: 640px) {
  .hero-sub-price { font-size: 14.5px; }
}


/* ===== 积分制：导航栏用户区 / 登录页 / 充值页 (20260902a) ===== */
.navbar-user {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
}
.navbar-user-credits { color: var(--accent-3); }

.auth-wrap {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}
.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface-solid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px 32px 28px;
}
.auth-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--glass);
  border-radius: var(--radius-xs);
  padding: 4px;
}
.auth-tab {
  flex: 1;
  text-align: center;
  padding: 9px 0;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all .18s ease;
}
.auth-tab.active {
  background: var(--accent);
  color: #fff;
}
.auth-error {
  background: rgba(255, 69, 58, 0.12);
  border: 1px solid rgba(255, 69, 58, 0.3);
  color: var(--danger);
  font-size: 13px;
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  margin-bottom: 16px;
}
.auth-label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin: 14px 0 6px;
}
.auth-input {
  width: 100%;
  box-sizing: border-box;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text);
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  transition: border-color .18s ease;
}
.auth-input:focus { border-color: var(--accent); }
.auth-btn {
  width: 100%;
  margin-top: 22px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-xs);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 0;
  cursor: pointer;
  transition: background .18s ease;
}
.auth-btn:hover { background: var(--accent-2); }
.auth-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}
.auth-link { color: var(--accent-3); text-decoration: none; }

/* ===== 充值页 · 竖版订阅卡 ===== */
.rc-page {
  max-width: 1020px;
  margin: 0 auto;
  padding: 56px 24px 64px;
}
.rc-head { text-align: center; margin-bottom: 44px; }
.rc-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 10px;
}
.rc-sub { font-size: 14px; color: var(--text-secondary); margin: 0; }
.rc-email { color: var(--text); }
.rc-balance { color: var(--accent-3); font-weight: 700; }

.rc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .rc-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

.rc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 32px 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.rc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-lg);
}
.rc-card:disabled { opacity: 0.55; cursor: wait; transform: none; }

.rc-card--featured {
  background: linear-gradient(180deg, rgba(10, 132, 255, 0.14), rgba(10, 132, 255, 0.04) 55%, rgba(255, 255, 255, 0.02));
  border-color: rgba(10, 132, 255, 0.55);
  box-shadow: var(--glow);
}
.rc-card--featured:hover {
  border-color: rgba(10, 132, 255, 0.8);
  box-shadow: 0 24px 64px -16px rgba(10, 132, 255, 0.5);
}

.rc-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.rc-tier {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-bottom: 22px;
}
.rc-card--featured .rc-tier { color: var(--accent-3); }

.rc-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  line-height: 1;
  margin-bottom: 16px;
}
.rc-cny { font-size: 22px; font-weight: 600; color: var(--text-secondary); }
.rc-num { font-size: 60px; font-weight: 700; letter-spacing: -0.04em; }
.rc-card--featured .rc-num {
  background: linear-gradient(180deg, #ffffff 20%, #6db2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rc-credits { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.rc-eq { font-size: 13px; color: var(--text-secondary); }

.rc-divider {
  width: 100%;
  height: 1px;
  background: var(--glass-border);
  margin: 26px 0 18px;
}

.rc-feat {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 4px 0;
}
.rc-feat::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 6px;
  border-left: 1.5px solid var(--accent-3);
  border-bottom: 1.5px solid var(--accent-3);
  transform: rotate(-45deg);
  margin-right: 9px;
  vertical-align: 2px;
}

.rc-cta {
  margin-top: 28px;
  width: 100%;
  padding: 13px 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  transition: background 0.18s ease;
}
.rc-card:hover .rc-cta { background: rgba(255, 255, 255, 0.14); }
.rc-card--featured .rc-cta {
  background: linear-gradient(135deg, #0a84ff, #0064d2);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(10, 132, 255, 0.55);
}
.rc-card--featured:hover .rc-cta { background: linear-gradient(135deg, #2b96ff, #0a72e8); }

.rc-note {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-dim);
}
.rc-err {
  text-align: center;
  color: var(--danger);
  font-size: 13px;
  min-height: 18px;
  margin: 10px 0 0;
}

/* ===== 导航栏用户胶囊 + 折叠菜单 ===== */
.user-menu { position: relative; display: inline-flex; }

.user-capsule {
  display: inline-flex; align-items: center; gap: 6px;
  max-width: 280px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: #0a0a12;
  border: 1px solid #ffffff;
  font-size: 13px; font-weight: 600; font-family: inherit;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.18);
  transition: all var(--transition-fast);
}
.user-capsule:hover {
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}
.user-capsule [data-lucide] { width: 14px; height: 14px; flex-shrink: 0; }
.user-capsule-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.user-capsule-credits { font-weight: 500; opacity: 0.72; }
.user-capsule-caret { opacity: 0.55; transition: transform var(--transition-fast); }
.user-menu.open .user-capsule-caret { transform: rotate(180deg); }
.user-capsule-link { text-decoration: none; }

.user-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 176px;
  background: var(--surface-solid);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  display: none;
  z-index: 1001;
}
.user-menu.open .user-dropdown { display: block; animation: userDropIn 0.16s ease; }
@keyframes userDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.user-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 9px;
  background: transparent; border: none;
  color: var(--text-secondary);
  font-size: 13px; font-weight: 500; font-family: inherit;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: all var(--transition-fast);
}
.user-dropdown-item:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.user-dropdown-item [data-lucide] { width: 15px; height: 15px; flex-shrink: 0; }
.user-dropdown-divider { height: 1px; margin: 5px 8px; background: var(--glass-border); }
.user-dropdown-logout:hover { color: var(--danger); }

@media (max-width: 768px) {
  .user-capsule { padding: 7px 12px; }
  .user-capsule-name { max-width: 90px; }
  .user-capsule-credits { display: none; }
}

/* ===== 积分明细 ===== */
.rch { margin-top: 56px; }
.rch-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.rch-title { font-size: 18px; font-weight: 700; color: var(--text); }
.rch-cap { font-size: 12px; color: var(--text-dim); }
.rch-list {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass);
  overflow: hidden;
}
.rch-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid var(--glass-border);
  font-size: 13px;
}
.rch-row:last-child { border-bottom: none; }
.rch-label { color: var(--text-secondary); }
.rch-amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.rch-amt.is-plus { color: var(--accent-3); }
.rch-amt.is-minus { color: var(--danger); }
.rch-bal {
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  min-width: 64px;
  text-align: right;
}
.rch-time { color: var(--text-dim); font-variant-numeric: tabular-nums; }
.rch-empty {
  padding: 28px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}
@media (max-width: 640px) {
  .rch-row { grid-template-columns: 1fr auto; gap: 4px 16px; padding: 12px 16px; }
  .rch-time { grid-column: 1 / -1; }
  .rch-bal { display: none; }
}

/* ============================================================
   2026-09-07 免登录结算链路（append-only，覆盖上方同名规则）
   游客结算层 · 积分不足提示 · 公开定价页 · 轻量 toast
   ============================================================ */

/* ---- 结算层：比客服弹窗稍宽，容纳表单 ---- */
.checkout-modal { width: min(92vw, 420px); }

.checkout-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.checkout-price-label { font-size: 12.5px; color: var(--text-dim); letter-spacing: 0.02em; }
.checkout-price-value {
  font-size: 24px; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}

.checkout-field { display: block; margin-bottom: 12px; }
.checkout-field-label {
  display: block; margin-bottom: 6px;
  font-size: 12px; color: var(--text-dim); letter-spacing: 0.02em;
}
.checkout-input {
  width: 100%; padding: 12px 14px;
  font-family: inherit; font-size: 14px; color: var(--text);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.checkout-input::placeholder { color: var(--text-dim); }
.checkout-input:focus {
  border-color: rgba(109, 178, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.14);
}

.checkout-error {
  margin: 0 0 12px;
  font-size: 12.5px; line-height: 1.6; color: var(--danger);
}
.checkout-actions { display: flex; gap: 10px; margin-top: 16px; }
.checkout-actions .btn { flex: 1; justify-content: center; }

/* ---- 轻量 toast：替代原生 alert，不打断流程 ---- */
.yaya-toast {
  position: fixed;
  left: 50%; bottom: 32px;
  transform: translate(-50%, 16px);
  z-index: 1200;
  max-width: min(88vw, 420px);
  padding: 12px 18px;
  font-size: 13.5px; line-height: 1.6; color: var(--text);
  background: rgba(28, 28, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.yaya-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- 公开定价页 ---- */
.pricing-card {
  padding: 26px 24px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.09)) border-box;
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow);
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
}
.pricing-card-head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pricing-card-head > [data-lucide] {
  flex-shrink: 0;
  width: 40px; height: 40px; padding: 10px; box-sizing: border-box;
  border-radius: 12px; color: var(--accent-3);
  background: rgba(10, 132, 255, 0.14);
}
.pricing-card-head > div { min-width: 0; flex: 1; }
.pricing-card-title { font-size: 17px; font-weight: 700; color: var(--text); }
.pricing-card-sub { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.pricing-card-price { flex-shrink: 0; text-align: right; white-space: nowrap; }
.pricing-price-num {
  font-size: 26px; font-weight: 800; color: var(--text);
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.pricing-price-unit { font-size: 12px; color: var(--text-dim); margin-left: 2px; }

.pricing-feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pricing-feature-list li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13.5px; line-height: 1.6; color: var(--text-secondary);
}
.pricing-feature-list [data-lucide] {
  width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--success);
}

.pricing-example {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 12.5px; color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.pricing-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pricing-plan {
  padding: 18px 14px; text-align: center;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.pricing-plan:hover { border-color: rgba(109, 178, 255, 0.4); transform: translateY(-2px); }
.pricing-plan-credits {
  font-size: 24px; font-weight: 800; color: var(--text);
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.pricing-plan-credits span { font-size: 12px; font-weight: 500; color: var(--text-dim); margin-left: 3px; }
.pricing-plan-price { margin-top: 6px; font-size: 16px; font-weight: 700; color: var(--accent-3); }
.pricing-plan-unit { margin-top: 4px; font-size: 11.5px; color: var(--text-dim); }

.pricing-foot {
  text-align: center; font-size: 12px; line-height: 1.8;
  color: var(--text-dim); margin: 4px 0 8px;
}

@media (max-width: 640px) {
  .pricing-plans { grid-template-columns: 1fr; }
  .pricing-card-head { flex-wrap: wrap; }
  .pricing-card-price { text-align: left; width: 100%; }
  .checkout-actions { flex-direction: column; }
}

/* ---- 账户收口条：游客自动开户后提示设置密码 ---- */
.account-bar {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1100px;
  margin: 14px auto 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(109, 178, 255, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: modalIn 0.25s ease;
}
.account-bar > [data-lucide] {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--accent-3);
}
.account-bar-text {
  flex: 1; min-width: 0;
  font-size: 13px; line-height: 1.6;
  color: var(--text-secondary);
}
.account-bar-text b { color: var(--text); font-weight: 600; }
.account-bar-input {
  flex-shrink: 0;
  width: 190px;
  padding: 8px 12px;
  font-family: inherit; font-size: 13px; color: var(--text);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.account-bar-input::placeholder { color: var(--text-dim); }
.account-bar-input:focus {
  border-color: rgba(109, 178, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.14);
}
.account-bar-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  font-family: inherit; font-size: 13px; font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, #2a94ff, #0064d2);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(10, 132, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all var(--transition-fast);
}
.account-bar-btn:hover { filter: brightness(1.08); }
.account-bar-btn:disabled { opacity: 0.6; cursor: default; }
.account-bar-close {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  color: var(--text-dim);
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.account-bar-close:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.account-bar-close [data-lucide] { width: 15px; height: 15px; }

@media (max-width: 860px) {
  .account-bar { flex-wrap: wrap; }
  .account-bar-text { width: 100%; }
  .account-bar-input { flex: 1; width: auto; min-width: 140px; }
}

/* ===== 导航栏当前页高亮（2026-09-07）=====
   全站右侧导航统一由 base.html 渲染，当前页按钮常亮，
   让用户在任何页面都知道自己在哪里。与 .navbar-step-name 同一套视觉语言。 */
.navbar-btn-ghost.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.navbar-btn-ghost.is-active:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ===== 弹窗定位修复（2026-09-07）=====
   ① overlay 允许滚动：弹窗高于视口（小屏 / 键盘弹出）时可上下滚动；
   ② modal margin:auto：与 overlay 的 align-items:flex-start 配合实现垂直居中，
      超高时 auto margin 归零、顶部可达（center 对齐的对称裁剪不可滚达）；
   ③ body.modal-open 锁背景滚动，开关由 JS lockModalScroll() 配对调用。
   定位四边与 flex-start 已写回源头定义处（搜「联系客服弹窗」）。 */
.contact-modal-overlay {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 20px;
}

.contact-modal-overlay .contact-modal {
  margin: auto;
}

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

/* ===== 我的任务列表（2026-09-07）===== */
.task-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--card-bg, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-sm, 10px);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.task-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
}

.task-item-main {
  min-width: 0;
  flex: 1;
}

.task-item-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.task-status {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
}

.task-status-succeeded { color: #34d399; background: rgba(52, 211, 153, 0.12); }
.task-status-processing { color: #60a5fa; background: rgba(96, 165, 250, 0.12); }
.task-status-queued { color: #facc15; background: rgba(250, 204, 21, 0.10); }
.task-status-failed,
.task-status-expired,
.task-status-cancelled { color: #f87171; background: rgba(248, 113, 113, 0.10); }

.task-item-time {
  font-size: 12px;
  color: var(--text-dim);
}

.task-item-prompt {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-item-meta {
  font-size: 12.5px;
  color: var(--text-dim);
}

.task-item-actions {
  flex-shrink: 0;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

@media (max-width: 560px) {
  .task-item {
    flex-direction: column;
    align-items: stretch;
  }
  .task-item-actions { display: flex; justify-content: flex-end; }
}

/* ── 加载更多 / 空态（我的任务 + 积分明细） ─────────────── */
.load-more {
  display: flex;
  justify-content: center;
  padding: 20px 0 4px;
}
.load-more .btn { min-width: 140px; }
.load-more .btn:disabled { opacity: 0.5; cursor: default; }
.task-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-dim);
  font-size: 13px;
}
