/* ===== 基础重置 & CSS变量 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pink-light:   #ffe4f0;
  --pink:         #ff6fa8;
  --pink-deep:    #e8457a;
  --rose:         #ffb3c8;
  --lavender:     #d4a8ff;
  --lavender-deep:#9b59e8;
  --coral:        #ff8c69;
  --yellow:       #ffd166;
  --white:        #ffffff;
  --text-dark:    #3d2c4e;
  --text-mid:     #7b5ea7;
  --text-light:   #b89fcc;
  --shadow:       0 8px 32px rgba(232, 69, 122, 0.18);
  --shadow-hover: 0 16px 48px rgba(232, 69, 122, 0.28);
  --radius:       24px;
  --radius-sm:    14px;
  --transition:   0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== 全局字体 & 背景 ===== */
html { font-size: 16px; }

body {
  font-family: 'Nunito', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 40%, #e8eaf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-x: hidden;
  position: relative;
}

/* ===== 背景浮动爱心 + 小猫 ===== */
.hearts-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.heart-float,
.cat-float {
  position: absolute;
  font-size: 1.4rem;
  opacity: 0;
  user-select: none;
}

.heart-float {
  animation: floatUp linear infinite;
}

/* 小猫：往上冒 + 左右轻轻晃，像泡泡里的小猫 */
.cat-float {
  animation: catFloatUp ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(255, 111, 168, 0.2));
}

@keyframes floatUp {
  0%   { transform: translateY(100vh) rotate(0deg) scale(0.5); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-120px) rotate(30deg) scale(1.1); opacity: 0; }
}

@keyframes catFloatUp {
  0% {
    transform: translate(0, 100vh) rotate(-8deg) scale(0.55);
    opacity: 0;
  }
  12% { opacity: 0.75; }
  35% {
    transform: translate(var(--drift, 20px), 60vh) rotate(6deg) scale(0.9);
  }
  65% {
    transform: translate(calc(var(--drift, 20px) * -0.6), 25vh) rotate(-5deg) scale(1);
  }
  88% { opacity: 0.55; }
  100% {
    transform: translate(var(--drift, 20px), -100px) rotate(10deg) scale(1.05);
    opacity: 0;
  }
}

/* ===== 主容器 ===== */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
}

/* ===== 步骤切换动画 ===== */
.step {
  display: none;
  animation: stepIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.step.active { display: block; }

.step.exit { animation: stepOut 0.28s ease-in both; }

@keyframes stepIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes stepOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(-20px) scale(0.97); }
}

/* ===== 卡片 ===== */
.card {
  position: relative;
  overflow: visible;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  border: 1.5px solid rgba(255, 111, 168, 0.12);
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.card:hover { box-shadow: var(--shadow-hover); }

.card-wide {
  max-width: 560px;
  margin: 0 auto;
}

.card-compact {
  padding: 28px 22px;
}

.card-compact .card-emoji {
  font-size: 2.8rem;
  margin-bottom: 8px;
}

.card-compact .question {
  margin-bottom: 16px;
}

/* ===== 顶部大表情 ===== */
.card-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}

.animate-bounce {
  animation: bounceIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both,
             gentleBob 3s ease-in-out 0.7s infinite;
}

@keyframes bounceIn {
  from { transform: scale(0) rotate(-15deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg); opacity: 1; }
}

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

/* ===== 文字 ===== */
.title {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 16px;
  font-weight: 600;
}

.question {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 32px;
  line-height: 1.5;
}

.highlight {
  color: var(--pink);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--rose);
  border-radius: 3px;
  z-index: -1;
  opacity: 0.5;
}

/* ===== 按钮组 ===== */
.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
  min-height: 52px;
}

/* 占位：不愿意浮层躲开后，保持原布局不被挤动 */
.no-placeholder {
  display: inline-block;
  flex-shrink: 0;
  visibility: hidden;
  pointer-events: none;
}

.btn-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

/* ===== 通用按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::after { opacity: 1; }

/* 愿意按钮 */
.btn-yes {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(255, 111, 168, 0.45);
  min-width: 130px;
}

.btn-yes:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 111, 168, 0.6);
}

.btn-yes:active { transform: scale(0.97); }

/* 不愿意按钮 —— 浮层躲开，不撑开下方内容 */
.btn-no {
  background: linear-gradient(135deg, #e8e0f0 0%, #d5c9e8 100%);
  color: var(--text-mid);
  min-width: 120px;
  max-width: 160px;
  white-space: nowrap;
}

.btn-no:hover {
  background: linear-gradient(135deg, #ddd5ed 0%, #c8bce0 100%);
}

/* 相对卡片绝对定位浮层，不占文档流 */
.btn-no.dodging {
  position: absolute;
  margin: 0;
  z-index: 20;
  transition:
    left 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    top 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: dodgePop 0.28s ease;
}

@keyframes dodgePop {
  0%   { transform: scale(1) rotate(0deg); }
  35%  { transform: scale(1.06) rotate(-3deg); }
  70%  { transform: scale(0.98) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* 投降状态：必须手动点，不会悬停就跳转 */
.btn-no.surrendered {
  background: linear-gradient(135deg, #ffd6e7 0%, #ffb3c8 100%);
  color: var(--pink-deep);
  animation: surrenderShake 0.4s ease;
  cursor: pointer;
  max-width: none;
}

/* 愿意按钮变大：用 padding，不用 scale（避免热区膨胀误点） */
.btn-yes.boost-1 { padding: 15px 30px; font-size: 1.08rem; }
.btn-yes.boost-2 { padding: 16px 32px; font-size: 1.12rem; }
.btn-yes.boost-3 { padding: 17px 34px; font-size: 1.16rem; }

@keyframes surrenderShake {
  0%,100% { transform: rotate(0deg); }
  20%     { transform: rotate(-5deg); }
  60%     { transform: rotate(5deg); }
}

/* 下一步按钮 */
.btn-next {
  background: linear-gradient(135deg, var(--pink) 0%, var(--lavender-deep) 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(155, 89, 232, 0.35);
  padding: 14px 32px;
}

.btn-next:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 28px rgba(155, 89, 232, 0.5);
}

/* 返回按钮 */
.btn-back {
  background: rgba(200, 185, 220, 0.25);
  color: var(--text-mid);
  border: 2px solid rgba(200, 185, 220, 0.5);
  padding: 12px 24px;
}

.btn-back:hover {
  background: rgba(200, 185, 220, 0.45);
  transform: translateX(-3px);
}

/* 复制按钮 */
.btn-copy {
  background: linear-gradient(135deg, #e8f4fd 0%, #d4eaf7 100%);
  color: #4a90d9;
  border: 2px solid rgba(74, 144, 217, 0.25);
  width: 100%;
  justify-content: center;
}

.btn-copy:hover {
  background: linear-gradient(135deg, #d4eaf7 0%, #bdddf5 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(74, 144, 217, 0.2);
}

.btn-copy.copied {
  background: linear-gradient(135deg, #d4f7e8 0%, #b8f0d4 100%);
  color: #2daa6e;
  border-color: rgba(45, 170, 110, 0.3);
}

/* 满宽按钮 */
.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-icon { font-size: 1.1rem; }

/* 操作按钮组 */
.action-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 提示文字 */
.hint {
  font-size: 0.88rem;
  color: var(--pink);
  min-height: 24px;
  font-weight: 700;
  transition: all 0.3s;
}

/* ===== 日期输入 & 反馈 ===== */
.input-group { margin-bottom: 6px; }

.date-picker-wrap {
  position: relative;
  z-index: 5;
}

/* 日历打开时的半透明遮罩 */
.cal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(61, 44, 78, 0.22);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.cal-backdrop.open {
  display: block;
}

.input-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
}

.date-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(255, 111, 168, 0.25);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  background: rgba(255, 228, 240, 0.2);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none;
  -webkit-appearance: none;
}

.date-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 111, 168, 0.15);
  background: white;
}

/* 自定义可爱日历 */
.date-display {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border: 2px solid rgba(255, 111, 168, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(255, 228, 240, 0.25);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.date-display:hover {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 111, 168, 0.12);
}

.date-display.has-value .date-display-text {
  color: var(--pink-deep);
}

.date-display.open {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 111, 168, 0.12);
}

.date-display-text {
  color: var(--text-light);
  text-align: left;
}

.date-display-icon {
  font-size: 1.2rem;
  line-height: 1;
}

/* 浮层日历：fixed 定位，不撑开页面高度 */
.cute-calendar {
  display: none;
  position: fixed;
  z-index: 50;
  width: min(360px, calc(100vw - 32px));
  padding: 14px 12px 12px;
  border-radius: 20px;
  background: linear-gradient(160deg, #fff7fb 0%, #faf5ff 55%, #fff 100%);
  border: 1.5px solid rgba(255, 111, 168, 0.28);
  box-shadow: 0 16px 40px rgba(232, 69, 122, 0.22);
}

.cute-calendar.open {
  display: block;
  animation: calIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

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

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px;
}

.cal-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}

.cal-nav {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 111, 168, 0.15), rgba(155, 89, 232, 0.12));
  color: var(--pink-deep);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.cal-nav:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, var(--pink), var(--lavender-deep));
  color: white;
  box-shadow: 0 4px 14px rgba(255, 111, 168, 0.35);
}

.cal-nav:active { transform: scale(0.95); }

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}

.cal-weekdays span {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-light);
  padding: 4px 0;
}

.cal-weekdays span:first-child,
.cal-weekdays span:last-child {
  color: var(--pink);
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  min-height: 36px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cal-day:hover:not(:disabled):not(.selected) {
  background: rgba(255, 111, 168, 0.12);
  color: var(--pink-deep);
  transform: scale(1.06);
}

.cal-day.other-month {
  color: #d8cce6;
  pointer-events: none;
}

.cal-day.disabled {
  color: #e0d6ea;
  cursor: not-allowed;
  opacity: 0.55;
}

.cal-day.today:not(.selected):: {
  color: var(--pink-deep);
  background: rgba(255, 111, 168, 0.1);
  box-shadow: inset 0 0 0 1.5px rgba(255, 111, 168, 0.35);
}

.cal-day.selected {
  background: linear-gradient(135deg, var(--pink) 0%, var(--lavender-deep) 100%);
  color: white;
  box-shadow: 0 6px 16px rgba(255, 111, 168, 0.4);
  transform: scale(1.05);
}

.cal-day.selected::after {
  content: '♥';
  position: absolute;
  bottom: 2px;
  font-size: 0.45rem;
  line-height: 1;
  opacity: 0.9;
}

.cal-footer {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 111, 168, 0.2);
}

.cal-today-btn {
  border: none;
  background: transparent;
  color: var(--lavender-deep);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 999px;
  transition: var(--transition);
}

.cal-today-btn:hover {
  background: rgba(155, 89, 232, 0.12);
  color: var(--pink-deep);
}

.date-feedback {
  min-height: 28px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--pink-deep);
  text-align: center;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.date-feedback.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 480px) {
  .cal-day {
    min-height: 34px;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .cal-nav {
    width: 32px;
    height: 32px;
  }
}

/* ===== 时间卡片 ===== */
.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.time-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 111, 168, 0.18);
  background: rgba(255, 228, 240, 0.15);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.time-slot:hover {
  border-color: var(--pink);
  background: rgba(255, 111, 168, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 111, 168, 0.2);
}

.time-slot.selected {
  border-color: var(--pink);
  background: linear-gradient(135deg, rgba(255, 111, 168, 0.12), rgba(212, 168, 255, 0.12));
  box-shadow: 0 4px 14px rgba(255, 111, 168, 0.25);
  transform: translateY(-3px) scale(1.03);
}

.time-icon   { font-size: 1.4rem; }
.time-label  { font-size: 0.95rem; font-weight: 800; color: var(--text-dark); }
.time-desc   { font-size: 0.72rem; color: var(--text-light); font-weight: 600; }

.custom-time-wrap { display: none; margin-bottom: 8px; }
.custom-time-wrap.show { display: block; }

.custom-time-slot.has-custom .time-label {
  color: var(--pink-deep);
}

/* ===== 自定义时间浮层（风格对齐日历） ===== */
.cute-timepicker {
  display: none;
  position: fixed;
  z-index: 50;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(340px, calc(100vw - 32px));
  padding: 18px 16px 16px;
  border-radius: 22px;
  background: linear-gradient(160deg, #fff7fb 0%, #faf5ff 55%, #fff 100%);
  border: 1.5px solid rgba(255, 111, 168, 0.28);
  box-shadow: 0 18px 48px rgba(232, 69, 122, 0.25);
}

.cute-timepicker.open {
  display: block;
  animation: tpIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes tpIn {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.96); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.tp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.tp-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 111, 168, 0.12);
  color: var(--pink-deep);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}

.tp-close:hover {
  background: linear-gradient(135deg, var(--pink), var(--lavender-deep));
  color: white;
}

.tp-preview {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--pink-deep);
  letter-spacing: 2px;
  margin-bottom: 12px;
  padding: 8px 0;
  border-radius: 14px;
  background: rgba(255, 111, 168, 0.08);
}

.tp-cols {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 14px;
}

.tp-col {
  flex: 1;
  min-width: 0;
}

.tp-divider {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--pink);
  padding-top: 22px;
}

.tp-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 6px;
}

.tp-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 111, 168, 0.12);
  -webkit-overflow-scrolling: touch;
}

.tp-item {
  border: none;
  border-radius: 10px;
  min-height: 36px;
  background: transparent;
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.tp-item:hover {
  background: rgba(255, 111, 168, 0.12);
  color: var(--pink-deep);
}

.tp-item.selected {
  background: linear-gradient(135deg, var(--pink), var(--lavender-deep));
  color: white;
  box-shadow: 0 4px 12px rgba(255, 111, 168, 0.35);
}

.tp-confirm {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 13px 18px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  color: white;
  cursor: pointer;
  background: linear-gradient(135deg, var(--pink), var(--lavender-deep));
  box-shadow: 0 8px 22px rgba(255, 111, 168, 0.4);
  transition: var(--transition);
}

.tp-confirm:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(255, 111, 168, 0.5);
}

/* 时间场景描述 */
.time-scene-wrap {
  min-height: 32px;
  margin-bottom: 4px;
}

.time-scene {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lavender-deep);
  background: linear-gradient(135deg, rgba(212, 168, 255, 0.15), rgba(255, 111, 168, 0.1));
  border-radius: 10px;
  padding: 8px 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.time-scene.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 分类筛选 + 紧凑选项 ===== */
.filter-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  margin-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar { display: none; }

.filter-chip {
  flex: 0 0 auto;
  border: 1.5px solid rgba(255, 111, 168, 0.22);
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-mid);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-chip:hover {
  border-color: var(--pink);
  color: var(--pink-deep);
}

.filter-chip.active {
  background: linear-gradient(135deg, var(--pink), var(--lavender-deep));
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 14px rgba(255, 111, 168, 0.3);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 4px;
}

.option-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 10px 8px;
  border-radius: 14px;
  border: 2px solid rgba(255, 111, 168, 0.18);
  background: rgba(255, 228, 240, 0.18);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  font-family: inherit;
  position: relative;
}

.option-chip:hover {
  border-color: var(--pink);
  background: rgba(255, 111, 168, 0.1);
  transform: translateY(-2px);
}

/* 选中态：实心粉紫渐变，一眼能认出 */
.option-chip.selected {
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink) 0%, var(--lavender-deep) 100%);
  box-shadow: 0 8px 20px rgba(255, 111, 168, 0.42);
  transform: translateY(-2px) scale(1.04);
}

.option-chip.selected::after {
  content: '✓';
  position: absolute;
  top: 4px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--pink-deep);
  font-size: 0.65rem;
  font-weight: 900;
  line-height: 16px;
  text-align: center;
}

.option-chip.special {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(255, 111, 168, 0.1), rgba(212, 168, 255, 0.1));
}

.option-chip.special.selected {
  background: linear-gradient(135deg, var(--pink) 0%, var(--lavender-deep) 100%);
}

.option-chip .opt-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.option-chip .opt-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-dark);
}

.option-chip.selected .opt-name {
  color: #fff;
}

.selected-hint {
  min-height: 22px;
  margin: 8px 0 0;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pink-deep);
  background: rgba(255, 111, 168, 0.1);
  border: 1px solid rgba(255, 111, 168, 0.18);
}

.selected-hint:empty {
  display: none;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  min-height: 0;
}

/* ===== 约会摘要 ===== */
.summary-box {
  background: linear-gradient(135deg, rgba(255, 228, 240, 0.5), rgba(243, 229, 245, 0.5));
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 20px 0 0;
  border: 1.5px solid rgba(255, 111, 168, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.summary-icon { font-size: 1.6rem; flex-shrink: 0; }
.summary-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.summary-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
}

/* ===== 倒计时 ===== */
.countdown-box {
  margin: 16px 0 0;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 111, 168, 0.1), rgba(155, 89, 232, 0.1));
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 111, 168, 0.18);
}

.countdown-label {
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.countdown-timer {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.countdown-num {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--pink-deep);
  min-width: 36px;
  text-align: center;
  display: inline-block;
  line-height: 1;
  transition: transform 0.2s;
}

.countdown-num.tick {
  transform: scale(1.15);
}

.countdown-unit {
  font-size: 0.8rem;
  color: var(--text-mid);
  font-weight: 700;
  margin-right: 6px;
}

.countdown-already {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--pink-deep);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.75; transform: scale(1.04); }
}

/* ===== 结尾文字 ===== */
.final-message {
  font-size: 1rem;
  color: var(--text-mid);
  font-weight: 600;
  line-height: 1.7;
  margin: 18px 0;
}

/* ===== 彩带 ===== */
.confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  top: -20px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  animation: confettiFall linear both;
}

@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0.3; }
}

/* ===== 爱心爆炸粒子 ===== */
.heart-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 1.4rem;
  animation: heartBurst 0.75s ease-out forwards;
}

@keyframes heartBurst {
  0%   { transform: translate(0, 0) scale(1.2); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; }
}

/* ===== 进度指示点 ===== */
.progress-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 111, 168, 0.25);
  transition: all 0.35s ease;
}

.dot.active {
  background: var(--pink);
  width: 24px;
  border-radius: 4px;
}

/* ===== Toast 提示 ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text-dark);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  z-index: 9998;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  pointer-events: none;
  font-family: inherit;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 480px) {
  body { padding: 16px; }
  .card { padding: 28px 20px; }
  .title { font-size: 1.6rem; }
  .question { font-size: 1.15rem; }
  .btn { padding: 12px 20px; font-size: 0.95rem; }

  .time-slots { grid-template-columns: repeat(2, 1fr); }
  .custom-time-slot { grid-column: span 2; }

  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .card-compact { padding: 24px 16px; }

  .card-emoji { font-size: 3rem; }
  .countdown-num { font-size: 1.4rem; }
}

@media (max-width: 360px) {
  .title { font-size: 1.4rem; }
  .btn-group { gap: 10px; }
}
