/* 心动AI - 子页面与详情页 */

/* ===== 分身设置页面（完整版） ===== */
.clone-setup-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: #f5f3fa; z-index: 10000;
  display: none; flex-direction: column;
  animation: setupSlideUp 0.3s ease-out;
}
.clone-setup-overlay.active { display: flex; }
@keyframes setupSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.clone-setup-panel {
  flex: 1; overflow-y: auto;
  max-width: 480px; width: 100%; margin: 0 auto;
  background: #f5f3fa;
  -webkit-overflow-scrolling: touch;
}

/* Header */
.clone-setup-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: #fff;
  border-bottom: 1px solid #edeaf5; position: sticky; top: 0; z-index: 2;
}
.clone-setup-back {
  font-size: 18px; color: var(--purple); font-weight: 600; cursor: pointer;
  padding: 4px 8px; border-radius: 8px; min-width: 60px;
}
.clone-setup-back:active { background: #f0edff; }
.clone-setup-title {
  font-size: 16px; font-weight: 700; color: #333;
}
.clone-setup-header-spacer { width: 60px; }

/* Guest preview card */
.clone-guest-card-preview {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; margin: 12px 16px;
  background: linear-gradient(135deg, var(--purple), var(--purple-soft));
  border-radius: 16px; color: #fff;
}
.clone-guest-card-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.clone-guest-card-info { flex: 1; }
.clone-guest-card-name { font-size: 18px; font-weight: 700; }
.clone-guest-card-desc { font-size: 14px; opacity: 0.85; margin-top: 2px; }

/* Section */
.clone-setup-section {
  margin: 16px 16px 0; padding: 18px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.clone-setup-section-label {
  font-size: 17px; font-weight: 700; color: #333; margin-bottom: 4px;
}
.clone-setup-section-hint {
  font-size: 14px; color: #999; margin-bottom: 16px;
}

/* 退出弹窗模块层级优化（v20260717_1507）：优先级模块淡紫底 + 模块间浅紫分割线 */
.clone-setup-section.clone-section-priority {
  background: #FBF7FF;
  border: 2px solid #BFA0FF;
  box-shadow: 0 2px 8px rgba(123,104,238,0.10);
}
.clone-setup-section.clone-section-priority .clone-setup-section-label { color: #6B4FB0; }
.clone-section-divider { height: 1px; background: #EBDDFF; margin: 10px 18px 0; }

/* Style cards */
.clone-style-options { display: flex; flex-direction: column; gap: 12px; }
.clone-style-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 2px solid #edeaf5; border-radius: 14px;
  cursor: pointer; transition: all 0.2s; position: relative;
}
.clone-style-card:active { transform: scale(0.98); }
.clone-style-card.selected {
  border-color: #7B68EE; background: #f8f6ff;
}
.clone-style-emoji { font-size: 26px; }
.clone-style-name { font-size: 16px; font-weight: 600; color: #333; }
.clone-style-desc { font-size: 14px; color: #888; flex: 1; }
.clone-style-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: #edeaf5; color: transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; transition: all 0.2s;
}
.clone-style-card.selected .clone-style-check {
  background: #7B68EE; color: #fff;
}

/* Boundary options */
.clone-boundary-options { display: flex; flex-direction: column; gap: 12px; }
.clone-boundary-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 4px 0;
}
.boundary-label { font-size: 15px; color: #444; white-space: nowrap; }
/* 边界感标签固定宽度，让下拉框垂直对齐 */
.clone-boundary-section .boundary-label {
  flex: 0 0 110px;
  width: 110px;
  min-width: 110px;
}
.boundary-select {
  flex: 1; padding: 9px 12px; border: 1.5px solid #e0dde8;
  border-radius: 10px; font-size: 14px; color: #555;
  background: #faf9ff; outline: none;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.boundary-select:focus { border-color: #7B68EE; }

/* Takeover options */
.clone-takeover-options { display: flex; flex-direction: column; gap: 10px; }
.clone-takeover-item {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; padding: 12px 14px;
  border-radius: 12px; transition: background 0.15s;
}
.clone-takeover-item:active { background: #f8f6ff; }
.clone-takeover-item input[type="radio"] {
  margin-top: 3px; accent-color: #7B68EE;
  width: 18px; height: 18px; flex-shrink: 0;
}
.takeover-info { flex: 1; }
.takeover-name { font-size: 15px; font-weight: 600; color: #333; }
.takeover-desc { font-size: 14px; color: #888; margin-top: 2px; line-height: 1.4; }

/* Footer buttons */
.clone-setup-footer {
  display: flex; gap: 10px; padding: 14px 16px;
  margin-top: 16px; position: sticky; bottom: 0;
  background: #f5f3fa; z-index: 2;
}
.clone-setup-btn {
  flex: 1; padding: 13px 0; border-radius: 14px;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: all 0.2s; text-align: center;
  border: none;
}
.clone-setup-btn.primary {
  background: linear-gradient(135deg, #7B68EE, #9370DB);
  color: #fff;
}
.clone-setup-btn.primary:active { opacity: 0.85; transform: scale(0.97); }
.clone-setup-btn.secondary {
  background: #fff; color: #888; border: 1.5px solid #e0dde8;
}
.clone-setup-btn.secondary:active { background: #f5f3f8; }

/* ===== 聊天详情子页面 ===== */
.sub-page {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: #fff; z-index: 50; display: none; flex-direction: column;
}
.sub-page.active { display: flex; }

.sub-header {
  display: flex; align-items: center; padding: 8px 14px 12px;
  gap: 10px; border-bottom: none; flex-shrink: 0;
  background: #fff;
  padding-top: max(8px, env(safe-area-inset-top, 8px));
}
.sub-header-right {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
}
.sub-back {
  width: 40px; height: 40px; border-radius: 50%;
  background: #E7E0F6; border: 1px solid #C7B9EC;
  font-size: 24px; font-weight: 800; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #4A2F9E;
  flex-shrink: 0; transition: transform 0.15s;
}
.sub-back:active { transform: scale(0.92); }
.sub-report-btn {
  background: none; border: none; font-size: 18px; cursor: pointer;
  padding: 4px 4px; color: #999; flex-shrink: 0;
}
.sub-header-avatar {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 2px solid #EDEAF5; flex-shrink: 0; background: #EDEAF5;
  box-shadow: 0 2px 8px rgba(123,104,238,0.22);
}
.sub-title-wrap {
  display: flex; align-items: center; gap: 7px; min-width: 0;
}
.sub-title {
  font-size: 19px; font-weight: 800; color: #1A1A26;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 104px; flex-shrink: 1;
}
/* 头像旁「AI分身」立体按键标识 */
.sub-ai-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.5px;
  color: #fff; flex-shrink: 0; cursor: default; white-space: nowrap;
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), inset 0 -2px 4px rgba(0,0,0,0.18), 0 3px 6px rgba(109,40,217,0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.sub-ai-badge:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.25), 0 1px 2px rgba(109,40,217,0.3);
}
.ai-tag { padding: 2px 8px; border-radius: 8px; background: #7B68EE; color: #fff; font-size: 12px; font-weight: 500; }
.sub-countdown { flex: 1; text-align: center; font-size: 14px; color: #7B68EE; white-space: nowrap; font-weight: 600; }

.sub-messages {
  flex: 1; overflow-y: auto; padding: 6px 16px 16px;
  display: flex; flex-direction: column; gap: 12px; background: #faf9ff;
}
.sub-messages::-webkit-scrollbar { display: none; }

.sub-msg-row { display: flex; max-width: 92%; gap: 8px; align-items: flex-start; }
.sub-msg-row.sent { align-self: flex-end; }
.sub-msg-row.received { align-self: flex-start; }
.sub-msg-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #EDEAF5; border: 1px solid #e0dbf2;
  font-size: 18px; line-height: 1; color: #9b8fc7; margin-top: 2px;
}
.sub-msg-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sub-msg-row.sent .sub-msg-avatar { background: #E3DBF7; }
.sub-msg-bubble { padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.sub-msg-row.sent .sub-msg-bubble { background: #7B68EE; color: #fff; border-bottom-right-radius: 4px; }
.sub-msg-row.received .sub-msg-bubble { background: #fff; border: 1px solid #edeaf5; color: #333; border-bottom-left-radius: 4px; }
.ai-suggestion-bar {
  padding: 8px 14px; border-radius: 12px; background: #f5f0ff;
border: 1px solid #edeaf5; font-size: 14px; color: #7B68EE;
  align-self: center; max-width: 95%;
}
.system-notice-card {
  align-self: center; max-width: 95%; width: 100%;
  padding: 16px 14px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(123,104,238,0.06), rgba(212,83,126,0.04));
  border: 1px solid #edeaf5; font-size: 14px; color: #555;
  line-height: 1.7; white-space: pre-line;
}
.system-notice-card .sys-notice-title {
  font-size: 15px; font-weight: 700; color: #7B68EE; margin-bottom: 10px;
}

.sub-input-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 30px; border-top: 1px solid #f0edff; flex-shrink: 0;
}
.sub-input {
  flex: 1; height: 38px; border-radius: 19px; border: 1px solid #e4dff0;
background: #f8f7fc; padding: 0 14px; font-size: 14px; color: #333; outline: none;
}
.sub-input::placeholder { color: #bbb; }
.sub-input:focus { border-color: #7B68EE; }
.sub-send {
  width: 38px; height: 38px; border-radius: 50%; background: #7B68EE;
border: none; color: #fff; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}


/* ===== 训练分身大卡片（最显眼入口）===== */
.clone-train-card {
  background: linear-gradient(135deg, #f5f0ff 0%, #fef5f7 50%, #fff5ee 100%);
  border: 2px solid #d4c8f0;
  border-radius: 16px;
  padding: 18px 16px;
  margin-bottom: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.25s;
}
.clone-train-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(123,104,238,0.12), transparent 70%);
  border-radius: 50%;
}
.clone-train-card:active { transform: scale(0.97); border-color: #7B68EE; }
.clone-train-card-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.clone-train-card-icon {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, #7B68EE, #D4537E);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(123,104,238,0.3);
}
.clone-train-card-title {
  font-size: 16px; font-weight: 700; color: #333;
  display: flex; align-items: center; gap: 6px;
}
.clone-train-card-badge {
  font-size: 10px; padding: 2px 8px; border-radius: 10px;
  background: linear-gradient(135deg, #7B68EE, #D4537E);
  color: #fff; font-weight: 600;
}
.clone-train-card-sub {
  font-size: 13px; color: #888;
}
.clone-train-card-bar {
  height: 6px; background: #e8e5f2;
  border-radius: 3px; overflow: hidden; margin-bottom: 8px;
}
.clone-train-card-fill {
  height: 100%;
  background: linear-gradient(90deg, #7B68EE, #D4537E);
  border-radius: 3px;
  transition: width 1s ease;
}
.clone-train-card-stats {
  display: flex; gap: 16px; font-size: 12px; color: #999;
}
.clone-train-card-stats span { display: flex; align-items: center; gap: 2px; }
.clone-train-card-stats span strong { color: #7B68EE; font-size: 13px; }
.clone-train-card-arrow {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: #7B68EE;
}

/* ===== 关系预演入口（王炸功能 - 替换原分身对话位置）===== */
.preplay-rehearse-entry {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 14px 16px; border-radius: 16px;
  border: 2px solid rgba(232,69,60,0.3);
  background: linear-gradient(135deg, rgba(232,69,60,0.06), rgba(255,107,157,0.06));
  cursor: pointer; margin-top: 8px; margin-bottom: 12px;
  transition: all 0.3s;
  position: relative; overflow: hidden;
}
.preplay-rehearse-entry::before {
  content: '';
  position: absolute; top: -15px; right: -15px;
  width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(232,69,60,0.15), transparent 70%);
  border-radius: 50%;
}
.preplay-rehearse-entry:active { transform: scale(0.97); border-color: #E8453C; }
.preplay-rehearse-entry-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, #E8453C, #FF6B9D);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(232,69,60,0.25);
}
.preplay-rehearse-entry-info { flex: 1; min-width: 0; }
.preplay-rehearse-entry-title { font-size: 15px; font-weight: 700; color: #E8453C; }
.preplay-rehearse-entry-desc { font-size: 12px; color: #999; margin-top: 2px; }
.preplay-rehearse-entry-arrow { color: #E8453C; font-size: 20px; font-weight: 700; }
.preplay-rehearse-entry-badge {
  position: absolute; top: 10px; right: 34px;
  font-size: 10px; padding: 2px 7px; border-radius: 8px;
  background: linear-gradient(135deg, #E8453C, #FF6B9D);
  color: #fff; font-weight: 600; white-space: nowrap;
}

/* ===== 心动温度计区域 ===== */
.thermometer-section {
  margin: 10px 12px;
}

/* 单根管子的容器 */
.thermometer-tube-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  flex: 1;
  max-width: 60px;
}

/* 管子外框 - 玻璃管 */
.thermometer-tube {
  width: 36px;
  height: 160px;
  border-radius: 14px;
  background: #fff;
  position: relative;
  overflow: hidden;
  border: 1.2px solid #ddd;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.06);
}

/* 液柱 */
.thermometer-liquid {
  position: absolute;
  bottom: 3px;
  left: 4px;
  right: 4px;
  border-radius: 9px;
  transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 玻璃高光 */
.thermometer-highlight {
  position: absolute;
  top: 6px;
  left: 5px;
  width: 4px;
  height: 60%;
  border-radius: 2px;
  background: rgba(255,255,255,0.55);
  pointer-events: none;
}

/* 底部数字标签 - 底座上的圆形数字 */
.thermometer-number {
  font-size: 11px;
  font-weight: 700;
  width: 28px;
  height: 28px;
  line-height: 28px;
  border-radius: 50%;
  color: #fff;
  white-space: nowrap;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  letter-spacing: 0.3px;
  flex-shrink: 0;
  flex: 1;
  max-width: 36px;
  margin: 0 auto;
  display: block;
}

/* 液柱跳动动画 - 普通 */
.thermometer-liquid.animated {
  animation: liquidBounce 2.5s ease-in-out infinite;
}

/* 液柱跳动动画 - 热聊（恋爱中）- 幅度更大更快 */
.thermometer-liquid.animated-hot {
  animation: liquidBounceHot 1.4s ease-in-out infinite;
}

@keyframes liquidBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes liquidBounceHot {
  0%, 100% { transform: translateY(0) scaleY(1); }
  25% { transform: translateY(-7px) scaleY(1.03); }
  50% { transform: translateY(-3px) scaleY(0.98); }
  75% { transform: translateY(-6px) scaleY(1.02); }
}

/* 关系结束 - 虚线框 + 降透明度 */
.thermometer-tube.ended {
  border-style: dashed;
  opacity: 0.55;
}

/* ===== 分身自主社交标签 ===== */
.clone-auto-social-label {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 0; margin-bottom: 8px;
  font-size: 11px; color: #aaa;
  border-bottom: 1px dashed #e8e5f2;
}
.clone-auto-social-label .robot { font-size: 14px; }

/* ===== 镜像对话模式 L2 ===== */
.mirror-entry-btn { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 16px; border-radius: 14px; border: 1px dashed rgba(29,158,117,0.4); background: linear-gradient(135deg, rgba(29,158,117,0.08), rgba(123,104,238,0.08)); cursor: pointer; margin-top: 8px; transition: all 0.3s; }
.mirror-entry-btn:active { transform: scale(0.98); }
.mirror-entry-icon { font-size: 28px; }
.mirror-entry-info { flex: 1; }
.mirror-entry-title { font-size: 14px; font-weight: 600; color: #1D9E75; }
.mirror-entry-desc { font-size: 12px; color: #999; margin-top: 2px; }
.mirror-entry-arrow { color: #1D9E75; font-size: 18px; }

.mirror-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, #0a0a2e, #1a0a3e, #0a1628); z-index: 100; display: none; flex-direction: column; align-items: center; }
.mirror-overlay.active { display: flex; }
.mirror-panel { width: 100%; max-width: 420px; height: 100%; display: flex; flex-direction: column; }
.mirror-header { padding: 48px 16px 12px; text-align: center; background: rgba(0,0,0,0.3); }
.mirror-close { position: absolute; top: 48px; left: 16px; color: rgba(255,255,255,0.5); font-size: 20px; cursor: pointer; background: none; border: none; }
.mirror-header-title { font-size: 16px; font-weight: 500; color: #e0dcf5; }
.mirror-header-sub { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; }
.mirror-avatars { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 12px 0 4px; }
.mirror-av { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; background: rgba(255,255,255,0.1); }
.mirror-av.self { border: 2px solid rgba(123,104,238,0.6); }
.mirror-av.other { border: 2px solid rgba(29,158,117,0.6); }
.mirror-vs { font-size: 11px; color: rgba(255,255,255,0.3); }
.mirror-status-bar { display: flex; justify-content: center; gap: 8px; padding: 6px 16px; background: rgba(0,0,0,0.2); font-size: 11px; }
.mirror-status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; vertical-align: middle; margin-right: 3px; }
.mirror-status-dot.clone { background: #7B68EE; }
.mirror-status-dot.real { background: #BA7517; animation: statusPulse 1s infinite; }
@keyframes statusPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.mirror-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mirror-msg { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: 13px; line-height: 1.6; position: relative; }
.mirror-msg.self { align-self: flex-end; background: rgba(123,104,238,0.2); color: #e0dcf5; border-bottom-right-radius: 4px; }
.mirror-msg.other { align-self: flex-start; background: rgba(29,158,117,0.2); color: #e0dcf5; border-bottom-left-radius: 4px; }
.mirror-msg.real { align-self: flex-end; background: rgba(186,125,23,0.25); color: #f5deb3; border-bottom-right-radius: 4px; border: 1px solid rgba(186,125,23,0.4); }
.mirror-msg.system { align-self: center; background: none; color: rgba(255,255,255,0.3); font-size: 12px; padding: 6px 12px; text-align: center; }
.mirror-tag { font-size: 10px; padding: 1px 6px; border-radius: 8px; display: inline-block; margin-bottom: 4px; }
.mirror-tag.self { background: rgba(123,104,238,0.3); color: #c4b5fd; }
.mirror-tag.other { background: rgba(29,158,117,0.3); color: #9fe1cb; }
.mirror-tag.real { background: rgba(186,125,23,0.4); color: #fac775; }

.mirror-footer { padding: 12px 16px 32px; background: rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.08); }
.mirror-actions { display: flex; gap: 8px; }
.mirror-btn { flex: 1; padding: 10px; border-radius: 12px; border: 1px solid; font-size: 13px; cursor: pointer; font-weight: 500; background: none; }
.mirror-btn.takeover { border-color: rgba(186,125,23,0.5); color: #fac775; }
.mirror-btn.takeover:active { background: rgba(186,125,23,0.2); }
.mirror-btn.handoff { border-color: rgba(123,104,238,0.5); color: #c4b5fd; display: none; }
.mirror-btn.handoff:active { background: rgba(123,104,238,0.2); }
.mirror-btn.terminate { border-color: rgba(236,64,122,0.4); color: #f4a0b5; }
.mirror-input-bar { display: none; gap: 8px; margin-top: 8px; }
.mirror-input-bar.active { display: flex; }
.mirror-input { flex: 1; padding: 10px 14px; border-radius: 20px; border: 1px solid rgba(186,125,23,0.4); background: rgba(0,0,0,0.3); color: #f5deb3; font-size: 13px; outline: none; }
.mirror-input::placeholder { color: rgba(186,125,23,0.35); }
.mirror-send-btn { width: 32px; height: 32px; border-radius: 50%; border: 2.5px solid #fff; background: #fff; color: #000; font-size: 14px; cursor: pointer; font-weight: 500; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 3px 8px rgba(0,0,0,0.20), 0 1px 2px rgba(0,0,0,0.12); }
.mirror-send-btn:active { transform: scale(0.9); background: #f2f2f2; color: #000; border-color: #fff; }

/* ===== 关系预演模式 L3 ===== */
.preplay-btn-in-panel { display: block; width: calc(100% - 32px); margin: 8px auto 0; padding: 8px; border-radius: 10px; border: 1px dashed rgba(212,83,126,0.4); background: rgba(212,83,126,0.06); color: #D4537E; font-size: 12px; cursor: pointer; text-align: center; }
.preplay-btn-in-panel:active { background: rgba(212,83,126,0.15); }

.preplay-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, #0a0a2e, #1a0a3e, #0a1628); z-index: 100; display: none; flex-direction: column; align-items: center; }
.preplay-overlay.active { display: flex; }
.preplay-panel { width: 100%; max-width: 420px; height: 100%; display: flex; flex-direction: column; }
.preplay-header { padding: 48px 16px 12px; text-align: center; background: rgba(0,0,0,0.3); position: relative; flex-shrink: 0; }
.preplay-header-title { font-size: 16px; font-weight: 500; color: #e0dcf5; }
.preplay-header-sub { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; }

/* 预演配置 */
.preplay-config { flex: 1; overflow-y: auto; padding: 16px; }
.preplay-section-title { font-size: 14px; font-weight: 500; color: #e0dcf5; margin: 16px 0 10px; }
.preplay-section-title:first-child { margin-top: 0; }
.preplay-options { display: flex; gap: 8px; }
.preplay-opt { flex: 1; padding: 10px 8px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.6); font-size: 12px; cursor: pointer; text-align: center; transition: all 0.3s; }
.preplay-opt.active { border-color: rgba(123,104,238,0.6); background: rgba(123,104,238,0.15); color: #c4b5fd; }
.preplay-opt:active { transform: scale(0.96); }
.preplay-start-btn { display: block; width: 100%; padding: 14px; border-radius: 14px; border: none; background: linear-gradient(135deg, rgba(123,104,238,0.5), rgba(212,83,126,0.5)); color: #fff; font-size: 15px; font-weight: 500; cursor: pointer; margin-top: 20px; }
.preplay-start-btn:active { transform: scale(0.98); }

/* 预演运行 */
.preplay-progress { display: flex; align-items: center; padding: 8px 16px; gap: 10px; background: rgba(0,0,0,0.2); }
.preplay-progress-bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.1); overflow: hidden; }
.preplay-progress-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, #7B68EE, #D4537E); transition: width 0.5s; }
.preplay-progress-text { font-size: 11px; color: rgba(255,255,255,0.4); white-space: nowrap; }
.preplay-stage-badge { display: inline-block; padding: 3px 10px; border-radius: 10px; font-size: 11px; font-weight: 500; }
.preplay-stage-badge.contact { background: rgba(123,104,238,0.2); color: #c4b5fd; }
.preplay-stage-badge.warmup { background: rgba(212,83,126,0.2); color: #f4c0d1; }
.preplay-stage-badge.love { background: rgba(184,134,11,0.2); color: #fac775; }
.preplay-stage-badge.stable { background: rgba(29,158,117,0.2); color: #9fe1cb; }

.preplay-chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }

/* 里程碑弹窗 */
.preplay-milestone { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); z-index: 110; display: none; flex-direction: column; align-items: center; justify-content: center; }
.preplay-milestone.active { display: flex; }
.preplay-milestone-card { width: 300px; background: linear-gradient(135deg, #1a1a3e, #2a1a4e); border: 1px solid rgba(123,104,238,0.3); border-radius: 20px; padding: 28px 24px; text-align: center; }
.preplay-milestone-icon { font-size: 40px; margin-bottom: 12px; }
.preplay-milestone-text { font-size: 15px; color: #e0dcf5; line-height: 1.6; margin-bottom: 20px; }
.preplay-milestone-btns { display: flex; gap: 8px; }
.preplay-milestone-btn { flex: 1; padding: 10px; border-radius: 12px; font-size: 13px; cursor: pointer; border: 1px solid; font-weight: 500; background: none; }
.preplay-milestone-btn.accept { border-color: rgba(123,104,238,0.5); color: #c4b5fd; }
.preplay-milestone-btn.accept:active { background: rgba(123,104,238,0.2); }
.preplay-milestone-btn.wait { border-color: rgba(184,134,11,0.4); color: #fac775; }
.preplay-milestone-btn.reject { border-color: rgba(236,64,122,0.4); color: #f4a0b5; }

/* 预演报告 */
.preplay-report { display: none; padding: 0 0 80px 0; width: 100%; flex: 1 1 0%; overflow-y: auto; position: relative; box-sizing: border-box; background: linear-gradient(135deg, #0a0a2e, #1a0a3e); }
.preplay-report.active { display: block; min-height: 0; }
.preplay-report-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 20px 16px; margin-bottom: 12px; }
.preplay-report-title { font-size: 15px; font-weight: 500; color: #e0dcf5; text-align: center; margin-bottom: 16px; }
.preplay-report-score { text-align: center; margin: 16px 0; }
.preplay-report-score-num { font-size: 48px; font-weight: 500; color: #c4b5fd; }
.preplay-report-score-label { font-size: 12px; color: rgba(255,255,255,0.4); }
.preplay-report-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 13px; color: rgba(255,255,255,0.6); }
.preplay-report-item:last-child { border-bottom: none; }
.preplay-report-item .val { color: #c4b5fd; font-weight: 500; }
.preplay-report-section { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 12px; }
.preplay-report-section b { color: #c4b5fd; }
.preplay-report-close { display: block; width: 100%; padding: 12px; border-radius: 12px; border: 1px solid rgba(123,104,238,0.4); background: none; color: #c4b5fd; font-size: 14px; cursor: pointer; margin-top: 8px; }

/* ===== 新版预演报告 - 游戏化评级 ===== */
.preplay-report-gamified { width: 100%; }
.prg-header {
  text-align: center;
  padding: 40px 20px 32px;
  background: linear-gradient(180deg, rgba(123,104,238,0.2) 0%, rgba(212,83,126,0.08) 50%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.prg-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(123,104,238,0.15) 0%, transparent 70%);
  animation: prg-holo 4s ease-in-out infinite;
}
@keyframes prg-holo {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}
.prg-icon-wrap { width: 48px; height: 48px; margin: 0 auto 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; position: relative; z-index: 1; }
.prg-icon-wrap.tier-sun { background: linear-gradient(135deg, #FFD700, #FFA500); box-shadow: 0 4px 20px rgba(255,215,0,0.4); }
.prg-icon-wrap.heart { background: linear-gradient(135deg, #E8453C, #FF6B9D); box-shadow: 0 4px 20px rgba(232,69,60,0.3); }
.prg-icon-wrap.warn { background: linear-gradient(135deg, #F59E0B, #FBBF24); box-shadow: 0 4px 20px rgba(245,158,11,0.3); }
.prg-icon-wrap.fail { background: linear-gradient(135deg, #6B7280, #9CA3AF); box-shadow: 0 4px 20px rgba(107,114,128,0.2); }
.prg-score-big { font-size: 72px; font-weight: 800; line-height: 1; position: relative; z-index: 1; }
.prg-score-big.sun { color: #FDE68A; }
.prg-score-big.heart { color: #F9A8D4; }
.prg-score-big.warn { color: #FCD34D; }
.prg-score-big.grow { color: #C4B5FD; }
.prg-score-big.fail { color: #D1D5DB; }
.prg-label { font-size: 15px; color: rgba(255,255,255,0.55); margin-top: 6px; font-weight: 600; position: relative; z-index: 1; }
.prg-partner { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 8px; position: relative; z-index: 1; }

/* 评级表 */
.prg-table { margin: 16px 16px 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.prg-row { display: grid; grid-template-columns: 26px 58px 1fr auto; align-items: center; padding: 12px 14px; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.06); transition: all 0.25s; }
.prg-row:last-child { border-bottom: none; }
.prg-row.active { background: rgba(123,104,238,0.12); }
.prg-row.active .prg-row-range { font-weight: 700; }
.pgr-col-range { font-size: 14px; font-weight: 600; color: #EDE9FE; width: 58px; text-align: center; }
.pgr-emoji { font-size: 18px; width: 26px; text-align: center; flex-shrink: 0; }
.pgr-tier { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.8); flex: 1; text-align: left; }
.pgr-action { font-size: 12px; color: rgba(255,255,255,0.4); text-align: right; white-space: nowrap; }
.prg-row.active .pgr-action { color: #c4b5fd; font-weight: 500; }

/* 分析摘要 - 五维雷达图 */
.prg-analysis { margin: 16px 16px 0; background: rgba(255,255,255,0.04); border-radius: 16px; padding: 16px; border: 1px solid rgba(255,255,255,0.06); }
.prg-a-title { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.6); margin-bottom: 14px; letter-spacing: 0.5px; }
.prg-radar-wrap { display: flex; justify-content: center; margin: 8px 0 16px; }
.prg-radar-wrap canvas { display: block; }
.prg-radar-legend { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.prg-radar-legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.6); padding: 6px 12px; border-radius: 20px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); }
.prg-radar-legend-item b { font-weight: 700; }
.prg-radar-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* 解锁区域（嵌入滚动内容中） */
.prg-unlock-section { margin-top: 16px; }
.prg-unlock-section .prg-btn-unlock { margin-bottom: 0; }

/* 底部操作栏（三按钮均分） */
.prg-actions { padding: 16px; margin-top: 8px; }
.prg-btns-sub { display: flex; gap: 10px; }
.prg-btn-sub { flex: 1; padding: 12px 8px; border-radius: 14px; border: none; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; text-align: center; background: linear-gradient(135deg, #7B68EE, #D4537E); box-shadow: 0 4px 16px rgba(123,104,238,0.3); transition: all 0.2s; }
.prg-btn-sub:active { transform: scale(0.97); opacity: 0.9; }
.prg-btn-share { background: linear-gradient(135deg, #6366f1, #8b5cf6); box-shadow: 0 4px 16px rgba(99,102,241,0.3); }
.prg-btn-chat { background: linear-gradient(135deg, #D4537E, #f472b6); box-shadow: 0 4px 16px rgba(212,83,126,0.3); }

/* ===== 关系预演 - 第一关：硬指标对照表 ===== */
.stage1-checkup { display: none; flex-direction: column; flex: 1 1 0%; min-height: 0; overflow-y: auto; }
.stage1-checkup.active { display: flex; }
.s1-header { text-align: center; padding: 20px 16px 16px; }
.s1-badge { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; background: linear-gradient(135deg, rgba(123,104,238,0.12), rgba(212,83,126,0.12)); color: #7B68EE; margin-bottom: 8px; }
.s1-title { font-size: 18px; font-weight: 700; color: #333; }
.s1-subtitle { font-size: 12px; color: #999; margin-top: 4px; }

/* 对照表 */
.s1-table { margin: 0 14px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(123,104,238,0.15); background: #fff; }
.s1-row { display: flex; align-items: center; padding: 11px 12px; gap: 8px; border-bottom: 1px solid #f5f3ff; transition: background 0.2s; }
.s1-row:last-child { border-bottom: none; }
.s1-label { font-size: 13px; color: #888; min-width: 52px; flex-shrink: 0; }
.s1-val { font-size: 13px; color: #333; font-weight: 500; min-width: 72px; flex: 1; text-align: center; }
.s1-val-guest { color: #D4537E; }
.s1-match-icon { font-size: 16px; width: 24px; text-align: center; flex-shrink: 0; }
.s1-row.pass { background: rgba(16,185,129,0.04); }
.s1-row.warn { background: rgba(245,158,11,0.04); }
.s1-row.fail { background: rgba(239,68,68,0.04); }

/* 结果区 */
.s1-result { margin: 14px; padding: 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(123,104,238,0.06), rgba(212,83,126,0.06)); border: 1px solid rgba(123,104,238,0.12); text-align: center; }
.s1-score-big { font-size: 40px; font-weight: 700; color: #7B68EE; }
.s1-score-label { font-size: 12px; color: #999; margin-top: 2px; }
.s1-verdict { font-size: 14px; font-weight: 600; margin-top: 8px; padding: 6px 12px; border-radius: 8px; display: inline-block; }
.s1-verdict.pass { background: rgba(16,185,129,0.1); color: #10B981; }
.s1-verdict.fail { background: rgba(239,68,68,0.1); color: #EF4444; }
.s1-tip { font-size: 12px; color: #aaa; margin-top: 10px; line-height: 1.5; }

/* 第一关底部按钮 */
.s1-actions { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 16px; background: linear-gradient(180deg, transparent, rgba(255,255,255,0.95) 30%); }
.s1-btn-enter { display: block; width: 100%; padding: 13px; border-radius: 13px; border: none; background: linear-gradient(135deg, #7B68EE, #a78bfa); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 14px rgba(123,104,238,0.3); }
.s1-btn-enter:disabled { background: #ccc; box-shadow: none; cursor: not-allowed; }
.s1-btn-back { display: block; width: 100%; padding: 10px; border-radius: 11px; border: 1px solid rgba(123,104,238,0.2); background: none; color: #999; font-size: 13px; cursor: pointer; margin-top: 8px; }

/* ===== 关系预演 - 第二关：话题问答闯关 ===== */
.stage2-quiz { display: none; flex-direction: column; flex: 1 1 0%; min-height: 0; }
.stage2-quiz.active { display: flex; }

/* 顶部进度 */
.s2-progress { padding: 16px 16px 12px; border-bottom: 1px solid #f5f3ff; flex-shrink: 0; }
.s2-progress-bar { display: flex; gap: 6px; margin-top: 10px; }
.s2-dot { flex: 1; height: 4px; border-radius: 2px; background: #e5e2f0; transition: all 0.3s; }
.s2-dot.done { background: linear-gradient(90deg, #7B68EE, #a78bfa); }
.s2-dot.current { background: linear-gradient(90deg, #D4537E, #f472b6); height: 6px; margin-top: -1px; border-radius: 3px; }

/* 问题区域 */
.s2-question-area { flex: 1; overflow-y: auto; padding: 20px 16px; min-height: 0; }
.s2-q-topic { display: inline-block; padding: 3px 10px; border-radius: 10px; font-size: 11px; font-weight: 600; color: #D4537E; background: rgba(212,83,126,0.08); margin-bottom: 12px; }
.s2-q-title { font-size: 17px; font-weight: 700; color: #333; line-height: 1.4; margin-bottom: 6px; }
.s2-q-desc { font-size: 12px; color: #999; line-height: 1.5; margin-bottom: 20px; }
.s2-q-avatar-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 20px; font-size: 12px; color: #bbb; }
.s2-q-avatar-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.s2-q-avatar-icon.user { background: linear-gradient(135deg, #7B68EE, #a78bfa); color: #fff; }
.s2-q-avatar-icon.guest { background: linear-gradient(135deg, #E8453C, #FF6B9D); color: #fff; }

/* 选项按钮 */
.s2-options { display: flex; flex-direction: column; gap: 10px; }
.s2-opt { padding: 14px 16px; border-radius: 13px; border: 2px solid #edeaf5; background: #fff; cursor: pointer; text-align: left; transition: all 0.2s; display: flex; align-items: center; gap: 12px; }
.s2-opt:active { transform: scale(0.98); }
.s2-opt-letter { width: 28px; height: 28px; border-radius: 50%; background: #f5f3ff; color: #7B68EE; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.s2-opt-text { font-size: 14px; color: #444; font-weight: 500; }
.s2-opt-text-sub { font-size: 11px; color: #aaa; margin-top: 2px; }

/* 已选择状态 */
.s2-opt.selected-user { border-color: #7B68EE; background: rgba(123,104,238,0.05); }
.s2-opt.selected-user .s2-opt-letter { background: #7B68EE; color: #fff; }
.s2-opt.selected-guest { border-color: #D4537E; background: rgba(212,83,126,0.05); opacity: 0.7; }
.s2-match-result { text-align: center; padding: 12px; margin-top: 8px; border-radius: 12px; font-size: 13px; font-weight: 600; }
.s2-match-result.match { background: rgba(16,185,129,0.08); color: #10B981; }
.s2-match-result.mismatch { background: rgba(239,68,68,0.06); color: #EF4444; }

/* 第二关底部 */
.s2-actions { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 16px; background: linear-gradient(180deg, transparent, #fff 40%); flex-shrink: 0; }
.s2-btn-next { display: block; width: 100%; padding: 13px; border-radius: 13px; border: none; background: linear-gradient(135deg, #7B68EE, #a78bfa); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 14px rgba(123,104,238,0.3); }
.s2-btn-next:disabled { background: #ddd; box-shadow: none; cursor: not-allowed; }
.s2-btn-next.finish { background: linear-gradient(135deg, #E8453C, #FF6B9D); box-shadow: 0 4px 14px rgba(232,69,60,0.3); }

/* 关卡完成/总结页 */
.s2-summary { display: none; flex-direction: column; flex: 1 1 0%; min-height: 0; overflow-y: auto; padding: 24px 16px; }
.s2-summary.active { display: flex; }
.s2-sum-title { font-size: 18px; font-weight: 700; color: #333; text-align: center; margin-bottom: 16px; }
.s2-sum-item { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #f5f3ff; gap: 10px; }
.s2-sum-idx { width: 24px; height: 24px; border-radius: 50%; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; background: #7B68EE; }
.s2-sum-topic { font-size: 13px; color: #555; flex: 1; }
.s2-sum-status { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.s2-sum-status.match { background: rgba(16,185,129,0.1); color: #10B981; }
.s2-sum-status.mismatch { background: rgba(239,68,68,0.08); color: #EF4444; }

/* ===== 关系预演 v2 新增样式 ===== */

/* --- 说明页 Welcome --- */
.preplay-chat-body { flex: 1; overflow-y: auto; padding: 0 16px 20px; display: flex; flex-direction: column; }
.prw-welcome { padding: 0 0 20px; color: rgba(255,255,255,0.85); }
.prw-hero { text-align: center; padding: 20px 20px 16px; background: linear-gradient(180deg, rgba(123,104,238,0.18), transparent); border-radius: 0 0 24px 24px; margin-bottom: 8px; }
.prw-hero-icon { font-size: 52px; margin-bottom: 10px; }
.prw-hero-sub { font-size: 15px; color: rgba(255,255,255,0.6); margin-top: 4px; line-height: 1.5; }

.prw-section { margin: 18px 0 0; }
.prw-section-title { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.55); letter-spacing: 1px; margin-bottom: 12px; }

.prw-value-list { display: flex; flex-direction: column; gap: 10px; }
.prw-value-item { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,0.05); border-radius: 12px; padding: 14px; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.75); }
.prw-vi-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.prw-value-item b { color: #e0dcff; }

.prw-dims { display: flex; flex-wrap: wrap; gap: 8px; }
.prw-dim-item { flex: 0 0 calc(50% - 4px); display: flex; flex-direction: column; align-items: center; text-align: center; background: rgba(255,255,255,0.04); border-radius: 12px; padding: 14px 8px; border: 1px solid rgba(255,255,255,0.06); }
.prw-dim-item:last-child { flex: 0 0 100%; }
.prw-dim-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 8px; }
.prw-dim-name { font-size: 15px; font-weight: 700; color: #e0dcff; margin-bottom: 5px; }
.prw-dim-desc { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.5; }

.prw-gets { display: flex; flex-direction: column; gap: 8px; }
.prw-get-item { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.6; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,0.04); }
.prw-get-highlight { background: rgba(123,104,238,0.12); border: 1px solid rgba(123,104,238,0.25); color: #c4b5fd; }
.prw-get-highlight b { color: #e0dcff; }

.prw-steps { display: flex; flex-direction: column; gap: 12px; }
.prw-step { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255,255,255,0.75); }
.prw-step-num { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #7B68EE, #a78bfa); color: #fff; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.prw-step b { color: #e0dcff; }

.prw-actions { margin-top: 24px; text-align: center; }
.prw-btn-start { display: block; width: 100%; padding: 18px; border-radius: 16px; border: none; background: linear-gradient(135deg, #7B68EE, #D4537E); color: #fff; font-size: 18px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 24px rgba(123,104,238,0.35); letter-spacing: 1px; }
.prw-btn-start:active { transform: scale(0.98); opacity: 0.92; }
.prw-btn-tip { font-size: 13px; color: rgba(255,255,255,0.35); margin-top: 10px; }

/* --- 5维深度扫描 pds --- */
/* 横向步骤标签 */
.pds-steps { display: flex; align-items: center; justify-content: center; gap: 2px; padding: 10px 8px 14px; flex-wrap: wrap; }
.pds-step { display: flex; flex-direction: column; align-items: center; gap: 2px; opacity: 0.35; transition: all 0.3s; }
.pds-step.done { opacity: 0.7; }
.pds-step.current { opacity: 1; transform: scale(1.08); }
.pds-step-icon { font-size: 16px; }
.pds-step-name { font-size: 10px; color: #e0dcff; white-space: nowrap; }
.pds-step-arrow { color: rgba(255,255,255,0.2); font-size: 12px; margin: 0 2px; }

/* 突发剧情卡 */
.pds-twist-card { background: linear-gradient(135deg, rgba(123,104,238,0.12), rgba(212,83,126,0.08)); border: 1px solid rgba(123,104,238,0.25); border-radius: 16px; padding: 20px; margin-bottom: 12px; }
.pds-twist-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; background: rgba(123,104,238,0.2); color: #c4b5fd; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.pds-twist-title { font-size: 17px; font-weight: 700; color: #e0dcff; margin-bottom: 8px; }
.pds-twist-scene { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 16px; }
.pds-twist-opts { display: flex; flex-direction: column; gap: 8px; }
.pds-twist-opt { padding: 13px 16px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); font-size: 15px; cursor: pointer; transition: all 0.2s; }
.pds-twist-opt:active { background: rgba(123,104,238,0.2); border-color: rgba(123,104,238,0.4); transform: scale(0.98); }

.pds-progress-wrap { padding: 12px 0 8px; }
.pds-progress-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; margin-bottom: 6px; }
.pds-progress-fill { height: 100%; background: linear-gradient(90deg, #7B68EE, #D4537E); border-radius: 2px; transition: width 0.5s; }
.pds-progress-text { font-size: 11px; color: rgba(255,255,255,0.35); text-align: right; }

.pds-dim-header { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,0.05); margin-bottom: 12px; }
.pds-dim-icon { font-size: 22px; flex-shrink: 0; }
.pds-dim-name { font-size: 15px; font-weight: 700; color: #e0dcff; }
.pds-dim-intro { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 2px; }

.pds-followup-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; background: rgba(168,85,247,0.2); color: #d8b4fe; font-size: 12px; font-weight: 600; margin-bottom: 10px; }

.pds-question-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 16px; margin-bottom: 12px; }
.pds-q-text { font-size: 16px; font-weight: 700; color: #e0dcff; line-height: 1.5; margin-bottom: 6px; }
.pds-q-desc { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.5; margin-bottom: 14px; }

.pds-avatar-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 14px; font-size: 12px; color: rgba(255,255,255,0.4); }
.pds-avatar-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pds-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.pds-avatar.user { background: linear-gradient(135deg, #7B68EE, #a78bfa); }
.pds-avatar.guest { background: linear-gradient(135deg, #E8453C, #FF6B9D); }
.pds-vs { font-size: 11px; color: rgba(255,255,255,0.25); font-weight: 600; }

.pds-opts { display: flex; flex-direction: column; gap: 8px; }
.pds-opt { padding: 12px 14px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); cursor: pointer; text-align: left; transition: all 0.2s; display: flex; align-items: center; gap: 10px; }
.pds-opt:active { transform: scale(0.98); }
.pds-opt-letter { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pds-opt-body { flex: 1; }
.pds-opt-text { font-size: 14px; color: rgba(255,255,255,0.85); font-weight: 500; }
.pds-opt-sub { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 2px; }
.pds-opt.selected-user { border-color: #7B68EE; background: rgba(123,104,238,0.12); }
.pds-opt.selected-user .pds-opt-letter { background: #7B68EE; color: #fff; }
.pds-opt.selected-guest { border-color: #D4537E; background: rgba(212,83,126,0.1); opacity: 0.75; }

.pds-match-result { text-align: center; padding: 10px; border-radius: 10px; font-size: 13px; font-weight: 600; margin-top: 8px; }
.pds-match-result.match { background: rgba(16,185,129,0.12); color: #34d399; }
.pds-match-result.mismatch { background: rgba(239,68,68,0.1); color: #fca5a5; }

.pds-btn-next { display: block; width: 100%; padding: 16px; border-radius: 13px; border: none; background: linear-gradient(135deg, #7B68EE, #a78bfa); color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 14px rgba(123,104,238,0.3); margin-top: 4px; }
.pds-btn-next:disabled { background: rgba(255,255,255,0.1); box-shadow: none; cursor: not-allowed; color: rgba(255,255,255,0.3); }
.pds-btn-next:not(:disabled):active { transform: scale(0.98); }

/* 维度洞察卡 */
.pds-insight-card { background: rgba(255,255,255,0.05); border-radius: 16px; padding: 18px; margin-bottom: 12px; }
.pds-insight-header { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.pds-insight-icon { font-size: 26px; flex-shrink: 0; }
.pds-insight-dim { font-size: 16px; font-weight: 700; color: #e0dcff; }
.pds-insight-score { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 3px; }
.pds-insight-text { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.7; }

/* --- 报告新增部分 --- */
.prg-conflicts { margin: 16px 16px 0; }
.prg-conflict-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 12px; background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.15); margin-bottom: 8px; }
.prg-conflict-num { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #F59E0B, #D4537E); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.prg-conflict-body { flex: 1; }
.prg-conflict-text { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.6; flex: 1; }
.prg-conflict-solution { font-size: 13px; color: #a78bfa; margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(167,139,250,0.2); line-height: 1.5; }

.prg-scripts { margin: 16px 16px 0; }
.prg-script-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 14px; margin-bottom: 10px; transition: all 0.3s; }
.prg-script-item:first-child { border-color: rgba(123,104,238,0.35); box-shadow: 0 2px 16px rgba(123,104,238,0.12); }
/* 第一个（最高概率）：粉紫柔光 */
.prg-script-item.prg-script-primary { border-color: rgba(196,181,253,0.45); box-shadow: 0 2px 20px rgba(196,181,253,0.15), inset 0 0 20px rgba(196,181,253,0.04); background: rgba(196,181,253,0.06); }
/* 后边两个（低概率）：统一降低饱和度 */
.prg-script-item.prg-script-secondary { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); }
.prg-script-item.prg-script-secondary .prg-script-name { color: rgba(255,255,255,0.6); }
.prg-script-item.prg-script-secondary .prg-script-desc { color: rgba(255,255,255,0.45); }
.prg-script-item.prg-script-secondary .prg-script-prob { color: rgba(196,181,253,0.5); }
.prg-script-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.prg-script-icon { font-size: 18px; }
.prg-script-prob { font-size: 16px; font-weight: 800; color: #c4b5fd; min-width: 44px; }
.prg-script-name { font-size: 15px; font-weight: 700; color: #e0dcff; }
.prg-script-desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.55; padding-left: 28px; }

.prg-timeline { margin: 16px 16px 0; position: relative; padding-left: 8px; }
.prg-timeline::before { content: ''; position: absolute; left: 3px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, rgba(123,104,238,0.5), rgba(212,83,126,0.3)); border-radius: 1px; }
/* 时间线合并容器——纵向轴线 + 全息流动光效 */
.prg-timeline-merged { margin: 16px 16px 0; position: relative; padding-left: 20px; }
.prg-timeline-merged::before { content: ''; position: absolute; left: 11px; top: 30px; bottom: 8px; width: 2px; background: linear-gradient(180deg, rgba(123,104,238,0.5), rgba(196,181,253,0.3), rgba(212,83,126,0.2)); border-radius: 1px; }
.prg-timeline-merged::after { content: ''; position: absolute; left: 7px; top: 30px; width: 10px; height: 40px; background: linear-gradient(180deg, rgba(196,181,253,0.6), transparent); border-radius: 10px; animation: prg-line-flow 3s ease-in-out infinite; pointer-events: none; }
@keyframes prg-line-flow { 0%, 100% { top: 30px; opacity: 0.4; } 70% { top: 60%; opacity: 0.7; } }
.prg-tl-item { display: flex; gap: 14px; align-items: flex-start; padding: 8px 0; }
.prg-tl-item:last-child { border-bottom: none; }
.prg-tl-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; box-shadow: 0 0 8px currentColor; position: relative; z-index: 1; }
.prg-tl-content { flex: 1; }
.prg-tl-phase { font-size: 15px; font-weight: 700; color: #e0dcff; margin-bottom: 4px; }
.prg-tl-desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* 短期→长期 连接引导 */
.prg-timeline-bridge { text-align: center; font-size: 13px; color: #a78bfa; padding: 10px 0 4px; border-top: 1px dashed rgba(167,139,250,0.2); margin-top: 10px; }

/* 关系基因卡片 */
.prg-gene { margin: 16px 16px 0; background: linear-gradient(135deg, rgba(123,104,238,0.1), rgba(236,72,153,0.06)); border: 1px solid rgba(123,104,238,0.2); border-radius: 16px; padding: 16px; }
.prg-gene-header { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.prg-gene-icon { font-size: 22px; }
.prg-gene-label { font-size: 13px; color: rgba(255,255,255,0.45); font-weight: 600; letter-spacing: 1px; }
.prg-gene-type { font-size: 26px; font-weight: 800; color: #c4b5fd; margin-bottom: 4px; }
.prg-gene-sub { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 10px; }
.prg-gene-desc { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 10px; }
.prg-gene-compat { font-size: 14px; color: #a78bfa; line-height: 1.6; background: rgba(123,104,238,0.12); border-radius: 12px; padding: 12px 14px; }

/* 时光机 */
.prg-timemachine { margin: 16px 16px 0; }
.prg-tm-section { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.prg-tm-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.prg-tm-tab { flex: 1; text-align: center; padding: 10px 0; border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer; background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.06); transition: all 0.25s; }
.prg-tm-tab.active { background: linear-gradient(135deg, #7B68EE, #D4537E); border-color: transparent; color: #fff; font-weight: 700; box-shadow: 0 4px 12px rgba(123,104,238,0.35); }
.prg-tm-content { background: rgba(255,255,255,0.04); border-radius: 14px; padding: 14px; border: 1px solid rgba(255,255,255,0.06); }
.prg-tm-header { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.prg-tm-mood { font-size: 18px; }
.prg-tm-label { font-size: 13px; font-weight: 700; color: #c4b5fd; background: rgba(123,104,238,0.2); padding: 4px 10px; border-radius: 10px; }
.prg-tm-title { font-size: 20px; font-weight: 700; color: #e0dcff; margin-bottom: 8px; }
.prg-tm-desc { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.7; }

/* 解锁大按钮 - 页面视觉最高点 */
.prg-unlock-section { margin: 16px 16px 0; }
.prg-unlock-copy { text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.prg-btn-unlock-big { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 16px 20px; border-radius: 20px; border: none; background: linear-gradient(135deg, #7B68EE, #D4537E); color: #fff; cursor: pointer; box-shadow: 0 6px 24px rgba(123,104,238,0.45), 0 0 40px rgba(212,83,126,0.2); margin-bottom: 10px; position: relative; overflow: hidden; font-size: 17px; font-weight: 700; }
.prg-btn-unlock-big::after { content: ''; position: absolute; top: -30%; left: -80%; width: 60%; height: 160%; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 45%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.12) 55%, transparent 60%); animation: prg-pearl-shine 2.5s ease-in-out infinite; }
@keyframes prg-pearl-shine { 0% { left: -80%; } 100% { left: 120%; } }
.prg-btn-unlock-big:active { transform: scale(0.99); }
.prg-unlock-left { flex: 1; display: flex; align-items: center; gap: 12px; }
.prg-unlock-lock-icon { font-size: 20px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }
.prg-unlock-main { font-size: 17px; font-weight: 700; }
.prg-unlock-sub { font-size: 13px; opacity: 0.8; margin-top: 3px; text-align: left; }
.prg-unlock-right { text-align: right; flex-shrink: 0; padding-left: 12px; border-left: 1px solid rgba(255,255,255,0.2); }
.prg-unlock-price { font-size: 22px; font-weight: 800; }
.prg-unlock-tag { font-size: 11px; opacity: 0.7; margin-top: 2px; }

/* 解锁成功卡片 */
.prg-unlocked-card { background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.3); border-radius: 14px; padding: 16px; margin-bottom: 10px; }
.prg-unlocked-title { font-size: 14px; font-weight: 700; color: #34d399; margin-bottom: 12px; }
.prg-unlocked-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.prg-unlocked-label { font-size: 12px; color: rgba(255,255,255,0.4); min-width: 28px; }
.prg-unlocked-val { flex: 1; font-size: 14px; font-weight: 600; color: #e0dcff; }
.prg-copy-btn { padding: 4px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6); font-size: 12px; cursor: pointer; }
.prg-unlocked-tip { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 10px; line-height: 1.5; }

/* icon wrap 修正（新报告用 tier- 前缀）*/
.prg-icon-wrap.sun, .prg-icon-wrap.tier-sun { background: linear-gradient(135deg, #FDE68A, #FBBF24); box-shadow: 0 4px 20px rgba(253,230,138,0.4); }
.prg-icon-wrap.heart { background: linear-gradient(135deg, #c4b5fd, #7B68EE); box-shadow: 0 4px 20px rgba(196,181,253,0.4); }
.prg-icon-wrap.warn { background: linear-gradient(135deg, #c4b5fd, #a78bfa); box-shadow: 0 4px 20px rgba(196,181,253,0.35); }
.prg-icon-wrap.grow { background: linear-gradient(135deg, #818cf8, #6366f1); box-shadow: 0 4px 20px rgba(129,140,248,0.4); }
.prg-icon-wrap.fail { background: linear-gradient(135deg, #9CA3AF, #6B7280); box-shadow: 0 4px 20px rgba(156,163,175,0.25); }

/* ===== 分身日记子页面 ===== */
.diary-page {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: #fff; z-index: 50; display: none; flex-direction: column;
}
.diary-page.active { display: flex; }
.diary-header {
  display: flex; align-items: center; padding: 48px 16px 12px;
  gap: 10px; border-bottom: 1px solid #f0edff; flex-shrink: 0;
}
.diary-back {
  width: 34px; height: 34px; border-radius: 50%;
  background: #f8f7fc; border: 1px solid #e8e4f5;
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #7B68EE;
}
.diary-title { font-size: 17px; font-weight: 600; color: #333; flex: 1; }
.diary-body { flex: 1; overflow-y: auto; padding: 16px; }
#guestDetailBody { padding: 0; } /* 嘉宾详情去掉padding让照片满宽 */
.diary-body::-webkit-scrollbar { display: none; }

/* ===== 设置页 ===== */
.set-section-title {
  font-size: 15px; font-weight: 600; color: #999;
  padding: 8px 4px 6px; margin-top: 6px;
}
.set-section-title:first-child { margin-top: 0; padding-top: 0; }
.set-item {
  display: flex; align-items: center; padding: 14px 12px;
  background: #faf9ff; border: 1px solid #edeaf5;
  border-radius: 12px; margin-bottom: 6px; cursor: pointer;
  gap: 10px; transition: all 0.15s;
}
.set-item:active { background: #f5f0ff; }
.set-item-icon { font-size: 18px; width: 28px; text-align: center; flex-shrink: 0; }
.set-item-text { flex: 1; font-size: 17px; color: #333; font-weight: 500; }
.set-item-hint { font-size: 13px; color: #aaa; margin-right: 2px; white-space: nowrap; }
.set-item-arrow { color: #ccc; font-size: 13px; flex-shrink: 0; }

/* ===== 帮助中心 ===== */
.help-faq-item {
  background: #faf9ff; border: 1px solid #edeaf5;
  border-radius: 12px; margin-bottom: 8px;
  overflow: hidden; cursor: pointer; transition: all 0.2s;
}
.help-faq-item:active { background: #f5f0ff; }
.help-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 16px; font-size: 17px; color: #333; font-weight: 500;
}
.help-faq-arrow {
  font-size: 13px; color: #ccc; transition: transform 0.2s; flex-shrink: 0; margin-left: 8px;
}
.help-faq-item.open .help-faq-arrow { transform: rotate(90deg); color: #7B68EE; }
.help-faq-a {
  padding: 0 16px 15px; font-size: 15px; color: #666;
  line-height: 1.7; display: none; border-top: 1px solid #f0edff;
}
.help-faq-item.open .help-faq-a { display: block; }

/* ===== 旧版日记卡片样式 ===== */
.diary-date-group { margin-bottom: 16px; }
.diary-date-label {
  font-size: 12px; font-weight: 600; color: #999; margin-bottom: 8px;
  padding-left: 4px;
}
.diary-card {
  background: linear-gradient(135deg, #faf8ff 0%, #fff5fb 50%, #fff8f5 100%);
  border: 1px solid #edeaf5;
  border-radius: 16px; padding: 16px; margin-bottom: 12px;
  cursor: pointer; transition: all 0.2s;
  position: relative; overflow: hidden;
}
.diary-card:active { transform: scale(0.98); border-color: #7B68EE; }
.diary-card::before {
  content: ''; position: absolute; top: -20px; right: -20px;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(123,104,238,0.08), transparent 70%);
  border-radius: 50%;
}
.diary-card-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.diary-card-time { font-size: 11px; color: #bbb; margin-left: auto; }
.diary-card-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #7B68EE, #9370DB);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff;
}
.diary-card-name { font-size: 14px; font-weight: 600; color: #534AB7; }
.diary-card-title {
  font-size: 15px; font-weight: 600; color: #333; margin-bottom: 8px;
  line-height: 1.4;
}
.diary-card-content {
  font-size: 13px; color: #666; line-height: 1.7; margin-bottom: 10px;
}
.diary-card-footer {
  display: flex; align-items: center; gap: 8px;
  padding-top: 8px; border-top: 1px dashed #edeaf5;
}
.diary-mood-tag {
  padding: 3px 10px; border-radius: 10px;
  font-size: 11px; font-weight: 500;
}
.diary-mood-tag.happy { background: #FFF0F5; color: #D4537E; }

/* ===== 嘉宾详情-沉浸式照片轮播 ===== */
.gd-gallery {
  position: relative; width: 100%; height: 320px;
  overflow: hidden; background: #1a1a2e;
}
.gd-gallery-slides {
  display: flex; height: 100%;
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
}
.gd-gallery-slide {
  min-width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.gd-gallery-img {
  width: 100%; height: 100%;
  object-fit: contain;
  cursor: pointer;
}
.gd-gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.18); border: none;
  color: #fff; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  z-index: 5; transition: background 0.2s;
}
.gd-gallery-nav.prev { left: 10px; }
.gd-gallery-nav.next { right: 10px; }
.gd-gallery-nav:active { background: rgba(255,255,255,0.4); }
.gd-gallery-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 5;
}
.gd-gallery-dot {
  width: 6px; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.35);
  transition: all 0.3s;
}
.gd-gallery-dot.active { background: #fff; width: 20px; }
.gd-gallery-counter {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,0.45); color: #fff;
  padding: 3px 10px; border-radius: 10px;
  font-size: 12px; z-index: 5; font-weight: 500;
}

/* 嘉宾详情-匹配度 & 认证 */
.gd-match-row {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 16px 16px 6px;
}
.gd-match-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 18px; border-radius: 20px;
  background: linear-gradient(135deg, #FFF0F5, #FFF5F0);
  border: 1.5px solid rgba(212,83,126,0.25);
  font-size: 14px; font-weight: 700; color: #D4537E;
  box-shadow: 0 2px 10px rgba(212,83,126,0.08);
}
.gd-score-num {
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, #D4537E, #7B68EE);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gd-verify {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 4px 10px; border-radius: 10px;
  background: #E8F5E9; color: #2E7D32;
  font-size: 11px; font-weight: 600;
}

/* 嘉宾详情-信息卡片 */
.gd-card {
  background: #fff; border-radius: 16px;
  padding: 16px; margin: 0 16px 10px;
  border: 1px solid #f0edff;
  box-shadow: 0 2px 12px rgba(123,104,238,0.03);
}
.gd-card-title {
  font-size: 14px; font-weight: 700; color: #534AB7;
  margin-bottom: 12px; display: flex; align-items: center; gap: 6px;
}
.gd-info-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.gd-info-cell {
  background: #faf9ff; border-radius: 10px;
  padding: 10px 12px;
}
.gd-info-cell .gd-info-label {
  font-size: 11px; color: #aaa; margin-bottom: 3px;
}
.gd-info-cell .gd-info-value {
  font-size: 14px; font-weight: 600; color: #333;
}
.gd-tags {
  display: flex; flex-wrap: wrap; gap: 7px;
}
.gd-tag {
  padding: 6px 13px; border-radius: 14px;
  font-size: 12px; font-weight: 500; line-height: 1.3;
}
.gd-tag.hobby {
  background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
  color: #E65100;
}
.gd-tag.personality {
  background: linear-gradient(135deg, #EDE7F6, #D1C4E9);
  color: #4527A0;
}
.gd-tag.mate-req {
  background: linear-gradient(135deg, #FCE4EC, #F8BBD0);
  color: #C2185B;
}
.gd-bio {
  font-size: 13px; color: #555; line-height: 1.85;
  background: linear-gradient(135deg, rgba(123,104,238,0.03), rgba(212,83,126,0.03));
  padding: 14px; border-radius: 12px;
}
.gd-highlight {
  color: #D4537E; font-weight: 600;
}

/* 嘉宾详情-底部安全区 */
.gd-bottom-safe {
  height: 20px;
}
.diary-mood-tag.warm { background: #FFF8E1; color: #B8860B; }
.diary-mood-tag.think { background: #F5F0FF; color: #7B68EE; }
.diary-mood-tag.move { background: #E1F5EE; color: #1D9E75; }
.diary-mood-tag.sad { background: #f5f5f5; color: #999; }
.diary-card-likes { font-size: 11px; color: #bbb; margin-left: auto; }
.diary-lock-hint {
  text-align: center; padding: 20px 16px;
  font-size: 12px; color: #999; line-height: 1.6;
}
.diary-lock-hint b { color: #7B68EE; }
/* 日记展开全文遮罩 */
.diary-detail-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.45); z-index: 52; display: none;
  align-items: center; justify-content: center;
}
.diary-detail-overlay.active { display: flex; }
.diary-detail-panel {
  width: 92%; max-width: 340px; max-height: 80vh;
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,0.25);
  display: flex; flex-direction: column;
  animation: diarySlideUp 0.35s ease-out;
}
@keyframes diarySlideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.diary-detail-header {
  padding: 20px 18px 14px;
  background: linear-gradient(135deg, #534AB7, #7B68EE);
  display: flex; align-items: center; gap: 10px;
}
.diary-detail-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
}
.diary-detail-info { flex: 1; }
.diary-detail-name { font-size: 14px; font-weight: 600; color: #fff; }
.diary-detail-time { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.diary-detail-close {
  width: 28px; height: 28px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.15); color: #fff; font-size: 16px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.diary-detail-body {
  flex: 1; overflow-y: auto; padding: 18px;
}
.diary-detail-body::-webkit-scrollbar { display: none; }
.diary-detail-title {
  font-size: 17px; font-weight: 700; color: #333;
  margin-bottom: 12px; line-height: 1.5;
}
.diary-detail-text {
  font-size: 14px; color: #555; line-height: 1.8; white-space: pre-wrap;
}
.diary-detail-footer {
  padding: 14px 18px 24px;
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid #f0edff;
}
.diary-detail-reaction {
  flex: 1; padding: 10px; border-radius: 14px; text-align: center;
  font-size: 13px; font-weight: 500; cursor: pointer;
  border: 1px solid #e8e4f5; background: #fff; color: #666;
}
.diary-detail-reaction:active { background: #f5f0ff; color: #7B68EE; }
/* 分身日记入口卡片（放在分身视图内） */
.diary-entry-card {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 18px 16px; border-radius: 16px;
  border: 2px solid rgba(123,104,238,0.25);
  background: linear-gradient(135deg, rgba(123,104,238,0.06), rgba(212,83,126,0.06));
  cursor: pointer; margin-bottom: 12px;
  transition: all 0.25s; position: relative; overflow: hidden;
}
.diary-entry-card::before {
  content: ''; position: absolute; top: -15px; right: -15px;
  width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(123,104,238,0.1), transparent 70%);
  border-radius: 50%;
}
.diary-entry-card:active { transform: scale(0.97); border-color: #7B68EE; }
.diary-entry-icon {
  width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(135deg, #7B68EE, #D4537E);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(123,104,238,0.3);
}
.diary-entry-info { flex: 1; min-width: 0; }
.diary-entry-title { font-size: 18px; font-weight: 700; color: #333; }

/* 【v20260725-2358】分身日报·信纸版（替代旧的紫色渐变卡）
   视觉目的：与下面 .diary-card 拉开层次，呈现"真人写日记"的温度
   形态：米白底 + 暖色书脊线 + 手写感字体 + 段落分明 + 金色印章建议
*/
.dr-paper {
  background: #FFFCF5;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.0) 0%, rgba(255,252,245,0.0) 100%),
    repeating-linear-gradient(180deg, transparent 0px, transparent 30px, rgba(180,160,120,0.10) 30px, rgba(180,160,120,0.10) 31px);
  border-radius: 12px;
  padding: 18px 20px 16px 24px;
  margin: 0 0 18px 0;
  color: #3a3a3a;
  box-shadow: 0 4px 16px rgba(120,90,40,0.10);
  position: relative;
  border-left: 4px solid #E8A87C;  /* 暖橙色书脊线 */
  font-family: 'KaiTi', 'STKaiti', '楷体', 'PingFang SC', serif;
}
/* 右上角小书签 */
.dr-paper::before {
  content: 'DIARY';
  position: absolute;
  top: 12px; right: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(180,120,60,0.4);
  font-family: -apple-system, sans-serif;
}
.dr-paper-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(180,160,120,0.4);
}
.dr-paper-icon { font-size: 26px; line-height: 1; }
.dr-paper-meta { flex: 1; }
.dr-paper-title {
  font-size: 16px; font-weight: 700; color: #6b4f2a;
  font-family: 'KaiTi', 'STKaiti', '楷体', serif;
  letter-spacing: 1px;
}
.dr-paper-date {
  font-size: 11px; color: #a08a6a; margin-top: 2px;
  font-family: -apple-system, sans-serif;
}
.dr-paper-stats {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: #8a7050;
  font-family: -apple-system, sans-serif;
  padding: 6px 10px;
  background: rgba(232,168,124,0.08);
  border-radius: 8px;
  margin-bottom: 14px;
}
.dr-paper-stats b { color: #6b4f2a; font-size: 14px; font-weight: 800; margin: 0 2px; }

.dr-paper-body { line-height: 1.95; }
.dr-para { margin: 0 0 12px 0; }
.dr-greeting {
  font-size: 15px; color: #5a4630; font-weight: 600;
  border-left: 3px solid #E8A87C; padding-left: 10px;
  background: rgba(232,168,124,0.06);
  padding-top: 6px; padding-bottom: 6px;
  border-radius: 0 6px 6px 0;
}
.dr-body-text {
  font-size: 14.5px; color: #3a3a3a;
  text-align: justify;
  text-indent: 2em;  /* 中文段落首行缩进 */
}
.dr-body-text::first-letter {
  font-size: 22px; font-weight: 700; color: #6b4f2a;
  margin-right: 2px;
}
.dr-highlight {
  font-size: 14px; color: #6b4f2a;
  background: linear-gradient(180deg, rgba(255,243,205,0.5), rgba(255,243,205,0.2));
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 3px solid #F4B860;
}
.dr-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  background: #F4B860; color: #fff;
  padding: 1px 6px; border-radius: 3px;
  margin-right: 6px;
  font-family: -apple-system, sans-serif;
  vertical-align: middle;
  letter-spacing: 0.5px;
}

.dr-paper-suggestion {
  margin: 14px 0 6px 0;
  background: linear-gradient(135deg, #FFF6E5, #FFE9C8);
  border: 1.5px solid #E8A87C;
  border-radius: 8px;
  padding: 10px 14px;
  position: relative;
  transform: rotate(-0.5deg);
  box-shadow: 1px 2px 6px rgba(180,120,60,0.15);
}
.dr-suggestion-label {
  display: inline-block;
  font-size: 10px; font-weight: 800;
  color: #C75B39;
  background: #fff;
  border: 1px solid #C75B39;
  padding: 1px 6px; border-radius: 3px;
  margin-bottom: 4px;
  font-family: -apple-system, sans-serif;
  letter-spacing: 1px;
}
.dr-suggestion-text {
  font-size: 13.5px; color: #6b4f2a; line-height: 1.7;
  font-family: 'KaiTi', 'STKaiti', '楷体', serif;
  font-weight: 600;
}
.dr-paper-sign {
  text-align: right;
  font-size: 12px; color: #a08a6a;
  margin-top: 10px; padding-top: 8px;
  border-top: 1px dashed rgba(180,160,120,0.3);
  font-style: italic;
  font-family: 'KaiTi', 'STKaiti', '楷体', serif;
}

/* 兼容：旧 .daily-report-card 类名也保留兜底（万一有缓存） */
.daily-report-card { display: none; }
  white-space: pre-wrap;
}
.diary-entry-desc { font-size: 15px; color: #999; margin-top: 2px; }
.diary-entry-arrow { color: #7B68EE; font-size: 20px; font-weight: 700; }
.diary-entry-badge {
  position: absolute; top: 10px; right: 34px;
  font-size: 10px; padding: 2px 7px; border-radius: 8px;
  background: linear-gradient(135deg, #7B68EE, #D4537E);
  color: #fff; font-weight: 600; white-space: nowrap;
}

/* ===== 分身关系列表 - QQ好友风格 ===== */

/* 列表容器 */
.clone-list-container {
  background: #fff;
  border-radius: 14px;
  margin: 0 12px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(123,104,238,0.08);
}

/* 每个分组 */
.clone-list-group {
  border-bottom: 1px solid #f5f3ff;
}
.clone-list-group:last-child {
  border-bottom: none;
}

/* 分组头部（可点击） */
.clone-list-header {
  display: flex;
  align-items: center;
  padding: 13px 14px;
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.clone-list-header:active {
  background: #faf9ff;
}

/* 展开箭头 */
.clone-list-arrow {
  font-size: 12px;
  color: #bbb;
  width: 16px;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.clone-list-arrow.expanded {
  transform: rotate(90deg);
}

/* 图标 */
.clone-list-icon {
  font-size: 16px;
  margin-right: 8px;
  flex-shrink: 0;
}

/* 名称 */
.clone-list-name {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  flex: 1;
}

/* 人数计数 */
.clone-list-count {
  font-size: 13px;
  color: #999;
  flex-shrink: 0;
}

/* 展开的身体区域（默认隐藏） */
.clone-list-body {
  display: none;
  background: #faf9ff;
  padding: 8px 14px 12px;
}
.clone-list-body.expanded {
  display: block;
}

/* 空状态提示 */
.clone-list-empty {
  text-align: center;
  color: #ccc;
  font-size: 13px;
  padding: 10px 0 4px;
}

/* 联系人条目（未来有数据时使用） */
.clone-contact-item {
  display: flex;
  align-items: center;
  padding: 10px 8px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: background 0.15s;
}
.clone-contact-item:active {
  background: #f5f0ff;
}
.clone-contact-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8E4F5, #D4CFF5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-right: 12px;
}
.clone-contact-info {
  flex: 1;
  min-width: 0;
}
.clone-contact-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.clone-contact-desc {
  font-size: 12px;
  color:#999;
  margin-top:2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #52c41a;
  flex-shrink: 0;
  margin-right: 6px;
}

/* ===== 我的钱包页 ===== */
.wallet-hero {
  background: linear-gradient(160deg, #4F6EF7, #6C5CE7, #A855F7);
  padding: 28px 20px 20px;
  text-align: center;
  color: #fff;
  border-radius: 0 0 24px 24px;
}
.wallet-hero-label {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 6px;
}
.wallet-hero-eye {
  cursor: pointer;
  margin-left: 4px;
}
.wallet-hero-amount {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
}
.wallet-hero-sub {
  font-size: 11px;
  opacity: 0.65;
  margin-top: 4px;
}
.wallet-quick-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.wallet-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: transform 0.15s;
}
.wallet-quick-item:active { transform: scale(0.92); }
.wallet-quick-icon {
  font-size: 28px;
}
.wallet-quick-label {
  font-size: 11px;
  opacity: 0.8;
}
.wallet-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}
.wallet-recharge-btn {
  width: 100%;
  max-width: 280px;
  padding: 14px;
  border-radius: 25px;
  border: none;
  background: linear-gradient(135deg, #4F6EF7, #7C3AED);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(79,110,247,0.35);
  transition: all 0.2s;
}
.wallet-recharge-btn:active { transform: scale(0.96); }

/* ===== 我的分身装扮页 ===== */
.clone-outfit-hint {
  font-size: 14px;
  color: #888;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.5;
}
.clone-carousel {
  position: relative;
  width: 220px;
  height: 220px;
  overflow: hidden;
  border-radius: 20px;
  background: #f5f0ff;
  box-shadow: 0 4px 20px rgba(123,104,238,0.15);
  border: 2px solid #e8e0f8;
}
.clone-carousel-track {
  display: flex;
  transition: transform 0.3s ease;
  height: 100%;
}
.clone-carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clone-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clone-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid #e8e0f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #7B68EE;
  cursor: pointer;
  z-index: 2;
  transition: all 0.15s;
}
.clone-carousel-btn:active { background: #f5f0ff; }
.clone-carousel-prev { left: 6px; }
.clone-carousel-next { right: 6px; }
.clone-dots {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.clone-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #d0c8e8;
  transition: all 0.3s;
  cursor: pointer;
}
.clone-dot.active {
  width: 24px;
  background: #7B68EE;
}
.clone-current-name {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-top: 10px;
}
.clone-name-input-wrap {
  width: 100%;
  max-width: 280px;
  margin-top: 20px;
}
.clone-name-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid #e0d8f0;
  background: #faf9ff;
  font-size: 15px;
  color: #333;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
}
.clone-name-input:focus { border-color: #7B68EE; }
.clone-name-input::placeholder { color: #c8c0d8; }
.clone-confirm-btn {
  width: 100%;
  max-width: 280px;
  padding: 14px;
  border-radius: 25px;
  border: none;
  background: linear-gradient(135deg, #7B68EE, #9B68EF);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 16px;
  box-shadow: 0 4px 16px rgba(123,104,238,0.35);
  transition: all 0.2s;
}
.clone-confirm-btn:active { transform: scale(0.96); }
.clone-tos {
  font-size: 11px;
  color: #bbb;
  margin-top: 10px;
  text-align: center;
}

/* ===== 会员中心页面 ===== */
.vip-first-banner {
  background: linear-gradient(135deg, #07C160 0%, #00b894 100%);
  color: #fff; padding: 20px 16px 16px; text-align: center;
  position: relative; overflow: hidden;
}
.vip-first-banner::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 100px; height: 100px; background: rgba(255,255,255,0.12);
  border-radius: 50%;
}
.vip-first-tag {
  display: inline-block; background: rgba(255,255,255,0.2);
  padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 600;
  margin-bottom: 10px;
}
.vip-first-title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.vip-first-price { font-size: 40px; font-weight: 800; line-height: 1; margin: 6px 0; }
.vip-first-unit { font-size: 18px; font-weight: 600; margin-right: 2px; }
.vip-first-origin {
  font-size: 14px; color: rgba(255,255,255,0.7);
  text-decoration: line-through; margin-left: 6px; font-weight: 500;
}
.vip-first-hint { font-size: 12px; color: rgba(255,255,255,0.85); margin-bottom: 12px; }
.vip-first-btn {
  background: #fff; color: #07C160; border: none; border-radius: 24px;
  padding: 11px 32px; font-size: 15px; font-weight: 700;
  cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.vip-first-btn:active { transform: scale(0.97); }

/* 各区块 */
.vip-section { padding: 0 16px; margin-bottom: 16px; }
.vip-section-title {
  font-size: 15px; font-weight: 700; color: #333; margin-bottom: 10px;
}

/* 免费权益 */
.vip-free-card {
  background: #fff; border: 1px solid #e8e4f5; border-radius: 14px; padding: 14px 16px;
}
.vip-free-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: #555; padding: 5px 0;
}
.vip-free-icon { font-size: 15px; width: 20px; text-align: center; }

/* 单次收费 */
.vip-single-row {
  display: flex; gap: 8px;
}
.vip-single-item {
  flex: 1; background: #fff; border: 1px solid #e8e4f5; border-radius: 12px;
  padding: 12px 8px; text-align: center;
}
.vip-single-icon { font-size: 22px; margin-bottom: 4px; }
.vip-single-name { font-size: 13px; font-weight: 600; color: #333; margin-bottom: 2px; }
.vip-single-price { font-size: 12px; color: #7B68EE; font-weight: 700; }
.vip-single-hint {
  font-size: 11px; color: #aaa; margin-top: 8px; line-height: 1.5;
}

/* 加速包 */
.vip-boost-row { display: flex; gap: 8px; }
.vip-boost-card {
  flex: 1; background: #fff; border: 1px solid #e8e4f5; border-radius: 12px;
  padding: 14px; cursor: pointer; transition: all 0.15s;
}
.vip-boost-card:active { transform: scale(0.98); border-color: #7B68EE; }
.vip-boost-name { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 4px; }
.vip-boost-price { font-size: 20px; font-weight: 800; color: #D4537E; line-height: 1; }
.vip-boost-unit { font-size: 12px; color: #999; font-weight: 500; }
.vip-boost-desc { font-size: 11px; color: #aaa; margin-top: 4px; }

.vip-footer {
  font-size: 11px; color: #bbb; text-align: center; padding: 0 16px;
  line-height: 1.6; margin-top: 8px;
}

/* ===== 心动币充值中心页 vipPage（2026-07-08 改造） ===== */
/* === 充值中心 v2 · 深色磨砂科技风（20260708_2145） ===
   注意：.vip-page 绝对不能写 display:flex（会覆盖 .diary-page{display:none}），
   显示由 .diary-page.active 控制。 */
.vip-page { flex-direction: column; height: 100%; background: linear-gradient(165deg,#1A1428 0%, #221833 55%, #150F22 100%); }
.vip-page.active { display: flex; }
.vip-page .diary-header {
  flex-shrink: 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(26,20,40,0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.vip-page .diary-title { color: #fff; }
.vip-page .diary-back { color: #fff; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); }
.vip-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px 12px 16px; }

/* 模块1：磨砂玻璃状态卡（紧凑版：头像+昵称/文案一行） */
.vip-status-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 20px;
  background: rgba(255,255,255,0.09); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  margin-bottom: 14px;
}
.vip-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; border: 2px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15); flex-shrink: 0;
}
.vip-status-main { flex: 1; min-width: 0; }
.vip-status-line {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.vip-nick { font-size: 15px; font-weight: 700; color: #fff; }
.vip-nick b { color: #fff; font-weight: 800; }
.vip-tier-tip { font-size: 12px; color: #C8C2D9; line-height: 1.5; }

/* 模块2：充值档位 */
.vip-section-title { font-size: 17px; font-weight: 800; color: #fff; margin: 6px 4px 12px; letter-spacing: 0.5px; }
.vip-tier-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.vip-bonus-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 22px; }

/* 竖版卡片：名称 + 价格 + 分割线 + 说明 + 按钮 */
.vip-tier-card {
  position: relative; padding: 20px 16px 16px; border-radius: 22px; overflow: hidden;
  background: rgba(255,255,255,0.09); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(157,120,232,0.45);
  box-shadow: 0 6px 18px rgba(0,0,0,0.30);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex; flex-direction: column; text-align: center;
}
.vip-tier-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,0.42); }
.vip-tier-card.recommend {
  border: 1.5px solid transparent;
  background:
    linear-gradient(rgba(26,20,40,0.92), rgba(26,20,40,0.92)) padding-box,
    linear-gradient(135deg,#FF4A95,#7B42F5) border-box;
  box-shadow: 0 8px 28px rgba(255,74,149,0.30);
  animation: vip-breathe 2.6s ease-in-out infinite;
}
.vip-tier-card.bonus {
  padding: 14px 12px 14px;
  min-height: 0;
}
.vip-tier-card.bonus .vip-tier-name { font-size: 15px; margin-bottom: 10px; text-align: center; }
.vip-tier-card.bonus .vip-tier-price { margin-bottom: 10px; }
.vip-tier-card.bonus .vip-cur { font-size: 16px; margin-top: 5px; }
.vip-tier-card.bonus .vip-price-num { font-size: 42px; }
.vip-tier-card.bonus .vip-tier-divider { margin: 0 0 10px; }
.vip-tier-card.bonus .vip-tier-summary { margin-bottom: 10px; }
.vip-tier-card.bonus .vip-tier-sum-row { font-size: 12px; }
.vip-tier-card.bonus .vip-tier-sum-note { font-size: 11px; }
.vip-tier-card.bonus .vip-tier-btn { margin-top: 0; padding: 10px; font-size: 14px; border-radius: 16px; }

@keyframes vip-breathe {
  0%,100% { box-shadow: 0 0 0 1px rgba(255,74,149,0.22), 0 8px 26px rgba(255,74,149,0.22); }
  50%     { box-shadow: 0 0 0 2px rgba(255,74,149,0.45), 0 10px 34px rgba(255,74,149,0.42); }
}

.vip-tier-tag {
  position: absolute; top: 0; right: 0;
  font-size: 10px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg,#FF4A95,#7B42F5);
  padding: 5px 12px; border-bottom-left-radius: 14px; border-top-right-radius: 22px;
}
.vip-tier-name { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 20px; text-align: left; }
.vip-tier-price {
  display: flex; align-items: flex-start; justify-content: center; gap: 2px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.vip-cur { font-size: 22px; font-weight: 800; color: #FF8AB5; margin-top: 9px; }
.vip-price-num { font-size: 64px; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -2px; }
.vip-tier-divider {
  height: 1px;
  background: rgba(255,255,255,0.18);
  margin: 0 8px 14px;
}
.vip-tier-summary { text-align: left; margin-bottom: 18px; }
.vip-tier-sum-row { font-size: 13.5px; font-weight: 700; color: #FF7BB0; margin-bottom: 5px; }
.vip-tier-sum-row b { font-weight: 900; }
.vip-tier-sum-note { font-size: 12px; color: #C8C2D9; line-height: 1.5; margin-top: 8px; }
.vip-tier-btn {
  display: block; width: 100%; margin-top: auto; padding: 13px;
  border: none; border-radius: 20px;
  background: linear-gradient(135deg,#9D78E8,#7B42F5);
  color: #fff; font-size: 16px; font-weight: 800; cursor: pointer;
  box-shadow: 0 6px 18px rgba(123,66,245,0.30);
  transition: transform 0.15s ease;
}
.vip-tier-card.recommend .vip-tier-btn {
  background: linear-gradient(135deg,#FF4A95,#7B42F5);
  box-shadow: 0 8px 22px rgba(255,74,149,0.40);
  font-size: 17px;
}
.vip-tier-btn:active { transform: scale(0.98); }

/* 模块3：权益一览（白色卡片网格 · 放大版 + 气泡放大效果） */
.vip-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 2px 18px;
}
.vip-benefit-card {
  background: rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 16px;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  min-height: 170px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.vip-benefit-card:active {
  transform: scale(1.06);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}
.vip-benefit-card.bloom {
  animation: vipBenefitBloom 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes vipBenefitBloom {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.vip-benefit-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #7B68EE 0%, #D4537E 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(123,104,238,0.25);
  flex-shrink: 0;
}
.vip-benefit-icon.match { background: linear-gradient(135deg, #7B68EE 0%, #9B8FD8 100%); }
.vip-benefit-icon.contact { background: linear-gradient(135deg, #D4537E 0%, #FF7BB0 100%); }
.vip-benefit-icon.preplay { background: linear-gradient(135deg, #4A90E2 0%, #7B68EE 100%); }
.vip-benefit-icon.gift { background: linear-gradient(135deg, #FFB042 0%, #FF7BB0 100%); }
.vip-benefit-icon.clone { background: linear-gradient(135deg, #22C55E 0%, #7B68EE 100%); }
.vip-benefit-icon.companion { background: linear-gradient(135deg, #D4537E 0%, #7B68EE 100%); }
.vip-benefit-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 7px;
  line-height: 1.3;
}
.vip-benefit-desc {
  font-size: 12.5px;
  color: #c9bddb;
  line-height: 1.55;
  margin-bottom: 5px;
}
.vip-benefit-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}
.vip-benefit-price {
  font-size: 12px;
  font-weight: 700;
  color: #D4537E;
  background: rgba(212,83,126,0.08);
  border: 1px solid rgba(212,83,126,0.15);
  border-radius: 9px;
  padding: 3px 8px;
  white-space: nowrap;
}

/* 模块4：底部信任文案 */
.vip-trust { font-size: 11.5px; color: #938ca8; text-align: center; line-height: 1.8; padding: 4px 0 10px; }

/* 钱包充值弹窗：payOverlay 复用充值中心内容，容器沿用充值中心深色磨砂背景 */
.pay-recharge-card {
  background: linear-gradient(165deg, rgba(26,20,40,0.96) 0%, rgba(34,24,51,0.96) 55%, rgba(21,15,34,0.96) 100%) !important;
  border-radius: 24px !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 400px !important;
  max-height: 84vh !important;
  text-align: left !important;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.pay-card-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pay-card-close:active { background: rgba(255,255,255,0.25); }
.pay-card-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 16px 10px;
  min-height: 0;
}
.pay-card-balance {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 0 2px;
}
.pay-card-balance span:first-child { font-size: 22px; }
.pay-card-balance span:nth-child(2) { font-size: 26px; font-weight: 800; color: #fff; }
.pay-card-balance span:last-child { font-size: 13px; color: #C8C2D9; }
.pay-card-footer {
  padding: 10px 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.pay-card-footer button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
  color: #C8C2D9;
  font-size: 14px;
  cursor: pointer;
}
.pay-card-footer button:active { background: rgba(255,255,255,0.18); }

/* 在 pay-card 内部复用 vip 组件时的适配（深色容器） */
.pay-recharge-card .vip-section-title { color: #fff; font-size: 15px; margin: 0 0 8px; }
.pay-recharge-card .vip-status-bar {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.pay-recharge-card .vip-nick { color: #fff; }
.pay-recharge-card .vip-nick b { color: #fff; }
.pay-recharge-card .vip-tier-tip { color: #C8C2D9; }
.pay-recharge-card .vip-recharge-slider { margin: 0 -4px 14px; padding: 4px 4px 10px; }
.pay-recharge-card .vip-bonus-row { margin-bottom: 14px; }
.pay-recharge-card .vip-benefits-grid { gap: 8px; margin: 0 0 4px; }
.pay-recharge-card .vip-benefit-card { padding: 12px; min-height: 120px; }
.pay-recharge-card .vip-benefit-icon { width: 36px; height: 36px; font-size: 18px; margin-bottom: 6px; }
.pay-recharge-card .vip-benefit-title { font-size: 13px; margin-bottom: 4px; }
.pay-recharge-card .vip-benefit-desc { font-size: 11px; margin-bottom: 3px; }
.pay-recharge-card .vip-benefit-price { font-size: 11px; padding: 2px 6px; }

/* ===== 充值中心 v3 · 横滑 uc-card + 紧凑加油包 + 权益一览（20260720_1650） ===== */
/* 三档主推：复用 .uc-card 视觉，横向可滑动，视觉放大居中 */
.vip-recharge-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 14px;
  margin: 0 -4px 14px;
  -webkit-overflow-scrolling: touch;
}
.vip-recharge-slider .uc-card {
  flex: 0 0 50%;
  min-width: 170px;
  max-width: 210px;
  scroll-snap-align: start;
  padding: 18px 16px 22px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.vip-recharge-slider .uc-card:active {
  transform: scale(0.98);
}
.vip-recharge-slider .uc-card.selected {
  border: 2.5px solid #FFD66B;
  box-shadow: 0 0 0 4px rgba(255, 214, 107, 0.25), 0 8px 24px rgba(0,0,0,0.25);
  transform: scale(1.02);
}
.vip-recharge-slider .uc-card.hot.selected {
  border-color: #FFD66B;
  box-shadow: 0 0 0 4px rgba(255, 214, 107, 0.3), 0 8px 24px rgba(212,83,126,0.25);
}
.vip-recharge-slider .uc-card-name {
  margin-top: 14px;
  margin-bottom: 28px;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
}
.vip-recharge-slider .uc-card-price {
  min-height: 46px;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.vip-recharge-slider .uc-cur { font-size: 18px; }
.vip-recharge-slider .uc-num { font-size: 40px; }
.vip-recharge-slider .uc-card-recover { font-size: 10px; }
.vip-recharge-slider .uc-card-coins-base { font-size: 13px; margin-top: 4px; margin-bottom: 3px; }
.vip-recharge-slider .uc-card-coins-base b { font-size: 16px; }
.vip-recharge-slider .uc-card-coins-extra { font-size: 12px; margin-bottom: 6px; }
.vip-recharge-slider .uc-card-coins-extra b { font-size: 14px; }
.vip-recharge-slider .uc-card-desc { font-size: 12px; margin-bottom: 10px; }
.vip-recharge-slider .uc-card-btn { padding: 12px 0; font-size: 15px; margin-top: auto; }

/* 两档加油包：横向并排，视觉弱化 */
.vip-bonus-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.vip-bonus-card {
  flex: 1 1 0;
  min-width: 0;
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  color: #fff;
  text-align: left;
}
.vip-bonus-card.muted {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.vip-bonus-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.vip-bonus-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.vip-bonus-price {
  display: flex;
  align-items: baseline;
  color: #D4537E;
  font-weight: 900;
}
.vip-bonus-card.muted .vip-bonus-price { color: #b08cc4; }
.vip-bonus-cur { font-size: 16px; }
.vip-bonus-num { font-size: 32px; line-height: 1; }
.vip-bonus-card.muted .vip-bonus-num { color: #c9bddb; }
.vip-bonus-coins {
  font-size: 12px;
  color: #b8a9d9;
  font-weight: 500;
}
.vip-bonus-card.muted .vip-bonus-coins { color: #938ca8; }
.vip-bonus-btn {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #8046E8, #D4537E);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: auto;
  box-shadow: 0 4px 14px rgba(128,70,232,0.4);
}
.vip-bonus-card.muted .vip-bonus-btn {
  background: rgba(255,255,255,0.10);
  color: #d8c8ff;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.08);
}
.vip-bonus-btn:active { transform: scale(0.97); }

/* 权益一览：在 v2 放大基础上再收紧，适配全屏；心动币数字再放大 */
.vip-benefits-grid {
  gap: 10px;
  margin: 0 2px 14px;
}
.vip-benefit-card {
  padding: 13px;
  min-height: 140px;
  border-radius: 16px;
}
.vip-benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 20px;
  margin-bottom: 8px;
}
.vip-benefit-title { font-size: 14px; margin-bottom: 5px; }
.vip-benefit-desc { font-size: 11.5px; margin-bottom: 3px; }
.vip-benefit-price { font-size: 13px; font-weight: 800; padding: 3px 9px; }
.vip-benefit-line {
  display: block;
  width: 100%;
  margin-bottom: 6px;
}
.vip-benefit-line .vip-benefit-desc {
  display: block;
  margin-bottom: 4px;
  text-align: left;
  line-height: 1.5;
}
.vip-benefit-line .vip-benefit-price {
  display: inline-block;
  margin-top: 0;
  padding: 3px 9px;
  font-size: 12px;
}

/* ============================================================
   分身体系重构 · 分身Tab 一体式融合设计（20260709_0120）
   主页面Tab保持浅底，深色仅用于弹窗次页/overlay
   设计原则：卡片与背景融为一体，不出现"紫底蒙白块"
   仅作用于 #viewClone / #viewProfile，不污染其他页面
   ============================================================ */
#viewClone, #viewProfile {
  background: radial-gradient(ellipse at 50% 0%, #FCF9FF, #FAF7FF);
  color: #1A1A26;
}

/* ---- 分身Tab 顶部引导条（已移除，保留CSS防闪烁） ---- */
.clone-guide-bar { display: none; }

/* ---- 虚拟AI声明横幅 · 一体融入背景 ---- */
.clone-ai-banner {
  display: flex; align-items: center; gap: 8px;
  background: transparent;
  border: none;
  border-radius: 12px; padding: 10px 4px; margin-bottom: 8px;
}
.clone-ai-banner-ico { font-size: 16px; flex-shrink: 0; }
.clone-ai-banner-text { font-size: 12px; color: #9D78E8; line-height: 1.5; }

/* ---- 分身日记入口卡 · 品牌渐变恢复 ---- */
#viewClone .diary-entry-card {
  background: linear-gradient(135deg, rgba(123,104,238,0.24), rgba(212,83,126,0.18));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(123,66,245,0.25);
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(123,66,245,0.14);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
#viewClone .diary-entry-card { box-shadow: 0 5px 20px rgba(123,66,245,0.16); }
#viewClone .diary-entry-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(123,66,245,0.22); }
#viewClone .diary-entry-card:active { transform: scale(0.97); border-color: #9D78E8; }
#viewClone .diary-entry-icon {
  background: linear-gradient(135deg, #7B68EE 0%, #A084FF 100%);
  box-shadow: 0 3px 12px rgba(123,104,238,0.30), inset 0 1px 0 rgba(255,255,255,0.35);
}
#viewClone .diary-entry-title { color: #1A1A26; font-weight: 700; }
#viewClone .diary-entry-desc { color: #888; }
#viewClone .diary-entry-arrow { color: #9D78E8; }
/* 「暂无更新」标签：浅紫胶囊 + 投影白字，替代原紫粉渐变贴片 */
#viewClone .diary-entry-badge {
  background: #7B68EE; color: #fff;
  box-shadow: 0 2px 6px rgba(123,104,238,0.30);
  font-weight: 600;
}

/* ---- 状态概览（托管结果展示）· 紫卡悬浮 ---- */
#viewClone .clone-status {
  background: linear-gradient(135deg, rgba(123,104,238,0.08), rgba(123,104,238,0.04));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(123,66,245,0.12);
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(123,104,238,0.10), inset 0 1px 0 rgba(255,255,255,0.7);
  transition: box-shadow .25s, transform .2s;
}
#viewClone .clone-status:active { transform: scale(0.98); box-shadow: 0 3px 12px rgba(123,104,238,0.08); }
#viewClone .clone-status-label { color: #1A1A26; font-weight: 700; }
/* 圆形头像柔和投影 */
#viewClone .clone-status-avatar {
  box-shadow: 0 3px 12px rgba(123,104,238,0.30);
}
/* 运行态圆点：缓慢呼吸发光（替代生硬 blink） */
#viewClone .online-dot {
  background: #7B68EE;
  animation: cloneDotGlow 2.4s ease-in-out infinite;
}
#viewClone .clone-stats { border-color: rgba(123,66,245,0.08); display: flex; flex-wrap: wrap; gap: 4px 8px; }
#viewClone .clone-stat { padding: 8px 8px; transition: background .15s, box-shadow .25s, transform .2s; flex: 0 0 calc(33.33% - 6px); text-align: center; border-radius: 12px; box-shadow: 0 2px 8px rgba(123,104,238,0.04); cursor: pointer; }
#viewClone .clone-stat:active { transform: scale(0.93); }
#viewClone .clone-stat.active { background: rgba(123,66,245,0.06); }
/* 数据数字统一品牌紫 */
#viewClone .clone-stat-num { color: #7B68EE; font-weight: 800; }
#viewClone .clone-stat-sub { color: #999; }
#viewClone .clone-stat-label { color: #888; }
/* 恋爱中 - 玫红高亮（转化焦点） */
#viewClone .clone-stat[data-filter="love"] .clone-stat-num { color: #D4537E; font-weight: 900; }
#viewClone .clone-stat[data-filter="love"] .clone-stat-label { color: #D4537E; font-weight: 600; }
/* 婚姻中 - 紫红高亮 */
#viewClone .clone-stat[data-filter="marry"] .clone-stat-num { color: #B873D4; }
#viewClone .clone-stat[data-filter="marry"] .clone-stat-label { color: #B873D4; }
/* 关系结束 - 灰色弱化 */
#viewClone .clone-stat[data-filter="ended"] .clone-stat-num { color: #bbb; }
#viewClone .clone-stat[data-filter="ended"] .clone-stat-label { color: #bbb; }

/* ---- 分身自主社交标签 · 极淡融入 ---- */
#viewClone .clone-auto-social-label { color: #999; border-color: rgba(123,66,245,0.10); }

/* ---- 六大阶段关系列表 · 一体融合 ---- */
#viewClone .clone-list-container {
  background: rgba(123,66,245,0.04);
  border: 1px solid rgba(26,26,38,0.15);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(123,104,238,0.08), inset 0 1px 0 rgba(255,255,255,0.6);
}
#viewClone .clone-list-group { border-color: rgba(26,26,38,0.08); }
#viewClone .clone-list-header { transition: background .15s, box-shadow .15s; border-radius: 10px; }
#viewClone .clone-list-header:hover { background: rgba(123,66,245,0.05); box-shadow: inset 0 0 0 1px rgba(26,26,38,0.08); }
#viewClone .clone-list-header:active { background: rgba(123,66,245,0.08); transform: scale(0.98); }
#viewClone .clone-list-arrow { color: #AAA; transition: transform 0.3s; }
#viewClone .clone-list-arrow.expanded { transform: rotate(90deg); }
#viewClone .clone-list-name { color: #1A1A26; font-weight: 600; font-size: 17px; }
#viewClone .clone-list-count { color: #999; font-size: 14px; }
#viewClone .clone-list-body {
  background: rgba(123,66,245,0.02);
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
  opacity: 0;
}
#viewClone .clone-list-body.open,
#viewClone .clone-list-body.expanded { max-height: 1000px; opacity: 1; }
#viewClone .clone-list-empty { color: #AAA; padding: 10px 14px; }

/* ---- 分身日报浮卡 · 轻磨砂融合 ---- */
.clone-daily-card.clone-daily-card {
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(123,66,245,0.12);
  box-shadow: 0 3px 14px rgba(0,0,0,0.04);
}
.clone-daily-card .clone-daily-row { border-color: rgba(123,66,245,0.08); }
.clone-daily-card .clone-daily-label { color: #888; }
.clone-daily-card .clone-daily-val { color: #D4537E; font-weight: 700; }
.clone-daily-card .clone-daily-news { background: rgba(212,83,126,0.05); border-left-color: #D4537E; }
.clone-daily-card .clone-daily-news-text { color: #A85A71; }
.clone-daily-card .clone-daily-arrow { background: rgba(255,255,255,0.90); }

/* ============================================================
   分身页 · 温度计容器统一卡片规范 + 进场微动效（补强）
   ============================================================ */
/* 温度计外层容器：覆盖 inline 渐变，套用全站统一卡片规范 */
#viewClone #thermometerContainer {
  background: #F7F3FF !important;
  border: 1px solid #ECE6F8 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(123,104,238,0.08) !important;
}
/* 底部副标题「实时追踪关系热度」放大加粗 */
#viewClone .thermo-subtitle {
  font-size: 15px !important; font-weight: 800 !important;
  color: #6b5e9e !important; letter-spacing: 0.6px;
}
/* 当前热阶段标签（恋爱/婚姻）高亮底 + 投影强化焦点 */
#viewClone .thermo-stage-hot {
  background: rgba(123,104,238,0.12);
  padding: 2px 7px; border-radius: 8px;
  box-shadow: 0 1px 4px rgba(123,104,238,0.18);
}

/* 分身页主卡片进场：淡入上浮（260ms 缓动，错峰） */
#viewClone .diary-entry-card { animation: cardIn 0.26s var(--ease-smooth, ease) both; }
#viewClone .clone-status { animation: cardIn 0.26s var(--ease-smooth, ease) 0.06s both; }
#viewClone .thermometer-section { animation: cardIn 0.26s var(--ease-smooth, ease) 0.12s both; }
#viewClone .clone-list-container { animation: cardIn 0.26s var(--ease-smooth, ease) 0.18s both; }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* 运行态圆点呼吸发光 */
@keyframes cloneDotGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(123,104,238,0.45); }
  50%      { box-shadow: 0 0 0 5px rgba(123,104,238,0); }
}

/* ===== 分身页常驻弱动效（低功耗呼吸脉冲）===== */
#viewClone .diary-entry-arrow {
  animation: arrowPulse 2.2s ease-in-out infinite;
}
#viewClone .diary-entry-badge {
  animation: badgeGlow 3s ease-in-out infinite;
}
#viewClone .new-badge {
  display: inline-block;
  animation: badgeGlow 2.8s ease-in-out infinite;
}
#viewClone .diary-entry-card:active { transform: scale(0.97); }
#viewClone .clone-list-header:active { transform: scale(0.98); }

/* 热柱 - 恋爱阶段外发光（热柱wrapper追加 .tube-hot 由JS驱动） */
#viewClone .thermometer-tube-wrapper.tube-hot {
  filter: drop-shadow(0 0 10px rgba(212,83,126,0.35));
  transition: filter 0.4s;
}

@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50%      { transform: translateX(3px); opacity: 1; }
}
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(123,104,238,0.20); }
  50%      { box-shadow: 0 0 0 6px rgba(123,104,238,0); }
}

/* ============================================================
   个人中心 一体式融合设计（主Tab页）
   ============================================================ */
#viewProfile .profile-name-v3 { color: #1A1A26; }
#viewProfile .profile-tier-banner {
  background: linear-gradient(135deg, rgba(123,104,238,0.10), rgba(212,83,126,0.08));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(26,26,38,0.12);
  box-shadow: 0 2px 12px rgba(123,66,245,0.06);
}
#viewProfile .profile-tier-banner-title { color: #1A1A26; font-weight: 700; }
#viewProfile .profile-tier-banner-sub { color: #888; }
#viewProfile .profile-tier-banner-btn {
  color: #fff; background: linear-gradient(135deg, #7B68EE, #D4537E); border: none;
}
#viewProfile .menu-section-label { color: #7B42F5; font-weight: 800; font-size: 13px; }
#viewProfile .menu-item {
  background: rgba(255,255,255,0.60);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(123,66,232,0.08);
  box-shadow: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
#viewProfile .menu-item:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(123,66,245,0.10); }
#viewProfile .menu-item:active { background: rgba(123,66,245,0.05); }
#viewProfile .menu-icon { box-shadow: none; }
#viewProfile .menu-text { color: #1A1A26; }
#viewProfile .menu-arrow { color: #BBB; }

/* 分身说明弹窗 · 深色磨砂玻璃 */
.clone-intro-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(18,10,38,0.55); z-index: 10000;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.clone-intro-overlay.active { display: flex; }
.clone-intro-card {
  width: 100%; max-width: 400px;
  background: rgba(28,20,48,0.92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  padding: 26px 20px 22px;
  position: relative;
  box-shadow: 0 24px 70px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
  max-height: 84vh; overflow-y: auto;
}
.clone-intro-close {
  position: absolute; top: 12px; right: 14px;
  font-size: 22px; color: rgba(255,255,255,0.5); cursor: pointer;
  line-height: 1; padding: 4px;
}
.clone-intro-close:hover { color: #fff; }
.clone-intro-header {
  font-size: 19px; font-weight: 700; color: #fff;
  margin-bottom: 16px; text-align: center;
}
.clone-intro-body p {
  font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.82);
  margin-bottom: 12px;
}
.clone-intro-body p b {
  color: #C9B8F0; font-weight: 700;
}
.clone-intro-steps-title {
  font-size: 13px; color: rgba(255,255,255,0.6);
  margin: 6px 0 10px; font-weight: 600;
}
.clone-intro-steps {
  margin: 4px 0 6px; display: flex; flex-direction: column; gap: 10px;
}
.clone-intro-step {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 13.5px; color: rgba(255,255,255,0.78); line-height: 1.55;
}
.clone-intro-step .step-no {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, #7B68EE, #D4537E);
  color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.clone-intro-step b {
  color: #fff; font-weight: 700;
}
.clone-intro-step span {
  display: block; color: rgba(255,255,255,0.58); font-size: 12.5px; margin-top: 2px;
}
.clone-intro-tip {
  margin-top: 14px; padding: 12px 14px;
  background: rgba(123,104,238,0.12);
  border: 1px solid rgba(123,104,238,0.25);
  border-radius: 14px;
  font-size: 12.5px; color: rgba(255,255,255,0.75); line-height: 1.7;
}

#viewProfile .profile-logout-link { color: #AAA; }
#viewProfile .lc-btn {
  background: linear-gradient(135deg, #7B68EE, #D4537E);
  color: #fff; border: none;
}

