:root {
  --rose-primary: #e05a67;
  --rose-dark: #b83d49;
  --rose-light: #fef2f2;
  --berry-deep: #4c1d24;
  --bg-warm: #faf7f5;
  --card-bg: #ffffff;
  --border-soft: #f0eae4;
  --text-main: #2b2525;
  --text-muted: #6e6565;
  --radius: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-warm);
  color: var(--text-main);
  line-height: 1.6;
}

/* 顶部与总站返回条 */
.top-hub-nav {
  background: #2b1f21;
  color: #fff;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-hub-nav a {
  color: #fecdd3;
  text-decoration: none;
  font-weight: 600;
}

/* 品牌区 */
.love-header {
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
  padding: 24px 20px;
  text-align: center;
}

.brand-love {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--rose-primary);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.container {
  max-width: 840px;
  margin: 0 auto;
  padding: 36px 20px 80px;
}

/* 介绍卡片 */
.intro-card {
  text-align: center;
  margin-bottom: 36px;
}

.intro-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--berry-deep);
  margin-bottom: 12px;
}

.intro-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* 进度条 */
.progress-bar-wrap {
  height: 8px;
  background: #e7dfd8;
  border-radius: 999px;
  margin-bottom: 32px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f43f5e, #fb7185);
  width: 0%;
  transition: width 0.25s ease;
}

/* 二选一选择题卡片 (Pairwise Comparison) */
.pair-card {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
  transition: transform 0.2s;
}

.pair-q-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rose-primary);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.pair-options-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pair-option-btn {
  background: #fdfaf8;
  border: 2px solid var(--border-soft);
  border-radius: 10px;
  padding: 16px 20px;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pair-option-btn:hover {
  background: #fff;
  border-color: #fda4af;
  transform: translateX(4px);
}

.pair-option-btn.selected {
  background: #fff1f2;
  border-color: var(--rose-primary);
  color: var(--berry-deep);
  font-weight: 700;
  box-shadow: 0 0 0 3px rgba(224, 90, 103, 0.15);
}

.option-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e7dfd8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.pair-option-btn.selected .option-badge {
  background: var(--rose-primary);
  color: #fff;
}

/* 提交按钮 */
.btn-submit-love {
  width: 100%;
  background: linear-gradient(135deg, var(--rose-primary), var(--rose-dark));
  color: #fff;
  border: none;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 14px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(224, 90, 103, 0.35);
  transition: all 0.2s;
}
.btn-submit-love:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 90, 103, 0.45);
}

/* ==================== 结果报告 ==================== */
.love-result-card {
  display: none;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  padding: 40px 32px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  animation: fadeIn 0.4s ease;
}

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

.result-header {
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 32px;
  margin-bottom: 32px;
}

.love-badge-hero {
  display: inline-block;
  background: var(--rose-light);
  color: var(--rose-primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.primary-love-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--berry-deep);
  margin-bottom: 8px;
}

.primary-love-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* 5大维度爱箱能量条 */
.tank-meters-box {
  margin-bottom: 36px;
}

.tank-meter-row {
  margin-bottom: 18px;
}

.meter-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.meter-track {
  height: 12px;
  background: #f5eee8;
  border-radius: 999px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #fb7185, #e05a67);
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 相处指南卡片 */
.action-tips-box {
  background: #fdfaf8;
  border-left: 4px solid var(--rose-primary);
  padding: 20px 24px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 32px;
  line-height: 1.8;
}

.action-tips-box h4 {
  font-size: 1.1rem;
  color: var(--berry-deep);
  margin-bottom: 10px;
}

.action-tips-box ul {
  padding-left: 20px;
  color: var(--text-muted);
}
