/* ============================================
   故人寻踪模块样式
   Airbnb 设计标准：
   - 纯色背景，无渐变
   - 黑色系阴影，无彩色阴影
   - 1px 发丝边框
   - 卡片圆角 14px，按钮圆角 8px
   - hover 仅 translateY(-2px) + box-shadow
   - 非对称布局（首张匹配卡片更突出）
   - 交错入场动画 staggerInUp
   - SVG 图标色彩适配
   - 适老化设计：大字体、大按钮、清晰引导
   ============================================ */

/* ===== 页面顶部 ===== */
.friends-hero {
  padding: var(--sp-8) var(--sp-5) var(--sp-5);
  text-align: center;
  background: var(--bg);
}
.friends-hero h2 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: var(--sp-2);
}
.friends-hero h2 .gold {
  color: var(--gold);
}
.friends-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== 内容容器 ===== */
.friends-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--sp-5) var(--sp-10);
}

/* ============================================
   步骤指示器（金色纯色填充）
   ============================================ */
.friends-steps .step {
  flex-direction: column;
  gap: var(--sp-1);
}
.friends-steps .step-dot {
  width: 40px;
  height: 40px;
  font-size: 1rem;
  border: none;
  background: var(--rule-soft);
  color: var(--muted);
  box-shadow: var(--shadow-xs);
  transition: all var(--dur) var(--ease);
}
.friends-steps .step.active .step-dot {
  background: var(--gold);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.friends-steps .step.done .step-dot {
  background: var(--gold);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.friends-steps .step-line {
  margin-bottom: 1.6rem;
  background: var(--rule-soft);
  transition: background var(--dur-slow) var(--ease);
}
.friends-steps .step-line.active {
  background: var(--gold);
}
.friends-steps .step-label {
  font-size: 0.85rem;
}

/* ============================================
   步骤面板（通用）
   ============================================ */
.step-panel {
  animation: fadeInUp var(--dur-slow) var(--ease);
}
.step-panel-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-2);
}
.step-panel-desc {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: var(--sp-5);
  line-height: 1.7;
}

/* ============================================
   步骤一：输入记忆表单
   发丝边框 + 阴影 + 背景色
   ============================================ */
.memory-form-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline, var(--rule));
  border-radius: var(--r-md);
  padding: var(--sp-5);
  box-shadow: var(--shadow);
}
.memory-form-card .form-label {
  font-size: 1rem;
  margin-bottom: var(--sp-2);
}
.memory-form-card .form-input,
.memory-form-card .form-select,
.memory-form-card .form-textarea {
  padding: var(--sp-4);
  font-size: 1.05rem;
  border: 2px solid var(--rule-soft);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.memory-form-card .form-input:focus,
.memory-form-card .form-select:focus,
.memory-form-card .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-bg);
}
.memory-form-card .form-textarea {
  min-height: 110px;
}

/* 提示卡片：金色背景 + SVG 图标着色 */
.memory-hint {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  background: var(--gold-bg);
  border: none;
  border-radius: var(--r);
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  box-shadow: var(--shadow-xs);
}
.memory-hint-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: var(--gold);
}
.memory-hint-icon .icon {
  display: block;
}

/* ============================================
   步骤二：AI 匹配动画
   ============================================ */
.matching-overlay {
  text-align: center;
  padding: var(--sp-10) var(--sp-5);
  animation: fadeIn var(--dur) var(--ease);
}
.matching-overlay .spinner {
  width: 56px;
  height: 56px;
  border-width: 4px;
  margin-bottom: var(--sp-5);
}
.matching-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--sp-2);
}
.matching-sub {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: var(--sp-5);
}
.matching-progress {
  width: 100%;
  max-width: 360px;
  height: 12px;
  background: var(--rule-soft);
  border-radius: var(--r-full);
  overflow: hidden;
  margin: 0 auto var(--sp-3);
  box-shadow: var(--shadow-xs);
}
.matching-progress-fill {
  height: 100%;
  width: 0;
  background: var(--gold);
  border-radius: var(--r-full);
  animation: matchingBar 2.4s var(--ease) forwards;
}
@keyframes matchingBar {
  0%   { width: 0; }
  30%  { width: 35%; }
  60%  { width: 60%; }
  85%  { width: 85%; }
  100% { width: 100%; }
}
.matching-percent {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

/* ===== 匹配结果卡片 ===== */
.match-results-head {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  color: var(--sage);
  font-size: 1rem;
  font-weight: 600;
}
.match-results-head-icon {
  display: flex;
  align-items: center;
  color: var(--success, var(--sage));
}
.match-results-head-icon .icon {
  display: block;
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* 匹配卡片：发丝边框 + 阴影 + 背景色 + 交错入场 */
.match-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline, var(--rule));
  border-radius: var(--r-md);
  padding: var(--sp-5);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  position: relative;
  box-shadow: var(--shadow-sm);
  animation: staggerInUp var(--dur-slow) var(--ease) both;
}
.match-card:nth-child(1) { animation-delay: 0.05s; }
.match-card:nth-child(2) { animation-delay: 0.15s; }
.match-card:nth-child(3) { animation-delay: 0.25s; }
.match-card:nth-child(4) { animation-delay: 0.35s; }
.match-card:nth-child(5) { animation-delay: 0.45s; }

.match-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* 选中态：金色背景 + 黑色系阴影 */
.match-card.selected {
  background: var(--gold-bg);
  box-shadow: var(--shadow);
}
.match-card.selected::after {
  content: '✓ 已选择';
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-4);
  padding: var(--sp-1) var(--sp-3);
  background: var(--gold);
  color: #fff;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  animation: scaleIn var(--dur) var(--ease-spring);
}

/* 非对称布局：第一张卡片（最高匹配度）更突出 */
.match-list .match-card:first-child {
  padding: var(--sp-6);
  box-shadow: var(--shadow);
}
.match-list .match-card:first-child:hover {
  box-shadow: var(--shadow-lg);
}
.match-list .match-card:first-child .match-avatar {
  width: 64px;
  height: 64px;
  font-size: 2.2rem;
}
.match-list .match-card:first-child .match-name {
  font-size: 1.4rem;
}
.match-list .match-card:first-child .match-score-value {
  font-size: 1.7rem;
}

/* 匹配卡片头部 */
.match-card-head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.match-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.match-info { flex: 1; min-width: 0; }
.match-name-row {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.match-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}
.match-detail-line {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 2px;
}

/* 匹配度进度条：纯色填充 */
.match-score-row {
  margin-bottom: var(--sp-3);
}
.match-score-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--sp-2);
}
.match-score-label {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.match-score-value {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
}
.match-score-bar {
  width: 100%;
  height: 12px;
  background: var(--rule-soft);
  border-radius: var(--r-full);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
}
.match-score-fill {
  height: 100%;
  width: 0;
  background: var(--gold);
  border-radius: var(--r-full);
  transition: width 1.3s var(--ease);
}

/* 共同记忆标签：去边框 → 背景色 */
.match-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.match-tag {
  padding: var(--sp-1) var(--sp-3);
  background: var(--bg-warm);
  border: none;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 500;
  box-shadow: var(--shadow-xs);
}

/* 年代/地点信息：SVG 图标着色 */
.match-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px dashed var(--rule);
  margin-bottom: var(--sp-2);
}
.match-meta-item {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.match-meta-item .meta-icon {
  display: flex;
  align-items: center;
  color: var(--gold);
}
.match-meta-item .meta-icon .icon {
  display: block;
}
.match-meta-item .meta-label { color: var(--muted); }
.match-meta-item .meta-value { font-weight: 600; }

.match-detail-text {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
  padding: var(--sp-3);
  background: var(--bg-warm);
  border-radius: var(--r-sm);
}

/* ============================================
   步骤三：身份核验
   发丝边框 + 阴影 + 背景色 + 交错布局
   ============================================ */

/* 核验进度条 */
.verify-progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-card);
  border: 1px solid var(--hairline, var(--rule));
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.verify-progress-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.verify-progress-text .done {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.2rem;
}
.verify-progress-track {
  flex: 1;
  max-width: 200px;
  height: 10px;
  background: var(--rule-soft);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-left: var(--sp-4);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
}
.verify-progress-fill {
  height: 100%;
  width: 0;
  background: var(--gold);
  border-radius: var(--r-full);
  transition: width 0.5s var(--ease);
}

/* 核验问题卡片：交错布局 + staggerInUp */
.verify-question-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline, var(--rule));
  border-radius: var(--r-md);
  padding: var(--sp-5);
  margin-bottom: var(--sp-4);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease);
  position: relative;
  animation: staggerInUp var(--dur-slow) var(--ease) both;
}
.verify-question-card:nth-child(1) { animation-delay: 0.05s; }
.verify-question-card:nth-child(2) { animation-delay: 0.15s; }
.verify-question-card:nth-child(3) { animation-delay: 0.25s; }

/* 交错布局：奇偶卡片左右错位（仅桌面端） */
@media (min-width: 769px) {
  .verify-question-card:nth-child(odd) {
    margin-left: 0;
    margin-right: var(--sp-6);
  }
  .verify-question-card:nth-child(even) {
    margin-left: var(--sp-6);
    margin-right: 0;
  }
}

.verify-question-card.solved {
  background: var(--sage-soft);
  box-shadow: var(--shadow);
}
.verify-question-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* 左侧色条指示（替代边框的视觉引导） */
.verify-question-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: var(--sp-3);
  bottom: var(--sp-3);
  width: 4px;
  border-radius: var(--r-full);
  background: var(--gold);
  opacity: 0.5;
}
.verify-question-card.solved::before {
  background: var(--sage);
  opacity: 1;
}

.verify-q-head {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.verify-q-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-bg);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
  border: none;
  box-shadow: var(--shadow-xs);
}
.verify-question-card.solved .verify-q-num {
  background: var(--sage);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.verify-q-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
}

.verify-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}
.verify-option {
  padding: var(--sp-4);
  border: 2px solid var(--rule-soft);
  border-radius: var(--r);
  background: var(--bg-card);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  text-align: left;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.verify-option:hover:not(:disabled) {
  border-color: var(--gold-light);
  background: var(--gold-bg);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.verify-option:disabled { cursor: default; }
.verify-option.wrong {
  border-color: var(--danger);
  background: var(--terra-soft);
  color: var(--danger);
  animation: pulse 0.4s var(--ease);
}
.verify-option.correct {
  border-color: var(--sage);
  background: var(--sage-soft);
  color: var(--sage);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.verify-option-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--muted);
  transition: all var(--dur-fast) var(--ease);
}
.verify-option.correct .verify-option-mark {
  border-color: var(--sage);
  background: var(--sage);
  color: #fff;
}

/* 提示区 */
.verify-hint-row {
  margin-top: var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.verify-hint-btn {
  background: none;
  border: 1px dashed var(--muted-dim);
  color: var(--muted);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.verify-hint-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-bg);
}
.verify-hint-text {
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: var(--gold-bg);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  border: none;
  box-shadow: var(--shadow-xs);
  animation: fadeIn var(--dur) var(--ease);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.verify-hint-text .meta-icon,
.verify-hint-text > .icon {
  display: flex;
  align-items: center;
  color: var(--gold);
  flex-shrink: 0;
}

/* 核验通过横幅 */
.verify-passed {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--sage-soft);
  border: 1px solid var(--hairline, var(--rule));
  border-radius: var(--r-md);
  margin-bottom: var(--sp-5);
  box-shadow: var(--shadow);
  animation: springBounce var(--dur-slow) var(--ease-spring) both;
}
.verify-passed-icon {
  display: flex;
  align-items: center;
  color: var(--gold);
  flex-shrink: 0;
}
.verify-passed-icon .icon {
  display: block;
}
.verify-passed-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-deep);
}
.verify-passed-sub {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ============================================
   步骤四：聊天界面
   左右交替气泡 + 黑色系阴影
   ============================================ */
.chat-container {
  background: var(--bg-card);
  border: 1px solid var(--hairline, var(--rule));
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  max-height: 640px;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--gold-bg);
  border-bottom: 1px solid var(--hairline, var(--rule));
  box-shadow: var(--shadow-xs);
}
.chat-header .match-avatar {
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
}
.chat-header-info { flex: 1; }
.chat-header-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}
.chat-header-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  background: var(--surface);
}

/* 聊天消息：左右交替气泡 */
.chat-message {
  display: flex;
  gap: var(--sp-2);
  max-width: 80%;
  animation: fadeInUp var(--dur) var(--ease);
}
.chat-message.other {
  align-self: flex-start;
}
.chat-message.self {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.chat-msg-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}
.chat-msg-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.chat-message.self .chat-msg-body { align-items: flex-end; }
.chat-msg-meta {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0 var(--sp-1);
}
.chat-msg-meta .sender { font-weight: 600; color: var(--ink-soft); }
.chat-bubble {
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-size: 1rem;
  line-height: 1.6;
  word-break: break-word;
}

/* 对方气泡：左侧 + 左下小圆角 */
.chat-message.other .chat-bubble {
  background: var(--surface);
  color: var(--ink);
  border: none;
  border-bottom-left-radius: var(--r-xs);
  box-shadow: var(--shadow-sm);
}

/* 自己气泡：金色背景 + 右下小圆角 + 黑色系阴影 */
.chat-message.self .chat-bubble {
  background: var(--gold-bg);
  color: var(--ink);
  border-bottom-right-radius: var(--r-xs);
  box-shadow: var(--shadow-sm);
}

/* 打字中指示 */
.chat-typing {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  align-self: flex-start;
  max-width: 80%;
  animation: fadeIn var(--dur) var(--ease);
}
.chat-typing .chat-msg-avatar { width: 40px; height: 40px; font-size: 1.4rem; }
.chat-typing-bubble {
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface);
  border: none;
  border-radius: var(--r-md);
  border-bottom-left-radius: var(--r-xs);
  display: flex;
  gap: 4px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.chat-typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted-dim);
  animation: wave 1s ease-in-out infinite;
}
.chat-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.3s; }

/* 输入区 */
.chat-input-row {
  display: flex;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-card);
  border-top: 1px solid var(--hairline, var(--rule));
  align-items: flex-end;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}
.chat-input {
  flex: 1;
  padding: var(--sp-3) var(--sp-4);
  border: 2px solid var(--rule-soft);
  border-radius: var(--r);
  background: var(--bg);
  font-size: 1.02rem;
  outline: none;
  transition: all var(--dur-fast) var(--ease);
  resize: none;
  max-height: 120px;
  min-height: 48px;
  line-height: 1.5;
}
.chat-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-bg);
}
.chat-send-btn {
  padding: var(--sp-3) var(--sp-5);
  font-size: 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

/* ============================================
   步骤导航按钮
   ============================================ */
.step-nav {
  display: flex;
  gap: var(--sp-3);
  justify-content: space-between;
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--rule);
}
.step-nav-group {
  display: flex;
  gap: var(--sp-3);
}
.step-nav .btn {
  min-width: 140px;
  font-size: 1.02rem;
}

/* 重置/重新寻找 */
.friends-reset-row {
  text-align: center;
  margin-top: var(--sp-5);
}
.friends-reset-link {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color var(--dur-fast) var(--ease);
}
.friends-reset-link:hover { color: var(--terra); }

/* ============================================
   SVG 图标通用样式
   确保 SVG 图标在行内正确对齐
   ============================================ */
.match-results-head-icon .icon,
.verify-passed-icon .icon,
.memory-hint-icon .icon,
.match-meta-item .meta-icon .icon,
.verify-hint-text .icon,
.chat-send-btn .icon {
  display: block;
  flex-shrink: 0;
}

/* 返回首页按钮中的图标 */
.step-nav .btn .icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 2px;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 768px) {
  .friends-hero { padding: var(--sp-6) var(--sp-4) var(--sp-4); }
  .friends-content { padding: 0 var(--sp-4) var(--sp-8); }
  .friends-steps .step-dot { width: 34px; height: 34px; font-size: 0.85rem; }
  .friends-steps .step-label { font-size: 0.74rem; }
  .friends-steps .step-line { margin-bottom: 1.4rem; }

  /* 交错布局在移动端重置为全宽 */
  .verify-question-card:nth-child(odd),
  .verify-question-card:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
  }

  .verify-options { grid-template-columns: 1fr; }
  .match-meta { flex-direction: column; gap: var(--sp-1); }
  .chat-message { max-width: 90%; }
  .step-nav { flex-direction: column-reverse; }
  .step-nav .btn { width: 100%; min-width: 0; }
  .step-nav-group { flex-direction: column-reverse; width: 100%; }
  .step-nav-group .btn { width: 100%; }
}

@media (max-width: 480px) {
  .friends-steps .step-label { font-size: 0.68rem; }
  .match-card-head { flex-wrap: wrap; }
}
