/* ===== 中信金融 v6 样式表 — 移动端优先 ===== */

:root {
  --primary: #0D47A1;
  --primary-light: #1976D2;
  --primary-dark: #0A367A;
  --gold: #F57C00;
  --gold-light: #FFD54F;
  --success: #2E7D32;
  --warn: #F57C00;
  --danger: #C62828;
  --bg: #F5F7FA;
  --card-bg: #FFFFFF;
  --text: #263238;
  --text-sub: #546E7A;
  --text-light: #90A4AE;
  --border: #E0E0E0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0; height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
  /* 🚨 手机端允许滚动 */
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 16px; }

/* ===== 通用布局 ===== */
#app { min-height: 100vh; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
.btn { min-height: 44px; padding: 0 20px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; transition: all .2s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:active { transform: scale(0.97); }
.btn-block { width: 100%; }
.btn-lg { min-height: 52px; font-size: 17px; border-radius: var(--radius); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:active { background: var(--primary-dark); }
.btn-primary:hover { background: var(--primary-light); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-ghost { background: rgba(255,255,255,0.15); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #fff; }
.btn:disabled { opacity: 0.5; pointer-events: none; }

.page-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(var(--safe-top) + 14px) 16px 14px;
  background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.page-title { margin: 0; font-size: 17px; font-weight: 600; }
.page-back {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--primary); background: #E3F2FD;
}
.btn-logout { padding: 6px 14px; border-radius: 20px; font-size: 13px; color: var(--text-sub); background: #F5F5F5; }
.header-user { display: flex; align-items: center; gap: 10px; }
.header-logo { width: 32px; height: 32px; border-radius: 6px; }
.header-role { font-size: 15px; font-weight: 600; color: var(--primary); }
.header-name { font-size: 12px; color: var(--text-sub); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-intro {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; background: #E3F2FD; color: var(--primary);
  transition: transform .2s;
}
.btn-intro:active { transform: scale(0.92); }

/* ===== 加载动画 ===== */
.loading-page { justify-content: center; align-items: center; background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%); }
.loading-wrap { text-align: center; color: #fff; }
.loading-logo { width: 120px; height: auto; animation: pulse 2s infinite; }
.spinner { width: 40px; height: 40px; border: 3px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; margin: 24px auto; animation: spin 0.8s linear infinite; }
.loading-text { font-size: 14px; opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* ===== 登录/注册 ===== */
.auth-page {
  justify-content: center; padding: 20px;
  background: linear-gradient(160deg, #0A367A 0%, #0D47A1 35%, #1976D2 70%, #1E88E5 100%);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;     /* 🚨 允许手机上下滑 */
  -webkit-overflow-scrolling: touch;
}
.auth-page::before,
.auth-page::after {
  content: ''; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,213,79,0.35) 0%, rgba(255,213,79,0) 70%);
  animation: floatA 14s ease-in-out infinite;
  pointer-events: none;
}
.auth-page::before {
  width: 380px; height: 380px; top: -100px; right: -80px;
  animation-delay: 0s;
}
.auth-page::after {
  width: 260px; height: 260px; bottom: -60px; left: -50px;
  background: radial-gradient(circle, rgba(100,181,246,0.5) 0%, rgba(100,181,246,0) 70%);
  animation-name: floatB; animation-duration: 18s;
}
@keyframes floatA {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.1); }
}
@keyframes floatB {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.15); }
}

/* 粒子层 */
.auth-page .particle {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,0.6); pointer-events: none;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.8; }
  100% { transform: translateY(-10vh) translateX(30px); opacity: 0; }
}

/* 顶部渐变波浪光 */
.auth-page .auth-glow {
  position: absolute; top: -50%; left: -20%; width: 140%; height: 80%;
  background: radial-gradient(ellipse at 50% 20%, rgba(255,255,255,0.08) 0%, transparent 60%);
  animation: glowMove 12s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowMove {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(20px, -10px) rotate(3deg); }
}

.auth-hero { text-align: center; padding: 40px 0 30px; color: #fff; position: relative; z-index: 1; }
.auth-logo { width: 100px; height: auto; margin-bottom: 16px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2)); }
.auth-title { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: 2px; }
.auth-sub { margin: 6px 0 0; font-size: 14px; opacity: 0.85; }

/* 桌面端宣传区（移动端隐藏） */
.auth-side-hero { display: none; }
.auth-side-features { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; opacity: 0.9; }

/* 🚨 统一透明化所有表单容器 */
.auth-form-wrap { width: 100%; }
.auth-form {
  background: transparent !important;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  width: 100%;
  max-width: none;
  position: relative; z-index: 1;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; color: #BBDEFB; margin-bottom: 6px; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.4); letter-spacing: 1px; }
.form-group .real-name-hint { font-size: 11px; color: #FFD54F; margin-left: 4px; text-shadow: 0 0 6px rgba(255,213,79,0.3); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; min-height: 46px; padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 10px;
  background: rgba(255,255,255,0.12);
  color: #fff; font-size: 14px; outline: none;
  transition: all .2s;
  backdrop-filter: blur(6px);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.55); }
.form-group input:focus, .form-group textarea:focus {
  border-color: #90CAF9;
  background: rgba(255,255,255,0.2);
  box-shadow: 0 0 0 3px rgba(144,202,249,0.25), inset 0 0 12px rgba(144,202,249,0.15);
  color: #fff;
}

.auth-footer { text-align: center; margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.7); text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.auth-footer a { color: #FFD54F; text-decoration: none; font-weight: 600; text-shadow: 0 0 8px rgba(255,213,79,0.3); }
.auth-footer a:hover { color: #FFECB3; text-decoration: underline; }

.auth-hint {
  margin-top: 20px; padding: 14px 16px;
  background: rgba(255,213,79,0.12);
  border: 1px solid rgba(255,213,79,0.3);
  border-radius: 10px;
  font-size: 12px; line-height: 1.9;
  backdrop-filter: blur(8px);
}
.auth-hint p { margin: 2px 0; color: rgba(255,255,255,0.85); text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.auth-hint p b { color: #FFD54F; text-shadow: 0 0 8px rgba(255,213,79,0.4); font-weight: 700; }

/* 🚨 注册页外层：给 form.auth-form 加毛玻璃包裹 */
.auth-page form.auth-form {
  max-width: 440px !important;
  margin: 0 auto !important;
  padding: 32px 28px !important;
  background: rgba(255,255,255,0.1) !important;
  backdrop-filter: blur(20px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.3) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.25) !important;
}

/* 🚨 注册页英雄区 logo + 标题（白底→透明，深色→亮白发光） */
.auth-hero { text-align: center; margin-bottom: 24px; background: transparent !important; }
.auth-logo {
  width: 110px; height: auto; margin: 0 auto 12px;
  background: transparent !important;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5)) drop-shadow(0 0 40px rgba(100,181,246,0.4));
}
.auth-title { margin: 0; font-size: 28px; font-weight: 800; color: #fff; letter-spacing: 3px; text-shadow: 0 2px 10px rgba(0,0,0,0.4), 0 0 30px rgba(100,181,246,0.3); }
.auth-sub { margin: 6px 0 0; font-size: 14px; color: rgba(255,255,255,0.8); text-shadow: 0 1px 4px rgba(0,0,0,0.3); }

/* 🚨 所有主按钮统一亮蓝渐变 + 悬浮效果 */
.auth-form .btn-primary,
.auth-full-form-card .btn-primary,
form.auth-form .btn-primary,
.btn.btn-primary.btn-block {
  width: 100% !important; padding: 13px !important; margin-top: 6px !important;
  background: linear-gradient(135deg, #42A5F5, #1565C0) !important;
  border: none !important; border-radius: 10px !important;
  color: #fff !important; font-size: 15px !important; font-weight: 700 !important;
  cursor: pointer !important; transition: all 0.25s !important;
  box-shadow: 0 4px 18px rgba(21,101,192,0.5) !important;
  letter-spacing: 2px !important;
}
.auth-form .btn-primary:hover,
.auth-full-form-card .btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(21,101,192,0.6) !important;
  background: linear-gradient(135deg, #64B5F6, #1976D2) !important;
}

.link-primary { color: #FFD54F; text-decoration: none; font-weight: 600; text-shadow: 0 0 6px rgba(255,213,79,0.3); }

/* ===== 注册成功过渡 ===== */
.transition-page { justify-content: center; align-items: center; background: linear-gradient(135deg, #0D47A1, #1976D2); }
.transition-content { text-align: center; color: #fff; animation: fadeUp 0.6s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.checkmark-wrap { width: 100px; height: 100px; margin: 0 auto 20px; }
.checkmark { width: 100%; height: 100%; }
.checkmark-circle { fill: none; stroke: #4CAF50; stroke-width: 3; animation: drawCircle 0.6s ease forwards; }
.checkmark-path { fill: none; stroke: #4CAF50; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: drawCheck 0.5s 0.4s ease forwards; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.transition-title { margin: 0; font-size: 24px; }
.transition-sub { margin: 8px 0 24px; opacity: 0.85; }
.transition-dots { display: flex; justify-content: center; gap: 8px; }
.transition-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); animation: dotPulse 1.2s infinite; }
.transition-dots span:nth-child(2) { animation-delay: 0.2s; }
.transition-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse { 0%, 80%, 100% { opacity: 0.4; transform: scale(0.8); } 40% { opacity: 1; transform: scale(1.1); } }

/* ===== Onboarding 介绍页（持续动画背景） ===== */
.onboarding-page {
  background: #0F172A; position: relative;
  overflow-x: hidden;
  overflow-y: auto;    /* 🚨 允许手机上下滑 */
  -webkit-overflow-scrolling: touch;
  min-height: 100vh;
}

/* 底层渐变动画（持续流动） */
.ob-bg-layer {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg,
    #0F172A 0%, #1E3A5F 25%, #0A367A 50%, #1E40AF 75%, #0D2A5C 100%);
  background-size: 400% 400%;
  animation: obBgFlow 18s ease-in-out infinite;
}
@keyframes obBgFlow {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 50% 0%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 100%; }
}

/* 粒子（持续漂移） */
.ob-particles {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 15% 25%, rgba(255,215,0,0.7), transparent),
    radial-gradient(1.5px 1.5px at 45% 65%, rgba(100,200,255,0.6), transparent),
    radial-gradient(1px 1px at 75% 35%, rgba(255,255,255,0.5), transparent),
    radial-gradient(2px 2px at 85% 85%, rgba(255,215,0,0.5), transparent),
    radial-gradient(1.5px 1.5px at 25% 85%, rgba(100,200,255,0.5), transparent),
    radial-gradient(1px 1px at 55% 15%, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 95% 50%, rgba(255,215,0,0.6), transparent),
    radial-gradient(1px 1px at 5% 55%, rgba(255,255,255,0.3), transparent);
  background-size: 250% 250%;
  animation: obParticleDrift 15s linear infinite;
}
@keyframes obParticleDrift {
  0% { background-position: 0% 0%; }
  100% { background-position: 250% 250%; }
}

/* 两团大光斑（漂浮） */
.ob-glow {
  position: absolute; border-radius: 50%; z-index: 1; pointer-events: none;
  filter: blur(100px); opacity: 0.4;
  animation: obGlowFloat 16s ease-in-out infinite;
}
.ob-glow-1 { width: 600px; height: 600px; background: radial-gradient(circle, #FFD700, transparent); top: -15%; left: -15%; }
.ob-glow-2 { width: 700px; height: 700px; background: radial-gradient(circle, #2563EB, transparent); bottom: -20%; right: -20%; animation-delay: -8s; }
@keyframes obGlowFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.15); }
  66% { transform: translate(-40px, 50px) scale(0.9); }
}

/* 网格线（缓慢旋转 + 透视） */
.ob-grid-lines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: obGridMove 20s linear infinite;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
@keyframes obGridMove {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* 内容层在动画之上 */
.onboarding-header, .onboarding-slider { position: relative; z-index: 2; }
.onboarding-header {
  padding: calc(var(--safe-top) + 10px) 16px;
}
.btn-onboarding-back {
  padding: 6px 14px; color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 500;
}
.onboarding-slider {
  flex: 1;
  display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.onboarding-slider::-webkit-scrollbar { display: none; }
.onboarding-slide {
  min-width: 100%; height: calc(100vh - 100px);
  scroll-snap-align: start;
  padding: 20px 28px 32px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  animation: onboardingSlideIn 0.5s ease;
}
@keyframes onboardingSlideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
.onboarding-icon {
  font-size: 72px; margin-bottom: 24px;
  animation: iconBounce 1.2s ease, onboardingIconFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(255,215,0,0.4));
}
@keyframes onboardingIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.onboarding-icon-grow { font-size: 96px; animation: iconGrow 1.2s ease, onboardingIconFloat 2.5s ease-in-out infinite; }
.onboarding-icon-big { font-size: 88px; animation: iconBounce 1s ease, onboardingIconFloat 2s ease-in-out infinite; }
@keyframes iconBounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-15px); } }
@keyframes iconGrow { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.onboarding-title {
  margin: 0 0 16px; font-size: 26px; font-weight: 700;
  background: linear-gradient(135deg, #FFE066, #FFD700, #FFFFFF, #FFD700);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: aniGoldShimmer 3s ease-in-out infinite;
}
.onboarding-text { margin: 0; font-size: 16px; color: rgba(255,255,255,0.85); max-width: 320px; line-height: 1.7; }
.onboarding-text strong { color: #FFD700; }

/* 额度高亮 */
.amount-highlight { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 28px 0; }
.amount-min, .amount-max { font-size: 48px; font-weight: 700; }
.amount-min { color: #60A5FA; text-shadow: 0 0 20px rgba(96,165,250,0.5); }
.amount-max { color: #FFD700; background: linear-gradient(135deg, #FFD54F, #F57C00, #FFD54F); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% 200%; animation: aniGoldShimmer 3s ease-in-out infinite; }
.amount-connector { font-size: 32px; color: rgba(255,255,255,0.4); }
.amount-highlight .unit { font-size: 22px; margin-left: 4px; }

/* checklist */
.check-list { text-align: left; margin-top: 12px; max-width: 300px; }
.check-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; margin-bottom: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  font-size: 15px; color: rgba(255,255,255,0.9);
}
.check-item-sub { justify-content: center; color: var(--text-light); font-size: 13px; background: transparent; }
.check-badge {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--success); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: bold; flex-shrink: 0;
}

/* 流程 */
.flow-list { text-align: left; margin-top: 8px; max-width: 280px; }
.flow-step {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
}
.flow-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #FFD700, #F59E0B); color: #0F172A;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
  box-shadow: 0 0 20px rgba(255,215,0,0.4);
}
.flow-text { font-size: 15px; color: rgba(255,255,255,0.9); }
.flow-arrow { text-align: center; color: #FFD700; font-size: 16px; padding: 2px 0 2px 44px; }

/* 最后一页按钮 */
.onboarding-slide-last { padding-bottom: 60px; }
.onboarding-slide-last .btn { margin-top: 40px; max-width: 320px; }

/* 指示点 */
.onboarding-footer { padding: 16px 0 calc(var(--safe-bottom) + 16px); text-align: center; }
.onboarding-dots { display: inline-flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.3); transition: all .3s; }
.dot.active { width: 24px; background: #FFD700; box-shadow: 0 0 10px rgba(255,215,0,0.5); }

/* ===== Checklist 流程清单 ===== */
.checklist-page .checklist-body {
  padding: 24px 16px; flex: 1;
}
.checklist-question {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.checklist-step {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.step-badge {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.checklist-q-text { font-size: 16px; font-weight: 500; color: var(--text); }
.checklist-options { display: flex; gap: 12px; margin-top: 16px; }
.checklist-options .btn { flex: 1; }

/* ===== 营业执照申请指引 ===== */
.license-body { padding: 16px; flex: 1; }
.guide-card {
  background: #fff; border-radius: var(--radius); padding: 20px;
  margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.guide-icon { font-size: 36px; margin-bottom: 8px; }
.guide-card h3 { margin: 0 0 6px; font-size: 16px; color: var(--primary); }
.guide-card p { margin: 0; font-size: 14px; color: var(--text-sub); line-height: 1.6; }
.guide-note {
  background: #FFF8E1; border-radius: var(--radius-sm); padding: 14px;
  margin: 16px 0; font-size: 13px; color: #795548;
}
.guide-note p { margin: 2px 0; }
.license-body .btn { margin-top: 16px; }

/* 办理方式选择 */
.guide-choice-title {
  font-size: 14px; font-weight: 600; color: var(--text);
  margin: 20px 0 12px; padding-left: 4px;
}
.guide-choice-buttons { display: flex; flex-direction: column; gap: 10px; }
.guide-choice-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); transition: all .2s;
  text-align: left;
}
.guide-choice-card:active {
  border-color: var(--primary); background: #E3F2FD;
  transform: scale(0.98);
}
.guide-choice-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, #1976D2, #0D47A1);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.guide-choice-card:nth-child(2) .guide-choice-icon {
  background: linear-gradient(135deg, #F57C00, #E65100);
}
.guide-choice-text { flex: 1; min-width: 0; }
.guide-choice-name { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.guide-choice-desc { font-size: 12px; color: var(--text-sub); line-height: 1.4; }
.guide-choice-arrow { font-size: 24px; color: var(--text-light); flex-shrink: 0; }

/* 上传区域提示 */
.license-upload-section { margin-top: 12px; }
.license-upload-hint {
  font-size: 12px; color: var(--gold); text-align: center;
  margin: 8px 0; padding: 6px; background: #FFF8E1;
  border-radius: var(--radius-sm);
}

/* ===== 业务员工作台 ===== */
.operator-page { background: #f0f2f5; min-height: 100vh; display: flex; flex-direction: column; padding: 0; max-width: none; margin: 0; box-shadow: none; border: none; }

/* === 移动端：隐藏侧边栏，显示顶栏+tab === */
.op-desktop-sidebar { display: none; }
.op-mobile-header { flex-shrink: 0; }
.op-mobile-tabs { flex-shrink: 0; }

.op-tabs { display: flex; background: #fff; border-bottom: 1px solid var(--border); padding: 0 16px; overflow-x: auto; }
.op-tab {
  padding: 14px 16px; font-size: 15px; color: var(--text-sub);
  border-bottom: 2px solid transparent; transition: all .2s; white-space: nowrap;
}
.op-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

.op-main { flex: 1; padding: 16px; overflow-y: auto; }
.op-section { display: flex; flex-direction: column; gap: 12px; }
.op-section[hidden] { display: none !important; }

.op-page-title h2 { margin: 0 0 4px 0; font-size: 22px; font-weight: 700; color: #1a1a1a; }
.op-page-sub { font-size: 13px; color: #888; margin-bottom: 12px; }

.section-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.section-toolbar h3 { margin: 0; font-size: 16px; }

.case-filter { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.case-filter::-webkit-scrollbar { display: none; }

/* 🧲 业务员客户资料工作台：两栏 */
.op-case-workspace {
  display: flex; gap: 20px; height: calc(100vh - 240px); min-height: 600px;
}
.op-cases-left {
  width: 380px; flex-shrink: 0;
  background: #fff; border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex; flex-direction: column; overflow: hidden;
}
.op-cases-left .case-filter { padding: 14px; border-bottom: 1px solid var(--border); flex-shrink: 0; gap: 6px; }
.op-cases-left .case-filter .chip { padding: 5px 10px; font-size: 12px; }
.op-cases-left .case-list {
  flex: 1; overflow-y: auto; padding: 10px;
  display: flex; flex-direction: column; gap: 10px;
}
.op-cases-right {
  flex: 1; background: #fff; border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow-y: auto; padding: 24px;
}
.op-cases-right .detail-placeholder {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: var(--text-sub);
}
.op-cases-right .detail-placeholder .placeholder-icon { font-size: 48px; margin-bottom: 12px; }
/* 客户详情平铺 */
.ocd-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 18px;
}
.ocd-header h3 { margin: 0; font-size: 20px; }
.ocd-header .ocd-sub { font-size: 13px; color: var(--text-sub); margin-top: 4px; }
.ocd-status-bar {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.ocd-actions { display: flex; gap: 8px; }
.ocd-section { margin-bottom: 22px; }
.ocd-section-title {
  font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 2px solid var(--primary-light);
}
.ocd-plat-card {
  background: #FAFBFC; border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px; margin-bottom: 12px;
}
.ocd-plat-card.ocd-plat-skipped {
  background: #F5F5F5; border-color: #e0e0e0; opacity: 0.85;
}
.ocd-plat-card.ocd-plat-confirmed {
  background: #E3F2FD; border-color: #90CAF9;
}
.ocd-skipped-badge {
  text-align: center; padding: 24px;
  font-size: 32px; font-weight: 900; letter-spacing: 8px;
  color: #bbb; user-select: none;
  border-top: 2px dashed #e0e0e0;
}
.ocd-confirmed-badge {
  text-align: center; padding: 24px;
  font-size: 32px; font-weight: 900; letter-spacing: 6px;
  color: #1565C0; user-select: none;
  border-top: 2px dashed #90CAF9;
}
.ocd-plat-title {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px; font-size: 14px; font-weight: 600;
}
.ocd-plat-progress { font-size: 12px; color: var(--text-sub); }
.ocd-field-row {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-top: 1px dashed #E0E0E0;
}
.ocd-field-row:first-of-type { border-top: none; }
.ocd-field-label {
  width: 120px; flex-shrink: 0; font-size: 13px; color: var(--text-sub); padding-top: 2px;
}
.ocd-field-value { flex: 1; font-size: 13px; }
.ocd-field-value img { max-width: 200px; max-height: 150px; border-radius: 6px; border: 1px solid var(--border); cursor: pointer; }
.ocd-field-value .status-dot { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; }
.ocd-field-value .dot-pending { background: #FFF3E0; color: #E65100; }
.ocd-field-value .dot-done { background: #E8F5E9; color: #2E7D32; }
.ocd-field-value .dot-assist { background: #FFF8E1; color: #F57C00; }
.ocd-field-value .dot-confirmed { background: #E3F2FD; color: #1565C0; }
.chip {
  padding: 6px 14px; border-radius: 20px; font-size: 13px;
  background: #fff; color: var(--text-sub); border: 1px solid var(--border);
  white-space: nowrap;
}
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.case-list, .sub-list { display: flex; flex-direction: column; gap: 12px; }
.case-card, .tpl-card, .sub-card {
  background: #fff; border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow-sm);
  cursor: pointer; transition: all .2s;
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.case-card.active { border-left: 3px solid var(--primary); background: #F0F7FF; }
.case-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.case-customer { font-weight: 600; font-size: 16px; }
.status-badge {
  padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: 500;
}
.status-badge.draft { background: #ECEFF1; color: var(--text-sub); }
.status-badge.review_pending { background: #FFF3E0; color: var(--warn); }
.status-badge.reviewing { background: #E3F2FD; color: var(--primary); }
.status-badge.approved { background: #E8F5E9; color: var(--success); }
.status-badge.rejected { background: #FFEBEE; color: var(--danger); }
.case-meta { font-size: 12px; color: var(--text-light); line-height: 1.8; }
.case-actions { display: flex; gap: 8px; margin-top: 12px; }

.tpl-list { display: flex; flex-direction: column; gap: 12px; }
.tpl-card-list { display: flex; flex-direction: column; gap: 12px; }
.tpl-card { display: flex; align-items: center; gap: 14px; cursor: pointer; transition: all .2s; }
.tpl-card:active { transform: scale(0.99); background: #FAFAFA; }
.tpl-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, #1976D2, #0D47A1);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.tpl-info { flex: 1; min-width: 0; }
.tpl-title { font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.tpl-desc { font-size: 12px; color: var(--text-light); }

/* ===== 客户首页 ===== */
.cust-page .cust-main { padding: 16px; }
.cust-hero { margin-bottom: 16px; }
.cust-hero h3 { margin: 0 0 4px; font-size: 17px; }
.cust-hero p { margin: 0; font-size: 13px; color: var(--text-sub); }
.sub-header { margin: 24px 0 10px; }
.sub-header h3 { margin: 0; font-size: 16px; }

.sub-card { position: relative; }
.sub-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sub-card-title { font-weight: 600; font-size: 15px; }
.sub-progress { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.sub-progress-bar { height: 6px; background: #E0E0E0; border-radius: 3px; overflow: hidden; }
.sub-progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary-light), var(--primary)); border-radius: 3px; transition: width .3s; }
.sub-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }

/* ===== 案件编辑两栏 ===== */
.case-edit-page { background: var(--bg); display: flex; flex-direction: column; height: 100vh; }
.case-edit-main {
  display: flex; flex: 1; min-height: 0; flex-direction: column;
  padding-bottom: 80px; /* 🧲 给底部 footer 留空间 */
  overflow: hidden;
}
/* 🧲 固定底部提交栏 */
.case-edit-footer {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: #fff; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  gap: 12px;
}
.footer-progress { font-size: 13px; color: var(--text-sub); }
.footer-progress b { color: var(--primary); font-size: 15px; }
.footer-right { display: flex; gap: 8px; align-items: center; }
.case-edit-footer .btn-lg { padding: 12px 24px; font-size: 15px; min-height: 44px; }
.case-edit-footer .btn-outline { padding: 10px 16px; font-size: 13px; }
.case-edit-sidebar {
  width: 100%; background: #fff; border-bottom: 1px solid var(--border);
  overflow-y: auto; max-height: 35vh;
  -webkit-overflow-scrolling: touch;
}
.progress-wrap { padding: 12px 16px; background: #F5F7FA; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1; }
.progress-info { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--text-sub); margin-bottom: 8px; flex-wrap: wrap; }
.progress-info b { color: var(--primary); }
.progress-confirm b { color: var(--success); }
.progress-bar { height: 6px; background: #E0E0E0; border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width .3s; }

.item-list { padding: 8px; }
.item-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 12px; border-radius: var(--radius-sm);
  cursor: pointer; transition: all .2s;
  border: 1.5px solid transparent;
}
.item-card.active { background: #E3F2FD; border-color: var(--primary); }
.item-card.done { opacity: 0.7; }
.item-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: #F5F7FA; display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.item-card.active .item-icon { background: var(--primary); color: #fff; }
.item-info { flex: 1; min-width: 0; }
.item-name { font-weight: 500; font-size: 14px; }
.item-status { font-size: 11px; color: var(--text-light); }
.item-status.done { color: var(--success); }
.item-status.filled { color: var(--primary); }
.item-status.operator { color: var(--gold); }
.item-check { font-size: 18px; flex-shrink: 0; }
.item-check.done { color: var(--success); }

/* 编辑面板 — 手机端全宽，占满剩余空间 */
.case-edit-panel {
  flex: 1; padding: 16px; overflow-y: auto; background: #fff;
  -webkit-overflow-scrolling: touch;
}
.panel-placeholder { text-align: center; padding: 60px 20px; color: var(--text-light); }
.panel-placeholder .placeholder-icon { font-size: 48px; margin-bottom: 12px; }
.panel-item-title { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.panel-item-desc { font-size: 13px; color: var(--text-sub); margin-bottom: 16px; }

.field-group { margin-bottom: 16px; }
.field-label { display: block; font-size: 13px; color: var(--text-sub); margin-bottom: 6px; font-weight: 500; }
.field-label .required { color: var(--danger); margin-left: 2px; }
.field-input, .field-textarea {
  width: 100%; min-height: 44px; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #FAFAFA; transition: all .2s; outline: none;
}
.field-textarea { min-height: 100px; resize: vertical; }
.field-input:focus, .field-textarea:focus { border-color: var(--primary); background: #fff; }

.file-upload-area {
  border: 2px dashed var(--border); border-radius: var(--radius-sm);
  padding: 24px; text-align: center; cursor: pointer;
  background: #FAFAFA; transition: all .2s;
}
.file-upload-area:active { border-color: var(--primary); background: #E3F2FD; }
.file-upload-area.has-file { border-style: solid; border-color: var(--success); background: #E8F5E9; padding: 8px; }
.file-upload-icon { font-size: 36px; margin-bottom: 8px; }
.file-upload-text { font-size: 13px; color: var(--text-sub); }
.file-preview { max-width: 100%; max-height: 200px; border-radius: 6px; }

.panel-actions { display: flex; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.panel-actions .btn { flex: 1; }

/* ===== 案件状态页 ===== */
.status-body { padding: 16px; flex: 1; }
.status-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.status-header { text-align: center; margin-bottom: 16px; }
.status-icon { font-size: 48px; margin-bottom: 8px; }
.status-title { font-size: 20px; font-weight: 700; }
.status-title.approved { color: var(--success); }
.status-title.rejected { color: var(--danger); }
.status-title.reviewing { color: var(--primary); }
.status-title.review_pending { color: var(--warn); }

.status-info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.status-info-item { background: #F5F7FA; padding: 10px 12px; border-radius: var(--radius-sm); }
.status-info-label { font-size: 11px; color: var(--text-light); margin-bottom: 2px; }
.status-info-value { font-size: 13px; font-weight: 500; word-break: break-all; }

.timeline { padding: 16px 0; }
.timeline-item {
  display: flex; gap: 14px; padding-bottom: 18px; position: relative;
}
.timeline-item:not(:last-child)::after {
  content: ''; position: absolute; left: 13px; top: 30px;
  bottom: 0; width: 2px; background: var(--border);
}
.timeline-icon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: #E0E0E0; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; z-index: 1;
}
.timeline-icon.active { background: var(--primary); }
.timeline-icon.done { background: var(--success); }
.timeline-icon.reject { background: var(--danger); }
.timeline-content { flex: 1; min-width: 0; }
.timeline-title { font-size: 14px; font-weight: 600; }
.timeline-desc { font-size: 12px; color: var(--text-light); margin-top: 2px; }

.reject-note {
  background: #FFEBEE; border-radius: var(--radius-sm); padding: 12px;
  font-size: 13px; color: var(--danger); margin-top: 12px;
}

/* ===== Modal ===== */
.modal-wrap {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; padding: 16px;
  animation: fadeIn 0.2s ease;
  overflow-y: auto;
}
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff; border-radius: var(--radius); width: 100%; max-width: 400px;
  max-height: 85vh; display: flex; flex-direction: column;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal-title { margin: 0; font-size: 16px; }
.modal-close { width: 28px; height: 28px; border-radius: 50%; font-size: 16px; color: var(--text-sub); }
.modal-close:active { background: #F5F5F5; }
.modal-body { padding: 20px; overflow-y: auto; flex: 1; }
.modal-footer { padding: 12px 20px; border-top: 1px solid var(--border); display: flex; gap: 10px; }
.modal-footer .btn { flex: 1; }
.modal-lg { max-width: 520px; }
@media (min-width: 768px) { .modal-lg { max-width: 800px !important; } }

/* ============ 模板编辑器（页面内展开模式） ============ */
.tpl-list-mode, .tpl-editor-mode { width: 100%; }
.tpl-editor-mode[hidden] { display: none !important; }

.ed-page-header {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F0F7FF 100%);
  border: 1px solid #E2E8F0; border-radius: 12px;
  margin-bottom: 16px;
}
.ed-back {
  padding: 8px 16px; border: 1px solid #CBD5E1; background: #fff;
  border-radius: 8px; font-size: 13px; color: #475569;
  cursor: pointer; transition: all .15s; font-weight: 500;
}
.ed-back:hover { background: #F1F5F9; border-color: #94A3B8; color: #1E293B; }

.ed-page-title-bar { flex: 1; display: flex; align-items: center; }
.ed-title-input {
  max-width: 480px; font-size: 17px; font-weight: 600;
  padding: 10px 16px; background: #fff; border: 1.5px solid #E2E8F0;
  border-radius: 8px; color: #0F172A;
}
.ed-title-input:focus { border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); outline: none; }

.ed-stat-primary .ed-stat-num { color: #2563EB; font-size: 24px; }

.ed-tabs-lg {
  background: #fff; padding: 6px; border-radius: 10px;
  border: 1px solid #E2E8F0; margin-bottom: 16px;
  display: flex; align-items: center; gap: 4px;
}
.ed-tabs-lg .ed-tab { flex: none; padding: 10px 20px; font-size: 14px; }
.ed-tabs-lg .ed-tab.active { background: #2563EB; color: #fff; box-shadow: 0 2px 6px rgba(37,99,235,0.25); }
.ed-tab-spacer { flex: 1; }

.ed-page-body {
  background: #fff; border: 1px solid #E2E8F0; border-radius: 12px;
  padding: 20px; min-height: calc(100vh - 320px);
}

.ed-table-wrap { border: 1px solid #E2E8F0; border-radius: 10px; overflow: hidden; }
.ed-table-hdr, .ed-row {
  display: grid; gap: 10px; padding: 12px 16px; align-items: center;
}
.ed-table-hdr {
  grid-template-columns: 70px 1fr 1fr 80px 80px;
  background: #F8FAFC; font-size: 12px; font-weight: 700;
  color: #475569; border-bottom: 1px solid #E2E8F0;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.ed-row {
  grid-template-columns: 70px 1fr 1fr 80px 80px;
  border-bottom: 1px solid #F1F5F9; background: #fff; transition: background .12s;
}
.ed-row:hover { background: #FAFBFC; }
.ed-row:last-child { border-bottom: none; }

.ed-table-hdr-fields { grid-template-columns: 1.2fr 140px 80px 1fr 80px; }
.ed-row-fields { grid-template-columns: 1.2fr 140px 80px 1fr 80px; }

.ed-col { font-size: 13px; }
.ed-col-count { text-align: center; }
.ed-col-act { text-align: right; }

.ed-badge {
  display: inline-block; padding: 4px 10px; border-radius: 14px;
  background: #EFF6FF; color: #2563EB; font-size: 12px; font-weight: 600;
  text-align: center;
}
.ed-col-req { text-align: center; }
.ed-col-type { text-align: center; }

.ed-page-body .ed-input { padding: 10px 14px; font-size: 14px; border-radius: 7px; }
.ed-page-body .ed-btn-del { padding: 7px 12px; font-size: 12px; width: 100%; }

.ed-add-row { padding: 18px; text-align: center; border-top: 1px dashed #E2E8F0; background: #FAFBFC; }

/* 旧样式保留兼容移动端 */
.ed-top-bar, .ed-tabs:not(.ed-tabs-lg) { display: none; }

/* 移动端 */
@media (max-width: 768px) {
  .ed-page-header { flex-direction: column; align-items: stretch; padding: 14px; gap: 10px; }
  .ed-stats { justify-content: center; }
  .ed-tabs-lg { flex-wrap: wrap; }
  .ed-table-hdr { display: none; }
  .ed-row, .ed-row-fields {
    grid-template-columns: 1fr !important;
    gap: 8px; padding: 14px;
  }
  .ed-btn-del { width: 100%; }
}
.ed-top-bar {
  display: flex; align-items: flex-end; gap: 16px;
  padding: 16px; background: linear-gradient(135deg, #E8F0FE 0%, #F5F9FF 100%);
  border-radius: 10px; border: 1px solid #DBEAFE; margin-bottom: 16px;
}
.ed-name-wrap { flex: 1; }
.ed-label { display: block; font-size: 12px; color: #475569; font-weight: 600; margin-bottom: 6px; letter-spacing: 0.5px; }
.ed-input-lg {
  width: 100%; max-width: 320px;
  padding: 10px 14px; font-size: 15px; font-weight: 500;
  border: 1.5px solid #CBD5E1; border-radius: 8px;
  background: #fff; transition: all .2s;
}
.ed-input-lg:focus { border-color: #1D4ED8; box-shadow: 0 0 0 3px rgba(29,78,216,0.12); outline: none; }

.ed-stats { display: flex; gap: 12px; }
.ed-stat {
  background: #fff; border-radius: 8px; padding: 10px 16px;
  text-align: center; min-width: 70px; border: 1px solid #E2E8F0;
}
.ed-stat-num { font-size: 20px; font-weight: 700; color: #0D47A1; line-height: 1; }
.ed-stat-lbl { font-size: 11px; color: #64748B; margin-top: 4px; font-weight: 500; }

/* Tab 按钮组 */
.ed-tabs {
  display: flex; gap: 6px; margin-bottom: 16px;
  background: #F1F5F9; padding: 5px; border-radius: 10px;
  border: 1px solid #E2E8F0;
}
.ed-tab {
  flex: 1; padding: 10px 16px; font-size: 14px; font-weight: 600;
  border: none; background: transparent; border-radius: 7px;
  color: #64748B; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all .2s;
}
.ed-tab:hover { color: #334155; background: rgba(255,255,255,0.6); }
.ed-tab.active { background: #fff; color: #1D4ED8; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }

/* 表格 */
.ed-table-hdr {
  display: grid; grid-template-columns: 60px 1fr 1fr 70px;
  gap: 8px; padding: 10px 12px;
  background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 8px 8px 0 0;
  font-size: 12px; font-weight: 600; color: #475569;
  border-bottom: none;
}
/* 字段 tab 的表头是 名称 + 类型 + 必填 + 操作 */
#edTab-fields .ed-table-hdr {
  grid-template-columns: 1fr 140px 90px 70px;
}
.ed-row {
  display: grid; grid-template-columns: 60px 1fr 1fr 70px;
  gap: 8px; padding: 10px 12px; align-items: center;
  border: 1px solid #E2E8F0; border-top: none;
  background: #fff; transition: background .15s;
}
.ed-row:last-of-type { border-radius: 0 0 8px 8px; border-bottom: 1px solid #E2E8F0; }
.ed-row:hover { background: #F8FAFC; }
#edTab-fields .ed-row {
  grid-template-columns: 1fr 140px 90px 70px;
}

.ed-input {
  width: 100%; padding: 8px 12px; font-size: 13px;
  border: 1px solid #CBD5E1; border-radius: 6px;
  background: #fff; transition: all .15s;
}
.ed-input:focus { border-color: #1D4ED8; box-shadow: 0 0 0 2px rgba(29,78,216,0.1); outline: none; }
.ed-input-icon { text-align: center; font-size: 16px; padding: 8px; }
.ed-select { appearance: none; -webkit-appearance: none; cursor: pointer; }

.ed-btn-del {
  padding: 6px 10px; font-size: 12px;
  border: 1px solid #FECACA; background: #FEF2F2; color: #DC2626;
  border-radius: 6px; cursor: pointer; transition: all .15s;
}
.ed-btn-del:hover { background: #FEE2E2; border-color: #EF4444; }

.ed-check {
  display: flex; align-items: center; gap: 6px; font-size: 12px; color: #475569; cursor: pointer;
}
.ed-check input { display: none; }
.ed-check-box {
  width: 16px; height: 16px; border: 1.5px solid #CBD5E1; border-radius: 4px;
  background: #fff; transition: all .15s; position: relative; flex-shrink: 0;
}
.ed-check input:checked + .ed-check-box { background: #1D4ED8; border-color: #1D4ED8; }
.ed-check input:checked + .ed-check-box::after {
  content: ''; position: absolute; left: 4px; top: 1px;
  width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ed-empty {
  padding: 28px; text-align: center; color: #94A3B8; font-size: 13px;
  border: 1px dashed #CBD5E1; border-radius: 0 0 8px 8px;
}
.ed-add-row { padding: 14px 0; text-align: center; }

/* 🆕 平台卡片样式（堆叠布局，每行 full-width，永不挤压） */
.ed-plat-card {
  background: #fff; border: 1px solid #E2E8F0; border-radius: 10px;
  padding: 14px 16px; margin-bottom: 10px;
}
.ed-plat-card:hover { border-color: #94A3B8; box-shadow: 0 2px 8px rgba(0,0,0,.04); }

/* 每一行都是独立的，100% 宽度 */
.ed-plat-line { display: flex; gap: 8px; margin-bottom: 8px; }

/* icon 输入框：极短固定宽度 */
.ed-input-icon { width: 44px; flex-shrink: 0; text-align: center; font-size: 18px; padding: 8px 4px; }
/* 平台名：占剩余空间 */
.ed-input-name { flex: 1; font-weight: 700; padding: 8px 12px; }
/* 描述：整宽覆盖全局 width:100% */
.ed-input-desc { width: 100%; padding: 8px 12px; }

/* 操作按钮行：右对齐 */
.ed-plat-actions {
  display: flex; justify-content: flex-end; gap: 6px; align-items: center;
  flex-wrap: wrap; padding-top: 2px;
}
.ed-plat-actions .btn { padding: 5px 10px; font-size: 12px; white-space: nowrap; }
.ed-plat-actions .ed-btn-del { padding: 5px 8px; font-size: 14px; min-width: 28px; text-align: center; }

/* badge 变体（替代内联 style） */
.ed-badge-warn { background: #FFF3E0; color: #E65100; padding: 4px 10px; border-radius: 14px; font-size: 12px; font-weight: 600; }
.ed-badge-ok   { background: #E8F5E9; color: #2E7D32; padding: 4px 10px; border-radius: 14px; font-size: 12px; font-weight: 600; }

/* 字段展开面板 */
.ed-plat-fields { margin-top: 12px; }

/* 每个平台字段展开面板里的一行 —— 两行堆叠！ */
.ed-plat-fields > div > div {
  display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid #eee; border-radius: 6px;
  padding: 10px 12px; margin-bottom: 8px;
}
/* 第一行：字段名称输入框 —— 撑满全宽 */
.ed-plat-fields .ed-f-row1 { width: 100%; }
.ed-plat-fields .ed-f-row1 input { width: 100%; padding: 7px 10px; font-size: 13px; box-sizing: border-box; }
/* 第二行：类型 + 必填 + 删除 —— 紧凑，不挤压 */
.ed-plat-fields .ed-f-row2 {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.ed-plat-fields .ed-f-row2 select { padding: 5px 8px; font-size: 12px; min-width: 80px; }
.ed-plat-fields .ed-f-row2 label { font-size: 12px; color: #555; display: flex; align-items: center; gap: 3px; cursor: pointer; }
.ed-plat-fields .ed-f-row2 label input { margin: 0; width: 14px; height: 14px; cursor: pointer; }
/* 删除按钮：超小，永远不被挤出去 */
.ed-plat-fields .ed-f-row2 .ed-btn-del {
  margin-left: auto;           /* ← 永远推到最右边 */
  flex-shrink: 0;
  padding: 3px 6px;
  font-size: 12px;
  min-width: 22px;
  height: 26px;
  border-radius: 4px;
}

/* 📱 手机端：第二行也紧凑 */
@media (max-width: 768px) {
  .ed-plat-fields .ed-f-row2 { gap: 8px; }
  .ed-plat-fields .ed-f-row2 .ed-btn-del { margin-left: auto; }
}

/* 移动端自适应 */
@media (max-width: 600px) {
  .ed-top-bar { flex-direction: column; align-items: stretch; }
  .ed-input-lg { max-width: 100%; }
  .ed-stats { justify-content: space-around; }
  .ed-table-hdr, .ed-row {
    grid-template-columns: 1fr !important;
    gap: 6px;
  }
  .ed-table-hdr { display: none; }
}

/* ===== 银行保密动画层 ===== */
.bank-secure-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(135deg,#1A0A2E,#3D0E1A,#1A0A2E);
  align-items: center; justify-content: center;
  overflow: hidden;
  animation: bankFadeIn .6s ease-out;
}
@keyframes bankFadeIn { from{opacity:0} to{opacity:1} }
.bank-particles {
  position:absolute; inset:0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(239,68,68,.8), transparent),
    radial-gradient(1px 1px at 80% 70%, rgba(239,68,68,.6), transparent),
    radial-gradient(1.5px 1.5px at 50% 50%, rgba(249,115,22,.7), transparent),
    radial-gradient(1px 1px at 90% 20%, rgba(251,191,36,.6), transparent),
    radial-gradient(2px 2px at 10% 80%, rgba(239,68,68,.5), transparent);
  animation: bankParticlesMove 8s linear infinite;
}
@keyframes bankParticlesMove {
  0% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 100px -50px, -80px 60px, 40px -30px, -60px 40px, 30px -70px; }
}
.bank-secure-content {
  position: relative; z-index: 2; text-align: center; color: #fff;
  padding: 30px 20px; max-width: 420px;
}
.bank-lock {
  font-size: 72px; animation: bankLockPulse 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(239,68,68,.6));
}
@keyframes bankLockPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.bank-secure-title {
  font-size: 28px; font-weight: 700; margin: 16px 0 10px;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(239,68,68,.5);
}
.bank-secure-warn {
  font-size: 14px; color: #FCA5A5; margin-bottom: 16px;
  line-height: 1.9; min-height: 40px;
}
.bank-secure-warn::after {
  content: '|'; animation: bankCursor .8s step-end infinite; color: #FCA5A5;
}
@keyframes bankCursor { 50% { opacity: 0; } }
.bank-secure-tip {
  font-size: 12px; color: #94A3B8; line-height: 1.8; margin-bottom: 24px;
}
.bank-secure-progress {
  width: 200px; height: 3px; background: rgba(255,255,255,.15);
  border-radius: 3px; overflow: hidden; margin: 0 auto;
}
.bank-secure-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg,#EF4444,#F97316,#EF4444);
  animation: bankProgress 3.5s ease-out forwards;
}
@keyframes bankProgress {
  0% { width: 0%; }
  30% { width: 35%; }
  70% { width: 75%; }
  100% { width: 100%; }
}

/* 银行/协议页 input 样式（覆盖全局） */
#appBankWrap .ed-input {
  width: 100%; padding: 10px 12px; font-size: 14px;
  border: 1px solid #ddd; border-radius: 8px;
  box-sizing: border-box; background: #fff;
}
#appBankWrap .ed-input:focus {
  outline: none; border-color: #0D47A1; box-shadow: 0 0 0 3px rgba(13,71,161,.1);
}

/* 分期按钮 */
.agree-term-btn {
  padding: 12px 8px; border: 1.5px solid #E2E8F0; border-radius: 10px;
  background: #fff; cursor: pointer; transition: all .2s;
  font-size: 13px; font-weight: 500;
}
.agree-term-btn:hover { border-color: #0D47A1; background: #EFF6FF; }
.agree-term-btn.active {
  border-color: #0D47A1; background: #0D47A1; color: #fff;
  box-shadow: 0 4px 12px rgba(13,71,161,.3);
}
  .ed-row { padding: 12px; }
  #edTab-fields .ed-row, .ed-row { grid-template-columns: 1fr !important; }
}

/* ===== 审核面板 ===== */
.review-form textarea {
  width: 100%; min-height: 80px; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #FAFAFA; margin-bottom: 12px; resize: vertical;
}
.review-info { margin-bottom: 12px; font-size: 13px; color: var(--text-sub); }
.review-info strong { color: var(--text); }

.expected-time { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.expected-time input[type="date"] {
  padding: 8px; border: 1.5px solid var(--border); border-radius: 6px;
  min-height: 40px;
}

/* ===== 桌面端适配 (>=768px) ===== */
@media (min-width: 768px) {

  /* ========== 全局：干掉所有 max-width 手机锁 ========== */
  .page, .auth-page, .customer-home-page, .case-edit-page,
  .case-status-page, .checklist-page, .onboarding-page,
  .register-page, .loading-page {
    max-width: none !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: #f0f2f5;
  }

  /* ========== 登录/注册页：经典左右分栏 ========== */
  .auth-page {
    flex-direction: row !important;
    background: #fff !important;
  }
  .auth-page .particle,
  .auth-page .auth-glow { display: none !important; }
  .auth-page .auth-hero { display: none !important; }

  /* 左侧宣传区显示 */
  .auth-page .auth-side-hero {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    color: #fff;
    text-align: center;
    flex: 1.2;
    min-height: 100vh;
    background: linear-gradient(135deg, #0D2A5C 0%, #0A367A 50%, #1976D2 100%);
  }
  .auth-page .auth-side-hero img { width: 80px; height: 80px; }
  .auth-page .auth-side-hero h1 { font-size: 28px; margin: 20px 0 10px; }
  .auth-page .auth-side-hero p { font-size: 15px; opacity: 0.85; max-width: 320px; line-height: 1.8; }
  .auth-page .auth-side-features { margin-top: 30px; gap: 14px; }

  /* 右侧表单 */
  .auth-form-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 100vh;
    background: #fff;
  }
  .auth-form {
    width: 100%;
    max-width: 420px;
  }

  /* ========== 业务员后台：桌面端侧边栏布局 ========== */
  .operator-page {
    flex-direction: row !important;
    background: #f0f2f5;
  }
  .op-mobile-header { display: none !important; }
  .op-mobile-tabs { display: none !important; }

  /* 左侧固定侧边栏 */
  .op-desktop-sidebar {
    display: flex !important;
    flex-direction: column;
    width: 240px;
    min-width: 240px;
    background: linear-gradient(180deg, #0D2A5C 0%, #0A367A 100%);
    color: #fff;
    min-height: 100vh;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 20px 0;
    box-shadow: 2px 0 12px rgba(0,0,0,0.08);
  }
  .op-sidebar-brand {
    display: flex; align-items: center; gap: 12px;
    padding: 0 20px 20px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 16px;
  }
  .op-sidebar-brand img { width: 40px; height: 40px; border-radius: 8px; }
  .op-brand-title { font-weight: 700; font-size: 16px; }
  .op-brand-sub { font-size: 11px; opacity: 0.7; margin-top: 2px; }

  .op-sidebar-user {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px; margin: 0 12px 16px 12px;
    background: rgba(255,255,255,0.08); border-radius: 10px;
  }
  .op-user-avatar {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
  }
  .op-user-name { font-weight: 600; font-size: 14px; }
  .op-user-role { font-size: 11px; opacity: 0.7; margin-top: 2px; }

  .op-sidebar-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; flex: 1; }
  .op-nav-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 8px;
    color: rgba(255,255,255,0.75);
    font-size: 14px; font-weight: 500;
    transition: all .2s;
    border: none; background: none; cursor: pointer; text-align: left;
  }
  .op-nav-item:hover { background: rgba(255,255,255,0.1); color: #fff; }
  .op-nav-item.active { background: rgba(255,255,255,0.18); color: #fff; }
  .op-nav-icon { font-size: 16px; width: 22px; text-align: center; }
  .op-nav-badge {
    margin-left: auto; background: #FF6B6B; color: #fff;
    padding: 1px 8px; border-radius: 10px; font-size: 11px; font-weight: 600;
  }
  .op-sidebar-logout {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 12px; padding: 12px;
    border-radius: 8px; background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8); font-size: 13px;
    border: none; cursor: pointer; transition: all .2s;
  }
  .op-sidebar-logout:hover { background: rgba(255,107,107,0.3); color: #fff; }

  .operator-page .op-main {
    flex: 1; padding: 32px 40px;
    overflow-y: auto; height: 100vh;
  }

  .op-stat-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px; margin-bottom: 24px;
  }
  .op-stat-card {
    background: #fff; border-radius: 12px; padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04); border: 1px solid #eee;
  }
  .op-stat-num { font-size: 32px; font-weight: 700; color: #0D47A1; }
  .op-stat-label { font-size: 13px; color: #888; margin-top: 6px; }

  /* 工作台两栏布局 */
  .op-case-workspace { height: calc(100vh - 200px); min-height: 700px; }
  .op-cases-left .case-list { display: flex; flex-direction: column; }

  /* ========== 客户案件编辑：桌面端双栏 ========== */
  .case-edit-page { background: #f0f2f5 !important; padding: 20px; height: auto; min-height: 100vh; padding-bottom: 100px; }
  .case-edit-main {
    flex-direction: row !important;
    max-width: 1400px; margin: 0 auto;
    padding: 0; gap: 20px;
  }
  .case-edit-footer {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    max-width: 1360px; width: calc(100% - 40px);
    border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  }
  .case-edit-sidebar {
    width: 300px; flex-shrink: 0;
    max-height: none; overflow-y: auto;
    background: #fff; border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 16px;
  }
  .case-edit-panel {
    flex: 1; overflow-y: auto;
    min-height: calc(100vh - 40px);
    background: #fff; border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  }

  /* ========== 客户首页：桌面端网格 ========== */
  .customer-home-page {
    background: #f0f2f5 !important;
    padding: 24px 40px;
  }
  .customer-home-page .page-header {
    max-width: 1400px; margin: 0 auto 20px;
    background: #fff; border-radius: 12px; padding: 18px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  }
  .customer-home-page .customer-main {
    max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  }
  .customer-home-page .home-section {
    background: #fff; border-radius: 12px; padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  }
  .customer-home-page .tpl-card {
    display: flex; align-items: center; gap: 16px;
    padding: 18px; margin-bottom: 12px;
    border-radius: 10px; border: 1px solid #eee;
    background: #fafbfc;
    transition: all .2s; cursor: pointer;
  }
  .customer-home-page .tpl-card:hover {
    background: #f0f7ff; border-color: var(--primary);
    transform: translateX(4px);
  }
  .customer-home-page .sub-card { margin-bottom: 12px; }

  /* ========== 案件状态页 ========== */
  .case-status-page {
    background: #f0f2f5 !important;
    padding: 32px 40px;
  }
  .case-status-wrap {
    max-width: 900px; margin: 0 auto;
    background: #fff; border-radius: 14px;
    padding: 32px 40px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  }

  /* ========== Onboarding ========== */
  .onboarding-page { background: #f0f2f5 !important; }
  .onboarding-wrap {
    max-width: 700px; margin: 40px auto;
    background: #fff; border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    min-height: 560px;
    display: flex; flex-direction: column; justify-content: center;
  }

  /* ========== Checklist ========== */
  .checklist-page {
    background: #f0f2f5 !important;
    padding: 32px 40px;
  }
  .checklist-container {
    max-width: 700px; margin: 0 auto;
    background: #fff; border-radius: 14px;
    padding: 36px 40px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  }

  /* ========== 通用：所有 page-header 桌面端美化 ========== */
  .page-header {
    max-width: 1400px; margin: 0 auto 16px;
    background: #fff; border-radius: 12px; padding: 14px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }

  /* ========== Modal 桌面端更大 ========== */
  .modal-wrap .modal-box { max-width: 700px !important; }
  .modal-lg { max-width: 800px !important; }
}

/* 特大屏：侧边栏加宽 + 主内容更宽 */
@media (min-width: 1440px) {
  .op-desktop-sidebar { width: 260px; min-width: 260px; }
  .operator-page .op-main { padding: 32px 48px; }
  .case-edit-main { max-width: 1600px; }
}

/* 空状态 */
.empty-state {
  text-align: center; padding: 60px 20px; color: var(--text-light);
}
.empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.empty-text { font-size: 14px; }

/* 文件列表辅助 */
.file-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; background: #E8F5E9; border-radius: 6px;
  font-size: 12px; color: var(--success);
}
.file-item img { width: 20px; height: 20px; border-radius: 3px; object-fit: cover; }

/* 响应式小屏 */
@media (max-width: 360px) {
  .onboarding-title { font-size: 22px; }
  .onboarding-icon { font-size: 60px; }
  .amount-min, .amount-max { font-size: 40px; }
}

/* ============ 签完协议后的全屏动画教程 ============ */
.ani-phase {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ani-phase[hidden] { display: none !important; }

/* ===== Phase 1: 过渡动画 ===== */
.ani-phase-transition {
  background: linear-gradient(135deg, #0D2A5C 0%, #0A367A 50%, #1976D2 100%);
  animation: aniFadeOut 1.2s ease 3.5s forwards;
}
@keyframes aniFadeOut { to { opacity: 0; pointer-events: none; } }

/* 背景粒子 */
.ani-particles-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 80% 70%, rgba(255,255,255,0.5), transparent),
    radial-gradient(2.5px 2.5px at 50% 50%, rgba(255,215,0,0.6), transparent),
    radial-gradient(1px 1px at 15% 80%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 90% 20%, rgba(255,255,255,0.5), transparent);
  background-size: 200% 200%;
  animation: aniParticlesDrift 6s ease-in-out infinite;
}
@keyframes aniParticlesDrift {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}

/* 数字 1-2-3 放大动画 */
.ani-number {
  font-size: 80px; font-weight: 900; color: #fff;
  text-shadow: 0 0 40px rgba(255,215,0,0.8), 0 4px 20px rgba(0,0,0,0.3);
  position: absolute;
  transform: scale(0); opacity: 0;
}
.ani-num-1 { animation: aniNumIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards; left: 20%; top: 35%; }
.ani-num-2 { animation: aniNumIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s forwards; left: 45%; top: 45%; font-size: 100px; color: #FFD700; }
.ani-num-3 { animation: aniNumIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 1.9s forwards; left: 70%; top: 35%; }

@keyframes aniNumIn {
  0% { transform: scale(0) rotate(-20deg); opacity: 0; }
  50% { transform: scale(1.3) rotate(5deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* 🧲 审批结果动画 */
@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); opacity: 1; }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
  20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* 连接线条 */
.ani-connecting-line {
  position: absolute; height: 3px;
  background: linear-gradient(90deg, transparent, #FFD700, transparent);
  border-radius: 2px; opacity: 0;
  animation: aniLineGrow 1.5s ease forwards;
}
.ani-connecting-line:nth-of-type(1) { left: 28%; top: 55%; width: 15%; animation-delay: 1.4s; }
.ani-connecting-line:nth-of-type(2) { left: 53%; top: 55%; width: 15%; animation-delay: 2.2s; }
@keyframes aniLineGrow {
  0% { transform: scaleX(0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: scaleX(1); opacity: 0.8; }
}

/* 过渡文字 */
.ani-transition-text {
  position: absolute; bottom: 25%; left: 50%; transform: translateX(-50%);
  font-size: 18px; color: rgba(255,255,255,0.9); letter-spacing: 3px;
  animation: aniFadeSlide 1s ease 2.8s forwards; opacity: 0;
}
@keyframes aniFadeSlide {
  0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== Phase 2: 教程动画层 ===== */
.ani-phase-tutorial {
  background: linear-gradient(160deg, #0F172A 0%, #1E3A5F 30%, #0D2A5C 70%, #061530 100%);
  animation: aniTutFadeIn 0.8s ease forwards;
}
@keyframes aniTutFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* 教程粒子（持续流动） */
.ani-tut-particles {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(255,215,0,0.6), transparent),
    radial-gradient(2px 2px at 30% 80%, rgba(100,200,255,0.5), transparent),
    radial-gradient(1px 1px at 60% 30%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 80% 60%, rgba(255,215,0,0.4), transparent),
    radial-gradient(2px 2px at 90% 10%, rgba(100,200,255,0.6), transparent),
    radial-gradient(1px 1px at 50% 90%, rgba(255,255,255,0.3), transparent);
  background-size: 300% 300%;
  animation: aniTutParticles 12s linear infinite;
}
@keyframes aniTutParticles {
  0% { background-position: 0% 0%; }
  100% { background-position: 300% 300%; }
}

/* 两团大光斑（漂浮） */
.ani-tut-glow {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35;
  animation: aniGlowFloat 14s ease-in-out infinite;
}
.ani-tut-glow-1 { width: 500px; height: 500px; background: radial-gradient(circle, #FFD700, transparent); top: -10%; left: -10%; }
.ani-tut-glow-2 { width: 600px; height: 600px; background: radial-gradient(circle, #2563EB, transparent); bottom: -15%; right: -15%; animation-delay: -7s; }
@keyframes aniGlowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.9); }
}

.ani-tut-content {
  position: relative; z-index: 2;
  text-align: center; padding: 40px 24px;
  max-width: 720px; width: 100%;
}

/* ===== 教程文字（艺术字体，逐行浮现） ===== */
.ani-tut-lines { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }

.ani-tut-line {
  opacity: 0; transform: translateY(30px);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  animation: aniLineAppear 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 每一行的延迟 */
.ani-line-1 { animation-delay: 0.3s; }
.ani-line-2 { animation-delay: 1.2s; }
.ani-line-3 { animation-delay: 2.1s; }
.ani-line-4 { animation-delay: 3.0s; }
.ani-line-5 { animation-delay: 3.9s; }
.ani-line-6 { animation-delay: 4.8s; }

@keyframes aniLineAppear {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); filter: blur(8px); }
  60% { filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* emoji 图标 */
.ani-tut-emoji, .ani-tut-art {
  font-size: 28px; display: inline-block;
  animation: aniEmojiBounce 2s ease-in-out infinite;
}
.ani-tut-line:nth-child(even) .ani-tut-emoji { animation-delay: -1s; }
@keyframes aniEmojiBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* 艺术字体 */
.ani-tut-text {
  font-family: 'Georgia', 'STKaiti', 'KaiTi', '楷体', serif;
  font-size: 22px; font-weight: 600;
  background: linear-gradient(135deg, #FFE066 0%, #FFD700 30%, #FFFFFF 50%, #FFD700 70%, #FFE066 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: 0 2px 20px rgba(255,215,0,0.2);
  animation: aniGoldShimmer 3s ease-in-out infinite;
  letter-spacing: 1px;
}
@keyframes aniGoldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.ani-tut-line:nth-of-type(3n) .ani-tut-text {
  background: linear-gradient(135deg, #60A5FA 0%, #93C5FD 50%, #FFFFFF 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  animation: aniBlueShimmer 3.5s ease-in-out infinite;
}
@keyframes aniBlueShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.ani-tut-sub {
  display: block; margin-top: 6px; font-size: 14px;
  font-family: inherit; font-weight: 400;
  background: linear-gradient(135deg, #94A3B8, #CBD5E1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

/* ===== Phase 3: 名额紧迫感 ===== */
.ani-urgency {
  margin-top: 40px; padding: 28px 24px;
  background: linear-gradient(135deg, rgba(239,68,68,0.15), rgba(220,38,38,0.08));
  border: 2px solid rgba(239,68,68,0.4);
  border-radius: 16px;
  opacity: 0; transform: scale(0.8);
  animation: aniUrgencyPop 1s cubic-bezier(0.34, 1.56, 0.64, 1) 5.5s forwards;
  position: relative; overflow: hidden;
}
@keyframes aniUrgencyPop {
  0% { opacity: 0; transform: scale(0.8); }
  60% { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

/* 红色脉冲边框 */
.ani-urgency::before {
  content: ''; position: absolute; inset: -3px; border-radius: 18px;
  background: linear-gradient(45deg, #EF4444, #F97316, #EF4444, #DC2626);
  background-size: 400% 400%; z-index: -1;
  animation: aniBorderPulse 3s linear infinite;
  filter: blur(8px); opacity: 0.6;
}
@keyframes aniBorderPulse {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.ani-urgency-badge {
  display: inline-block; padding: 4px 14px; border-radius: 20px;
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  animation: aniBadgeWiggle 2s ease-in-out infinite;
}
@keyframes aniBadgeWiggle {
  0%, 100% { transform: rotate(-1deg); }
  50% { transform: rotate(1deg); }
}

.ani-urgency-main {
  margin: 14px 0 8px; display: flex; align-items: baseline; justify-content: center; gap: 8px;
}
.ani-urgency-num {
  font-size: 72px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #FF6B6B 0%, #EF4444 50%, #DC2626 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: aniNumBeat 0.8s ease-in-out infinite;
  font-family: 'Georgia', serif;
}
@keyframes aniNumBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.ani-urgency-label {
  font-size: 20px; font-weight: 700; color: #FCA5A5;
  letter-spacing: 2px;
}
.ani-urgency-sub {
  font-size: 14px; color: #F87171; font-weight: 500; letter-spacing: 1px;
  animation: aniTextBlink 1.5s ease-in-out infinite;
}
@keyframes aniTextBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.ani-urgency-action { margin-top: 20px; }
.ani-enter-btn {
  padding: 14px 32px; font-size: 16px; font-weight: 700; letter-spacing: 2px;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  border-radius: 30px; color: #fff;
  animation: aniBtnPulse 2s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(37,99,235,0.4);
  border: none; cursor: pointer;
}
.ani-enter-btn:hover { transform: scale(1.05); box-shadow: 0 6px 28px rgba(37,99,235,0.6); }
@keyframes aniBtnPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,99,235,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,99,235,0.7); }
}

.ani-skip-btn {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: none; border: none; color: rgba(255,255,255,0.5); font-size: 13px;
  cursor: pointer; padding: 8px 16px;
  transition: color 0.2s;
}
.ani-skip-btn:hover { color: rgba(255,255,255,0.9); }

/* 移动端适配 */
@media (max-width: 600px) {
  .ani-number { font-size: 56px; }
  .ani-num-2 { font-size: 72px; }
  .ani-tut-text { font-size: 17px; }
  .ani-tut-emoji, .ani-tut-art { font-size: 22px; }
  .ani-tut-lines { gap: 10px; }
  .ani-urgency-num { font-size: 54px; }
  .ani-urgency { padding: 20px 16px; margin-top: 24px; }
}

/* ===== 驳回全屏动画层 ===== */
.rej-phase {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(135deg, #1a0000 0%, #3b0a0a 40%, #5c1010 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow-y: auto; overflow-x: hidden;
  animation: rejFadeIn .5s ease forwards;
  padding: 20px 16px 56px;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
@keyframes rejFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* 红色粒子背景 */
.rej-particles {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,80,80,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,50,50,.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(255,100,100,.10) 0%, transparent 40%);
  animation: rejParticles 8s ease-in-out infinite alternate;
}
@keyframes rejParticles {
  0% { opacity: .6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}
.rej-glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .25;
  animation: rejGlowPulse 3s ease-in-out infinite alternate;
}
.rej-glow-1 { width: 400px; height: 400px; background: #e53935; top: -100px; left: -100px; }
.rej-glow-2 { width: 350px; height: 350px; background: #ff7043; bottom: -80px; right: -80px; animation-delay: 1s; }
@keyframes rejGlowPulse {
  0% { transform: scale(1); opacity: .15; }
  100% { transform: scale(1.2); opacity: .35; }
}

/* 每个 stage */
.rej-stage {
  width: 100%; max-width: 440px;
  text-align: center;
  animation: rejStageIn .6s ease forwards;
  position: relative; z-index: 2;
}
.rej-stage[hidden] { display: none; }
@keyframes rejStageIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stage 1: 震撼标题 */
.rej-emoji-shake {
  font-size: 96px;
  animation: rejShake 0.8s cubic-bezier(.36,.07,.19,.97) both;
  margin-bottom: 8px;
  filter: drop-shadow(0 8px 24px rgba(229,57,53,.6));
  line-height: 1;
}
@keyframes rejShake {
  10%, 90% { transform: translate3d(-2px, 0, 0) rotate(-3deg); }
  20%, 80% { transform: translate3d(4px, 0, 0) rotate(2deg); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0) rotate(-2deg); }
  40%, 60% { transform: translate3d(6px, 0, 0) rotate(3deg); }
}
.rej-big-title {
  animation: rejTitlePop 1s cubic-bezier(.17,.67,.3,1.33) .3s both;
}
.rej-title-text {
  font-size: 36px; font-weight: 900;
  color: #fff;
  background: linear-gradient(180deg, #fff 0%, #ffcdd2 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(229,57,53,.4);
  letter-spacing: 3px;
}
@keyframes rejTitlePop {
  from { opacity: 0; transform: scale(.5); }
  to { opacity: 1; transform: scale(1); }
}
.rej-sub-text {
  font-size: 14px; color: rgba(255,255,255,.65);
  margin-top: 12px;
  line-height: 1.6;
  animation: rejFadeUp .8s ease 1s both;
  padding: 0 8px;
}
@keyframes rejFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Stage 2 & 3: 卡片 */

/* ===== AI 渲染动画层（全屏）===== */
.ai-stage {
  position: fixed; inset: 0; z-index: 99999;
  background: #000;
  overflow: hidden;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  display: flex; align-items: center; justify-content: center;
}
/* AI 底图层（absolute 叠层，fade 切换） */
.ai-bg-layer {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 6s ease-out;
  animation: aiBgSlowZoom 8s ease-out infinite alternate;
}
.ai-bg-layer.active {
  opacity: 1;
  transform: scale(1);
}
@keyframes aiBgSlowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
/* 粒子 canvas */
.ai-particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
}
/* 遮罩层 */
.ai-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.7) 100%);
  z-index: 3; pointer-events: none;
}
.ai-gradient-top {
  position: absolute; top: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(to bottom, rgba(0,0,0,.85), transparent);
  z-index: 4; pointer-events: none;
}
.ai-gradient-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  z-index: 4; pointer-events: none;
}
/* 章节容器（居中，最高 z-index） */
.ai-chapter {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 90vw;
  padding: 0 20px;
  animation: aiChFadeIn 0.9s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes aiChFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
/* 徽章 */
.ai-ch-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 20px;
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,.08);
  animation: aiChFadeIn 1.2s .2s cubic-bezier(.2,.8,.2,1) both;
}
.ai-ch-badge.green { border-color: rgba(52,211,153,.6); color: #6EE7B7; background: rgba(52,211,153,.1); }
.ai-ch-badge.red { border-color: rgba(248,113,113,.6); color: #FCA5A5; background: rgba(248,113,113,.1); }
.ai-ch-badge.blue { border-color: rgba(96,165,250,.6); color: #93C5FD; background: rgba(96,165,250,.1); }
/* 主标题 */
.ai-main-title {
  font-size: clamp(32px, 7vw, 68px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.2;
  text-shadow: 0 4px 24px rgba(0,0,0,.6);
  background: linear-gradient(120deg, #fff 0%, #DBEAFE 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: aiChFadeIn 1.2s .4s cubic-bezier(.2,.8,.2,1) both, aiTitleShine 3s ease-in-out infinite;
}
@keyframes aiTitleShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.ai-sub-title {
  font-size: clamp(14px, 2.5vw, 20px);
  color: rgba(255,255,255,.75);
  margin-top: 8px;
  animation: aiChFadeIn 1.2s .6s cubic-bezier(.2,.8,.2,1) both;
}
/* 产品定位标签 */
.ai-big-tag {
  display: inline-block;
  padding: 10px 22px;
  margin: 8px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 30px;
  color: #fff;
  font-size: clamp(14px, 2.2vw, 18px);
  font-weight: 500;
  backdrop-filter: blur(10px);
  animation: aiTagPop .6s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes aiTagPop {
  from { opacity: 0; transform: scale(.5); }
  to { opacity: 1; transform: scale(1); }
}
.ai-big-tag:nth-child(1) { animation-delay: .1s; }
.ai-big-tag:nth-child(2) { animation-delay: .25s; }
.ai-big-tag:nth-child(3) { animation-delay: .4s; }
.ai-big-tag:nth-child(4) { animation-delay: .55s; }
.ai-big-tag:nth-child(5) { animation-delay: .7s; }
/* 英雄数字 */
.ai-hero-num {
  font-size: clamp(60px, 14vw, 130px);
  font-weight: 900;
  line-height: 1;
  animation: aiChFadeIn 1.2s .3s cubic-bezier(.2,.8,.2,1) both;
}
.ai-hero-num span {
  background: linear-gradient(135deg, #FBBF24, #F59E0B, #D97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.ai-hero-num small {
  display: block;
  font-size: clamp(14px, 2.5vw, 20px);
  color: rgba(255,255,255,.8);
  -webkit-text-fill-color: rgba(255,255,255,.8);
  margin-top: 10px;
  font-weight: 400;
  letter-spacing: 2px;
}
.ai-advantage-row {
  display: flex; justify-content: center; gap: 12px;
  color: rgba(255,255,255,.8);
  font-size: clamp(13px, 2vw, 16px);
  margin-top: 16px;
  animation: aiChFadeIn 1.2s .6s cubic-bezier(.2,.8,.2,1) both;
}
.ai-dot { opacity: .5; }
/* 稀缺 */
.ai-urgency-num {
  font-size: clamp(44px, 10vw, 90px);
  font-weight: 900;
  color: #FCA5A5;
  text-shadow: 0 0 40px rgba(239,68,68,.6);
  animation: aiChFadeIn 1.2s .3s cubic-bezier(.2,.8,.2,1) both, aiPulse 1.8s ease-in-out infinite;
}
@keyframes aiPulse {
  0%, 100% { text-shadow: 0 0 40px rgba(239,68,68,.6); }
  50% { text-shadow: 0 0 60px rgba(239,68,68,1); }
}
.ai-urgency-num span {
  color: #FEE2E2;
  font-size: 1.4em;
  text-shadow: 0 0 60px rgba(239,68,68,.8);
}
.ai-urgency-sub {
  font-size: clamp(14px, 2.2vw, 18px);
  color: rgba(255,255,255,.7);
  margin-top: 8px;
  animation: aiChFadeIn 1.2s .6s cubic-bezier(.2,.8,.2,1) both;
}
/* 流程 */
.ai-flow-item {
  font-size: clamp(16px, 2.8vw, 22px);
  color: #fff;
  padding: 12px 24px;
  margin: 6px auto;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  max-width: 400px;
  backdrop-filter: blur(8px);
  animation: aiFlowSlide .7s cubic-bezier(.2,.8,.2,1) both;
  text-align: left;
}
.ai-flow-item b {
  display: inline-block;
  width: 28px; height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
  color: #fff;
  margin-right: 12px;
  font-size: 14px;
}
.ai-flow-item:nth-child(2) { animation-delay: .15s; }
.ai-flow-item:nth-child(3) { animation-delay: .3s; }
.ai-flow-item:nth-child(4) { animation-delay: .45s; }
.ai-flow-item.ai-flow-sub {
  font-size: clamp(12px, 1.8vw, 15px);
  color: rgba(255,255,255,.6);
  border-style: dashed;
  background: transparent;
}
@keyframes aiFlowSlide {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
/* 最终确认 */
.ai-chapter.ai-final { animation-delay: .2s; }
.ai-glow {
  -webkit-text-fill-color: #fff;
  background: linear-gradient(120deg, #FBBF24, #fff, #FBBF24);
  -webkit-background-clip: text;
  background-size: 200% 100%;
  animation: aiTitleShine 2s ease-in-out infinite;
}
.ai-yes-btn {
  padding: 16px 48px;
  font-size: clamp(15px, 2.5vw, 19px);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(37,99,235,.5);
  transition: transform .15s, box-shadow .15s;
  backdrop-filter: blur(10px);
}
.ai-yes-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37,99,235,.6); }
.ai-yes-btn:active { transform: translateY(0); }
.ai-no-btn {
  padding: 16px 48px;
  font-size: clamp(15px, 2.5vw, 19px);
  font-weight: 500;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 14px;
  cursor: pointer;
  transition: all .15s;
  backdrop-filter: blur(10px);
}
.ai-no-btn:hover { background: rgba(255,255,255,.15); color: #fff; }
.ai-skip-filled-btn {
  display: block;
  margin: 12px auto 0;
  padding: 10px 28px;
  font-size: clamp(13px, 2vw, 15px);
  font-weight: 500;
  color: #34D399;
  background: rgba(52,211,153,.12);
  border: 1.5px solid rgba(52,211,153,.45);
  border-radius: 12px;
  cursor: pointer;
  transition: all .15s;
  backdrop-filter: blur(10px);
}
.ai-skip-filled-btn:hover { background: rgba(52,211,153,.22); color: #fff; }
.ai-meta {
  font-size: clamp(12px, 2vw, 15px);
  color: rgba(255,255,255,.6);
  letter-spacing: 1px;
}
.ai-advantage-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-top: 20px;
  max-width: 420px;
  margin-left: auto; margin-right: auto;
}
.ai-ad-item {
  padding: 10px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  color: rgba(255,255,255,.9);
  font-size: clamp(12px, 1.8vw, 15px);
  text-align: left;
  backdrop-filter: blur(8px);
  animation: aiChFadeIn .8s ease both;
}
.ai-ad-item b {
  display: inline-block;
  width: 20px; height: 20px;
  line-height: 20px; text-align: center;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  margin-right: 8px;
  font-size: 11px;
}
/* 跳过按钮 */
.ai-skip-btn {
  position: absolute; top: 24px; right: 24px; z-index: 100;
  padding: 8px 18px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all .15s;
}

/* ======= 浮动名额数字动画（6个浮动切换）======= */
.ai-remain-float {
  display: inline-block;
  position: relative;
  font-size: 1.1em;
  font-weight: 900;
  color: #FEE2E2;
  text-shadow: 0 0 40px rgba(239,68,68,.8), 0 0 20px rgba(239,68,68,1);
  animation: aiRemainFloat 2.4s ease-in-out infinite;
}
@keyframes aiRemainFloat {
  0%   { transform: translateY(0) scale(1); opacity: 1; }
  20%  { transform: translateY(-8px) scale(1.15); opacity: 1; }
  40%  { transform: translateY(0) scale(1); opacity: .9; }
  55%  { transform: translateY(0) scale(.92); opacity: .3; }
  70%  { transform: translateY(-12px) scale(1.2); opacity: 1; }
  85%  { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* ======= 总览卡片网格 ======= */
.ai-overview { padding-top: 0 !important; }
.ai-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  animation: aiChFadeIn 1s ease .3s both;
}
.ai-ov-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 10px 12px;
  backdrop-filter: blur(10px);
  text-align: left;
}
.ai-ov-card.ai-ov-gold { border-color: rgba(251,191,36,.6); background: rgba(251,191,36,.12); }
.ai-ov-card.ai-ov-red { border-color: rgba(248,113,113,.6); background: rgba(248,113,113,.12); }
.ai-ov-label {
  font-size: 10px;
  color: rgba(255,255,255,.6);
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.ai-ov-value {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.ai-ov-gold .ai-ov-value { color: #FDE68A; }
.ai-ov-red .ai-ov-value { color: #FCA5A5; }
.ai-ov-sub {
  font-size: 9px;
  color: rgba(255,255,255,.5);
  margin-top: 2px;
}

/* 大按钮 */
.ai-big-btn {
  padding: 18px 60px;
  font-size: clamp(16px, 2.5vw, 20px);
  box-shadow: 0 12px 48px rgba(37,99,235,.6);
  animation: aiChFadeIn 1s ease .6s both, aiBtnPulse 2s ease-in-out infinite 1s;
}
@keyframes aiBtnPulse {
  0%,100% { box-shadow: 0 12px 48px rgba(37,99,235,.5); }
  50% { box-shadow: 0 16px 60px rgba(37,99,235,.85); }
}

/* ======= 登录页全屏 Canvas 底图 ======= */
.auth-page.auth-full {
  position: fixed; inset: 0;
  background: #0F172A;
  /* 🚨 允许手机端上下滑（内容多时页面能滚动） */
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 !important;
}
.auth-bg-wrap {
  position: absolute; inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 2s ease;
  animation: authBgZoom 12s ease-in-out infinite alternate;
}
.auth-bg-wrap.auth-bg-next { opacity: 1; }
@keyframes authBgZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.auth-particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
}
.auth-bg-vignette {
  position: absolute; inset: 0; z-index: 3;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(10,23,42,0.45) 100%);
  pointer-events: none;
}
.auth-bg-gradient {
  position: absolute; inset: 0; z-index: 4;
  background: linear-gradient(135deg, rgba(10,23,42,0.35) 0%, rgba(15,23,42,0.15) 50%, rgba(10,23,42,0.4) 100%);
  pointer-events: none;
}
.auth-full-inner {
  position: relative; z-index: 10;
  width: 100%; min-height: 100%;  /* 🚨 min-height 代替 height，让内容能撑开 */
  display: flex;
}
/* 左侧宣传区 */
.auth-full-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 60px;
  color: #fff;
  max-width: 55%;
}
.auth-full-logo { width: 120px; height: auto; margin-bottom: 18px; }
.auth-full-side h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin: 0 0 8px;
  background: linear-gradient(120deg, #fff, #DBEAFE, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: aiTitleShine 3s ease-in-out infinite;
}
.auth-full-tagline {
  font-size: clamp(14px, 1.8vw, 17px);
  color: rgba(255,255,255,.8);
  margin: 0 0 20px;
  line-height: 1.6;
}
.auth-full-features {
  display: grid;
  gap: 8px;
  font-size: clamp(13px, 1.6vw, 15px);
  color: rgba(255,255,255,.9);
}
.auth-full-features > div {
  padding: 8px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}
.auth-full-urgency {
  margin-top: 20px;
  padding: 10px 16px;
  background: rgba(248,113,113,.15);
  border: 1px solid rgba(248,113,113,.4);
  border-radius: 8px;
  color: #FCA5A5;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  animation: aiChFadeIn 1.2s ease both;
}
/* 右侧表单区 */
.auth-full-form-side {
  width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  flex-shrink: 0;
}
.auth-full-form-card {
  width: 100%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
}
.auth-mobile-logo { width: 90px; height: auto; display: block; margin: 0 auto 14px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }
.auth-full-form-card h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  margin: 0 0 6px;
}
.auth-form-sub {
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.25);
  margin: 0 0 18px;
}

/* 🧲 毛玻璃背景下的表单配色 */
.auth-full-form-card .form-group label { color: rgba(255,255,255,0.9); text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.auth-full-form-card .form-group input,
.auth-full-form-card .form-group textarea,
.auth-full-form-card .form-group select {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 10px;
}
.auth-full-form-card .form-group input::placeholder { color: rgba(255,255,255,0.6); }
.auth-full-form-card .form-group input:focus,
.auth-full-form-card .form-group textarea:focus {
  background: rgba(255,255,255,0.22);
  border-color: rgba(100,181,246,0.8);
  box-shadow: 0 0 0 3px rgba(100,181,246,0.25);
}
.auth-full-form-card .auth-footer { color: rgba(255,255,255,0.7); }
.auth-full-form-card .auth-footer a { color: #90CAF9; text-decoration: none; }
.auth-full-form-card .auth-footer a:hover { color: #BBDEFB; text-decoration: underline; }
.auth-full-form-card .auth-hint {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
}
.auth-full-form-card .auth-hint p { color: rgba(255,255,255,0.85); margin: 2px 0; }
.auth-full-form-card .auth-hint p b { color: #FFD54F; }
.auth-full-form-card .btn-primary,
.auth-full-form-card .btn-block {
  background: linear-gradient(135deg, #42A5F5, #1565C0);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(21,101,192,0.5);
  transition: all 0.25s;
}
.auth-full-form-card .btn-primary:hover,
.auth-full-form-card .btn-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21,101,192,0.6);
}
.auth-full-form-card .real-name-hint { color: #FFD54F; }

/* ======= 手机端自适应（<768px） ======= */
@media (max-width: 768px) {
  .auth-full-inner { flex-direction: column; }
  .auth-full-side {
    max-width: none;
    padding: 28px 20px 12px;
    flex: none;
  }
  .auth-full-logo { width: 80px; margin-bottom: 10px; }
  .auth-full-side h1 { font-size: 24px; }
  .auth-full-tagline { font-size: 14px; margin-bottom: 12px; }
  .auth-full-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
  }
  .auth-full-features > div {
    padding: 6px 10px;
    font-size: 12px;
  }
  .auth-full-urgency { font-size: 11px; margin-top: 12px; padding: 8px 12px; }
  .auth-full-form-side {
    width: 100%;
    padding: 16px 20px 24px;
    flex: none;          /* 🚨 别让它 flex:1 强行撑满整个视口 */
    min-height: 0;
    align-items: flex-start;
  }
  .auth-full-form-card {
    width: 100%;
    padding: 22px 18px;
    border-radius: 12px;
  }
  .auth-overview-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ai-overview-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ai-ov-card { padding: 8px 10px; }
  .ai-ov-label { font-size: 9px; }
  .ai-ov-value { font-size: 12px; }
}

/* 手机端总览卡片压缩 */
@media (max-width: 420px) {
  .ai-overview-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
}

/* ======= 从远处飞入动画（每段文字）======= */
.ai-chapter > *,
.ai-overview > * {
  animation: aiFlyIn 1.1s cubic-bezier(.2,.7,.2,1) both;
}
.ai-chapter > *:nth-child(1) { animation-delay: .05s; }
.ai-chapter > *:nth-child(2) { animation-delay: .2s; }
.ai-chapter > *:nth-child(3) { animation-delay: .4s; }
.ai-chapter > *:nth-child(4) { animation-delay: .6s; }
.ai-chapter > *:nth-child(5) { animation-delay: .8s; }
.ai-chapter > *:nth-child(6) { animation-delay: 1s; }
@keyframes aiFlyIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 60px, -800px) scale(.6);
    filter: blur(6px);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, -6px, 0) scale(1.02);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

/* 利率对比卡 */
.ai-compare-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 8px;
  flex-wrap: wrap;
}
.ai-compare-item {
  padding: 10px 14px;
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.4);
  border-radius: 10px;
  color: #FCA5A5;
  font-size: clamp(11px, 1.5vw, 13px);
  line-height: 1.5;
  backdrop-filter: blur(8px);
  animation: aiFlyIn 1s cubic-bezier(.2,.7,.2,1) both;
}
.ai-compare-item b {
  color: #FEE2E2;
  font-size: 1.3em;
}
.ai-compare-sub {
  font-size: clamp(10px, 1.3vw, 12px);
  color: rgba(255,255,255,.5);
  margin-top: 4px;
}
.ai-compare-item.ai-us {
  background: rgba(16,185,129,.15);
  border-color: rgba(16,185,129,.5);
  color: #6EE7B7;
  box-shadow: 0 0 30px rgba(16,185,129,.2);
}
.ai-compare-item.ai-us b { color: #A7F3D0; }
.ai-rate-vs {
  font-size: clamp(12px, 1.5vw, 14px);
  color: rgba(255,255,255,.7);
  margin: 12px 0 4px;
}
.ai-skip-btn:hover { color: #fff; background: rgba(0,0,0,.5); border-color: rgba(255,255,255,.4); }

/* ======= 注册成功页全屏 Canvas ======= */
.ob-full {
  position: fixed; inset: 0 !important;
  background: #0F172A;
  overflow: hidden;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ob-full-bg1, .ob-full-bg2 {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 2s ease;
  animation: obZoom 12s ease-in-out infinite alternate;
}
.ob-full-bg-next { opacity: 1; }
@keyframes obZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.ob-particles-cv {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
}
.ob-full-vignette {
  position: absolute; inset: 0; z-index: 3;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.7) 100%);
  pointer-events: none;
}
.rej-card {
  border-radius: 14px; padding: 18px 18px;
  backdrop-filter: blur(10px);
  animation: rejCardIn .5s ease both;
  width: 100%;
  box-sizing: border-box;
}
.rej-card-reason {
  background: linear-gradient(135deg, rgba(198,40,40,.9), rgba(244,67,54,.9));
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 12px 40px rgba(198,40,40,.4);
  color: #fff;
}
.rej-card-comfort {
  background: linear-gradient(135deg, rgba(21,101,192,.9), rgba(33,150,243,.9));
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 12px 40px rgba(21,101,192,.4);
  color: #fff;
}
.rej-card-tag {
  font-size: 12px; font-weight: 700;
  display: inline-block; padding: 4px 12px;
  border-radius: 20px; margin-bottom: 12px;
}
.rej-tag-red { background: rgba(255,255,255,.25); color: #fff; }
.rej-tag-blue { background: rgba(255,255,255,.25); color: #fff; }
.rej-tag-green { background: rgba(255,255,255,.25); color: #fff; }
@keyframes rejCardIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 打字机效果 */
.rej-typewriter {
  font-size: 15px; line-height: 1.8;
  color: #fff; min-height: 48px;
  text-align: left;
  word-break: break-word;
  letter-spacing: .3px;
}
.rej-typewriter-cursor::after {
  content: '|';
  animation: rejBlink .8s step-end infinite;
  color: rgba(255,255,255,.8);
  font-weight: 300;
}
@keyframes rejBlink {
  50% { opacity: 0; }
}

/* Stage 4: 方案卡片 */
.rej-card-solutions {
  background: rgba(255,255,255,.95);
  border-radius: 14px; padding: 16px 16px;
  color: #333; text-align: left;
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
  margin-bottom: 18px;
  width: 100%;
  box-sizing: border-box;
}
.rej-solution-item {
  display: flex; align-items: center;
  padding: 12px 12px;
  border-radius: 10px;
  margin-bottom: 8px;
  animation: rejSolIn .4s ease both;
  background: linear-gradient(135deg, #F1F8E9, #E8F5E9);
  border: 1px solid #C5E1A5;
}
.rej-solution-item:last-child { margin-bottom: 0; }
.rej-sol-1 { animation-delay: .1s; }
.rej-sol-2 { animation-delay: .25s; }
.rej-sol-3 { animation-delay: .4s; }
.rej-sol-4 { animation-delay: .55s; }
@keyframes rejSolIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
.rej-sol-icon { font-size: 22px; margin-right: 10px; flex-shrink: 0; }
.rej-sol-title { font-weight: 700; font-size: 14px; color: #333; flex: 1; }
.rej-sol-desc { font-size: 12px; color: #689F38; font-weight: 600; white-space: nowrap; }

/* 操作按钮 */
.rej-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.rej-action-btn {
  padding: 14px 20px; font-size: 15px; font-weight: 700;
  border-radius: 12px; cursor: pointer;
  min-height: 48px; width: 100%;
  transition: all .2s;
  border: none;
  box-sizing: border-box;
}
.rej-action-btn:disabled {
  opacity: .4; cursor: not-allowed;
}
.rej-action-btn:not(:disabled) {
  animation: rejBtnPulse 2s ease-in-out infinite;
}
@keyframes rejBtnPulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(33,150,243,.3); }
  50% { box-shadow: 0 4px 24px rgba(33,150,243,.6); }
}

/* 底部进度点 */
.rej-dots {
  position: fixed; bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 10;
}
.rej-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  transition: all .3s;
}
.rej-dot.active {
  background: #fff; width: 24px; border-radius: 4px;
  box-shadow: 0 0 12px rgba(255,255,255,.6);
}

/* ===== 手机端全面适配 ===== */
@media (max-width: 480px) {
  .rej-phase { padding: 16px 14px 56px; }
  .rej-emoji-shake { font-size: 72px; }
  .rej-title-text { font-size: 28px; letter-spacing: 2px; }
  .rej-sub-text { font-size: 13px; margin-top: 10px; }
  .rej-card { padding: 16px 14px; border-radius: 12px; }
  .rej-typewriter { font-size: 14px; line-height: 1.7; }
  .rej-card-tag { font-size: 11px; padding: 3px 10px; }
  .rej-card-solutions { padding: 14px 12px; border-radius: 12px; margin-bottom: 14px; }
  .rej-solution-item { padding: 10px; border-radius: 8px; margin-bottom: 6px; }
  .rej-sol-icon { font-size: 20px; margin-right: 8px; }
  .rej-sol-title { font-size: 13px; }
  .rej-sol-desc { font-size: 11px; }
  .rej-action-btn { padding: 13px 16px; font-size: 14px; min-height: 46px; border-radius: 10px; }
  .rej-actions { gap: 8px; }
  .rej-dots { bottom: 12px; gap: 6px; }
  .rej-dot { width: 6px; height: 6px; }
  .rej-dot.active { width: 20px; }
}

/* 超小屏（<360px） */
@media (max-width: 360px) {
  .rej-emoji-shake { font-size: 60px; }
  .rej-title-text { font-size: 24px; }
  .rej-sol-desc { display: none; }
}

/* ======== v56 审核状态页全套样式 ======== */
.cs-wrap {
  position: relative; min-height: 100vh; width: 100%;
  overflow-x: hidden;
  overflow-y: auto;       /* 🚨 允许手机上下滑 */
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(160deg, #0a1628 0%, #1a2950 50%, #0d2040 100%);
}
.cs-wrap.cs-reviewing { background: linear-gradient(160deg, #0d1b3d 0%, #1a3a6e 50%, #0d2a50 100%); }
.cs-wrap.cs-rejected { background: linear-gradient(160deg, #1a0a0a 0%, #3d1a1a 50%, #2a0d0d 100%); }
.cs-wrap.cs-approved { background: linear-gradient(160deg, #0a1a0d 0%, #1a3d1a 50%, #0d2a10 100%); }
.cs-wrap.cs-overview { background: linear-gradient(160deg, #0d1b3d 0%, #1a3a6e 50%, #0d2a50 100%); }

.cs-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.cs-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.5) 100%); }
.cs-vignette.rej { background: radial-gradient(ellipse at center, transparent 30%, rgba(40,0,0,0.6) 100%); }
.cs-vignette.ok { background: radial-gradient(ellipse at center, transparent 30%, rgba(0,40,0,0.5) 100%); }

.cs-content { position: relative; z-index: 2; max-width: 480px; margin: 0 auto; padding: 16px 16px 40px; min-height: 100vh; display: flex; flex-direction: column; gap: 20px; color: #fff; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }

/* 返回按钮 */
.cs-back-btn { align-self: flex-start; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); padding: 8px 14px; border-radius: 20px; font-size: 13px; cursor: pointer; transition: all 0.2s; backdrop-filter: blur(8px); }
.cs-back-btn:hover { background: rgba(255,255,255,0.2); }

/* 主动画区 */
.cs-main { text-align: center; padding: 10px 0; }
.cs-orb-wrap { position: relative; width: 160px; height: 160px; margin: 10px auto 20px; }
.cs-orb { position: absolute; inset: 20px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #64B5F6, #1565C0); box-shadow: 0 0 60px rgba(33,150,243,0.6), inset 0 0 30px rgba(255,255,255,0.2); animation: csOrbPulse 2s ease-in-out infinite; }
.cs-orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(100,181,246,0.4); animation: csOrbRing 3s linear infinite; }
.cs-orb-ring.r1 { animation-duration: 3s; }
.cs-orb-ring.r2 { inset: 10px; animation-duration: 4s; animation-delay: 0.5s; border-color: rgba(100,181,246,0.3); }
.cs-orb-ring.r3 { inset: 30px; animation-duration: 5s; animation-delay: 1s; border-color: rgba(100,181,246,0.2); }
.cs-orb-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; animation: csOrbIconSpin 8s linear infinite; }
.cs-orb-icon { font-size: 48px; }
@keyframes csOrbPulse { 0%,100% { transform: scale(1); box-shadow: 0 0 60px rgba(33,150,243,0.6); } 50% { transform: scale(1.08); box-shadow: 0 0 80px rgba(33,150,243,0.8); } }
@keyframes csOrbRing { 0% { transform: rotate(0deg) scale(1); opacity: 0.8; } 50% { transform: rotate(180deg) scale(1.05); opacity: 0.4; } 100% { transform: rotate(360deg) scale(1); opacity: 0.8; } }
@keyframes csOrbIconSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.cs-title { font-size: 26px; font-weight: 800; margin: 0 0 8px; letter-spacing: 1px; }
.cs-title.cs-rej { color: #FFCDD2; }
.cs-title.cs-ok { color: #C8E6C9; }
.cs-sub { font-size: 16px; color: rgba(255,255,255,0.85); margin: 0 0 4px; }
.cs-desc { font-size: 13px; color: rgba(255,255,255,0.6); margin: 0; }

/* 进度条 */
.cs-progress-wrap { padding: 0 4px; }
.cs-progress-bar { position: relative; height: 10px; background: rgba(255,255,255,0.1); border-radius: 5px; overflow: hidden; }
.cs-progress-fill { height: 100%; background: linear-gradient(90deg, #42A5F5, #1E88E5, #42A5F5); background-size: 200% 100%; border-radius: 5px; transition: width 0.6s ease; animation: csProgressShimmer 2s linear infinite; }
.cs-progress-glow { position: absolute; top: 50%; width: 14px; height: 14px; background: #64B5F6; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 12px #64B5F6; transition: left 0.6s ease; animation: csGlowPulse 1.5s ease-in-out infinite; }
@keyframes csProgressShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes csGlowPulse { 0%,100% { box-shadow: 0 0 8px #64B5F6; } 50% { box-shadow: 0 0 20px #90CAF9, 0 0 30px #64B5F6; } }
.cs-progress-pct { text-align: center; font-size: 22px; font-weight: 800; margin-top: 8px; color: #64B5F6; text-shadow: 0 0 20px rgba(100,181,246,0.5); }

/* 阶段节点 */
.cs-stages { display: flex; justify-content: space-between; padding: 0 4px; overflow-x: auto; gap: 4px; }
.cs-stage { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 36px; }
.cs-stage-dot { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.5); transition: all 0.3s; }
.cs-stage.done .cs-stage-dot { background: linear-gradient(135deg, #42A5F5, #1E88E5); border-color: #64B5F6; color: #fff; box-shadow: 0 0 12px rgba(66,165,245,0.6); }
.cs-stage-pct { font-size: 10px; color: rgba(255,255,255,0.4); }
.cs-stage.done .cs-stage-pct { color: #64B5F6; }

/* 提示词 */
.cs-tips-wrap { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 12px 14px; backdrop-filter: blur(10px); }
.cs-tips-label { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.cs-tip-text { font-size: 14px; color: rgba(255,255,255,0.9); line-height: 1.5; transition: opacity 0.35s, transform 0.35s; }

/* 元信息 */
.cs-meta { display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: rgba(255,255,255,0.4); text-align: center; }

/* ===== 驳回页 ===== */
.cs-rej-icon { text-align: center; font-size: 80px; animation: csRejShake 0.6s ease; }
@keyframes csRejShake { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-8px); } 40%,80% { transform: translateX(8px); } }
.cs-rej-reason { background: rgba(244,67,54,0.15); border: 1px solid rgba(244,67,54,0.3); border-radius: 12px; padding: 14px; }
.cs-rej-reason-title { font-size: 13px; color: #EF9A9A; font-weight: 700; margin-bottom: 6px; }
.cs-rej-reason-text { font-size: 14px; color: #FFCDD2; line-height: 1.7; }

.cs-comfort-wrap { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 16px; }
.cs-comfort-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px dashed rgba(255,255,255,0.15); }
.cs-comfort-avatar { font-size: 28px; }
.cs-comfort-name { font-size: 14px; color: rgba(255,255,255,0.8); font-weight: 600; }
.cs-comfort-block { background: rgba(255,255,255,0.05); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; animation: csFadeUp 0.5s ease both; }
.cs-comfort-block.first { background: rgba(33,150,243,0.15); border-left: 3px solid #42A5F5; }
.cs-comfort-block-title { font-size: 13px; color: #90CAF9; font-weight: 700; margin-bottom: 6px; }
.cs-comfort-block-body { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.8; }
@keyframes csFadeUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.cs-alt-wrap { margin-top: 4px; }
.cs-alt-title { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 600; margin-bottom: 10px; }
.cs-alt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cs-alt-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 10px; text-align: center; transition: all 0.2s; }
.cs-alt-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.cs-alt-icon { font-size: 22px; margin-bottom: 4px; }
.cs-alt-name { font-size: 12px; color: rgba(255,255,255,0.9); font-weight: 600; }
.cs-alt-desc { font-size: 10px; color: rgba(255,255,255,0.5); margin-top: 2px; }

.cs-once-hint { text-align: center; padding: 10px; background: rgba(255,193,7,0.12); border: 1px solid rgba(255,193,7,0.25); border-radius: 8px; font-size: 12px; color: #FFE082; }
.cs-btn-primary { width: 100%; padding: 14px; background: linear-gradient(135deg, #1976D2, #0D47A1); color: #fff; border: none; border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 8px; box-shadow: 0 4px 15px rgba(13,71,161,0.4); transition: transform 0.2s; }
.cs-btn-primary:hover { transform: translateY(-2px); }

/* 🚨 打回重做页样式 */
.cs-sb-icon { text-align: center; font-size: 72px; margin: 10px 0; animation: csSendBackWiggle 2s ease-in-out infinite; }
@keyframes csSendBackWiggle { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.cs-sb-note { background: rgba(255,213,79,0.15); border: 1px solid rgba(255,213,79,0.4); border-radius: 12px; padding: 14px 16px; margin: 6px 0; backdrop-filter: blur(8px); }
.cs-sb-note-label { font-size: 11px; color: #FFD54F; font-weight: 700; margin-bottom: 6px; letter-spacing: 1px; }
.cs-sb-note-text { font-size: 14px; color: #fff; line-height: 1.7; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.cs-sb-tip { font-size: 12px; color: rgba(255,255,255,0.75); text-align: center; line-height: 1.7; padding: 10px; background: rgba(255,255,255,0.05); border-radius: 8px; margin: 6px 0 2px; }
.cs-btn-secondary-wrap { text-align: center; margin-top: 4px; }
.cs-btn-secondary { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.75); padding: 10px 20px; border-radius: 10px; font-size: 13px; cursor: pointer; transition: all 0.2s; }
.cs-btn-secondary:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ===== 通过页 ===== */
.cs-ok-icon { text-align: center; font-size: 90px; animation: csOkBounce 1s ease; }
@keyframes csOkBounce { 0% { transform: scale(0) rotate(-20deg); } 60% { transform: scale(1.2) rotate(5deg); } 100% { transform: scale(1) rotate(0); } }
.cs-amount-card { background: linear-gradient(135deg, rgba(76,175,80,0.2), rgba(129,199,132,0.2)); border: 1px solid rgba(129,199,132,0.4); border-radius: 14px; padding: 20px; text-align: center; margin: 10px 0; }
.cs-amount-label { font-size: 13px; color: #A5D6A7; }
.cs-amount-value { font-size: 36px; font-weight: 800; color: #fff; margin: 6px 0 2px; text-shadow: 0 0 20px rgba(129,199,132,0.4); }
.cs-amount-sub { font-size: 11px; color: rgba(255,255,255,0.5); }
.cs-next-steps { background: rgba(255,255,255,0.08); border-radius: 12px; padding: 14px; }
.cs-step { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; color: rgba(255,255,255,0.85); }
.cs-step-num { width: 24px; height: 24px; background: #4CAF50; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }

/* ===== 🎉 审批通过华丽动画版 ===== */
.cs-approved-content { gap: 16px; padding-top: 24px; }
.cs-ok-top { text-align: center; }
.cs-ok-icon-wrap { position: relative; width: 120px; height: 120px; margin: 0 auto 12px; }
.cs-ok-icon-pop {
  font-size: 80px;
  animation: csOkPop 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  filter: drop-shadow(0 0 30px rgba(255,213,79,0.6));
}
@keyframes csOkPop {
  0% { transform: scale(0) rotate(-30deg); opacity: 0; }
  50% { transform: scale(1.3) rotate(10deg); }
  70% { transform: scale(0.95) rotate(-3deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.cs-title-anim {
  animation: csTitleSlide 0.8s ease 0.2s both;
}
@keyframes csTitleSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 额度卡动画版 */
.cs-amount-card-anim {
  opacity: 0;
  background: linear-gradient(135deg, rgba(255,213,79,0.18), rgba(255,171,64,0.15), rgba(129,199,132,0.18));
  border: 1px solid rgba(255,213,79,0.35);
  border-radius: 16px;
  padding: 22px 20px 18px;
  text-align: center;
  margin: 4px 0;
  backdrop-filter: blur(10px);
  animation: csCardFadeUp 0.7s ease 0.8s forwards;
  box-shadow: 0 8px 30px rgba(255,171,64,0.15), inset 0 1px 0 rgba(255,255,255,0.15);
}
@keyframes csCardFadeUp {
  from { opacity: 0; transform: translateY(25px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cs-amount-card-anim .cs-amount-label { color: #FFD54F; font-size: 13px; letter-spacing: 2px; }
.cs-amount-value-anim {
  font-size: 52px; font-weight: 900; margin: 8px 0 4px;
  background: linear-gradient(135deg, #FFD54F 0%, #FFAB40 40%, #FF8A65 70%, #FFD54F 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  animation: csGoldShimmer 3s linear infinite;
  filter: drop-shadow(0 2px 12px rgba(255,171,64,0.4));
  line-height: 1;
}
@keyframes csGoldShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.cs-amount-unit { font-size: 20px; font-weight: 700; margin-left: 4px; }

/* 审批通过详情 */
.cs-ok-details {
  margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.cs-ok-detail-item {
  opacity: 0;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px 12px;
  backdrop-filter: blur(6px);
  animation: csDetailFade 0.5s ease forwards;
}
@keyframes csDetailFade {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}
.cs-ok-detail-icon { font-size: 20px; flex-shrink: 0; }
.cs-ok-detail-text { flex: 1; min-width: 0; }
.cs-ok-detail-k { font-size: 10px; color: rgba(255,255,255,0.55); margin-bottom: 2px; letter-spacing: 1px; }
.cs-ok-detail-v { font-size: 13px; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 后续步骤 */
.cs-ok-steps {
  opacity: 0;
  animation: csCardFadeUp 0.7s ease 2.3s forwards;
}
.cs-ok-steps .cs-step-num {
  background: linear-gradient(135deg, #FFD54F, #FFAB40);
  color: #5D4037;
  box-shadow: 0 2px 10px rgba(255,171,64,0.4);
}

/* 按钮 */
.cs-ok-btn {
  opacity: 0;
  background: linear-gradient(135deg, #FFD54F, #FF8A65) !important;
  color: #3E2723 !important;
  font-weight: 800 !important;
  animation: csCardFadeUp 0.7s ease 2.6s forwards;
  box-shadow: 0 6px 24px rgba(255,138,101,0.4) !important;
}
.cs-ok-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(255,138,101,0.55) !important;
}

/* 📱 手机端审批通过页适配 */
@media (max-width: 420px) {
  .cs-ok-icon-pop { font-size: 64px; }
  .cs-amount-value-anim { font-size: 40px; }
  .cs-ok-details { grid-template-columns: 1fr; }
  .cs-approved-content { gap: 12px; padding-top: 12px; }
}
@media (max-width: 360px) {
  .cs-ok-icon-wrap { width: 96px; height: 96px; }
  .cs-ok-icon-pop { font-size: 52px; }
  .cs-amount-value-anim { font-size: 32px; }
  .cs-amount-unit { font-size: 16px; }
  .cs-ok-detail-item { padding: 8px 10px; }
  .cs-ok-detail-v { font-size: 12px; }
}

/* ===== 总览页 ===== */
.cs-ov-header { display: flex; align-items: center; justify-content: space-between; padding: 4px 0; }
.cs-ov-title { flex: 1; text-align: center; font-size: 16px; font-weight: 700; color: rgba(255,255,255,0.95); margin: 0; }
.cs-ov-status-card { background: linear-gradient(135deg, rgba(66,165,245,0.2), rgba(30,136,229,0.15)); border: 1px solid rgba(66,165,245,0.4); border-radius: 14px; padding: 16px; display: flex; align-items: center; gap: 14px; transition: transform 0.2s; }
.cs-ov-status-card:hover { transform: translateY(-2px); }
.cs-ov-status-dot { width: 12px; height: 12px; background: #42A5F5; border-radius: 50%; box-shadow: 0 0 12px #42A5F5; animation: csGlowPulse 1.5s ease-in-out infinite; flex-shrink: 0; }
.cs-ov-status-text { flex: 1; }
.cs-ov-status-label { font-size: 11px; color: rgba(255,255,255,0.5); }
.cs-ov-status-value { font-size: 16px; font-weight: 700; color: #64B5F6; }
.cs-ov-status-arrow { font-size: 24px; color: rgba(255,255,255,0.5); }

.cs-ov-section { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 14px; }
.cs-ov-section-title { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 700; margin-bottom: 10px; }
.cs-ov-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cs-ov-info-item { background: rgba(255,255,255,0.05); border-radius: 8px; padding: 8px 10px; }
.cs-ov-k { font-size: 11px; color: rgba(255,255,255,0.5); }
.cs-ov-v { font-size: 13px; color: rgba(255,255,255,0.9); font-weight: 600; margin-top: 2px; word-break: break-all; }

.cs-ov-tip-bar { display: flex; align-items: center; gap: 8px; background: rgba(255,193,7,0.1); border: 1px solid rgba(255,193,7,0.25); border-radius: 10px; padding: 10px 14px; }
.cs-ov-tip-label { font-size: 16px; flex-shrink: 0; }
.cs-ov-tip-text { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.5; transition: opacity 0.3s; }

.cs-ov-meta { font-size: 11px; color: rgba(255,255,255,0.4); text-align: center; }

/* ===== 手机端适配 ===== */
@media (max-width: 420px) {
  .cs-content { padding: 12px 12px 32px; gap: 16px; }
  .cs-orb-wrap { width: 130px; height: 130px; }
  .cs-orb-icon { font-size: 38px; }
  .cs-title { font-size: 22px; }
  .cs-sub { font-size: 14px; }
  .cs-orb-ring { display: none; }
  .cs-stage-dot { width: 22px; height: 22px; font-size: 10px; }
  .cs-stage-pct { font-size: 9px; }
  .cs-stages { gap: 2px; }
  .cs-alt-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .cs-alt-icon { font-size: 18px; }
  .cs-alt-name { font-size: 11px; }
  .cs-ov-info-grid { grid-template-columns: 1fr; gap: 6px; }
  .cs-progress-pct { font-size: 18px; }
  .cs-rej-icon { font-size: 64px; }
  .cs-ok-icon { font-size: 72px; }
  .cs-amount-value { font-size: 28px; }
}
@media (max-width: 360px) {
  .cs-content { padding: 10px 10px 28px; gap: 14px; }
  .cs-orb-wrap { width: 110px; height: 110px; }
  .cs-orb-icon { font-size: 32px; }
  .cs-title { font-size: 20px; }
  .cs-stage-dot { width: 20px; height: 20px; font-size: 9px; }
  .cs-comfort-block-body { font-size: 13px; }
}

/* 全局 override：case-status-page 在审核状态期间不要显示默认头部 */
.case-status-page:has(.cs-wrap) .page-header { display: none !important; }
