/* 花镇·分手关系判断 — 设计系统 */

:root {
  /* 品牌色 */
  --coral: #FF545D;
  --coral-soft: #FFE7E5;
  --coral-dark: #E64A52;
  
  /* 背景与表面 */
  --bg-warm: #FAF7F2;
  --card: #FFFFFF;
  --apricot: #F4D8BD;
  --sage: #759487;
  --sage-soft: #E7EFEA;
  
  /* 文字 */
  --text-primary: #29332F;
  --text-secondary: #6F736F;
  --text-tertiary: #9A9A96;
  --line: #DDD8D1;
  
  /* 字体 */
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-hand: "KaiTi", "STKaiti", serif;
  
  /* 圆角与阴影 */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-soft: 0 4px 20px rgba(41, 51, 47, 0.06);
  --shadow-card: 0 8px 28px rgba(41, 51, 47, 0.08);
}

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

html, body {
  font-family: var(--font);
  background: #E8E4DF;
  color: var(--text-primary);
  min-height: 100vh;
}

.stage {
  display: flex;
  gap: 40px;
  padding: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.phone {
  width: 375px;
  height: 812px;
  background: var(--bg-warm);
  border-radius: 44px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.18);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 10px solid #1a1a1a;
}

.screen {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

/* 隐藏滚动条 */
.screen::-webkit-scrollbar { display: none; }

/* 基础排版 */
.h1 {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.h2 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
}

.body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.caption {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-tertiary);
}

/* 按钮 */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: var(--radius-xl);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 84, 93, 0.22);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 3px 10px rgba(255, 84, 93, 0.18);
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-xl);
  font-size: 15px;
  font-weight: 500;
}

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
  box-shadow: var(--shadow-soft);
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

/* 进度 */
.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--coral);
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* 选项卡片 */
.option-card {
  width: 100%;
  min-height: 64px;
  padding: 14px 16px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.option-card.selected {
  border-color: var(--coral);
  background: var(--coral-soft);
  box-shadow: 0 4px 14px rgba(255, 84, 93, 0.12);
}

.option-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-text {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.option-sub {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* 安全区 */
.safe-area {
  padding: 52px 24px 32px;
}

.safe-area-bottom {
  padding-bottom: 40px;
}

/* 顶部返回 */
.nav-back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* 手绘装饰线 */
.hand-line {
  stroke: var(--text-primary);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.hand-fill {
  stroke: var(--text-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 便签 */
.sticky-note {
  background: #FFF9E6;
  padding: 12px 14px;
  border-radius: 2px 16px 2px 16px;
  box-shadow: 2px 3px 10px rgba(0,0,0,0.06);
  transform: rotate(-1.5deg);
  border: 1.5px solid #EDE4CC;
}

/* 手写标注 */
.scribble {
  position: absolute;
  pointer-events: none;
}
