/* ============================================
   「开始做饭」跟做模式 · 预览样式（.ck- 前缀）
   确认后并入正式样式，.ck- 类名保持不变
   ============================================ */
.ck-hidden { display: none !important; }
.ck-wrap { max-width: 720px; margin: 0 auto; }
.ck-tip { text-align: center; padding: 14px 12px 0; font-size: 13px; }
.ck-top { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 16px 2px 14px; }
.ck-top h1 { font-family: var(--font-hand, inherit); font-size: 26px; letter-spacing: 1px; }

/* 清单页 */
.ck-new {
  display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px;
  border: 2px dashed var(--primary, #16a34a); background: #f4fbf3; color: var(--primary-dark, #15803d);
  border-radius: 14px; padding: 14px; font-size: 15.5px; font-weight: 700; cursor: pointer;
  font-family: var(--font-hand, inherit); transition: .15s; margin-bottom: 14px;
}
.ck-new:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(22, 163, 74, .14); }
.ck-newform { display: none; margin-bottom: 14px; }
.ck-newform.open { display: block; }
.ck-newbtns { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.ck-search { margin-bottom: 12px; }
.ck-flow {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 14px 16px; cursor: pointer; margin-bottom: 10px; transition: .15s;
}
.ck-flow:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(107, 78, 40, .16); }
.ck-flow-main { flex: 1; min-width: 0; }
.ck-flow-name { font-family: var(--font-hand, inherit); font-size: 18.5px; display: block; letter-spacing: .5px; }
.ck-flow-meta { font-size: 13px; margin-top: 2px; display: block; }
.ck-flow-cta { flex-shrink: 0; }
.ck-parse-steps {
  background: #fbf7ee; border-radius: 9px; padding: 6px 12px; margin-bottom: 5px;
  font-size: 14px; line-height: 1.6; cursor: pointer;
}
.ck-parse-steps:hover { background: #f6efdd; text-decoration: line-through; color: #b9ac97; }

/* 跟做模式 */
.ck-head {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  position: sticky; top: 62px; z-index: 10;
}
.ck-head-mid { flex: 1; min-width: 0; }
.ck-title { font-family: var(--font-hand, inherit); font-size: 20px; display: block; letter-spacing: .5px; }
.ck-progress { font-size: 13px; color: var(--muted, #8a8177); }
.ck-bar { height: 6px; background: #f0e7d8; border-radius: 999px; margin-top: 7px; overflow: hidden; }
.ck-bar i { display: block; height: 100%; width: 0; background: var(--primary, #16a34a); border-radius: 999px; transition: width .3s ease; }
.ck-switch { margin-left: auto; display: flex; background: #f3ecdf; border-radius: 10px; padding: 3px; flex-shrink: 0; }
.ck-switch button {
  border: 0; background: none; padding: 7px 16px; border-radius: 8px;
  font-size: 14px; color: #7a6f5f; font-weight: 600; cursor: pointer; transition: .15s;
}
.ck-switch button.on { background: #fff; color: var(--primary-dark, #15803d); box-shadow: 0 1px 4px rgba(107, 78, 40, .14); }

.ck-resume {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #fff7e0; border: 1.5px solid #f1dfa2; border-radius: 12px;
  padding: 10px 14px; margin-bottom: 12px; font-size: 14px; color: #7a6a45;
}
.ck-resume .btn { margin-left: auto; }

.ck-ings { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; align-items: center; }
.ck-ings .lbl { font-size: 12.5px; color: var(--muted, #8a8177); margin-right: 2px; }

/* 全览：可勾选步骤清单 */
.ck-step {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 6px;
  border-bottom: 1.5px dashed #efe6d6; cursor: pointer;
}
.ck-step:last-child { border-bottom: 0; }
.ck-step input { display: none; }
.ck-check {
  flex-shrink: 0; width: 27px; height: 27px; border-radius: 50%;
  border: 2px solid #d9cbb2; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; transition: .15s; margin-top: 2px;
}
.ck-step input:checked + .ck-check { background: var(--primary, #16a34a); border-color: var(--primary, #16a34a); }
.ck-step input:checked + .ck-check::after { content: '✓'; }
.ck-text { font-size: 15.5px; line-height: 1.65; transition: .15s; }
.ck-stepno {
  display: block; font-family: var(--font-hand, inherit); font-size: 12.5px;
  color: #c9b98f; letter-spacing: 1.5px; margin-bottom: 2px;
}
.ck-step input:checked ~ .ck-text { color: #b9ac97; text-decoration: line-through; }

/* 逐步：一屏一步 */
.ck-stage { text-align: center; padding: 30px 22px 28px; }
.ck-phase {
  display: inline-block; background: var(--primary-soft, #dcfce7); color: var(--primary-dark, #15803d);
  font-size: 12.5px; font-weight: 700; padding: 4px 14px; border-radius: 999px; margin-bottom: 16px; letter-spacing: 1px;
}
.ck-phase.prep { background: #fff3e6; color: var(--orange-dark, #c2410c); }
.ck-big { font-family: var(--font-hand, inherit); font-size: 25px; line-height: 1.65; margin: 8px 0 4px; letter-spacing: .5px; }
.ck-nav { display: flex; gap: 12px; margin-top: 16px; }
.ck-nav .btn { flex: 1; min-height: 52px; font-size: 16.5px; }
.ck-nav .btn:disabled { visibility: hidden; }

/* 完成 */
.ck-done { text-align: center; padding: 30px 20px 32px; }
.ck-done b { font-family: var(--font-hand, inherit); font-size: 27px; display: block; margin-bottom: 6px; letter-spacing: 2px; }
.ck-done p { color: var(--muted, #8a8177); margin-bottom: 16px; }
.ck-done .egg { margin-bottom: 14px; }
