/* QR menü oyun katmanı (menu-play.js) · sipariş onayı · çark · Zetuya Software */

/* ---------- SVG ikonlar (x-zicons; emoji yerine) ---------- */
.zi { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.flt.spicy .zi, .flag .zi[data-k="chili"], .mpd-tag.f-chili { color: #f87171; }
.flt.veg .zi, .mpd-tag.f-leaf { color: #4ade80; }
.flt.gf .zi, .mpd-tag.f-wheat { color: #fbbf24; }
.flt.raw .zi { color: #60a5fa; }
.flags .flag, .meta .flag { display: inline-grid; place-items: center; }
.flag .zi { font-size: 15px; }
.flag:has(use[href="#zi-chili"]) { color: #f87171; }
.flag:has(use[href="#zi-leaf"]) { color: #4ade80; }
.flag:has(use[href="#zi-wheat"]) { color: #fbbf24; }
.flag:has(use[href="#zi-fish"]) { color: #60a5fa; }
.tag.chef .zi, .rcard-tag .zi, .mpd-tag.chef .zi { color: #fcd34d; }
.tag.pop .zi, .rcard-tag.pop .zi, .mpd-tag.pop .zi, .spin-sub .zi { color: #fb7185; }
.chip.table .zi { color: var(--amber); }
.po-ico .zi { width: 28px; height: 28px; stroke-width: 1.8; }
.mp-runner .zi { width: 28px; height: 28px; color: #fde68a; stroke-width: 1.8; }
.mp-runner.r2 .zi { color: #fff; }
.mp-runner.r3 .zi { color: #34d399; }
.mpg-ico .zi { width: 24px; height: 24px; color: #e9d5ff; }
.mpg-ic .zi { width: 18px; height: 18px; }
.mpg-lives { display: flex; justify-content: flex-end; gap: 2px; }
.mpg-lives .zi { width: 20px; height: 20px; }
.mpg-panel .zi.big { width: 20px; height: 20px; vertical-align: -0.3em; }
.mpg-best .zi { color: #fcd34d; }
.mpg-note .zi { width: 18px; height: 18px; vertical-align: -0.25em; }
.mp-b-ico .zi { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.mpd-tag .zi { width: 13px; height: 13px; vertical-align: -0.15em; }
.mpd-tag.flag { padding: 3px 7px; }
.mpd-end-ico .zi { width: 60px; height: 60px; color: var(--muted); }
.mpd-fx .zi { width: 20px; height: 20px; }
.mpd-fx { color: #6ee7b7; }
#mdotto .md-fx .zi, #mdotto .md-emote .zi, .md-fx .zi, .md-emote .zi { display: block; }
.sheet h2 .zi, .spin-sub .zi { vertical-align: -0.12em; }

/* ---------- seviye çubuğu: sepet çubuğunun hemen üstünde ---------- */
.cart-bar .mp-xp { position: absolute; left: 10px; right: 10px; bottom: calc(100% + 6px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(12, 12, 16, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 11px; line-height: 1.2; pointer-events: none; }
.cart-bar.hide .mp-xp { opacity: 0; }
.mp-lv { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.mp-lv b { font-family: var(--font-display); font-weight: 700; color: var(--amber); letter-spacing: 0.02em; }
.mp-lv em { font-style: normal; font-weight: 600; color: #fff; }
.mp-track { position: relative; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.mp-track i { position: absolute; inset: 0; transform-origin: left center; transform: scaleX(0.04); border-radius: inherit; background: linear-gradient(90deg, var(--amber), var(--accent)); box-shadow: 0 0 10px rgba(245, 158, 11, 0.55); transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mp-track i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent); transform: translateX(-100%); animation: mp-shine 2.4s ease-in-out infinite; }
.mp-xp small { color: var(--muted); white-space: nowrap; }
.mp-xp.max .mp-track i { background: linear-gradient(90deg, #f59e0b, #fde68a, #f59e0b); background-size: 200% 100%; animation: mp-gold 1.6s linear infinite; }
.mp-xp.up { animation: mp-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mp-xp.up .mp-lv b { animation: mp-flash 0.9s ease; }
@media (max-width: 360px) { .mp-xp small { display: none; } }

/* toplam fiyat zıplaması */
.cart-bar .sum b.mp-bump { animation: mp-bump 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* ---------- parçacıklar ---------- */
.mp-fx { position: fixed; z-index: 96; pointer-events: none; will-change: transform, opacity; }
.mp-fx.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #f59e0b); box-shadow: 0 0 8px var(--c, #f59e0b); }
.mp-fx.star { width: 11px; height: 11px; background: var(--c, #fde68a); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.mp-fx.ring { border-radius: 50%; border: 2px solid rgba(245, 158, 11, 0.85); box-shadow: 0 0 18px rgba(245, 158, 11, 0.45), inset 0 0 12px rgba(245, 158, 11, 0.3); }
.mp-fx.float { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fde68a; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45), 0 0 14px rgba(245, 158, 11, 0.7); white-space: nowrap; }
.mp-fx.float.combo { font-size: 15px; padding: 4px 10px; border-radius: 99px; color: #fff; background: linear-gradient(135deg, var(--accent), #f59e0b); text-shadow: none; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 18px rgba(245, 158, 11, 0.5); }

/* ---------- seviye atlama bandı ---------- */
.mp-banner { position: fixed; left: 50%; top: calc(var(--bar-h, 56px) + var(--safe-t, 0px) + 68px); z-index: 97; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 16px; transform: translateX(-50%); border: 1px solid rgba(253, 230, 138, 0.45); background: linear-gradient(135deg, rgba(40, 26, 6, 0.95), rgba(20, 14, 6, 0.95)); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 158, 11, 0.35); animation: mp-banner-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both; pointer-events: none; white-space: nowrap; }
.mp-banner.out { animation: mp-banner-out 0.38s ease forwards; }
.mp-banner .mp-b-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; font-size: 19px; color: #422006; background: radial-gradient(circle at 35% 30%, #fef3c7, #f59e0b); animation: mp-spin-star 1.2s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mp-banner small { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }
.mp-banner b { display: block; font-family: var(--font-display); font-size: 16px; color: #fff; }

/* ---------- sipariş onay ekranı ---------- */
.ask-sheet { text-align: center; }
.ask-sheet h2 { margin-top: 6px; }
.ask-sheet .desc { margin-top: 4px; }
.ask-hero { position: relative; height: 128px; margin: 18px -18px 0; display: grid; place-items: center; overflow: hidden; }
.ask-glow { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle closest-side,rgba(var(--brand-rgb, 220, 38, 38), 0.35), rgba(245, 158, 11, 0.12) 45%, transparent 70%); animation: mp-breathe 3.2s ease-in-out infinite; }
.ask-plates { position: relative; display: flex; justify-content: center; }
.ask-thumb { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 -9px; border-radius: 50%; border: 3px solid #0a0a0d; background: #1c1c22; box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5); transform: translateY(var(--y, 0)) rotate(calc((var(--i) - (var(--n) - 1) / 2) * 7deg)); animation: mp-deal 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both; animation-delay: calc(var(--i) * 70ms); z-index: calc(10 - var(--i)); }
.ask-thumb img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ask-thumb svg { width: 70%; height: 70%; }
.ask-thumb b { position: absolute; right: -4px; bottom: -2px; padding: 1px 6px; border-radius: 99px; font-size: 11px; color: #fff; background: var(--primary); border: 2px solid #0a0a0d; }
.ask-thumb.more { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--amber); }
.ask-lines { margin-top: 14px; text-align: left; display: grid; gap: 6px; }
.ask-line { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); animation: mp-rise 0.45s var(--ease) both; animation-delay: calc(120ms + var(--d) * 45ms); }
.ask-line .q { color: var(--amber); font-family: var(--font-display); }
.ask-name { min-width: 0; }
.ask-name > span { font-weight: 600; }
.ask-name small { display: block; color: var(--muted); font-size: 12px; }
.ask-total small { font-size: 10px; letter-spacing: 0.1em; color: var(--muted); }
.ask-total b, .ask-total b span { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.01em; text-transform: none; color: #fff; }
.ask-foot .btn { flex: 1; justify-content: center; }
.ask-foot .ask-yes { flex: 1.6; position: relative; overflow: hidden; }
.ask-foot .ask-yes::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.38) 50%, transparent 65%); transform: translateX(-120%); animation: mp-sweep 2.6s ease-in-out 0.8s infinite; pointer-events: none; }
.ask-foot .ask-yes:active { transform: scale(0.97); }

/* ---------- gönderim kutlaması ---------- */
.mp-send { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; align-content: center; gap: 18px; pointer-events: none; background: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.7)); animation: mp-fade 0.25s ease both; }
.mp-send.out { animation: mp-fade-out 0.42s ease forwards; }
.mp-disc { position: relative; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #34d399, #059669); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.15), 0 20px 50px rgba(0, 0, 0, 0.5); transform: scale(0.6); opacity: 0.85; transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s; }
.mp-disc svg { width: 64%; height: 64%; fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.mp-disc circle { stroke: rgba(255, 255, 255, 0.35); stroke-width: 2; stroke-dasharray: 145; stroke-dashoffset: 145; }
.mp-disc path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.mp-send.hit .mp-disc { transform: scale(1); opacity: 1; animation: mp-thump 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mp-send.hit .mp-disc circle { transition: stroke-dashoffset 0.5s ease; stroke-dashoffset: 0; }
.mp-send.hit .mp-disc path { transition: stroke-dashoffset 0.4s ease 0.15s; stroke-dashoffset: 0; }
.mp-plate { position: fixed; z-index: 1; display: grid; place-items: center; overflow: hidden; border-radius: 50%; border: 3px solid #0a0a0d; background: #1c1c22; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5); }
.mp-plate img { width: 100%; height: 100%; object-fit: cover; }
.mp-plate svg { width: 70%; height: 70%; }
.mp-plate b, .mp-plate [style*="display: none"] { display: none; }
.mp-stamp { max-width: calc(100vw - 48px); padding: 8px 18px; border-radius: 12px; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: #fff; text-align: center; border: 2px solid rgba(52, 211, 153, 0.7); background: rgba(6, 40, 28, 0.85); transform: scale(2.2) rotate(-8deg); opacity: 0; }
.mp-send.hit .mp-stamp { animation: mp-stamp 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.25) 0.12s forwards; }

/* ---------- "Ne yesem?" çarkı ---------- */
.spin-sub { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--amber); }
.spin-card { overflow: hidden; }
.spin-card.rolling .card-img, .spin-card.rolling .spin-main { animation: mp-reel 0.11s linear infinite; filter: blur(1.2px); }
.spin-card.rolling { border-color: rgba(245, 158, 11, 0.7); box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.25), 0 0 28px rgba(245, 158, 11, 0.25); }
.spin-card.spin { animation: mp-land 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.spin-card.spin::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(105deg, transparent 30%, rgba(253, 230, 138, 0.35) 50%, transparent 70%); animation: mp-sweep-once 0.8s ease forwards; pointer-events: none; }

/* ---------- animasyonlar ---------- */
@keyframes mp-shine { 0%, 40% { transform: translateX(-100%); } 80%, 100% { transform: translateX(100%); } }
@keyframes mp-gold { to { background-position: 200% 0; } }
@keyframes mp-pop { 0% { transform: scale(1); } 35% { transform: scale(1.08) translateY(-3px); } 100% { transform: scale(1); } }
@keyframes mp-flash { 0%, 100% { color: var(--amber); text-shadow: none; } 40% { color: #fff; text-shadow: 0 0 12px #f59e0b; } }
@keyframes mp-bump { 0% { transform: scale(1); } 40% { transform: scale(1.22); color: #fde68a; } 100% { transform: scale(1); } }
@keyframes mp-banner-in { from { opacity: 0; transform: translate(-50%, 24px) scale(0.7); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes mp-banner-out { to { opacity: 0; transform: translate(-50%, -14px) scale(0.92); } }
@keyframes mp-spin-star { from { transform: rotate(-200deg) scale(0.3); } to { transform: rotate(0) scale(1); } }
@keyframes mp-breathe { 0%, 100% { transform: scale(0.9); opacity: 0.8; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes mp-deal { from { opacity: 0; transform: translateY(60px) rotate(0deg) scale(0.5); } }
@keyframes mp-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes mp-sweep { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes mp-sweep-once { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
@keyframes mp-fade { from { opacity: 0; } }
@keyframes mp-fade-out { to { opacity: 0; } }
@keyframes mp-thump { 0% { transform: scale(0.6); } 55% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes mp-stamp { 0% { opacity: 0; transform: scale(2.2) rotate(-8deg); } 70% { opacity: 1; transform: scale(0.94) rotate(-3deg); } 100% { opacity: 1; transform: scale(1) rotate(-3deg); } }
@keyframes mp-reel { 0% { transform: translateY(-6px); } 50% { transform: translateY(6px); } 100% { transform: translateY(-6px); } }
@keyframes mp-land { 0% { transform: scale(0.92); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }

/* ---------- "Kaydırarak keşfet" düğmesi (hero) ---------- */
.mp-deck-btn { border-color: rgba(167, 139, 250, 0.45); background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(236, 72, 153, 0.16)); color: #e9d5ff; }
.mp-deck-ico { position: relative; width: 16px; height: 16px; display: inline-block; }
.mp-deck-ico i { position: absolute; inset: 1px 3px; border-radius: 3px; border: 1.6px solid currentColor; background: rgba(14, 14, 18, 0.9); transform-origin: 50% 100%; }
.mp-deck-ico i:nth-child(1) { transform: rotate(-16deg); opacity: 0.55; }
.mp-deck-ico i:nth-child(2) { transform: rotate(-6deg); opacity: 0.8; }
.mp-deck-ico i:nth-child(3) { animation: mp-deck-wig 2.8s ease-in-out infinite; }
@keyframes mp-deck-wig { 0%, 70%, 100% { transform: rotate(8deg); } 80% { transform: rotate(22deg) translateX(2px); } 90% { transform: rotate(4deg); } }

/* ---------- keşfet destesi ---------- */
html.mpd-lock, html.mpd-lock body { overflow: hidden; }
#mp-deck { --lean: 0; position: fixed; inset: 0; z-index: 58; display: grid; grid-template-rows: auto 1fr auto auto; padding: calc(10px + var(--safe-t)) 14px calc(14px + var(--safe-b)); background: #07070a; opacity: 0; transition: opacity 0.25s ease; touch-action: none; }
#mp-deck.on { opacity: 1; }
#mp-deck:focus { outline: none; }
#mp-deck[hidden] { display: none; }
.mpd-amb { position: absolute; inset: -10%; background-size: cover; background-position: center; filter: blur(42px) saturate(1.4); opacity: 0.38; transition: background-image 0.4s ease; pointer-events: none; }
#mp-deck::before { content: ''; position: absolute; inset: 0; pointer-events: none; background:
    radial-gradient(60% 40% at calc(50% + var(--lean) * 40%) 55%, rgba(calc(120 - var(--lean) * 100), calc(80 + var(--lean) * 120), 90, 0.32), transparent 70%),
    linear-gradient(180deg, rgba(7, 7, 10, 0.2), rgba(7, 7, 10, 0.85)); }
.mpd-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; max-width: 520px; width: 100%; margin: 0 auto; }
.mpd-ic, .mpd-cart { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; border: 1px solid var(--line); background: rgba(20, 20, 26, 0.75); color: #fff; }
.mpd-ic svg, .mpd-cart svg, .mpd-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mpd-cart { position: relative; }
.mpd-cart b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; font-size: 11px; background: #3f3f46; border: 2px solid #07070a; }
.mpd-cart.has b { background: var(--primary); }
.mpd-cart.bump { animation: mp-bump 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mpd-prog { flex: 1; display: grid; gap: 5px; text-align: center; }
.mpd-prog b { font-family: var(--font-display); font-size: 13px; color: var(--muted); }
.mpd-bar { height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.mpd-bar i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #a78bfa, #ec4899, #f59e0b); transition: transform 0.4s var(--ease); }
.mpd-stack { position: relative; z-index: 1; width: 100%; max-width: 420px; margin: 14px auto 0; min-height: 0; }
.mpd-card { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; border-radius: 28px; border: 1px solid rgba(255, 255, 255, 0.1); background: linear-gradient(170deg, #1d1d24, #0d0d11); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(calc(var(--k) * 16px)) scale(calc(1 - var(--k) * 0.05)); transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s; filter: brightness(calc(1 - var(--k) * 0.22)); touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; will-change: transform; }
.mpd-card.top { animation: mpd-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mpd-card.drag { transition: none; cursor: grabbing; }
.mpd-card:focus-visible { outline: 2px solid #a78bfa; outline-offset: 4px; }
.mpd-media { position: relative; overflow: hidden; background: #111; }
.mpd-media img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transform: scale(1.04); }
.mpd-media .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.mpd-media .ph svg { width: 58%; height: 58%; }
.mpd-media::after { content: ''; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(13, 13, 17, 0.95)); }
.mpd-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%); transform: translateX(-110%); animation: mp-sweep-once 1.1s ease 0.35s forwards; pointer-events: none; }
.mpd-body { position: relative; padding: 0 18px 18px; margin-top: -46px; }
.mpd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.mpd-tag { padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mpd-tag.chef { color: #fcd34d; } .mpd-tag.pop { color: #fda4af; }
.mpd-body h3 { font-family: var(--font-display); font-size: clamp(22px, 6vw, 28px); line-height: 1.1; letter-spacing: -0.02em; }
.mpd-body p { margin-top: 6px; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mpd-foot { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.mpd-foot b { font-family: var(--font-display); font-size: 26px; background: linear-gradient(90deg, #fff, #fde68a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mpd-foot b small { font-size: 15px; margin-left: 2px; }
.mpd-foot span { color: var(--dim); font-size: 12px; }
.mpd-in { margin-left: auto; padding: 3px 9px; border-radius: 99px; font-style: normal; font-size: 11px; font-weight: 700; color: #6ee7b7; background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.35); }
.mpd-stamp { position: absolute; top: 26px; z-index: 3; padding: 6px 14px; border-radius: 12px; font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: 0.06em; border: 3px solid; opacity: 0; pointer-events: none; }
.mpd-stamp.yes { left: 20px; color: #34d399; border-color: #34d399; background: rgba(6, 40, 28, 0.6); transform: rotate(-14deg); box-shadow: 0 0 24px rgba(52, 211, 153, 0.45); }
.mpd-stamp.no { right: 20px; color: #fb7185; border-color: #fb7185; background: rgba(50, 8, 18, 0.6); transform: rotate(14deg); box-shadow: 0 0 24px rgba(251, 113, 133, 0.4); }
.mpd-hint { position: relative; z-index: 2; margin: 12px auto 0; font-size: 12px; color: var(--dim); text-align: center; }
.mpd-acts { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 12px; }
.mpd-btn { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(22, 22, 28, 0.9); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5); transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s; }
.mpd-btn:active { transform: scale(0.88); }
.mpd-btn:disabled { opacity: 0.3; }
.mpd-btn svg { width: 26px; height: 26px; }
.mpd-btn.undo, .mpd-btn.fav { width: 46px; height: 46px; }
.mpd-btn.undo svg, .mpd-btn.fav svg { width: 20px; height: 20px; }
.mpd-btn.undo { color: #fcd34d; }
.mpd-btn.no { color: #fb7185; border-color: rgba(251, 113, 133, 0.4); transform: scale(calc(1 + max(0, -1 * var(--lean)) * 0.18)); }
.mpd-btn.yes { width: 68px; height: 68px; color: #fff; border-color: transparent; background: radial-gradient(circle at 35% 30%, #34d399, #059669); box-shadow: 0 12px 30px rgba(5, 150, 105, 0.45); transform: scale(calc(1 + max(0, var(--lean)) * 0.18)); }
.mpd-btn.yes svg { width: 32px; height: 32px; stroke-width: 2.8; }
.mpd-btn.fav { color: #f472b6; }
.mpd-btn.fav.on svg { fill: currentColor; }
.mpd-btn.fav.pop { animation: mp-thump 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mpd-fx { position: fixed; z-index: 96; pointer-events: none; font-size: 20px; font-weight: 700; color: #6ee7b7; text-shadow: 0 0 12px rgba(52, 211, 153, 0.7); }
.mpd-end { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 20px; border-radius: 28px; border: 1px dashed rgba(255, 255, 255, 0.16); background: rgba(14, 14, 18, 0.7); animation: mpd-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mpd-end-ico { font-size: 54px; animation: mp-thump 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mpd-end b { font-family: var(--font-display); font-size: 24px; }
.mpd-end p { color: var(--muted); max-width: 280px; }
.mpd-end-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
@keyframes mpd-in { from { opacity: 0; transform: translateY(30px) scale(0.92); } }
@media (min-height: 760px) { .mpd-stack { margin-top: 20px; } }

/* ---------- menü kartları: belirirken parıltı, dokununca ışık, sıcak yemekte buhar ---------- */
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.09) 50%, transparent 62%); transform: translateX(-120%); }
.card.rv.in::after { animation: mp-sweep-once 1.1s ease 0.25s forwards; }
.card.mp-touch .glare { opacity: 1; }
.card.mp-touch { border-color: rgba(var(--brand-rgb, 220, 38, 38), 0.45); }
.card-img[data-kind="soup"]::before, .card-img[data-kind="broth"]::before, .card-img[data-kind="coffee"]::before, .card-img[data-kind="tea"]::before, .card-img[data-kind="burger"]::before, .card-img[data-kind="plate"]::before, .card-img[data-kind="fries"]::before, .card-img[data-kind="bowl"]::before,
.card-img[data-kind="soup"]::after, .card-img[data-kind="broth"]::after, .card-img[data-kind="coffee"]::after, .card-img[data-kind="tea"]::after, .card-img[data-kind="burger"]::after, .card-img[data-kind="plate"]::after, .card-img[data-kind="fries"]::after, .card-img[data-kind="bowl"]::after {
    content: ''; position: absolute; z-index: 2; bottom: 38%; width: 16px; height: 46px; border-radius: 50%; pointer-events: none; opacity: 0;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.55), transparent); filter: blur(4px);
}
.card-img[data-kind]::before { left: 32%; }
.card-img[data-kind]::after { left: 56%; }
.card.mp-vis .card-img[data-kind]::before { animation: mp-steam 3.2s ease-in-out infinite; }
.card.mp-vis .card-img[data-kind]::after { animation: mp-steam 3.2s ease-in-out 1.6s infinite; }
@keyframes mp-steam { 0% { opacity: 0; transform: translateY(14px) scaleX(0.7); } 25% { opacity: 0.75; } 60% { opacity: 0.4; transform: translateY(-18px) scaleX(1.25) translateX(4px); } 100% { opacity: 0; transform: translateY(-38px) scaleX(1.6) translateX(-3px); } }

/* bölüm başlığı ekrana girince */
.section-head.mp-head h2 .ico { transform: scale(0.4) rotate(-30deg); opacity: 0; transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s; }
.section-head.mp-head h2 { position: relative; }
.section-head.mp-head h2::after { content: ''; position: absolute; left: 30px; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), #f59e0b, transparent); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease) 0.15s; }
.section-head.mp-head.mp-in h2 .ico { transform: none; opacity: 1; }
.section-head.mp-head.mp-in h2::after { transform: scaleX(1); }

/* ---------- sipariş takibi: hareketli simge ---------- */
.mp-track-run { position: relative; height: 34px; margin-bottom: 2px; }
.mp-runner { position: absolute; bottom: 0; left: calc(100% / 6); font-size: 26px; line-height: 1; transform: translateX(-50%); transition: left 0.9s cubic-bezier(0.34, 1.56, 0.64, 1); filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); }
.mp-runner.r2 { left: 50%; animation: mp-cook 0.9s ease-in-out infinite; }
.mp-runner.r3 { left: calc(100% * 5 / 6); animation: mp-ring 1.2s ease-in-out infinite; }
.mp-runner.r0 { animation: mp-wait 2s ease-in-out infinite; }
.status.s2 .steps i:nth-child(2), .status.s0 .steps i:nth-child(1) { position: relative; overflow: hidden; }
.status.s2 .steps i:nth-child(2)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent); transform: translateX(-100%); animation: mp-shine 1.6s ease-in-out infinite; }
.status.s3 .steps i { animation: mp-glow 1.4s ease-in-out infinite; }
@keyframes mp-cook { 0%, 100% { transform: translateX(-50%) rotate(-8deg); } 50% { transform: translateX(-50%) rotate(8deg) translateY(-3px); } }
@keyframes mp-ring { 0%, 60%, 100% { transform: translateX(-50%) rotate(0); } 10%, 30%, 50% { transform: translateX(-50%) rotate(-16deg); } 20%, 40% { transform: translateX(-50%) rotate(16deg); } }
@keyframes mp-wait { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-4px); } }
@keyframes mp-glow { 0%, 100% { box-shadow: 0 0 10px rgba(16, 185, 129, 0.5); } 50% { box-shadow: 0 0 22px rgba(16, 185, 129, 0.95); } }

/* ---------- beklerken oyun ---------- */
.mp-game-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 18px; text-align: left; border: 1px solid rgba(167, 139, 250, 0.4); background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(236, 72, 153, 0.12)); color: #fff; position: relative; overflow: hidden; }
.mp-game-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%); transform: translateX(-120%); animation: mp-sweep 3.2s ease-in-out 1s infinite; pointer-events: none; }
.mpg-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; font-size: 24px; background: rgba(0, 0, 0, 0.35); animation: mp-cook 1.8s ease-in-out infinite; }
.mpg-ico { transform-origin: 50% 60%; }
.mpg-txt { flex: 1; min-width: 0; }
.mpg-txt b { display: block; font-family: var(--font-display); font-size: 16px; }
.mpg-txt small { display: block; font-size: 12px; color: #d8b4fe; }
.mp-game-btn > .ico { color: #d8b4fe; }
#mp-game { position: fixed; inset: 0; z-index: 75; background: radial-gradient(80% 60% at 50% 0%, rgba(124, 58, 237, 0.25), transparent 70%), radial-gradient(70% 45% at 50% 100%, rgba(245, 158, 11, 0.16), transparent 70%), linear-gradient(180deg, #0b0614, #07070a); touch-action: none; user-select: none; -webkit-user-select: none; }
#mp-game[hidden] { display: none; }
.mpg-cv { position: absolute; inset: 0; display: block; }
.mpg-hud { position: absolute; z-index: 2; top: calc(10px + var(--safe-t)); left: 12px; right: 12px; display: flex; align-items: center; gap: 12px; pointer-events: none; }
.mpg-ic { pointer-events: auto; width: 42px; height: 42px; border-radius: 13px; border: 1px solid var(--line); background: rgba(20, 20, 26, 0.8); color: #fff; font-size: 16px; }
.mpg-score { flex: 1; text-align: center; }
.mpg-score b { display: block; font-family: var(--font-display); font-size: 34px; line-height: 1; text-shadow: 0 0 18px rgba(245, 158, 11, 0.6); }
.mpg-score small { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
.mpg-lives { min-width: 42px; text-align: right; font-size: 15px; letter-spacing: 1px; }
.mpg-note { position: absolute; z-index: 4; left: 50%; top: calc(70px + var(--safe-t)); transform: translateX(-50%); padding: 10px 16px; border-radius: 14px; font-weight: 700; white-space: nowrap; background: linear-gradient(135deg, #059669, #10b981); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(16, 185, 129, 0.5); animation: mp-banner-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.mpg-panel { position: absolute; z-index: 3; left: 50%; top: 50%; width: min(340px, calc(100% - 32px)); transform: translate(-50%, -50%); padding: 22px 20px 18px; border-radius: 26px; text-align: center; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(16, 14, 24, 0.92); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6); animation: mpg-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mpg-panel[hidden] { display: none; }
.mpg-dotto { width: 72px; height: 72px; margin: -58px auto 6px; animation: mp-wait 1.6s ease-in-out infinite; }
.mpg-dotto svg { width: 100%; height: 100%; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.6)); }
.mpg-panel h2 { font-family: var(--font-display); font-size: 24px; }
.mpg-panel[data-mode="over"][data-nb="1"] h2 { background: linear-gradient(90deg, #fde68a, #f59e0b, #fde68a); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: mp-gold 1.4s linear infinite; }
.mpg-panel p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.mpg-panel[data-mode="over"] p { font-family: var(--font-display); font-size: 22px; color: #fff; }
.mpg-best { margin-top: 8px; font-size: 13px; font-weight: 700; color: #fcd34d; }
.mpg-acts { display: grid; gap: 8px; margin-top: 16px; }
@keyframes mpg-in { from { opacity: 0; transform: translate(-50%, -40%) scale(0.9); } }
@media print { .mp-game-btn, .mp-track-run { display: none !important; } }

/* dokunma dalgası */
.mp-rip-host { overflow: hidden; }
.mp-rip-rel { position: relative; }
.mp-rip { position: absolute; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12) 60%, transparent 70%); z-index: 0; }

@media (prefers-reduced-motion: reduce) {
    .mp-runner, .mp-game-btn::after, .mpg-ico, .mpg-dotto, .status.s3 .steps i, .status.s2 .steps i:nth-child(2)::after, .mpd-card, .mpd-card.top, .mpd-shine, .mpd-end, .mpd-end-ico, .mp-deck-ico i, .card::after, .card-img[data-kind]::before, .card-img[data-kind]::after { animation: none !important; transition: none !important; }
    .card-img[data-kind]::before, .card-img[data-kind]::after { display: none; }
    .section-head.mp-head h2 .ico { transform: none; opacity: 1; }
    .section-head.mp-head h2::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .mp-track i, .mp-track i::after, .mp-xp.up, .ask-glow, .ask-thumb, .ask-line, .ask-foot .ask-yes::after, .spin-card.spin, .spin-card.spin::after { animation: none !important; transition: none !important; }
}
/* Hafif mod: dekoratif animasyonları perf.css genel kuralı (animation: none) durdurur; onay ekranı ve çubuk sade kalır */
