/* Demet Şef'in Mutfağı — minyatür esintili arayüz */

/* Yuvarlak hatlı, tırnaksız fontlar (siteye gömülü, SIL Open Font License) */
@font-face { font-family: 'Baloo 2'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../assets/fonts/baloo2-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Baloo 2'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../assets/fonts/baloo2-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(../assets/fonts/nunito-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(../assets/fonts/nunito-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #3b2516;
  --navy: #23465a;
  --navy-d: #18323f;
  --red: #b8392b;
  --red-d: #8f2a1f;
  --gold: #d4a23a;
  --gold-l: #ecd08a;
  --cream: #f6efe0;
  --cream-2: #efe4cc;
  --paper: #fbf7ee;
  --sage: #a9c5b3;
  --muted: #7a6450;
  --panel-w: clamp(320px, 30vw, 430px);
  --radius: 14px;
  --shadow: 0 6px 20px rgba(59, 37, 22, .18);
  /* başlıklar: Baloo 2 (yuvarlak, sevimli) · metin: Nunito (yuvarlak uçlu) */
  --serif: "Baloo 2", ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", sans-serif;
  --sans: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--navy-d);
  color: var(--ink);
  font-family: var(--sans);
  display: flex; flex-direction: column;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- üst çubuk ---------- */
.topbar {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 16px; color: var(--cream);
  background: var(--navy);
  border-bottom: 4px solid var(--gold);
  box-shadow: inset 0 -8px 0 -4px rgba(0,0,0,.15);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand h1 { margin: 0; font-family: var(--serif); font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--gold-l); text-shadow: 0 2px 0 rgba(0,0,0,.25); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--gold); background: var(--navy-d); display: grid; place-items: center; padding: 0; }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--cream); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .spk { fill: var(--cream); }
.icon-btn .xmark { display: none; }
.icon-btn.muted .wave1, .icon-btn.muted .wave2 { display: none; }
.icon-btn.muted .xmark { display: inline; stroke: #ff9a8a; }
.icon-btn:hover { background: #2c5a72; }
.vol input { width: 110px; accent-color: var(--gold); }

/* ---------- yerleşim ---------- */
.layout { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) var(--panel-w); }
.stage { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: var(--sage); position: relative; }
.scene-wrap { position: relative; flex: 1; min-height: 220px; overflow: hidden; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* konuşma balonu */
.bubble {
  position: absolute; left: 0; top: 0; z-index: 5;
  max-width: min(360px, 70%);
  padding: 10px 18px; border-radius: 22px;
  background: var(--paper); border: 3px solid var(--ink);
  font-family: var(--serif); font-size: clamp(16px, 1.7vw, 22px); font-weight: 700; text-align: center;
  box-shadow: 0 4px 0 rgba(59,37,22,.25);
  transform: translate(-50%, -100%) scale(.6); opacity: 0; pointer-events: none;
  transition: opacity .18s, transform .22s cubic-bezier(.3,1.6,.6,1);
}
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -15px; width: 22px; height: 22px; background: var(--paper); border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: translateX(-50%) rotate(45deg) skew(8deg, 8deg); border-radius: 0 0 6px 0; }
.bubble.show { opacity: 1; transform: translate(-50%, -100%) scale(1); }
.fly-layer { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.fly-item { position: absolute; width: 64px; height: 64px; will-change: transform; filter: drop-shadow(0 4px 4px rgba(0,0,0,.2)); }
.fly-item svg { width: 100%; height: 100%; }

/* altyazı */
.subtitle {
  flex: none; min-height: 0; text-align: center; font-size: 15px; color: var(--cream);
  background: rgba(24, 50, 63, .92); padding: 0 12px; height: 0; overflow: hidden; transition: height .18s, padding .18s;
}
.subtitle.show { height: 32px; padding: 6px 12px; }
.subtitle b { color: var(--gold-l); }
body.no-subs .subtitle { display: none; }

/* tepsi */
.tray { flex: none; background: var(--cream); border-top: 4px solid var(--gold); padding: 8px 14px 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head head" "chips actions"; gap: 6px 12px; align-items: center; }
.tray-head { grid-area: head; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tray-head h2 { margin: 0; font-family: var(--serif); font-size: 17px; }
.tray-head h2 span { display: inline-block; min-width: 24px; padding: 0 7px; margin-left: 4px; border-radius: 12px; background: var(--red); color: #fff; font-family: var(--sans); font-size: 13px; text-align: center; line-height: 22px; }
.defaults { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.defaults .def { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px 2px 3px; border-radius: 14px; background: #fff; border: 1px dashed var(--muted); color: var(--ink); }
.defaults .def svg { width: 20px; height: 20px; }
.chips { grid-area: chips; display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; padding: 4px 2px 6px; min-height: 52px; align-items: center; scrollbar-width: thin; }
.empty-hint { margin: 0; color: var(--muted); font-size: 14px; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 4px; border-radius: 24px; background: #fff; border: 2px solid var(--ink); box-shadow: 0 2px 0 rgba(59,37,22,.25); animation: chipIn .28s cubic-bezier(.3,1.6,.6,1); }
.chip svg { width: 32px; height: 32px; }
.chip .nm { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.chip .x { width: 24px; height: 24px; border-radius: 50%; border: none; background: var(--cream-2); font-size: 17px; line-height: 1; display: grid; place-items: center; padding: 0; color: var(--red-d); }
.chip .x:hover { background: var(--red); color: #fff; }
.chip.pending { opacity: .65; }
.chip.flash { animation: flash .5s; }
@keyframes chipIn { from { transform: scale(.4); opacity: 0; } }
@keyframes flash { 30% { transform: scale(1.12); background: var(--gold-l); } }
.tray-actions { grid-area: actions; display: flex; gap: 8px; }

.btn { border-radius: 26px; padding: 10px 18px; font-weight: 700; font-size: 15px; border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); transition: transform .08s, box-shadow .08s, filter .15s; white-space: nowrap; }
.btn:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn.primary { background: var(--red); color: #fff; }
.btn.primary:hover:not(:disabled) { filter: brightness(1.08); }
.btn.ghost { background: var(--paper); }
.btn.ghost:hover { background: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.big { font-size: 20px; padding: 14px 34px; }
.btn.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* ---------- malzeme paneli ---------- */
.panel { min-height: 0; display: flex; flex-direction: column; background: var(--cream); border-left: 4px solid var(--gold); }
.search { flex: none; position: relative; margin: 12px 12px 6px; }
.search svg { position: absolute; left: 12px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; padding: 10px 36px 10px 40px; border-radius: 24px; border: 2px solid var(--ink); background: #fff; font-size: 15px; color: var(--ink); outline: none; }
.search input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(212,162,58,.45); }
.search input::-webkit-search-cancel-button { display: none; }
.search .clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; border: none; background: var(--cream-2); font-size: 18px; line-height: 1; padding: 0; }
.cats { flex: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 6px; padding: 4px 12px 10px; border-bottom: 2px dashed rgba(59,37,22,.25); }
.cat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 3px 4px; border-radius: 12px; border: 2px solid transparent; background: var(--paper); font-size: 11.5px; font-weight: 700; line-height: 1.15; text-align: center; min-height: 64px; }
.cat svg { width: 32px; height: 32px; flex: none; }
.cat:hover { border-color: var(--gold); }
.cat.active { background: var(--navy); color: var(--cream); border-color: var(--gold); box-shadow: inset 0 0 0 2px var(--navy-d); }
.items-head { flex: none; display: flex; align-items: baseline; justify-content: space-between; padding: 8px 14px 4px; }
.items-head h3 { margin: 0; font-family: var(--serif); font-size: 19px; }
.items-head span { font-size: 13px; color: var(--muted); }
.items { flex: 1 1 0; min-height: 0; overflow-y: auto; display: grid; grid-auto-rows: max-content; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; padding: 4px 12px 16px; align-content: start; scrollbar-width: thin; }
.card-ing { position: relative; min-height: 108px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px 4px 6px; border-radius: 12px; border: 2px solid var(--ink); background: #fff; box-shadow: 0 3px 0 rgba(59,37,22,.3); transition: transform .1s, box-shadow .1s; overflow: hidden; }
.card-ing::before { content: ""; position: absolute; inset: 3px; border: 1.5px solid var(--gold-l); border-radius: 8px; pointer-events: none; }
.card-ing svg { width: 58px; height: 58px; flex: none; }
.card-ing .nm { font-size: 12.5px; font-weight: 600; text-align: center; line-height: 1.12; max-width: 100%; overflow-wrap: anywhere; }
.card-ing:hover { transform: translateY(-2px); box-shadow: 0 5px 0 rgba(59,37,22,.3); }
.card-ing:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(59,37,22,.3); }
.card-ing.sel { background: #fff7e0; border-color: var(--red); }
.card-ing.sel::after { content: "✓"; position: absolute; top: 4px; right: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.card-ing .cat-tag { font-size: 10px; color: var(--muted); }
.no-results { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 30px 10px; }
.items.locked, .cats.locked { pointer-events: none; opacity: .6; }

/* ---------- katmanlar / kartlar ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(24, 50, 63, .62); backdrop-filter: blur(3px); animation: fade .2s; }
.overlay[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.card { position: relative; background: var(--paper); border: 3px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow), inset 0 0 0 6px var(--paper), inset 0 0 0 8px var(--gold); padding: 24px 26px; max-width: 640px; width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; animation: pop .3s cubic-bezier(.3,1.5,.6,1); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.card h2 { font-family: var(--serif); margin: 0 0 8px; }
.close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font-size: 22px; line-height: 1; padding: 0; z-index: 2; }
.start-card { text-align: center; max-width: 520px; }
.start-card h2 { font-size: clamp(28px, 5vw, 40px); color: var(--red-d); }
.start-card p { font-size: 17px; line-height: 1.5; }
.start-card .small { font-size: 13px; color: var(--muted); }
.frame-top { height: 20px; margin: -6px -8px 12px; background: repeating-linear-gradient(90deg, var(--navy) 0 24px, var(--navy) 24px 24px), var(--navy); -webkit-mask: linear-gradient(#000 0 0); border-radius: 10px; position: relative; }
.frame-top::after { content: ""; position: absolute; inset: 4px 8px; background: repeating-linear-gradient(135deg, var(--gold) 0 4px, transparent 4px 12px); opacity: .9; }

.settings-card { max-width: 440px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(59,37,22,.25); font-weight: 600; }
.row input[type=range] { width: 50%; accent-color: var(--red); }
.row.check { justify-content: flex-start; }
.row.check input { width: 20px; height: 20px; accent-color: var(--red); }
.settings-card .btn { margin-top: 14px; }

/* sonuç */
.result-card { max-width: 700px; }
.res-top { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; align-items: center; }
.res-top .plate svg { width: 100%; height: auto; }
.res-kicker { font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--red); }
.res-name { font-family: var(--serif); font-size: clamp(26px, 4vw, 38px); margin: 2px 0 6px; line-height: 1.1; color: var(--ink); }
.res-cuisine { display: inline-block; padding: 3px 12px; border-radius: 14px; background: var(--navy); color: var(--cream); font-size: 13px; font-weight: 700; }
.res-sec { margin-top: 14px; }
.res-sec h4 { margin: 0 0 6px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.mchip { display: inline-flex; align-items: center; gap: 3px; padding: 2px 9px 2px 3px; border-radius: 16px; background: #fff; border: 1.5px solid var(--ink); font-size: 13px; font-weight: 600; }
.mchip svg { width: 24px; height: 24px; }
.mchip.def { border-style: dashed; color: var(--muted); }
.mchip.add { border-color: #2f7a4a; background: #eef8ee; }
.mchip.rem { border-color: var(--red); background: #fdeeea; text-decoration: line-through; text-decoration-color: rgba(184,57,43,.6); }
.note { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.alts { display: grid; gap: 6px; }
.alt { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1.5px solid rgba(59,37,22,.3); font-weight: 600; }
.alt small { color: var(--muted); font-weight: 600; }
.near { padding: 10px 12px; border-radius: 12px; background: #fff; border: 1.5px solid rgba(59,37,22,.3); margin-bottom: 8px; }
.near-h { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 6px; }
.near-h b { font-family: var(--serif); font-size: 19px; }
.near-h small { color: var(--muted); font-weight: 600; }
.near .lbl { font-size: 12.5px; font-weight: 800; margin: 6px 0 3px; }
.nomatch { padding: 12px 14px; border-radius: 12px; background: #fdeeea; border: 2px solid var(--red); font-weight: 700; color: var(--red-d); margin: 4px 0 10px; }
.insta { margin-top: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: linear-gradient(90deg, #fff0e6, #fbe6f0); border: 2px solid var(--ink); }
.insta svg { width: 30px; height: 30px; flex: none; }
.insta a { color: var(--red-d); font-weight: 800; font-size: 17px; }
.insta .muted { color: var(--muted); font-size: 14px; }
.result-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* ---------- şef animasyonları (SVG) ---------- */
#scene .arm, #scene .chef, #scene .chef-head, #scene .knife, #scene .spoon { transform-box: view-box; }
#scene .armL { transform-origin: 722px 456px; }
#scene .armR { transform-origin: 878px 456px; }
#scene .chef { transform-origin: 800px 650px; }
#scene .chef-head { transform-origin: 800px 400px; }
#scene .chef-body { transform-box: view-box; transform-origin: 800px 650px; animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scaleY(1.012); } }
#scene .chef-head { animation: headBob 4s ease-in-out infinite; }
@keyframes headBob { 25% { transform: rotate(-2deg); } 75% { transform: rotate(2deg); } }
#scene .eyes-happy, #scene .mouth-open { display: none; }
#scene .chef.happy .eyes-open { display: none; }
#scene .chef.happy .eyes-happy { display: inline; }
#scene .eyes-open { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
@keyframes blink { 0%, 95%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
#scene .chef.talking .mouth-smile { animation: mouthA .26s steps(1) infinite; }
#scene .chef.talking .mouth-open { display: inline; animation: mouthB .26s steps(1) infinite; }
@keyframes mouthA { 0% { opacity: 0; } 50% { opacity: 1; } }
@keyframes mouthB { 0% { opacity: 1; } 50% { opacity: 0; } }
#scene .chef.jump { animation: jump var(--d, .6s) cubic-bezier(.3,.7,.4,1); }
@keyframes jump { 35% { transform: translateY(-34px) scaleY(1.03); } 70% { transform: translateY(0) scaleY(.97); } }
#scene .chef.wiggle { animation: wiggle var(--d, .7s) ease-in-out; }
@keyframes wiggle { 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }
#scene .armR.wave { animation: waveR .9s ease-in-out; }
@keyframes waveR { 20%, 60% { transform: rotate(-130deg); } 40%, 80% { transform: rotate(-105deg); } }
#scene .armL.wave { animation: waveL .9s ease-in-out; }
@keyframes waveL { 20%, 60% { transform: rotate(130deg); } 40%, 80% { transform: rotate(105deg); } }
#scene .armL.cheer, #scene .armR.cheer { animation: cheer .7s ease-in-out; }
@keyframes cheer { 40% { transform: rotate(var(--cheer, -60deg)); } }
/* uzanma: istasyona doğru */
#scene .arm.reach { transition: transform var(--d, .35s) ease-in-out; }
#scene .armL.to-board { transform: rotate(18deg); }
#scene .armL.to-bowl, #scene .armR.to-bowl { transform: rotate(0deg) translateY(-8px); }
#scene .armR.to-pan { transform: rotate(-30deg); }
#scene .armR.to-pot { transform: rotate(-52deg); }
#scene .armR.to-high { transform: rotate(-75deg); }
#scene .armL.chopping { animation: chopArm calc(var(--d, .22s)) ease-in-out 3; }
@keyframes chopArm { 0%, 100% { transform: rotate(18deg); } 50% { transform: rotate(2deg); } }
#scene .knife { transform-origin: 586px 606px; }
#scene .knife.chopping { animation: chopKnife var(--d, .22s) ease-in-out 3; }
@keyframes chopKnife { 50% { transform: translate(-34px, -30px) rotate(-26deg); } }
#scene .spoon { transform-origin: 818px 608px; }
#scene .spoon.stirring { animation: stirSpoon var(--d, .5s) ease-in-out 3; }
@keyframes stirSpoon { 25% { transform: translate(-22px, 0) rotate(-8deg); } 50% { transform: translate(-30px, 4px); } 75% { transform: translate(-8px, 4px) rotate(8deg); } }
#scene .armR.stirring { animation: stirArm var(--d, .5s) ease-in-out 3; }
@keyframes stirArm { 0%, 100% { transform: rotate(-52deg); } 50% { transform: rotate(-44deg) translateX(-8px); } }
#scene .armR.shaking { animation: shakeArm .12s linear 8; }
@keyframes shakeArm { 50% { transform: rotate(var(--rot, -52deg)) translateY(-6px); } 0%, 100% { transform: rotate(var(--rot, -52deg)); } }
#scene .steam path, #scene .smoke path { animation: rise 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center bottom; }
@keyframes rise { 0% { transform: translateY(10px) scaleY(.6); opacity: 0; } 30% { opacity: .75; } 100% { transform: translateY(-50px) scaleY(1.2); opacity: 0; } }

/* ---------- duyarlı ---------- */
@media (max-width: 1100px) { :root { --panel-w: 340px; } .vol input { width: 80px; } }
@media (max-width: 860px) {
  body { overflow: auto; }
  .layout { display: flex; flex-direction: column; overflow: visible; flex: none; }
  .stage, .panel { flex: none; }
  .stage { height: auto; }
  .subtitle.show { height: auto; }
  .scene-wrap { flex: none; height: 46vh; min-height: 260px; }
  .panel { border-left: none; border-top: 4px solid var(--gold); min-height: 70vh; }
  .items { max-height: 60vh; }
  .tray { grid-template-columns: 1fr; grid-template-areas: "head" "chips" "actions"; }
  .tray-actions { justify-content: stretch; } .tray-actions .btn { flex: 1; }
  .res-top { grid-template-columns: 110px minmax(0, 1fr); }
  .vol { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #scene .chef-body, #scene .chef-head, #scene .eyes-open { animation: none; }
}
