/* ============================================================
   Chef Eli — shared.css
   Marka paleti: bakır · paprika · tereyağı sarısı · koyu ahşap
   Fontlar: Playfair Display (başlık) · DM Sans (gövde) · Caveat (el yazısı)
   ============================================================ */

:root {
  --bg: #1a1008;
  --wood: #2b1a0e;
  --wood-2: #3a2414;
  --wood-3: #4a2f1a;
  --copper: #c56a2b;
  --copper-hi: #e08a45;
  --paprika: #b93a1e;
  --butter: #f2c14e;
  --cream: #f6e7c9;
  --ink: #241203;
  --ok: #7fb56b;
  --err: #d94f3d;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

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

html, body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--bg);
  color: var(--cream);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; }
.hidden { display: none !important; }

#app { position: fixed; inset: 0; overflow: hidden; }

/* Sıcak mutfak dokusu: ahşap damarı + ocak parıltısı */
.scene {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background:
    radial-gradient(120% 60% at 50% 108%, rgba(197, 106, 43, .22), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 26px),
    linear-gradient(180deg, #201409 0%, var(--bg) 55%, #150c05 100%);
}

/* ---------- Üst bar ---------- */
.k-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px 6px;
}
.brand {
  font-family: 'Playfair Display', serif;
  font-weight: 800; font-size: 1.05rem; letter-spacing: .04em;
  color: var(--butter);
}
.brand small { display: block; font-family: 'Caveat', cursive; font-size: .8rem; font-weight: 600; color: var(--copper-hi); letter-spacing: .06em; }
.k-meta { display: flex; align-items: center; gap: 10px; font-size: .82rem; }
.k-meta .pill {
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(242, 193, 78, .25);
  border-radius: 999px; padding: 4px 11px; color: var(--cream);
}
#k-score { color: var(--butter); font-weight: 700; min-width: 3ch; display: inline-block; text-align: right; }
#k-score.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.35); color: #fff; } }

.chip {
  font-size: .78rem; font-weight: 700; letter-spacing: .03em;
  color: var(--ink); background: var(--butter);
  border-radius: 999px; padding: 6px 12px;
  box-shadow: 0 3px 0 #a8801f;
}
.chip:active { transform: translateY(2px); box-shadow: 0 1px 0 #a8801f; }

/* İlerleme çubuğu */
.progressbar { height: 5px; margin: 4px 16px 0; background: rgba(255, 255, 255, .08); border-radius: 4px; overflow: hidden; }
.progressbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--copper), var(--butter)); border-radius: 4px; transition: width .5s ease; }

/* ---------- Tarif başlığı ---------- */
.k-title { text-align: center; padding: 6px 16px 0; }
.k-title h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 6.4vw, 2rem);
  font-weight: 800; color: var(--cream); line-height: 1.05;
}
.k-title .tagline { font-family: 'Caveat', cursive; font-size: 1.05rem; color: var(--copper-hi); }

/* ---------- Şef + konuşma balonu ---------- */
.chef-row { display: flex; align-items: center; gap: 10px; padding: 8px 16px 0; min-height: 88px; }
#chef-svg { width: 92px; flex: 0 0 92px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .4)); animation: chef-idle 3.6s ease-in-out infinite; }
#chef-svg svg { width: 100%; height: auto; display: block; }
@keyframes chef-idle { 50% { transform: translateY(2px); } }

/* Şef Eli portresi — mikro-mimikler */
.chef-face .c-eyes { transform-box: fill-box; transform-origin: 50% 55%; animation: chef-blink 4.4s ease-in-out infinite; }
.chef-face[data-mood="wow"] .c-eyes { animation: none; transform: scale(1.13); }
.chef-face[data-mood="oops"] .c-eyes { animation-duration: 2.4s; }
@keyframes chef-blink { 0%, 90%, 100% { transform: scaleY(1); } 93% { transform: scaleY(.1); } 96% { transform: scaleY(1); } }
.chef-face .c-stache { transform-box: fill-box; transform-origin: 50% 30%; }
.chef-face[data-mood="happy"] .c-stache,
.chef-face[data-mood="wow"] .c-stache { animation: stache-wiggle .55s ease; }
@keyframes stache-wiggle { 30% { transform: rotate(2.4deg); } 65% { transform: rotate(-2deg); } }
.chef-face .c-head { transform-box: fill-box; }
.chef-face[data-mood="oops"] .c-head { animation: head-shake .5s ease; }
@keyframes head-shake { 25% { transform: translateX(-1.6px); } 60% { transform: translateX(1.4px); } }
.bubble {
  position: relative; flex: 1;
  font-family: 'Caveat', cursive; font-size: 1.28rem; line-height: 1.15; font-weight: 600;
  color: var(--ink); background: var(--cream);
  border-radius: 16px; padding: 10px 14px;
  box-shadow: var(--shadow);
}
.bubble::before {
  content: ''; position: absolute; left: -8px; top: 50%;
  border: 9px solid transparent; border-right-color: var(--cream);
  transform: translateY(-50%);
}
.bubble.pop { animation: bubblepop .3s ease; }
@keyframes bubblepop { 0% { transform: scale(.92); opacity: .4; } 100% { transform: scale(1); opacity: 1; } }

/* ---------- Ocak & tencere (imza sahne) ---------- */
.stove-wrap { position: relative; flex: 1 1 auto; min-height: 150px; display: flex; align-items: flex-end; justify-content: center; }

#pot {
  position: relative; width: min(64vw, 250px); height: min(34vw, 132px);
  background: linear-gradient(180deg, #d78a4a 0%, #a4551f 40%, #6e3413 100%);
  border-radius: 18px 18px 120px 120px / 18px 18px 90px 90px;
  box-shadow: inset 0 -14px 22px rgba(0, 0, 0, .45), inset 0 6px 8px rgba(255, 255, 255, .22), var(--shadow);
  margin-bottom: 44px;
  overflow: hidden;
}
#pot.plop { animation: plop .4s ease; }
@keyframes plop { 35% { transform: scale(1.05, .94); } 70% { transform: scale(.98, 1.03); } }

#pot::after { /* bakır parlaması */
  content: ''; position: absolute; left: 12%; top: 8%;
  width: 26%; height: 22%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 235, 200, .5), transparent);
}

/* kulplar */
.pot-ear { position: absolute; bottom: 44px; width: 30px; height: 30px; border: 7px solid #8a4a1e; border-radius: 50%; }
.pot-ear.l { left: calc(50% - min(32vw, 125px) - 22px); }
.pot-ear.r { right: calc(50% - min(32vw, 125px) - 22px); }

#soup {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 92%; height: 12%;
  background: #2e1a0c;
  border-radius: 50% 50% 100px 100px / 26px 26px 80px 80px;
  transition: background 1s ease, height .9s ease;
  box-shadow: inset 0 6px 10px rgba(0, 0, 0, .35), inset 0 -4px 8px rgba(255, 255, 255, .12);
  overflow: hidden;
}
#soup::after { /* karıştırınca dönen girdap parlaması */
  content: ''; position: absolute; inset: -20%;
  background: radial-gradient(circle at 32% 34%, rgba(255, 240, 210, .3), transparent 38%);
  transform: rotate(var(--swirl, 0deg));
  transition: transform .1s linear;
}

/* buhar */
#steam { position: absolute; left: 50%; bottom: calc(44px + min(34vw, 132px) - 8px); transform: translateX(-50%); width: 60%; height: 90px; pointer-events: none; opacity: 0; transition: opacity .8s; }
#steam.on { opacity: 1; }
#steam span {
  position: absolute; bottom: 0; width: 14px; height: 46px; border-radius: 50%;
  background: rgba(246, 231, 201, .35); filter: blur(6px);
  animation: steamup 2.6s ease-in infinite;
}
#steam span:nth-child(1) { left: 18%; animation-delay: 0s; }
#steam span:nth-child(2) { left: 48%; animation-delay: .9s; }
#steam span:nth-child(3) { left: 74%; animation-delay: 1.7s; }
@keyframes steamup {
  0% { transform: translateY(0) scaleX(1); opacity: 0; }
  25% { opacity: .8; }
  100% { transform: translateY(-80px) scaleX(1.8); opacity: 0; }
}

/* alevler */
#flames { position: absolute; left: 50%; transform: translateX(-50%); bottom: 26px; width: min(44vw, 170px); height: 26px; display: flex; justify-content: space-around; opacity: 0; transition: opacity .4s; pointer-events: none; }
#flames.on { opacity: 1; }
#flames span {
  width: 16px; height: 24px;
  background: radial-gradient(circle at 50% 85%, #fff2b0 0 22%, #f2a63a 45%, var(--paprika) 78%, transparent 80%);
  border-radius: 50% 50% 45% 45% / 70% 70% 30% 30%;
  animation: flick .5s ease-in-out infinite alternate;
}
#flames span:nth-child(2) { animation-delay: .14s; height: 28px; }
#flames span:nth-child(3) { animation-delay: .28s; }
#flames span:nth-child(4) { animation-delay: .4s; height: 27px; }
@keyframes flick { from { transform: scaleY(.85) translateY(2px); } to { transform: scaleY(1.12) translateY(-2px); } }

/* ocak gövdesi */
.stove {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: min(84vw, 330px); height: 34px;
  background: linear-gradient(180deg, var(--wood-3), var(--wood));
  border-radius: 12px 12px 0 0;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .08);
}
.stove::before, .stove::after {
  content: ''; position: absolute; top: 12px; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--copper-hi), #5c2f10);
}
.stove::before { left: 14%; }
.stove::after { right: 14%; }

/* efekt katmanları */
#fx-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
#gesture-layer { position: absolute; inset: 0; touch-action: none; display: none; }
#gesture-layer.on { display: block; cursor: grab; }

.spoon { position: absolute; width: 50px; transform: translate(-50%, -82%); opacity: 0; transition: opacity .2s; pointer-events: none; }
.spoon svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .4)); }
.spoon.on { opacity: 1; }

.fly { position: fixed; z-index: 60; font-size: 2rem; transform: translate(-50%, -50%); transition: transform .48s cubic-bezier(.3, .7, .4, 1), opacity .48s; pointer-events: none; }

.grain { position: fixed; z-index: 55; font-size: 1rem; pointer-events: none; animation: fallgrain .7s ease-in forwards; }
@keyframes fallgrain { to { transform: translateY(95px) rotate(70deg); opacity: .1; } }

/* baloncuklar (boil) */
.boil-b {
  position: absolute; bottom: 26%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 245, 220, .95), rgba(242, 193, 78, .5) 55%, rgba(197, 106, 43, .35));
  border: 2px solid rgba(255, 240, 210, .55);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
  animation: rise linear forwards;
  pointer-events: auto;
}
@keyframes rise { to { transform: translateY(-150px) scale(1.15); opacity: .25; } }
.spark { position: fixed; z-index: 70; font-size: 1.3rem; transform: translate(-50%, -50%); pointer-events: none; animation: sparkout .35s ease-out forwards; }
@keyframes sparkout { to { transform: translate(-50%, -50%) scale(1.9); opacity: 0; } }

/* ---------- Görev alanı (alt panel) ---------- */
.task-area {
  flex: 0 0 auto; min-height: 172px;
  margin: 0; padding: 12px 16px calc(env(safe-area-inset-bottom, 0px) + 14px);
  background: linear-gradient(180deg, rgba(58, 36, 20, .96), rgba(32, 19, 10, .98));
  border-top: 2px solid rgba(197, 106, 43, .45);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .5);
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.mini-head { text-align: center; font-size: .92rem; color: var(--cream); opacity: .95; }
.mini-head b { color: var(--butter); }

/* malzeme rafı */
.shelf { display: flex; gap: 10px; justify-content: center; }
.shelf.single { justify-content: center; }
.tile {
  flex: 1 1 0; max-width: 118px; min-height: 96px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: linear-gradient(180deg, #4a2f1a, #35200f);
  border: 1px solid rgba(242, 193, 78, .3);
  border-radius: 16px;
  box-shadow: 0 4px 0 #1c0f06, var(--shadow);
  padding: 8px 6px;
  transition: transform .12s ease;
  position: relative;
}
.tile:active { transform: translateY(3px); box-shadow: 0 1px 0 #1c0f06; }
.tile-e { font-size: 2rem; line-height: 1; }
.tile-n { font-family: 'Caveat', cursive; font-size: 1.05rem; font-weight: 700; color: var(--cream); text-align: center; line-height: 1; }
.tile-hint { font-size: .6rem; letter-spacing: .18em; color: var(--butter); font-weight: 700; }
.tile.glow { animation: glowpulse 1.2s ease-in-out infinite; border-color: var(--butter); }
@keyframes glowpulse { 50% { box-shadow: 0 4px 0 #1c0f06, 0 0 22px rgba(242, 193, 78, .55); } }
.tile.dead { opacity: .32; filter: grayscale(.9); pointer-events: none; }
.tile.win { border-color: var(--ok); }
.tile.pinch { animation: pinch .25s ease; }
@keyframes pinch { 40% { transform: scale(.88) rotate(-6deg); } }

/* sayaç çubukları */
.meter { height: 12px; border-radius: 8px; background: rgba(0, 0, 0, .4); border: 1px solid rgba(242, 193, 78, .25); overflow: hidden; }
.meter.big { height: 16px; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--copper), var(--butter)); transition: width .12s linear; }

/* yıkama */
.wash-bowl {
  position: relative; height: 84px; border-radius: 60% 60% 24px 24px / 40% 40% 20px 20px;
  background: linear-gradient(180deg, #6d8ca3, #3d5468);
  overflow: hidden; touch-action: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 8px 14px rgba(0, 0, 0, .4);
}
.wash-item { font-size: 2.2rem; }
.wash-water { position: absolute; inset: auto 0 0 0; height: 46%; background: rgba(148, 202, 235, .35); }
.drop {
  position: absolute; top: 4px; width: 7px; height: 10px;
  background: radial-gradient(circle at 50% 62%, #d6ecfb, #6fa8d0);
  border-radius: 50% 50% 62% 62% / 58% 58% 82% 82%;
  animation: dropfall .6s ease-in forwards;
}
@keyframes dropfall { to { transform: translateY(60px); opacity: 0; } }

/* doğrama */
.board {
  position: relative; height: 92px; border-radius: 14px;
  background: repeating-linear-gradient(90deg, #8a5a2e 0 26px, #7c4f27 26px 52px);
  box-shadow: inset 0 -8px 14px rgba(0, 0, 0, .35);
  overflow: hidden; touch-action: none;
}
.board-item { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 2.6rem; }
.board-item.cutpop { animation: cutpop .2s ease; }
@keyframes cutpop { 50% { transform: translate(-50%, -50%) scale(.82) rotate(8deg); } }
.knife { position: absolute; top: 2px; left: 50%; transform: translateX(-50%); width: 36px; pointer-events: none; }
.knife svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .5)); }
.slice { position: absolute; top: 55%; font-size: 1.1rem; animation: slicefly .8s ease-out forwards; }
@keyframes slicefly { to { transform: translate(30px, 40px) rotate(120deg); opacity: 0; } }

/* dökme */
.pour-row { display: flex; align-items: center; gap: 18px; justify-content: center; }
.gauge { position: relative; width: 42px; height: 118px; border-radius: 12px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(242, 193, 78, .3); overflow: hidden; }
.gauge .zone { position: absolute; left: 0; right: 0; background: rgba(127, 181, 107, .4); border-top: 2px solid var(--ok); border-bottom: 2px solid var(--ok); }
.gauge .gfill { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(180deg, #9cc7e8, #4e83ad); transition: height .06s linear; }
.hold-btn, .cta-btn {
  font-weight: 800; letter-spacing: .05em; font-size: 1rem;
  color: var(--ink); background: linear-gradient(180deg, var(--butter), #d9a52f);
  padding: 16px 26px; border-radius: 18px;
  box-shadow: 0 5px 0 #8a6a18, var(--shadow);
  touch-action: none;
}
.hold-btn.down, .cta-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #8a6a18; }
.cta-btn { align-self: center; }

/* zamanlama ibresi */
.needle-bar { position: relative; height: 26px; border-radius: 999px; background: linear-gradient(90deg, var(--paprika), #7a2a12 30%, #7a2a12 70%, var(--paprika)); overflow: hidden; border: 1px solid rgba(0, 0, 0, .4); }
.zone-h { position: absolute; top: 0; bottom: 0; background: linear-gradient(180deg, #97c982, var(--ok)); }
.needle { position: absolute; top: -3px; bottom: -3px; width: 6px; background: var(--cream); border-radius: 3px; transform: translateX(-50%); box-shadow: 0 0 8px rgba(255, 255, 255, .8); }

/* geri bildirim tostu */
.toast {
  position: absolute; left: 50%; top: 34%; transform: translate(-50%, 0) scale(.8);
  font-family: 'Caveat', cursive; font-size: 1.7rem; font-weight: 700;
  color: var(--butter); text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
  opacity: 0; pointer-events: none; z-index: 40; transition: all .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, -14px) scale(1); }
.toast.good { color: var(--butter); }
.toast.bad { color: #ff9c8a; }

/* hata sarsıntısı */
.shake { animation: shake .4s ease; }
@keyframes shake { 20% { transform: translateX(-7px); } 45% { transform: translateX(6px); } 70% { transform: translateX(-4px); } 90% { transform: translateX(2px); } }

/* ---------- Sonuç sahnesi ---------- */
#scene-result { align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 8px; }
#res-title { font-family: 'Caveat', cursive; font-size: 1.6rem; color: var(--copper-hi); }
#res-name { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 7vw, 2.2rem); font-weight: 800; }

.res-hero { display: flex; align-items: flex-end; justify-content: center; gap: 0; margin-top: 6px; }
#res-chef { width: 90px; margin-right: -8px; z-index: 1; }
#res-chef svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .4)); }
.res-bowl { width: 158px; height: 122px; position: relative; }
.res-bowl svg { width: 100%; height: 100%; }
#res-garnish { position: absolute; left: 50%; top: 26%; transform: translateX(-50%); font-size: 1.5rem; }

#res-stars { display: flex; gap: 10px; justify-content: center; margin-top: 4px; }
#res-stars .star { width: 46px; height: 46px; }
#res-stars .star path { fill: #3d2a15; stroke: rgba(242, 193, 78, .4); stroke-width: 1; transition: fill .2s; }
#res-stars .star.on { animation: starpop .5s cubic-bezier(.2, 1.6, .4, 1); }
#res-stars .star.on path { fill: var(--butter); filter: drop-shadow(0 0 8px rgba(242, 193, 78, .8)); }
@keyframes starpop { 0% { transform: scale(0) rotate(-40deg); } 100% { transform: scale(1); } }

.res-score { font-size: 1rem; color: var(--cream); }
.res-score b { font-size: 1.9rem; color: var(--butter); font-family: 'Playfair Display', serif; }
#res-mist { font-size: .84rem; opacity: .8; }

.fact {
  max-width: 340px; margin-top: 8px;
  font-size: .86rem; line-height: 1.45; color: var(--cream);
  background: rgba(0, 0, 0, .3); border: 1px solid rgba(197, 106, 43, .4);
  border-radius: 14px; padding: 12px 14px;
}
.fact::before { content: 'Bunu biliyor muydun?'; display: block; font-family: 'Caveat', cursive; color: var(--copper-hi); font-size: 1.1rem; margin-bottom: 2px; }

.res-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; width: min(100%, 320px); }
.btn-primary {
  font-weight: 800; font-size: 1.05rem; letter-spacing: .03em;
  color: var(--ink); background: linear-gradient(180deg, var(--butter), #d9a52f);
  padding: 15px; border-radius: 16px; box-shadow: 0 5px 0 #8a6a18, var(--shadow);
}
.btn-primary:active { transform: translateY(4px); box-shadow: 0 1px 0 #8a6a18; }
.btn-secondary {
  font-weight: 700; color: var(--cream);
  background: rgba(197, 106, 43, .25); border: 1px solid rgba(197, 106, 43, .6);
  padding: 13px; border-radius: 16px;
}
.btn-ghost { color: var(--cream); opacity: .7; padding: 8px; font-size: .9rem; }

#confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
#confetti i { position: absolute; top: -12px; width: 9px; height: 13px; border-radius: 2px; animation: confall linear forwards; }
@keyframes confall { to { transform: translateY(110vh) rotate(560deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}


/* ---------- İllüstrasyon ikonları (art.js) ---------- */
.tile-art { line-height: 0; }
.tile-art svg { width: 42px; height: 42px; display: block; margin: 0 auto; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.wash-item { line-height: 0; }
.wash-item svg { width: 56px; height: 56px; display: block; }
.board-item { line-height: 0; }
.board-item svg { width: 60px; height: 60px; display: block; }
.fly { width: 44px; height: 44px; font-size: 0; }
.fly svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
.grain { font-size: 0; }
.grain svg { width: 15px; height: 15px; display: block; }
.slice { font-size: 0; }
.slice svg { width: 20px; height: 20px; display: block; }
#res-garnish { line-height: 0; }
#res-garnish svg { width: 34px; height: 34px; display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); }

/* Çorbada yüzen malzeme parçacıkları */
.soup-bit {
  position: absolute; bottom: 14%; width: 17px; height: 17px; pointer-events: none;
  animation: bitbob var(--bob, 2.6s) ease-in-out infinite alternate;
  filter: saturate(.9) brightness(.94) drop-shadow(0 1px 1px rgba(0, 0, 0, .3));
}
.soup-bit svg { width: 100%; height: 100%; display: block; }
@keyframes bitbob {
  from { transform: translateY(0) rotate(-7deg); }
  to { transform: translateY(-3px) rotate(7deg); }
}

/* Kaynama: çorba yüzeyi hafifçe nefes alır */
#soup.simmer { animation: simmer 1.7s ease-in-out infinite; }
@keyframes simmer {
  0%, 100% { transform: translateX(-50%) scaleY(1); }
  50% { transform: translateX(-50%) scaleY(1.03); }
}

/* Mutfak fonu: ocak arkası fayans + baharat rafı */
.backsplash {
  position: absolute; left: 5%; right: 5%; top: 0; height: 58%;
  border-radius: 14px; opacity: .55; pointer-events: none;
  background:
    linear-gradient(rgba(26, 16, 8, .1), rgba(26, 16, 8, .78)),
    repeating-linear-gradient(0deg, #3d2717 0 26px, #241507 26px 28px),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(18, 10, 4, .8) 42px 44px);
}
.shelf-deco {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 20px; padding: 0 16px 4px; z-index: 1; pointer-events: none;
  border-bottom: 5px solid #4a2f1a; border-radius: 2px;
  filter: drop-shadow(0 7px 6px rgba(0, 0, 0, .5));
}
.shelf-deco i { width: 30px; height: 30px; line-height: 0; opacity: .95; }
.shelf-deco svg { width: 100%; height: 100%; display: block; }


/* ==================== BAŞLIK EKRANI ==================== */
.title-wrap {
  min-height: 100%; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 30px 20px 44px; text-align: center;
  background: radial-gradient(130% 85% at 50% 0%, #3d2412 0%, #241507 55%, #150c04 100%);
}
.title-tiles {
  position: absolute; left: 0; right: 0; bottom: 0; height: 36%; opacity: .4; pointer-events: none;
  background:
    linear-gradient(rgba(21, 12, 5, .05), rgba(21, 12, 5, .95)),
    repeating-linear-gradient(0deg, #3d2717 0 26px, #241507 26px 28px),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(18, 10, 4, .8) 42px 44px);
  -webkit-mask-image: linear-gradient(transparent, #000 45%);
          mask-image: linear-gradient(transparent, #000 45%);
}
.title-steam { position: absolute; top: 8%; left: 50%; transform: translateX(-50%); width: 120px; height: 90px; pointer-events: none; }
.title-steam span {
  position: absolute; bottom: 0; left: 50%; width: 14px; height: 40px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(246, 231, 201, .35), transparent);
  animation: tsteam 3.2s ease-in-out infinite;
}
.title-steam span:nth-child(1) { margin-left: -34px; animation-delay: 0s; }
.title-steam span:nth-child(2) { margin-left: -7px; animation-delay: 1.1s; height: 52px; }
.title-steam span:nth-child(3) { margin-left: 20px; animation-delay: 2.1s; }
@keyframes tsteam {
  0% { transform: translateY(16px) scale(.7); opacity: 0; }
  35% { opacity: .9; }
  100% { transform: translateY(-46px) scale(1.25); opacity: 0; }
}
#title-chef { width: 150px; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .55)); animation: chef-idle 3.4s ease-in-out infinite; }
#title-chef svg { width: 100%; height: auto; display: block; }
.title-logo {
  margin: 0; font-family: 'Playfair Display', serif; font-weight: 800;
  font-size: clamp(2.4rem, 11vw, 3.2rem); line-height: 1; color: #f6e7c9;
  text-shadow: 0 3px 0 #8a4a1e, 0 10px 22px rgba(0, 0, 0, .65);
}
.title-logo span { color: #f2c14e; }
.title-tag { margin: 0 0 10px; font-family: 'Caveat', cursive; font-size: 1.4rem; color: #d9a548; }
.btn-play {
  border: 0; cursor: pointer; border-radius: 999px; padding: 17px 46px;
  font: 800 1.3rem 'DM Sans', sans-serif; letter-spacing: .14em; color: #2b1608;
  background: linear-gradient(180deg, #f7cf5e, #e0a832);
  box-shadow: 0 6px 0 #8a5a12, 0 16px 28px rgba(0, 0, 0, .5), inset 0 2px 0 rgba(255, 255, 255, .55);
  transition: transform .12s ease, box-shadow .12s ease;
  animation: playpulse 2.2s ease-in-out infinite;
}
.btn-play:active { transform: translateY(4px); box-shadow: 0 2px 0 #8a5a12, 0 8px 14px rgba(0, 0, 0, .5); animation: none; }
@keyframes playpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
.btn-ghost {
  background: transparent; cursor: pointer; border: 2px solid #8a5a2e; color: #e0b45e;
  border-radius: 999px; padding: 10px 28px; font: 600 .95rem 'DM Sans', sans-serif; margin-top: 4px;
}
.btn-ghost:active { background: rgba(138, 90, 46, .25); }
.title-next { margin: 10px 0 0; color: #b98a4e; font-size: .85rem; }

/* ==================== KAP VARYANTLARI ==================== */
/* Tava: yayvan gövde + uzun ahşap sap */
.v-pan #pot { height: min(22vw, 86px); border-radius: 12px 12px 26px 26px / 12px 12px 20px 20px; }
.v-pan #soup { border-radius: 40% 40% 40px 40px / 16px 16px 30px 30px; }
.v-pan .pot-ear.l { display: none; }
.v-pan .pot-ear.r {
  width: 62px; height: 12px; border: 0; border-radius: 7px;
  background: linear-gradient(#6b3a14, #3f2712);
  right: calc(50% - min(32vw, 125px) - 62px); bottom: 60px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, .45);
}
.v-pan .pot-ear.r::after {
  content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%; background: #8a5a2e;
}
/* Kase: seramik, ateşsiz */
.v-bowl #pot {
  height: min(30vw, 118px);
  background: linear-gradient(180deg, #f2e7d2 0%, #cdbb95 46%, #9a8058 100%);
  border-radius: 22px 22px 110px 110px / 22px 22px 84px 84px;
  box-shadow: inset 0 -14px 22px rgba(90, 60, 20, .35), inset 0 6px 8px rgba(255, 255, 255, .5), var(--shadow);
  margin-bottom: 30px;
}
.v-bowl #pot::after { background: radial-gradient(closest-side, rgba(255, 255, 255, .55), transparent); }
.v-bowl .pot-ear, .v-bowl #flames, .v-bowl #steam { display: none; }
