/* Mind at the Helm (chefs-mind). Everything is scoped under #chefs-mind. */
#chefs-mind {
  --cm-navy: var(--navy, #0f2b52);
  --cm-navy-deep: var(--navy-deep, #0a1f3d);
  --cm-sky: var(--sky, #36abe2);
  --cm-sky-soft: var(--sky-soft, #e4f3fb);
  --cm-ink: var(--ink, #0e1b2e);
  --cm-ink-soft: var(--ink-soft, #4a5872);
  --cm-paper: var(--paper, #f6f3ec);
  --cm-card: var(--card, #fff);
  --cm-line: var(--line, #e3ded3);
  --cm-radius: var(--radius, 16px);
  --cm-ease: var(--ease, cubic-bezier(.2,.7,.2,1));
  --cm-peach: #f6c9a8;
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  color: var(--cm-ink);
  font-family: var(--font, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  line-height: 1.5;
}
#chefs-mind *, #chefs-mind *::before, #chefs-mind *::after { box-sizing: border-box; }
#chefs-mind .cm-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
#chefs-mind .cm-vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#chefs-mind [hidden] { display: none !important; }

/* header and tracker */
#chefs-mind .cm-head { text-align: center; margin-bottom: 14px; }
#chefs-mind .cm-title { margin: 0; font-size: clamp(24px, 4.4vw, 34px); line-height: 1.15; color: var(--cm-navy); letter-spacing: -.01em; }
#chefs-mind .cm-sub { margin: 6px 0 0; color: var(--cm-ink-soft); font-size: 15px; }
#chefs-mind .cm-track { list-style: none; margin: 0 auto 16px; padding: 0; display: flex; align-items: center; justify-content: center; gap: 6px; max-width: 460px; }
#chefs-mind .cm-step { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 0 0 auto; min-width: 64px; font-size: 13px; color: var(--cm-ink-soft); }
#chefs-mind .cm-step-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--cm-card); border: 2px dashed var(--cm-line); display: grid; place-items: center; padding: 6px; opacity: .6; transition: all .3s var(--cm-ease); }
#chefs-mind .cm-step-ic svg, #chefs-mind .cm-step-ic img { width: 100%; height: 100%; display: block; }
#chefs-mind .cm-step.is-current .cm-step-ic { border: 2px solid var(--cm-sky); opacity: 1; box-shadow: 0 0 0 4px var(--cm-sky-soft); }
#chefs-mind .cm-step.is-current { color: var(--cm-navy); font-weight: 700; }
#chefs-mind .cm-step.is-done .cm-step-ic { border: 2px solid var(--cm-navy); background: var(--cm-sky-soft); opacity: 1; }
#chefs-mind .cm-step-line { flex: 1 1 40px; max-width: 70px; height: 3px; border-radius: 3px; background: var(--cm-line); margin-bottom: 22px; transition: background .3s; }
#chefs-mind .cm-step-line.is-done { background: var(--cm-sky); }

/* scene viewport: page turn */
#chefs-mind .cm-view { position: relative; overflow: hidden; padding: 6px; margin: -6px; }
#chefs-mind .cm-scene { background: var(--cm-card); border: 1px solid var(--cm-line); border-radius: calc(var(--cm-radius) + 6px); padding: 14px; display: grid; gap: 16px; }
#chefs-mind .cm-scene.cm-leave { position: absolute; top: 6px; left: 6px; right: 6px; animation: cm-out .45s var(--cm-ease) forwards; pointer-events: none; }
#chefs-mind .cm-scene.cm-enter { animation: cm-in .45s var(--cm-ease); }
@keyframes cm-out { to { transform: translateX(-60%) rotate(-1.5deg); opacity: 0; } }
@keyframes cm-in { from { transform: translateX(60%) rotate(1.5deg); opacity: 0; } }
@media (min-width: 860px) {
  #chefs-mind .cm-scene { grid-template-columns: 1.3fr 1fr; padding: 20px; gap: 26px; align-items: center; }
}

/* stage */
#chefs-mind .cm-stage { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--cm-radius); overflow: hidden; background: #fbf6ec; isolation: isolate; }
#chefs-mind .cm-bg, #chefs-mind .cm-bg > svg, #chefs-mind .cm-bg > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
#chefs-mind .cm-it { position: absolute; mix-blend-mode: multiply; }
#chefs-mind .cm-it .cm-blend { mix-blend-mode: normal; }
/* white matters here (foam), so no multiply; soft oval edge instead */
#chefs-mind .cm-it.cm-solid { mix-blend-mode: normal; -webkit-mask-image: radial-gradient(farthest-side, #000 72%, transparent); mask-image: radial-gradient(farthest-side, #000 72%, transparent); }
#chefs-mind .cm-it > svg, #chefs-mind .cm-it > img { width: 100%; height: auto; display: block; overflow: visible; }
#chefs-mind .cm-svg { overflow: visible; }
#chefs-mind .cm-blend { mix-blend-mode: multiply; }
#chefs-mind .cm-wob { filter: url(#cm-wob-f); }
#chefs-mind .cm-ally { z-index: 3; }
#chefs-mind .cm-pile { transition: all .25s var(--cm-ease); }
#chefs-mind .cm-flow { position: absolute; left: 8%; right: 8%; top: 62%; display: flex; justify-content: space-around; pointer-events: none; }
#chefs-mind .cm-flow span { display: block; width: 18%; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--cm-sky) 0 8px, transparent 8px 14px); }

/* spotlight: a soft veil dims the scene except around what to act on */
#chefs-mind .cm-veil { position: absolute; inset: 0; z-index: 4; pointer-events: none; animation: cm-veil .5s ease-out both; }
#chefs-mind .cm-veil-try { background: rgba(10,31,61,.28); opacity: 0; animation: none; transition: opacity .5s ease-out; }
#chefs-mind .is-glow .cm-veil-try { opacity: 1; }
@keyframes cm-veil { from { opacity: 0; } }
#chefs-mind .cm-lit { position: relative; z-index: 1; box-shadow: 0 0 0 4px rgba(54,171,226,.25), 0 6px 18px rgba(15,43,82,.18); }
#chefs-mind .cm-litbox { border-radius: 14px; padding: 8px 10px; background: #fff; box-shadow: 0 0 0 3px rgba(54,171,226,.28); }
#chefs-mind .cm-dimmed { opacity: .6; }
#chefs-mind .cm-dimmed:hover, #chefs-mind .cm-dimmed:focus-visible { opacity: 1; }
#chefs-mind .cm-c3.cm-s-solve .cm-stage { touch-action: pan-y; cursor: grab; }
#chefs-mind .cm-c3.cm-s-solve .cm-stage.is-dragging { cursor: grabbing; }
#chefs-mind .cm-roller { filter: drop-shadow(0 0 6px rgba(255,246,214,.9)); }

/* thinking names: sky-blue marker */
#chefs-mind .cm-mark { background: linear-gradient(transparent 52%, rgba(54,171,226,.32) 52%, rgba(54,171,226,.32) 92%, transparent 92%); color: inherit; padding: 0 .12em; border-radius: 2px; font-weight: 700; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
#chefs-mind .cm-kick .cm-mark { color: var(--cm-navy); }
#chefs-mind .cm-tag { display: block; font-size: 12px; font-weight: 600; letter-spacing: .02em; margin-top: 3px; }
#chefs-mind .cm-intro { font-size: 19px; line-height: 1.45; color: var(--cm-navy); margin: 4px 0 16px !important; }
#chefs-mind .cm-that { font-size: 19px; color: var(--cm-navy); margin: 0 0 8px !important; }

/* Ally, the guide, pointing at the unlock button */
#chefs-mind .cm-unlockrow { align-items: flex-end; }
#chefs-mind .cm-guide { display: block; width: 50px; flex: 0 0 auto; margin-right: -4px; opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .4s var(--cm-ease); }
#chefs-mind .cm-guide img, #chefs-mind .cm-guide svg { width: 100%; height: auto; display: block; }
#chefs-mind .is-glow .cm-guide { opacity: 1; transform: none; }
@media (min-width: 520px) { #chefs-mind .cm-guide { width: 58px; } }

/* panel */
#chefs-mind .cm-panel { min-width: 0; }
#chefs-mind .cm-panel p { margin: 0 0 12px; }
#chefs-mind .cm-kick { font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; color: var(--cm-sky); font-weight: 700; margin: 0 0 2px !important; }
#chefs-mind .cm-h { margin: 0 0 10px; font-size: clamp(21px, 3vw, 26px); line-height: 1.2; color: var(--cm-navy); outline: none; }
#chefs-mind .cm-h:focus-visible { outline: 3px solid var(--cm-sky); outline-offset: 3px; border-radius: 6px; }
#chefs-mind .cm-sm { font-size: 14px; color: var(--cm-ink-soft); }
#chefs-mind .cm-out { font-weight: 700; color: var(--cm-navy); }
#chefs-mind .cm-win { color: #1c7a4a; }
#chefs-mind .cm-bubble { position: relative; background: var(--cm-sky-soft); border-radius: 18px; padding: 10px 14px; font-weight: 600; color: var(--cm-navy); margin-left: 10px !important; }
#chefs-mind .cm-bubble::before { content: ""; position: absolute; left: -8px; top: 14px; border: 8px solid transparent; border-right-color: var(--cm-sky-soft); border-left: 0; }
#chefs-mind .cm-bubble.cm-bot { background: #eef1f5; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; font-weight: 500; }
#chefs-mind .cm-bubble.cm-bot::before { border-right-color: #eef1f5; }
#chefs-mind .cm-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }

/* buttons */
#chefs-mind .cm-btn { appearance: none; font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-align: center; transition: transform .2s var(--cm-ease), box-shadow .2s, background .2s; touch-action: manipulation; max-width: 100%; }
#chefs-mind .cm-btn:hover { transform: translateY(-1px); }
#chefs-mind .cm-btn:focus-visible, #chefs-mind .cm-pick:focus-visible, #chefs-mind input[type="range"]:focus-visible { outline: 3px solid var(--cm-sky); outline-offset: 3px; }
#chefs-mind .cm-primary { background: var(--cm-navy); color: #fff; }
#chefs-mind .cm-ghost { background: transparent; color: var(--cm-navy); border-color: var(--cm-line); }
#chefs-mind .cm-ghost:hover { border-color: var(--cm-navy); }
#chefs-mind .cm-tempt { background: linear-gradient(120deg, #8fd0f0, var(--cm-sky) 50%, #b3a6f2); color: var(--cm-navy-deep); box-shadow: 0 6px 20px rgba(54,171,226,.35); }
#chefs-mind .cm-tempt::before { content: "\2726  "; }
#chefs-mind .cm-unlock { background: #fff6d6; color: var(--cm-navy-deep); border-color: #f2c46d; }
#chefs-mind .cm-unlock::before { content: "\2605  "; }
#chefs-mind .cm-glow { animation: cm-glow 1.4s ease-in-out infinite; border-color: #f2b33d; }
@keyframes cm-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(242,196,109,.0), 0 0 12px rgba(242,179,61,.45); } 50% { box-shadow: 0 0 0 7px rgba(242,196,109,.35), 0 0 24px rgba(242,179,61,.7); } }
#chefs-mind .cm-link { background: none; border: 0; padding: 6px 0; min-height: 40px; color: var(--cm-navy); text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }
#chefs-mind .cm-link[aria-expanded="true"] { text-decoration: none; color: var(--cm-ink-soft); }
#chefs-mind .cm-skipwrap { margin: 12px 0 0 !important; display: none; }
#chefs-mind .cm-skip { background: none; border: 0; min-height: 40px; padding: 6px 0; color: var(--cm-ink-soft); text-decoration: underline; font-weight: 600; font-size: 14px; }

/* game 1 */
#chefs-mind .cm-needs { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
#chefs-mind .cm-needs li { border: 2px dashed var(--cm-line); border-radius: 12px; padding: 7px 12px; font-size: 14px; }
#chefs-mind .cm-needs li.is-on { border-style: solid; border-color: var(--cm-sky); background: var(--cm-sky-soft); }
#chefs-mind .cm-needs b { color: var(--cm-navy); }
#chefs-mind .cm-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
@media (min-width: 520px) { #chefs-mind .cm-picks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
#chefs-mind .cm-pick { appearance: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--cm-ink); background: var(--cm-card); border: 2px solid var(--cm-line); border-radius: 14px; padding: 6px 6px 8px; min-height: 46px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; touch-action: manipulation; }
#chefs-mind .cm-pick-ic { width: 46px; height: 46px; display: block; }
#chefs-mind .cm-pick-ic svg, #chefs-mind .cm-pick-ic img { width: 100%; height: 100%; display: block; }
#chefs-mind .cm-pick[aria-pressed="true"] { border-color: var(--cm-navy); background: var(--cm-sky-soft); }
#chefs-mind .cm-pick[aria-pressed="true"]::after { content: "\2713"; font-size: 13px; color: var(--cm-navy); line-height: 1; }

/* game 2 and 3 controls */
#chefs-mind .cm-sliders { display: grid; gap: 10px; margin-bottom: 10px; }
#chefs-mind .cm-sl { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 10px; }
#chefs-mind .cm-sl label { font-weight: 600; font-size: 14px; }
#chefs-mind .cm-sl input { grid-column: 1 / -1; }
#chefs-mind .cm-val { grid-row: 1; grid-column: 2; font-weight: 700; color: var(--cm-navy); min-width: 2ch; text-align: right; }
#chefs-mind input[type="range"] { width: 100%; height: 34px; margin: 0; accent-color: var(--cm-sky); cursor: pointer; touch-action: pan-y; }
#chefs-mind input[type="range"]:disabled { cursor: default; opacity: .6; }
#chefs-mind .cm-roll { margin: 4px 0 6px; }
#chefs-mind .cm-roll input { accent-color: #d9a46b; }
#chefs-mind .cm-hearts-t { color: var(--cm-sky); font-size: 24px; letter-spacing: 4px; }

/* debrief and bridge */
#chefs-mind .cm-debrief { border-left: 4px solid var(--cm-sky); background: var(--cm-paper); border-radius: 0 var(--cm-radius) var(--cm-radius) 0; padding: 14px 16px 6px; margin-bottom: 14px; }
#chefs-mind .cm-dlabel { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--cm-ink-soft); margin: 0 0 4px !important; }
#chefs-mind .cm-lead { font-size: 18px; font-weight: 600; color: var(--cm-navy); line-height: 1.4; }
#chefs-mind .cm-more { font-size: 17px; color: var(--cm-ink); margin-top: 4px !important; }
#chefs-mind .cm-scene-bridge { display: block; }
#chefs-mind .cm-bridge { max-width: 760px; margin: 0 auto; padding: 10px 4px; display: grid; gap: 8px 22px; justify-items: center; }
#chefs-mind .cm-bridge-ally { width: 74px; }
#chefs-mind .cm-bridge-ally img { width: 100%; height: auto; display: block; }
#chefs-mind .cm-bridge-txt { min-width: 0; justify-self: stretch; }
@media (min-width: 640px) { #chefs-mind .cm-bridge { grid-template-columns: 120px 1fr; align-items: center; } #chefs-mind .cm-bridge-ally { width: 120px; } }
#chefs-mind .cm-bl { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
#chefs-mind .cm-bl .cm-mark { color: var(--cm-navy); }
#chefs-mind .cm-close { font-style: italic; font-size: 17px; color: var(--cm-ink); border-top: 1px solid var(--cm-line); padding-top: 14px; margin: 0 0 14px; }

/* confetti */
#chefs-mind .cm-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
#chefs-mind .cm-confetti i { position: absolute; top: -12px; width: 8px; height: 12px; border-radius: 2px; animation: cm-fall 1.8s ease-in forwards; }
@keyframes cm-fall { to { top: 105%; opacity: .2; } }

/* fun motion (each "wrong first try" settles after about 5 seconds) */
#chefs-mind .cm-jiggle { animation: cm-jiggle .5s ease-in-out 10; }
#chefs-mind .cm-shake { animation: cm-shake .6s ease-in-out 8; }
#chefs-mind .cm-fizz { transform-origin: 50% 80%; animation: cm-fizz 1s ease-in-out 5; }
#chefs-mind .cm-foam { transform-box: fill-box; transform-origin: 50% 100%; animation: cm-foam 1s ease-in-out 5; }
#chefs-mind .cm-pop { animation: cm-pop .5s var(--cm-ease) both; }
#chefs-mind .cm-fly { animation: cm-fly 1.2s ease-in 4 both; }
#chefs-mind .cm-d1 { animation-delay: .4s; }
#chefs-mind .cm-d2 { animation-delay: .8s; }
#chefs-mind .cm-grow { transform-origin: 50% 100%; animation: cm-grow 4.5s ease-out both; }
#chefs-mind .cm-pulse { animation: cm-pulse .7s ease-in-out 7; }
#chefs-mind .cm-arrive { animation: cm-arrive 1.2s var(--cm-ease) both; }
#chefs-mind .cm-rise { animation: cm-rise 2.4s ease-in-out infinite; }
#chefs-mind .cm-sizzle { animation: cm-shake .4s ease-in-out infinite; }
#chefs-mind .cm-hearts { animation: cm-pop .6s var(--cm-ease) both, cm-float 3s ease-in-out .6s 3; }
#chefs-mind .cm-juggle { transform-box: fill-box; transform-origin: 50% 50%; animation: cm-bob .6s ease-in-out 8; }
@keyframes cm-jiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-6deg) translateY(-3px); } 75% { transform: rotate(6deg); } }
@keyframes cm-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes cm-fizz { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08) rotate(-2deg); } }
@keyframes cm-foam { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.25); } }
@keyframes cm-pop { from { transform: scale(.6); opacity: 0; } }
@keyframes cm-fly { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(260%, -120%) rotate(320deg); opacity: 0; } }
@keyframes cm-grow { from { transform: scale(.25); } }
@keyframes cm-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@keyframes cm-arrive { from { transform: translateX(80%); opacity: 0; } }
@keyframes cm-rise { 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(-8px); opacity: .5; } }
@keyframes cm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes cm-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* professional mode: same mechanics, calmer look */
[data-mode="pro"] #chefs-mind .cm-skipwrap { display: block; }
[data-mode="pro"] #chefs-mind .cm-bg { opacity: .45; filter: saturate(.5); }
[data-mode="pro"] #chefs-mind .cm-stage { background: #f4f7fa; border: 1px solid var(--cm-line); }
[data-mode="pro"] #chefs-mind .cm-wob { filter: none; }
[data-mode="pro"] #chefs-mind .cm-wash { display: none; }
[data-mode="pro"] #chefs-mind .cm-scene { box-shadow: none; }
[data-mode="pro"] #chefs-mind .cm-tempt { background: var(--cm-sky-soft); box-shadow: none; border-color: var(--cm-sky); }
[data-mode="pro"] #chefs-mind .cm-tempt::before, [data-mode="pro"] #chefs-mind .cm-unlock::before { content: none; }
[data-mode="pro"] #chefs-mind .cm-bubble { background: transparent; border-left: 3px solid var(--cm-line); border-radius: 0; padding: 2px 0 2px 12px; margin-left: 0 !important; font-weight: 500; }
[data-mode="pro"] #chefs-mind .cm-bubble::before { content: none; }
[data-mode="pro"] #chefs-mind .cm-jiggle, [data-mode="pro"] #chefs-mind .cm-shake, [data-mode="pro"] #chefs-mind .cm-fizz,
[data-mode="pro"] #chefs-mind .cm-foam, [data-mode="pro"] #chefs-mind .cm-juggle, [data-mode="pro"] #chefs-mind .cm-sizzle,
[data-mode="pro"] #chefs-mind .cm-rise, [data-mode="pro"] #chefs-mind .cm-hearts, [data-mode="pro"] #chefs-mind .cm-pulse { animation: none; }
[data-mode="pro"] #chefs-mind .cm-veil { opacity: .6; }
[data-mode="pro"] #chefs-mind .is-glow .cm-veil-try { opacity: .6; }
[data-mode="pro"] #chefs-mind .cm-glow { animation: none; box-shadow: 0 0 0 4px rgba(242,196,109,.45); }

/* reduced motion: no automatic movement, instant swaps */
#chefs-mind.cm-rm *, #chefs-mind.cm-rm *::before, #chefs-mind.cm-rm *::after { animation: none !important; transition: none !important; }
#chefs-mind.cm-rm .cm-glow { box-shadow: 0 0 0 4px rgba(242,196,109,.55); }
@media (prefers-reduced-motion: reduce) {
  #chefs-mind *, #chefs-mind *::before, #chefs-mind *::after { animation: none !important; transition: none !important; }
  #chefs-mind .cm-glow { box-shadow: 0 0 0 4px rgba(242,196,109,.55); }
}

/* ---------- Sketchbook skin (visual only; layout and spotlight untouched) ---------- */
#chefs-mind .cm-title, #chefs-mind .cm-h { font-family: var(--display, Georgia, serif); font-weight: 700; }
#chefs-mind .cm-title { font-size: clamp(22px, 3vw, 28px); }
#chefs-mind .cm-sub { font-size: 14px; }
#chefs-mind .cm-step-ic { border-radius: 52% 48% 50% 50% / 48% 52% 48% 52%; border-color: #c9c0ae; background: #fffdf7; }
#chefs-mind .cm-step.is-current .cm-step-ic { border-color: var(--cm-navy); box-shadow: 2px 2px 0 var(--cm-navy); background: #e8f4fb; }
#chefs-mind .cm-step-line { height: 0; background: none; border-top: 2.5px dashed #b9b0a0; border-radius: 0; }
#chefs-mind .cm-step-line.is-done { background: none; border-top: 3px solid var(--cm-sky); }
#chefs-mind .cm-step-l { font-family: var(--hand, inherit); font-size: 18px; font-weight: 600; line-height: 1; }
#chefs-mind .cm-scene { position: relative; background: #fffdf7; border: 0; border-radius: 3px; box-shadow: 0 1px 1px rgba(70,50,20,.06), 0 12px 26px -14px rgba(70,50,20,.38); background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(54,171,226,.08) 31px 32px); }
#chefs-mind .cm-stage { border-radius: 2px; box-shadow: 0 0 0 7px #fff, 0 2px 0 7px rgba(70,50,20,.08), 0 14px 22px -10px rgba(70,50,20,.35); margin: 4px; width: calc(100% - 8px); }
#chefs-mind .cm-btn { border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; }
#chefs-mind .cm-primary { background: linear-gradient(100deg, #6cc4ec, #36abe2 46%, #52b8e7); color: var(--cm-navy-deep); border-color: var(--cm-navy); box-shadow: 3px 3px 0 var(--cm-navy); }
#chefs-mind .cm-primary:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--cm-navy); }
#chefs-mind .cm-ghost { border-color: var(--cm-navy); background: transparent; }
#chefs-mind .cm-ghost:hover { background: rgba(54,171,226,.18); }
#chefs-mind .cm-tempt { border-color: var(--cm-navy); }
#chefs-mind .cm-unlock { border-color: #c98a1e; }
#chefs-mind .cm-pick { border-radius: 14px 18px 12px 20px / 18px 12px 20px 14px; background: #fffdf7; }
#chefs-mind .cm-bubble { font-family: var(--hand, inherit); font-size: 1.3em; font-weight: 600; line-height: 1.15; background: #e7f2f9; }
#chefs-mind .cm-bubble::before { border-right-color: #e7f2f9; }
#chefs-mind .cm-debrief { background: transparent; border-left: 0; border-radius: 0; padding: 4px 0 4px 18px; background: linear-gradient(90deg, rgba(54,171,226,.55) 0 3px, transparent 3px) no-repeat; }
#chefs-mind .cm-dlabel, #chefs-mind .cm-kick { font-family: var(--hand, inherit); font-size: 20px !important; letter-spacing: 0; text-transform: none; color: #1a6fa3; }
#chefs-mind .cm-close { border-top: 1.5px dashed #c9c0ae; }
[data-mode="pro"] #chefs-mind .cm-step-l, [data-lang="zh"] #chefs-mind .cm-step-l { font-family: inherit; font-size: 13px; }
[data-mode="pro"] #chefs-mind .cm-dlabel, [data-mode="pro"] #chefs-mind .cm-kick,
[data-lang="zh"] #chefs-mind .cm-dlabel, [data-lang="zh"] #chefs-mind .cm-kick { font-family: inherit; font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; }
[data-mode="pro"] #chefs-mind .cm-btn { border-radius: 12px; }
[data-mode="pro"] #chefs-mind .cm-primary { box-shadow: none; }
[data-mode="pro"] #chefs-mind .cm-scene { background-image: none; }
[data-lang="zh"] #chefs-mind .cm-bubble { font-family: inherit; font-size: 1em; }
/* Inside the page's one-screen frame: a compact header row */
#chefs-mind .cm-head { margin-bottom: 6px; }
@media (min-width: 760px) {
  #chefs-mind { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 24px; }
  #chefs-mind .cm-head { text-align: left; margin: 0; }
  #chefs-mind .cm-track { margin: 0 0 8px auto; }
  #chefs-mind .cm-view { grid-column: 1 / -1; }
}
@media (max-width: 759px) {
  #chefs-mind .cm-sub { display: none; }
  #chefs-mind .cm-title { font-size: 21px; }
  #chefs-mind .cm-track { margin-bottom: 8px; }
  #chefs-mind .cm-step { min-width: 54px; }
  #chefs-mind .cm-step-ic { width: 36px; height: 36px; padding: 4px; }
  #chefs-mind .cm-step-line { margin-bottom: 18px; }
  #chefs-mind .cm-scene { padding: 10px; }
}
/* Icon-led debrief and bridge cards (visual only) */
#chefs-mind .cm-debrief { position: relative; padding: 14px 16px 8px 70px; background: #fffdf7; border-left: 4px solid var(--cm-sky); border-radius: 4px 14px 6px 12px; box-shadow: 0 1px 1px rgba(70,50,20,.06), 0 10px 22px -14px rgba(70,50,20,.4); }
#chefs-mind .cm-debrief::before { content: ""; position: absolute; left: 14px; top: 14px; width: 42px; height: 42px; border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-3.6 10.8c.7.5 1.1 1.3 1.1 2.2h5c0-.9.4-1.7 1.1-2.2A6 6 0 0 0 12 3z' fill='none' stroke='%230f2b52' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 56% no-repeat, radial-gradient(circle at 36% 34%, rgba(225,239,248,.95), rgba(176,213,238,.9) 70%); }
#chefs-mind .cm-bl { list-style: none; padding-left: 0; }
#chefs-mind .cm-bl li { position: relative; padding: 8px 12px 8px 50px; background: #fffdf7; border-radius: 4px 14px 6px 12px; box-shadow: 0 1px 1px rgba(70,50,20,.06), 0 8px 18px -12px rgba(70,50,20,.4); }
#chefs-mind .cm-bl li::before { content: ""; position: absolute; left: 10px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: radial-gradient(circle at 36% 34%, rgba(225,239,248,.95), rgba(176,213,238,.9) 70%); }
#chefs-mind .cm-bl li:nth-child(1)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l8 4.5v9L12 21l-8-4.5v-9zM12 12l8-4.5M12 12v9M12 12 4 7.5' fill='none' stroke='%230f2b52' stroke-width='1.75' stroke-linejoin='round'/%3E%3C/svg%3E") center / 58% no-repeat, radial-gradient(circle at 36% 34%, rgba(225,239,248,.95), rgba(176,213,238,.9) 70%); }
#chefs-mind .cm-bl li:nth-child(2)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5' cy='12' r='2.5' fill='none' stroke='%230f2b52' stroke-width='1.75'/%3E%3Ccircle cx='19' cy='6' r='2.5' fill='none' stroke='%230f2b52' stroke-width='1.75'/%3E%3Ccircle cx='19' cy='18' r='2.5' fill='none' stroke='%230f2b52' stroke-width='1.75'/%3E%3Cpath d='M7.3 11l9.4-4M7.3 13l9.4 4M19 8.5v7' fill='none' stroke='%230f2b52' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E") center / 58% no-repeat, radial-gradient(circle at 36% 34%, rgba(251,232,220,.95), rgba(242,198,173,.92) 70%); }
#chefs-mind .cm-bl li:nth-child(3)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7.5' r='3.5' fill='none' stroke='%230f2b52' stroke-width='1.75'/%3E%3Cpath d='M5 20a7 7 0 0 1 14 0' fill='none' stroke='%230f2b52' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E") center / 58% no-repeat, radial-gradient(circle at 36% 34%, rgba(225,239,248,.95), rgba(176,213,238,.9) 70%); }
[data-mode="pro"] #chefs-mind .cm-debrief::before, [data-mode="pro"] #chefs-mind .cm-bl li::before { border-radius: 50%; }
