/* 借这几分钟，好好看见自己 · v2
   胶囊选项 / 卡片式题目 / 非固定底部按钮 / 叙事式体验 */

:root {
  --bg: #F7EFE2;
  --surface: #FFFCF6;
  --surface-2: #F9F1E3;
  --ink: #3A2E23;
  --muted: #A8967A;
  --muted-light: #C5B69A;
  --rule: #E8DCC8;
  --accent: #B96855;
  --accent-ink: #9A4A39;
  --accent-soft: #F3DFD5;
  --accent-shadow: rgba(185, 104, 85, 0.3);
  --sage: #7A9E7E;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Crimson Pro", "Times New Roman", "Songti SC", "STSong", serif;
  --radius: 20px;
  --radius-pill: 999px;
  --card-shadow: 0 4px 20px rgba(58, 46, 35, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* 全局洒金效果 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: 
    radial-gradient(circle at 12% 15%, rgba(218, 165, 32, 0.5) 1.5px, transparent 1.5px),
    radial-gradient(circle at 88% 25%, rgba(218, 165, 32, 0.4) 1px, transparent 1px),
    radial-gradient(circle at 45% 65%, rgba(218, 165, 32, 0.45) 1.5px, transparent 1.5px),
    radial-gradient(circle at 78% 82%, rgba(218, 165, 32, 0.35) 1px, transparent 1px),
    radial-gradient(circle at 22% 48%, rgba(218, 165, 32, 0.4) 1px, transparent 1px),
    radial-gradient(circle at 65% 12%, rgba(218, 165, 32, 0.5) 1.5px, transparent 1.5px),
    radial-gradient(circle at 35% 88%, rgba(218, 165, 32, 0.4) 1px, transparent 1px),
    radial-gradient(circle at 92% 55%, rgba(218, 165, 32, 0.45) 1px, transparent 1px),
    radial-gradient(circle at 8% 75%, rgba(218, 165, 32, 0.35) 1px, transparent 1px),
    radial-gradient(circle at 55% 35%, rgba(218, 165, 32, 0.4) 1.5px, transparent 1.5px);
  background-size: 100% 100%;
  opacity: 0.4;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; font-size: inherit; color: inherit; }
.hidden { display: none !important; }

/* ============ 整体 ============ */
.app {
  min-height: 100vh;
  position: relative;
}

.progress-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--rule);
  z-index: 100;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.5s ease;
}

.screen {
  min-height: 100vh;
  padding-bottom: 40px;
}

.page {
  min-height: 100vh;
  animation: fadeInUp 0.5s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ 通用：标题组 ============ */
.kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: lowercase;
  margin-bottom: 16px;
}

.main-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.1em;
  line-height: 1.35;
  margin-bottom: 14px;
}

.sub-title {
  font-size: 14px;
  color: var(--muted);
  line-height: 2;
  letter-spacing: 0.03em;
  margin-bottom: 40px;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.25s ease;
  letter-spacing: 0.05em;
  min-height: 52px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px var(--accent-shadow);
}
.btn-primary:active {
  transform: scale(0.97);
  box-shadow: 0 3px 12px var(--accent-shadow);
}
.btn-primary:disabled {
  background: var(--muted-light);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--rule);
}
.btn-ghost:active {
  background: var(--surface-2);
}
.btn-ghost:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-full {
  width: 100%;
}

/* ============ 通行码页 ============ */
.page-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 24px 20px;
  min-height: 100vh;
}

.code-wrap {
  width: 100%;
  max-width: 420px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 20px;
}

.input-pill {
  margin-bottom: 20px;
}

.pill-input {
  width: 100%;
  padding: 22px 32px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 17px;
  text-align: center;
  letter-spacing: 0.1em;
  outline: none;
  transition: all 0.3s ease;
  font-family: var(--font-serif);
  box-shadow: 0 2px 12px rgba(58, 46, 35, 0.04);
}
.pill-input:focus {
  box-shadow: 0 0 0 3px var(--accent-soft), 0 2px 12px rgba(58, 46, 35, 0.06);
}
.pill-input::placeholder {
  color: var(--muted-light);
  letter-spacing: 0.08em;
  font-family: var(--font-serif);
}

.error-text {
  color: var(--accent-ink);
  font-size: 13px;
  min-height: 22px;
  margin-bottom: 6px;
}

.foot-tip {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin-top: 0;
}
.code-wrap .foot-tip:first-of-type {
  margin-top: 12px;
}

.page-footer {
  text-align: center;
  margin-top: 40px;
  padding-bottom: 30px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  line-height: 1.8;
}
.page-footer a {
  color: var(--muted);
  text-decoration: none;
}
.page-footer a:hover {
  text-decoration: underline;
}

/* ============ 温馨引导页 ============ */
.page-welcome {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  padding-top: 50px;
}

.welcome-wrap {
  width: 100%;
  max-width: 440px;
  text-align: center;
}

/* hero 区 */
.welcome-hero {
  margin-bottom: 24px;
  text-align: center;
}
.hero-deco {
  font-size: 44px;
  margin-bottom: 12px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.hero-sub {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.welcome-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 8px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px rgba(58, 46, 35, 0.06);
  text-align: left;
}

.wc-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 4px;
}
.wc-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.wc-text {
  flex: 1;
}
.wc-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.5;
}
.wc-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.wc-divider {
  height: 1px;
  background: var(--rule);
  margin: 0 8px;
  opacity: 0.6;
}

.welcome-footnote {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 22px;
  text-align: center;
  font-style: italic;
  font-family: var(--font-serif);
}

/* ============ 答题页 ============ */
.page-question {
  padding: 60px 20px 30px;
}

/* 题目卡片 */
.q-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(58, 46, 35, 0.05);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(192, 107, 90, 0.08);
}

.q-text {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.q-guide {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-style: italic;
  font-family: var(--font-serif);
  opacity: 0.9;
}

/* 内容区 */
.q-content {
  max-width: 520px;
  margin: 0 auto;
}

/* 胶囊选项 */
.opts-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.opt-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: var(--surface);
  border: 1.5px solid #E8DCC8;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
  user-select: none;
  font-weight: 500;
  white-space: normal;
  text-align: center;
  word-break: break-word;
  /* 一排两个 */
  flex: 1 1 calc(50% - 5px);
  max-width: calc(50% - 5px);
  min-height: 48px;
  box-sizing: border-box;
}
/* 短文本的选项保持自适应宽度 */
.opt-pill.short-text {
  flex: 0 0 auto;
  max-width: 100%;
}
.opt-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.opt-pill:active {
  transform: scale(0.97);
}
.opt-pill.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-shadow);
  font-weight: 600;
}
.opt-pill.selected:hover {
  color: #fff;
}

/* 文本题 */
.text-wrap {
  margin-bottom: 28px;
}

/* 其他填写框 */
.other-input-wrap {
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--rule);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.other-label {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-style: italic;
}
.other-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--rule);
  border-radius: 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.other-input:focus {
  border-color: var(--accent);
}
.other-input::placeholder {
  color: var(--muted-light);
  font-size: 14px;
}

.text-example {
  font-size: 14px;
  color: var(--muted-light);
  margin-bottom: 12px;
  font-style: italic;
  font-family: var(--font-serif);
}
.text-example::before {
  content: "比如：";
  font-style: normal;
  color: var(--muted);
}

.q-textarea {
  width: 100%;
  min-height: 120px;
  padding: 18px 22px;
  border: none;
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.8;
  resize: vertical;
  outline: none;
  transition: all 0.25s ease;
  font-family: var(--font-sans);
  box-shadow: 0 2px 10px rgba(58, 46, 35, 0.04);
}
.q-textarea:focus {
  box-shadow: 0 0 0 3px var(--accent-soft), 0 2px 10px rgba(58, 46, 35, 0.05);
}
.q-textarea::placeholder {
  color: var(--muted-light);
}

/* 分隔线 */
.divider {
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--rule) 0,
    var(--rule) 6px,
    transparent 6px,
    transparent 12px
  );
  margin-bottom: 24px;
}

/* 按钮行 */
.btn-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.btn-row .btn {
  flex: 1;
}
.btn-row .btn-primary {
  flex: 1.5;
}

/* 底部温馨提示 */
.bottom-tip {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  font-family: var(--font-serif);
  letter-spacing: 0.03em;
}

/* ============ 结束页 ============ */
.page-end {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.end-wrap {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.end-deco {
  font-size: 48px;
  margin-bottom: 20px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.end-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.end-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 26px;
  margin-bottom: 24px;
  box-shadow: var(--card-shadow);
  text-align: center;
}
.end-card p {
  font-size: 15px;
  line-height: 2;
  color: var(--ink);
  margin-bottom: 14px;
}
.end-card p:last-child { margin-bottom: 0; }

.end-wish {
  margin-top: 20px !important;
  color: var(--sage) !important;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ============ 小屏适配 ============ */
@media (max-width: 360px) {
  .main-title { font-size: 30px; }
  .q-text { font-size: 19px; }
  .opt-pill { font-size: 15px; padding: 12px 20px; }
  .welcome-card { padding: 24px 20px; }
  .end-card { padding: 24px 20px; }
  .q-card { padding: 22px 20px; }
}

/* ============ 横屏适配 ============ */
@media (orientation: landscape) and (max-height: 500px) {
  .page-code { padding: 20px; }
  .page-welcome { padding: 20px; }
  .page-question { padding: 40px 20px 20px; }
  .main-title { font-size: 28px; }
  .sub-title { margin-bottom: 24px; }
}

/* ============ 确认对话框 ============ */
.confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(251, 246, 237, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.4s ease;
  backdrop-filter: blur(4px);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.confirm-dialog {
  background: var(--paper, #FDFAF3);
  border-radius: 20px;
  padding: 40px 32px 32px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  box-shadow: 
    0 4px 24px rgba(192, 107, 90, 0.12),
    0 1px 3px rgba(192, 107, 90, 0.08);
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(192, 107, 90, 0.1);
  position: relative;
}

/* 对话框顶部装饰 */
.confirm-dialog::before {
  content: "🌿";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  background: var(--paper, #FDFAF3);
  padding: 0 12px;
}

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

.confirm-dialog h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--accent, #C06B5A);
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.confirm-dialog p {
  font-size: 15px;
  line-height: 2;
  color: var(--ink, #4A3A2F);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.confirm-dialog p:last-of-type {
  margin-bottom: 28px;
  color: var(--ink-light, #7A6A5D);
}

.confirm-buttons {
  display: flex;
  gap: 12px;
}

.confirm-buttons .btn {
  flex: 1;
  padding: 14px 20px;
  font-size: 14px;
  border-radius: 24px;
  font-weight: 500;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  font-family: var(--font-serif);
}

.confirm-buttons .btn-ghost {
  background: transparent;
  color: var(--ink-light, #7A6A5D);
  border: 1px solid var(--rule, #E8DFD2);
}

.confirm-buttons .btn-ghost:hover {
  background: rgba(192, 107, 90, 0.05);
  border-color: var(--accent-light, #E8C9BE);
}

.confirm-buttons .btn-primary {
  background: var(--accent, #C06B5A);
  color: white;
  box-shadow: 0 2px 12px rgba(192, 107, 90, 0.25);
  border: none;
}

.confirm-buttons .btn-primary:hover {
  background: var(--accent-ink, #A85A4A);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(192, 107, 90, 0.35);
}

/* ============ 结束页书信样式 ============ */
.page-end {
  background: var(--bg, #FBF6ED);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.letter-container {
  max-width: 400px;
  width: 100%;
  position: relative;
}

.letter-paper {
  background: var(--paper, #FDFAF3);
  border-radius: 16px;
  padding: 48px 32px 40px;
  box-shadow: 
    0 4px 24px rgba(192, 107, 90, 0.08),
    0 1px 3px rgba(192, 107, 90, 0.04);
  position: relative;
  transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  overflow: hidden;
}

/* 洒金效果 */
.gold-speckles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(218, 165, 32, 0.4) 1px, transparent 1px),
    radial-gradient(circle at 85% 30%, rgba(218, 165, 32, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 45% 70%, rgba(218, 165, 32, 0.35) 1px, transparent 1px),
    radial-gradient(circle at 75% 85%, rgba(218, 165, 32, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 25% 50%, rgba(218, 165, 32, 0.25) 1px, transparent 1px),
    radial-gradient(circle at 60% 15%, rgba(218, 165, 32, 0.4) 1px, transparent 1px),
    radial-gradient(circle at 35% 90%, rgba(218, 165, 32, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 90% 60%, rgba(218, 165, 32, 0.35) 1px, transparent 1px);
  background-size: 100% 100%;
  opacity: 0.6;
}

.letter-paper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  background-image: 
    repeating-linear-gradient(
      transparent,
      transparent 31px,
      rgba(192, 107, 90, 0.06) 31px,
      rgba(192, 107, 90, 0.06) 32px
    );
  pointer-events: none;
  z-index: 1;
}

/* 折叠动画 - 信纸四角向中心折叠 */
.letter-paper.folding {
  /* 先变成菱形（模拟四角折叠） */
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transform: scale(0.4) rotate(180deg);
  opacity: 0;
  transition: clip-path 0.8s ease-in, transform 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s, opacity 0.6s ease-out 0.8s;
}

.letter-deco {
  text-align: center;
  margin-bottom: 24px;
}

.deco-leaf {
  font-size: 28px;
  opacity: 0.6;
}

.letter-greeting {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--ink, #4A3A2F);
  margin-bottom: 28px;
  letter-spacing: 2px;
  text-align: left;
}

.letter-body {
  position: relative;
  z-index: 1;
}

.letter-body p {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 2.2;
  color: var(--ink, #4A3A2F);
  margin-bottom: 16px;
  text-indent: 2em;
  letter-spacing: 1px;
}

.letter-wish {
  color: var(--accent, #C06B5A) !important;
  font-weight: 500;
  margin-top: 24px !important;
}

.letter-closing {
  text-align: right;
  text-indent: 0 !important;
  color: var(--ink-light, #7A6A5D) !important;
  margin-top: 20px !important;
  margin-bottom: 0 !important;
}

.letter-foot {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed rgba(192, 107, 90, 0.2);
}

.foot-leaf {
  font-size: 20px;
  opacity: 0.5;
  letter-spacing: 16px;
}

.btn-letter {
  display: block;
  margin: 28px auto 0;
  padding: 14px 36px;
  font-size: 15px;
  letter-spacing: 3px;
  border-radius: 24px;
  background: var(--accent, #C06B5A);
  color: white;
  border: none;
  box-shadow: 0 2px 12px rgba(192, 107, 90, 0.25);
  transition: all 0.3s ease;
  font-family: var(--font-serif);
}

.btn-letter:hover {
  background: var(--accent-ink, #A85A4A);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(192, 107, 90, 0.35);
}

/* ============ 千纸鹤动画 ============ */
.crane-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  animation: craneAppear 1s ease-out forwards;
}

@keyframes craneAppear {
  from {
    transform: translate(-50%, -50%) scale(0) rotate(-360deg);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
  }
}

.crane-svg {
  width: 180px;
  height: 180px;
  animation: craneFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 12px 35px rgba(0, 0, 0, 0.2));
}

/* 千纸鹤各部分样式 */
.crane-body,
.crane-wing-left,
.crane-wing-right,
.crane-neck,
.crane-tail {
  stroke: rgba(0,0,0,0.15);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.crane-fold {
  stroke: rgba(0,0,0,0.2);
  stroke-width: 1;
  stroke-dasharray: 4,3;
}

/* 千纸鹤颜色方案 - 传统折纸色调 */
/* 粉色 */
.crane-color-0 .crane-body { fill: #FFB6C1; }
.crane-color-0 .crane-wing-left,
.crane-color-0 .crane-wing-right { fill: #FFC0CB; }
.crane-color-0 .crane-neck,
.crane-color-0 .crane-tail { fill: #FFAEB9; }

/* 蓝色 */
.crane-color-1 .crane-body { fill: #87CEEB; }
.crane-color-1 .crane-wing-left,
.crane-color-1 .crane-wing-right { fill: #B0E0E6; }
.crane-color-1 .crane-neck,
.crane-color-1 .crane-tail { fill: #6CB4D8; }

/* 金色 */
.crane-color-2 .crane-body { fill: #FFD700; }
.crane-color-2 .crane-wing-left,
.crane-color-2 .crane-wing-right { fill: #FFE44D; }
.crane-color-2 .crane-neck,
.crane-color-2 .crane-tail { fill: #E6C200; }

/* 紫色 */
.crane-color-3 .crane-body { fill: #DDA0DD; }
.crane-color-3 .crane-wing-left,
.crane-color-3 .crane-wing-right { fill: #E6B8E6; }
.crane-color-3 .crane-neck,
.crane-color-3 .crane-tail { fill: #C88FC8; }

/* 绿色 */
.crane-color-4 .crane-body { fill: #90EE90; }
.crane-color-4 .crane-wing-left,
.crane-color-4 .crane-wing-right { fill: #A8F0A8; }
.crane-color-4 .crane-neck,
.crane-color-4 .crane-tail { fill: #7CD87C; }

/* 橙色 */
.crane-color-5 .crane-body { fill: #FFA500; }
.crane-color-5 .crane-wing-left,
.crane-color-5 .crane-wing-right { fill: #FFB733; }
.crane-color-5 .crane-neck,
.crane-color-5 .crane-tail { fill: #E69500; }

@keyframes craneFloat {
  0%, 100% { 
    transform: translateY(0) rotate(-5deg); 
  }
  25% {
    transform: translateY(-12px) rotate(0deg);
  }
  50% { 
    transform: translateY(-20px) rotate(5deg); 
  }
  75% {
    transform: translateY(-12px) rotate(0deg);
  }
}

/* 确认弹框内容样式 */
.confirm-line {
  font-size: 14px;
  line-height: 2;
  color: var(--ink, #4A3A2F);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.confirm-line:last-of-type {
  margin-bottom: 28px;
}
