/* ==========================================================================
   kids.css — 4 yaş için dokunmatik/okumasız katman
   style.css ve games.css'in üstüne yüklenir. İçindekiler:
     1. Oyun Sarayı: büyük resimli oyun kartları
     2. Oyun ekranı üst çubuğu
     3. Tur sonu kutlaması
     4. İpucu eli
     5. Şeker Rallisi
     6. Şekil Avı (sürükle-bırak)
     7. Ortak büyük mod düğmeleri
     8. Hayvan Dostları (bilmece modu)
     9. Hafıza / Balon / Ksilofon
    10. Sihirli Boyama
   ========================================================================== */

/* ------------------------------ 1. OYUN KARTLARI ------------------------------ */
.game-grid {
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 16px;
}

.game-card {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 10px 14px;
    text-align: center;
    border-radius: 30px;
}

.game-card-art {
    width: 100%;
    height: auto;
    aspect-ratio: 1.12;
    border-radius: 24px;
    font-size: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.55), transparent 42%),
        linear-gradient(150deg, var(--c1), var(--c2));
}

.game-card-art::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 12%;
    width: 52%;
    height: 10%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    filter: blur(4px);
}

.game-card-emoji {
    position: relative;
    font-size: clamp(56px, 7vw, 76px);
    line-height: 1;
    filter: drop-shadow(0 8px 10px rgba(60, 30, 90, 0.22));
    animation: tileBob 3.4s ease-in-out infinite;
    animation-delay: calc(var(--i) * -0.37s);
}

@keyframes tileBob {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50%      { transform: translateY(-7px) rotate(3deg); }
}

.game-card-title {
    position: relative;
    z-index: 1;
    font-size: 17px;
    font-weight: 900;
    white-space: normal;
    line-height: 1.15;
}

.game-card-stars {
    top: 16px;
    right: 16px;
    font-size: 14px;
    letter-spacing: -2px;
    background: rgba(255, 255, 255, 0.85);
    padding: 3px 8px 3px 6px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 10px rgba(96, 62, 132, 0.15);
}

.game-card-stars:empty { display: none; }
.game-card-stars.is-new { background: rgba(255, 255, 255, 0.85); letter-spacing: 0; animation: newTwinkle 1.6s ease-in-out infinite; }

@keyframes newTwinkle {
    0%, 100% { transform: scale(1) rotate(0); }
    50%      { transform: scale(1.18) rotate(12deg); }
}

.game-card.is-launching {
    animation: tileLaunch 0.42s var(--ease-pop);
}

.game-card.is-launching .game-card-emoji {
    animation: none;
    transform: scale(1.25) rotate(-6deg);
    transition: transform 0.25s var(--ease-pop);
}

@keyframes tileLaunch {
    0%   { transform: scale(1); }
    35%  { transform: scale(0.92); }
    70%  { transform: scale(1.06); }
    100% { transform: scale(1); }
}

@media (max-width: 620px) {
    .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .game-card { flex-direction: column; align-items: stretch; padding: 8px 8px 12px; gap: 8px; border-radius: 26px; }
    .game-card-art { width: 100%; height: auto; border-radius: 20px; font-size: 0; }
    .game-card-title { font-size: 15px; }
    .game-card-stars { top: 13px; right: 13px; }
}

/* ------------------------------ 2. OYUN ÜST ÇUBUĞU ------------------------------ */
.back-btn {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    font-size: 0;
    background: linear-gradient(160deg, #FFE7EF, #fff);
}

.back-btn span { display: none; }

.back-btn::before {
    content: "🏠";
    font-size: 30px;
}

@media (max-width: 620px) {
    .back-btn { width: 52px; height: 52px; }
}

/* ------------------------------ 3. TUR SONU ------------------------------ */
/* Ekranı karartmaz, bitirilen işi kapatmaz: altta iki büyük düğme (≈2 cm). */
.win-overlay {
    position: fixed;
    left: 0;
    right: 0;
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 250;
    display: flex;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-pop);
}

.win-overlay.show { opacity: 1; transform: none; }
.win-overlay.show .win-actions { pointer-events: auto; }

.win-actions {
    display: flex;
    gap: 28px;
    padding: 14px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 34px rgba(44, 33, 64, 0.22);
}

.win-btn {
    width: 108px;
    height: 108px;
    border-radius: 36px;
    font-size: 52px;
    display: grid;
    place-items: center;
    border: 4px solid #fff;
    transition: transform 0.15s var(--ease-pop);
}

.win-btn:active { transform: scale(0.88); }

.win-ileri { color: #fff; font-size: 58px; line-height: 1; margin-left: 8px; text-shadow: 0 3px 0 rgba(0, 0, 0, .15); }
.win-again {
    background: linear-gradient(160deg, #6EE7B7, #10B981);
    box-shadow: 0 10px 22px rgba(16, 185, 129, 0.35);
    animation: againPulse 1.6s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes againPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.06); }
}

.win-home {
    background: linear-gradient(160deg, #FFE7EF, #FFB3C9);
    box-shadow: 0 10px 22px rgba(244, 63, 126, 0.22);
}

/* Oyun içinde yıldız sayacı yok (yıldızlar krallık dükkânında görünür) */
#game-star-chip { display: none; }

/* ------------------------- 3b. TUR SONU: SARE DANS EDER ------------------------- */
/* Yazı ve emoji yok (çocuk okuyamıyor). Sare aşağıdan zıplayarak girer, kısa dans eder,
   konfeti patlar (js/confetti.js), sonra ▶ ve 🏠 düğmeleri yumuşakça belirir.
   Ekranı karartmaz, oyunu kapatmaz: çocuk yaptığı işi görmeye devam eder. */
.tur-kutlama {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 255;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    pointer-events: none;
}

.tk-sare {
    width: 190px;
    height: 275px;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translateY(300px) scale(0.86);
    transition: transform 0.62s cubic-bezier(0.18, 1.45, 0.42, 1), opacity 0.36s ease-out;
    filter: drop-shadow(0 12px 20px rgba(120, 40, 90, 0.22));
}

.tk-sare svg { width: 100%; height: 100%; display: block; }

.tur-kutlama.tk-girdi .tk-sare { transform: none; opacity: 1; }
.tur-kutlama.tk-dans .tk-sare { animation: tkDans 0.78s ease-in-out 3; }

@keyframes tkDans {
    0%, 100% { transform: rotate(-5deg) translateY(0) scale(1); }
    50%      { transform: rotate(5deg) translateY(-16px) scale(1.03); }
}

.tk-dugmeler {
    display: flex;
    gap: 26px;
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 38px rgba(44, 33, 64, 0.24);
    opacity: 0;
    transform: translateY(16px) scale(0.94);
    transition: opacity 0.42s ease-out, transform 0.5s cubic-bezier(0.2, 1.4, 0.5, 1);
}

.tur-kutlama.tk-dugme .tk-dugmeler { opacity: 1; transform: none; pointer-events: auto; }

.tk-btn {
    width: 96px;
    height: 96px;
    border-radius: 32px;
    border: 4px solid #fff;
    display: grid;
    place-items: center;
    font-size: 46px;
    transition: transform 0.15s var(--ease-pop);
}

.tk-btn:active { transform: scale(0.88); }

.tk-tekrar { background: linear-gradient(160deg, #6EE7B7, #10B981); box-shadow: 0 10px 22px rgba(16, 185, 129, 0.35); }
.tk-ev { background: linear-gradient(160deg, #FFE7EF, #FFB3C9); box-shadow: 0 10px 22px rgba(244, 63, 126, 0.22); }
.tk-ileri { color: #fff; font-size: 52px; line-height: 1; margin-left: 6px; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.15); }

@media (max-width: 420px) {
    .tk-sare { width: 152px; height: 220px; }
    .tk-btn { width: 84px; height: 84px; border-radius: 28px; font-size: 40px; }
    .tk-ileri { font-size: 44px; }
}

/* ------------------------------ 4. İPUCU ELİ ------------------------------ */
.hint-hand {
    position: fixed;
    z-index: 240;
    font-size: 64px;
    pointer-events: none;
    transform: translate(-30%, 10%);
    filter: drop-shadow(0 8px 12px rgba(44, 33, 64, 0.35));
    animation: hintTap 0.9s ease-in-out infinite;
}

@keyframes hintTap {
    0%, 100% { transform: translate(-30%, 20%) scale(1); }
    50%      { transform: translate(-30%, 0%) scale(0.88); }
}

/* ------------------------------ 5. ŞEKER RALLİSİ ------------------------------ */
.picker-btn {
    width: 52px;
    height: 52px;
    padding: 0;
    font-size: 28px;
    display: grid;
    place-items: center;
    border-radius: 18px;
}

.picker-btn.active { transform: scale(1.08); }

.hud-capsule { font-size: 17px; padding: 10px 18px; }

.steer-paddle {
    font-size: 40px;
    padding: 6px 8px;
    height: 96px;          /* ≈2 cm; resim düğmeyi büyütüp yolu ezmesin */
    border-radius: 26px;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.steer-paddle .rl-nitro-img { width: auto; height: 80px; max-width: 100%; }

/* ------------------------------ 6. ŞEKİL AVI ------------------------------ */
.shapes-progress {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.shapes-progress span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.16);
    transition: background 0.3s, transform 0.3s var(--ease-pop);
}

.shapes-progress span.done { background: var(--sun-500); }
.shapes-progress span.now { background: var(--lilac-500); transform: scale(1.25); }

.shapes-slots-row,
.shapes-pieces-row,
.shapes-slots-row[style],
.shapes-pieces-row[style] {
    grid-template-columns: repeat(var(--n, 5), minmax(0, 170px));
    justify-content: center;
    gap: clamp(10px, 2vw, 22px);
}

.shape-piece {
    touch-action: none;
    cursor: grab;
    position: relative;
}

.shape-piece.lifted { z-index: 20; box-shadow: 0 22px 40px rgba(96, 62, 132, 0.28); }
.shape-piece.dragging { transition: none !important; cursor: grabbing; }
.shape-piece.selected { box-shadow: 0 0 0 5px var(--sun-500), 0 18px 32px rgba(245, 158, 11, 0.35); transform: translateY(-6px) scale(1.06); }
.shape-piece.wiggle { animation: pieceWiggle 0.5s ease; }

@keyframes pieceWiggle {
    0%, 100% { rotate: 0deg; }
    20% { rotate: -12deg; }
    40% { rotate: 10deg; }
    60% { rotate: -7deg; }
    80% { rotate: 4deg; }
}

.shape-slot.hover,
.shape-slot.awaiting { border-color: var(--sun-500); background: rgba(255, 245, 210, 0.9); }
.shape-slot.hover { transform: scale(1.06); }
.shape-slot { transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease-pop); }
.shape-slot.filled { border-style: solid; border-color: rgba(52, 211, 153, 0.6); background: rgba(236, 253, 245, 0.9); }
.shape-slot.nope { animation: pieceWiggle 0.45s ease; }

@media (max-width: 620px) {
    .shapes-slots-row,
    .shapes-pieces-row,
    .shapes-slots-row[style],
    .shapes-pieces-row[style] { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 8px; }
}

/* ------------------------------ 7. BÜYÜK MOD DÜĞMELERİ ------------------------------ */
.kid-mode-bar {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
}

.kid-mode-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px 10px 14px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 3px solid #F0E9FA;
    box-shadow: 0 8px 18px rgba(96, 62, 132, 0.12);
    transition: transform 0.16s var(--ease-pop), background 0.2s;
}

.kid-mode-btn:active { transform: scale(0.93); }
.kmb-icon { font-size: 34px; line-height: 1; }
.kmb-label { font-size: 17px; font-weight: 900; color: var(--ink-2); }

.kid-mode-btn.active {
    background: linear-gradient(135deg, var(--lilac-500), #6D3FE0);
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(139, 92, 246, 0.35);
}

.kid-mode-btn.active .kmb-label { color: #fff; }

/* ------------------------------ 8. HAYVAN BİLMECESİ ------------------------------ */
.quiz-head {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.quiz-ask-btn {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    font-size: 48px;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #FDE68A, #F59E0B);
    border: 4px solid #fff;
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.4);
    animation: askBreath 2.2s ease-in-out infinite;
}

.quiz-ask-btn.ask-pulse { animation: askPulse 0.6s var(--ease-pop); }

@keyframes askBreath {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.06); }
}

@keyframes askPulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.22); }
    100% { transform: scale(1); }
}

.quiz-stars { display: flex; gap: 6px; }
.quiz-stars span { font-size: 28px; filter: grayscale(1) opacity(0.3); transition: filter 0.3s; }
.quiz-stars span.got { filter: none; animation: starPop 0.5s var(--ease-pop); }

.animals-grid.quiz-grid {
    grid-template-columns: repeat(var(--n, 3), minmax(0, 210px));
    justify-content: center;
    gap: clamp(12px, 2.4vw, 26px);
}

.quiz-card { aspect-ratio: 1; padding: 10px; }
.quiz-card .animal-avatar { font-size: clamp(64px, 10vw, 110px); }
.quiz-card.correct { box-shadow: 0 0 0 6px var(--mint-500), 0 18px 34px rgba(16, 185, 129, 0.35); animation: animalBounce 0.6s var(--ease-pop); }
.quiz-card.wiggle { animation: pieceWiggle 0.5s ease; }

@media (max-width: 620px) {
    .animals-grid.quiz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kmb-label { font-size: 15px; }
    .kmb-icon { font-size: 28px; }
}

/* ------------------------------ 9. HAFIZA / BALON / KSİLOFON ------------------------------ */
.memory-grid.grid-10 { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 860px; }
@media (max-width: 620px) {
    .memory-grid.grid-10 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
}

.balloon-meter {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 14px;
    width: min(420px, 80%);
}

.bm-track {
    flex: 1 1 auto;
    height: 20px;
    border-radius: 99px;
    background: rgba(244, 63, 126, 0.12);
    overflow: hidden;
}

.bm-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #FF80AB, #FF4081, #AA00FF);
    transition: width 0.35s var(--ease-pop);
}

.bm-goal { font-size: 30px; line-height: 1; }

.xylo-mode-btn,
.xylo-song-btn {
    padding: 11px 18px;
    font-size: 15px;
}

.xylo-song-hint-box {
    font-size: 22px;
    padding: 10px 18px;
    width: min(520px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.xylo-progress {
    display: block;
    height: 16px;
    border-radius: 99px;
    background: rgba(245, 158, 11, 0.18);
    overflow: hidden;
}

.xylo-progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #FFD54F, #F59E0B);
    transition: width 0.25s var(--ease-pop);
}

.xylo-bar.demo-glow {
    filter: brightness(1.35);
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.8), 0 14px 28px rgba(44, 33, 64, 0.25);
    transition: transform 0.12s, filter 0.12s;
    z-index: 2;
}

/* ------------------------------ 10. SİHİRLİ BOYAMA ------------------------------ */
.paint-controls.kid-paint {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.paint-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.kid-paint .paint-btn,
.kid-paint .action-btn {
    width: 58px;
    height: 58px;
    padding: 0;
    border-radius: 20px;
    font-size: 30px;
    display: grid;
    place-items: center;
}

.kid-paint .paint-btn.active { transform: scale(1.08); }
.kid-paint .page-btn { background: linear-gradient(135deg, #FDE68A, #F59E0B); box-shadow: 0 8px 18px rgba(245, 158, 11, 0.32); }

.kid-paint .color-dot { width: 52px; height: 52px; border-width: 4px; }
.kid-paint .stamp-btn { width: 58px; height: 58px; font-size: 30px; border-radius: 17px; }
.kid-paint .paint-stamps-bar { gap: 8px; }

@media (max-width: 620px) {
    .kid-paint .paint-btn,
    .kid-paint .action-btn { width: 48px; height: 48px; font-size: 24px; border-radius: 16px; }
    .kid-paint .color-dot { width: 36px; height: 36px; }
    .kid-paint .stamp-btn { width: 40px; height: 40px; font-size: 21px; }
}

/* ------------------------------ 11. KÜÇÜK ŞEF (4 YAŞ) ------------------------------ */
.kitchen-deluxe .deluxe-nav-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 6px 0 12px;
}

.kitchen-deluxe .deluxe-nav-bar .shapes-progress {
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.kitchen-deluxe .deluxe-nav-actions {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.chef-next-btn {
    width: 96px;
    height: 96px;
    min-width: 96px;
    min-height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981, #059669);
    border: 4px solid #ffffff;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.45);
    font-size: 44px;
    color: #ffffff;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
    padding: 0;
    line-height: 1;
    animation: chefPulse 1.2s ease-in-out infinite;
    transition: transform 0.2s var(--ease-pop);
    touch-action: manipulation;
}

.chef-next-btn:active {
    transform: scale(0.92);
}

.chef-next-btn.is-hidden {
    display: none !important;
}

@keyframes chefPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4); }
    50%      { transform: scale(1.1); box-shadow: 0 16px 32px rgba(16, 185, 129, 0.6); }
}

/* Adım 1: Müşteri Kartları */
.stage-customer-select .customer-cards-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.stage-customer-select .studio-character-card {
    width: auto;
    min-width: 140px;
    min-height: 140px;
    padding: 16px;
    border-radius: 36px;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: #ffffff;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 28px rgba(74, 50, 110, 0.12);
    transition: transform 0.2s var(--ease-pop), border-color 0.2s;
}

.stage-customer-select .studio-character-card:active {
    transform: scale(0.94);
}

.stage-customer-select .char-big-avatar {
    font-size: clamp(96px, 15vw, 128px);
    line-height: 1;
    filter: drop-shadow(0 8px 12px rgba(60, 30, 90, 0.15));
}

.stage-customer-select .studio-character-card.bounce-chosen {
    border-color: #10B981;
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.35), 0 16px 32px rgba(16, 185, 129, 0.25);
    animation: customerBounce 0.6s var(--ease-pop);
}

@keyframes customerBounce {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.2) translateY(-14px); }
    100% { transform: scale(1.06); }
}

/* Adım 2: Oklava & Hamur */
.stage-rolling .countertop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stage-rolling .rolling-pin {
    position: static;
    margin: 0 auto 20px;
    width: 110px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    font-size: 38px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #FFE082, #FFB74D);
    border: 3px solid #ffffff;
    box-shadow: 0 8px 20px rgba(255, 183, 77, 0.35);
    cursor: pointer;
    touch-action: manipulation;
}

.stage-rolling .dough-ball {
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

/* Adım 3: Sos Düğmeleri */
.sauce-selection-bar {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.sauce-selection-bar .sauce-pick-btn {
    width: 72px;
    height: 72px;
    min-width: 64px;
    min-height: 64px;
    padding: 0;
    border-radius: 50%;
    font-size: 38px;
    display: grid;
    place-items: center;
    cursor: pointer;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 18px rgba(60, 30, 90, 0.12);
    transition: transform 0.2s var(--ease-pop);
    touch-action: manipulation;
}

.sauce-selection-bar .sauce-pick-btn.active {
    transform: scale(1.15);
    border-color: #FF4081;
    box-shadow: 0 0 0 4px rgba(255, 64, 129, 0.3), 0 12px 24px rgba(255, 64, 129, 0.35);
}

.deluxe-pizza-base {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Adım 4: Doğrama */
.chop-items-list {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.chop-items-list .raw-ing-btn {
    width: 76px;
    height: 76px;
    min-width: 72px;
    min-height: 72px;
    padding: 0;
    border-radius: 24px;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: #ffffff;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 18px rgba(60, 30, 90, 0.1);
    transition: transform 0.2s var(--ease-pop);
    touch-action: manipulation;
}

.chop-items-list .raw-ing-btn .ing-icon {
    font-size: 42px;
    line-height: 1;
}

.chop-items-list .raw-ing-btn.active {
    transform: scale(1.08);
    border-color: #FF9800;
    box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.25);
}

.chop-items-list .raw-ing-btn.chopped-done {
    opacity: 0.5;
    transform: scale(0.92);
    border-color: #10B981;
    box-shadow: 0 0 0 2px #10B981;
}

.board-target-food .chop-knife-btn {
    width: 84px;
    height: 84px;
    min-width: 72px;
    min-height: 72px;
    border-radius: 50%;
    font-size: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    background: linear-gradient(135deg, #FF6F00, #F4511E);
    color: #ffffff;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 22px rgba(244, 81, 30, 0.4);
    cursor: pointer;
    animation: chefPulse 1.2s ease-in-out infinite;
    touch-action: manipulation;
}

.board-target-food .chop-knife-btn:active {
    transform: scale(0.92);
}

.board-big-item {
    font-size: 76px;
    line-height: 1;
}

/* Adım 5: Süsleme */
.tray-items-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 620px;
    margin: 0 auto 12px;
}

.tray-items-grid .tray-btn {
    width: 68px;
    height: 68px;
    min-width: 64px;
    min-height: 64px;
    padding: 0;
    border-radius: 20px;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: #ffffff;
    border: 3px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 14px rgba(60, 30, 90, 0.1);
    transition: transform 0.15s var(--ease-pop);
    touch-action: manipulation;
}

.tray-items-grid .tray-btn:active {
    transform: scale(0.9);
}

.tray-items-grid .tray-btn .tr-icon {
    font-size: 38px;
    line-height: 1;
}

/* Adım 6: Fırın */
.deluxe-oven {
    cursor: pointer;
    touch-action: manipulation;
}

.oven-dial-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 14px;
}

.oven-start-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF5722, #D84315);
    border: 5px solid #ffffff;
    box-shadow: 0 12px 28px rgba(216, 67, 21, 0.5);
    font-size: 58px;
    color: #ffffff;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
    line-height: 1;
    animation: chefPulse 1.2s ease-in-out infinite;
    transition: transform 0.2s var(--ease-pop);
    margin: 0 auto;
    touch-action: manipulation;
}

.oven-start-btn:active {
    transform: scale(0.92);
}

/* Adım 7: Ziyafet */
.table-plate .eat-bite-btn {
    width: 88px;
    height: 88px;
    min-width: 72px;
    min-height: 72px;
    border-radius: 50%;
    font-size: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    color: #ffffff;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.4);
    cursor: pointer;
    animation: chefPulse 1.4s ease-in-out infinite;
    touch-action: manipulation;
}

.table-plate .eat-bite-btn:active {
    transform: scale(0.92);
}

.feast-bubble {
    font-size: 28px;
    display: grid;
    place-items: center;
}

@media (max-width: 620px) {
    .kitchen-deluxe .shapes-progress span {
        width: 14px;
        height: 14px;
    }
    .kitchen-deluxe .shapes-progress {
        gap: 8px;
    }
    .chef-next-btn {
        width: 80px;
        height: 80px;
        min-width: 80px;
        min-height: 80px;
        font-size: 38px;
    }
    .stage-customer-select .customer-cards-row {
        gap: 12px;
    }
    .stage-customer-select .studio-character-card {
        min-width: 100px;
        min-height: 100px;
        padding: 10px;
        border-radius: 26px;
    }
    .stage-customer-select .char-big-avatar {
        font-size: clamp(72px, 18vw, 100px);
    }
    .chop-items-list .raw-ing-btn {
        width: 72px;
        height: 72px;
    }
    .tray-items-grid .tray-btn {
        width: 60px;
        height: 60px;
        min-width: 56px;
        min-height: 56px;
    }
    .tray-items-grid .tray-btn .tr-icon {
        font-size: 32px;
    }
    .oven-start-btn {
        width: 100px;
        height: 100px;
        font-size: 48px;
    }
    .table-plate .eat-bite-btn {
        width: 76px;
        height: 76px;
        font-size: 38px;
    }
}

/* ------------------------------ 12. EVCİL DOST SPA (4 YAŞ) ------------------------------ */
.spa-deluxe .deluxe-nav-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 4px 0 10px;
}

.spa-deluxe .deluxe-nav-bar .shapes-progress {
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.spa-deluxe .deluxe-nav-actions {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

/* Dost Seçimi */
.spa-deluxe .pet-selector-bar {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-bottom: 12px;
}

.spa-deluxe .pet-pick-btn {
    width: 68px;
    height: 68px;
    min-width: 64px;
    min-height: 64px;
    padding: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: #ffffff;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 18px rgba(60, 30, 90, 0.1);
    transition: transform 0.2s var(--ease-pop), border-color 0.2s;
    touch-action: manipulation;
}

.spa-deluxe .pet-pick-btn .pet-btn-icon {
    font-size: 38px;
    line-height: 1;
}

.spa-deluxe .pet-pick-btn.active {
    transform: scale(1.15);
    border-color: #0EA5E9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.3), 0 12px 24px rgba(14, 165, 233, 0.35);
}

/* Aletler (Yazısız Büyük Emoji) */
.spa-tool-big-btn {
    width: 120px;
    height: 120px;
    min-width: 96px;
    min-height: 96px;
    border-radius: 32px;
    background: linear-gradient(160deg, #F0FBFF, #EAF4FF);
    border: 4px solid #BAE6FD;
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.2);
    display: grid;
    place-items: center;
    cursor: pointer;
    margin: 0 auto;
    animation: againPulse 1.8s ease-in-out infinite;
    touch-action: manipulation;
    transition: transform 0.16s var(--ease-pop);
}

.spa-tool-big-btn:active {
    transform: scale(0.92);
}

.spa-tool-big-btn .spa-tool-icon {
    font-size: 68px;
    line-height: 1;
}

.spa-tools-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.spa-tool-mini-btn {
    width: 88px;
    height: 88px;
    min-width: 72px;
    min-height: 72px;
    border-radius: 26px;
    background: #ffffff;
    border: 3px solid #F0E9FA;
    box-shadow: 0 8px 20px rgba(96, 62, 132, 0.12);
    display: grid;
    place-items: center;
    cursor: pointer;
    touch-action: manipulation;
    transition: transform 0.16s var(--ease-pop), border-color 0.16s;
}

.spa-tool-mini-btn:active {
    transform: scale(0.92);
}

.spa-tool-mini-btn .spa-tool-icon {
    font-size: 46px;
    line-height: 1;
}

/* Dolan Çubuk (Progress Meter) */
.spa-meter-wrap {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 10;
    pointer-events: none;
}

.spa-meter-bar {
    width: 22px;
    height: 150px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.75);
    border: 3px solid #ffffff;
    box-shadow: 0 8px 18px rgba(74, 50, 110, 0.14);
    position: relative;
    overflow: hidden;
}

.spa-meter-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #10B981, #34D399);
    border-radius: inherit;
    transition: height 0.24s var(--ease-pop);
}

.spa-meter-icon {
    font-size: 24px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* Adım 5: Mama ve Aksesuarlar */
.spa-deluxe .treat-costume-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 10px 24px rgba(96, 62, 132, 0.1);
}

.spa-deluxe .treats-buttons-row,
.spa-deluxe .acc-buttons-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.spa-deluxe .treat-pill-btn,
.spa-deluxe .acc-pill-btn {
    width: 68px;
    height: 68px;
    min-width: 64px;
    min-height: 64px;
    padding: 0;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: #FAF7FF;
    border: 3px solid #F0E9FA;
    box-shadow: 0 6px 14px rgba(60, 30, 90, 0.08);
    cursor: pointer;
    touch-action: manipulation;
    transition: transform 0.16s var(--ease-pop), border-color 0.16s;
}

.spa-deluxe .treat-pill-btn:active,
.spa-deluxe .acc-pill-btn:active {
    transform: scale(0.92);
}

.spa-deluxe .treat-pill-btn .btn-emoji,
.spa-deluxe .acc-pill-btn .btn-emoji {
    font-size: 38px;
    line-height: 1;
}

.spa-deluxe .treat-pill-btn {
    border-color: #FDE68A;
    background: linear-gradient(160deg, #FFFBEB, #FEF3C7);
    animation: againPulse 1.6s ease-in-out infinite;
}

.spa-deluxe .acc-pill-btn.active {
    border-color: var(--pink-400);
    box-shadow: 0 0 0 3px rgba(244, 63, 126, 0.25);
}

/* Mutlu Zıplama Animasyonu */
.happy-jump {
    animation: petHappyJump 0.7s var(--ease-pop);
}

@keyframes petHappyJump {
    0%, 100% { transform: scale(1) translateY(0); }
    35%      { transform: scale(1.12) translateY(-24px); }
    65%      { transform: scale(0.95) translateY(4px); }
}

@media (max-width: 620px) {
    .spa-deluxe .shapes-progress span {
        width: 14px;
        height: 14px;
    }
    .spa-deluxe .pet-pick-btn {
        width: 58px;
        height: 58px;
        min-width: 56px;
        min-height: 56px;
    }
    .spa-deluxe .pet-pick-btn .pet-btn-icon {
        font-size: 32px;
    }
    .spa-tool-big-btn {
        width: 96px;
        height: 96px;
        min-width: 84px;
        min-height: 84px;
    }
    .spa-tool-big-btn .spa-tool-icon {
        font-size: 52px;
    }
    .spa-tool-mini-btn {
        width: 76px;
        height: 76px;
        min-width: 64px;
        min-height: 64px;
    }
    .spa-tool-mini-btn .spa-tool-icon {
        font-size: 40px;
    }
    .spa-deluxe .treat-pill-btn,
    .spa-deluxe .acc-pill-btn {
        width: 58px;
        height: 58px;
        min-width: 56px;
        min-height: 56px;
        border-radius: 18px;
    }
    .spa-deluxe .treat-pill-btn .btn-emoji,
    .spa-deluxe .acc-pill-btn .btn-emoji {
        font-size: 32px;
    }
    .spa-meter-bar {
        height: 120px;
        width: 18px;
    }
}




/* ------------------------------ 13. BÜYÜLÜ PRENSES KUAFÖRÜ (DELUXE) ------------------------------ */
.salon-deluxe {
    grid-template-columns: minmax(360px, 400px) 1fr;
    gap: 20px;
    position: relative;
}

.salon-deluxe .salon-toolbox {
    background: #ffffff;
    border-radius: 28px;
    padding: 16px;
    box-shadow: 0 12px 28px rgba(96, 62, 132, 0.12);
    display: flex;
    flex-direction: column;
}

.salon-header-bar {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
}

.salon-deluxe .salon-tab-strip {
    display: flex;
    gap: 6px;
    padding: 4px;
    border-radius: var(--radius-pill);
    background: #F7F2FF;
    flex: 1 1 auto;
    margin-bottom: 0;
}

.salon-deluxe .s-tab {
    flex: 1 1 0;
    min-width: 60px;
    min-height: 64px;
    height: 64px;
    padding: 0;
    border-radius: var(--radius-pill);
    display: grid;
    place-items: center;
    border: none;
    background: transparent;
    cursor: pointer;
    touch-action: manipulation;
    transition: transform 0.16s var(--ease-pop), background 0.16s, box-shadow 0.16s;
}

.salon-deluxe .s-tab:active {
    transform: scale(0.92);
}

.salon-deluxe .s-tab.active {
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.22);
}

.salon-deluxe .s-tab .tab-emoji {
    font-size: 34px;
    line-height: 1;
}

/* Sürpriz Düğmesi 🎲 */
.surprise-btn {
    flex: 0 0 auto;
    min-width: 64px;
    min-height: 64px;
    width: 64px;
    height: 64px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 34px;
    line-height: 1;
    background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
    border: 3px solid #FDE68A;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.22);
    cursor: pointer;
    touch-action: manipulation;
    animation: againPulse 2s ease-in-out infinite;
    transition: transform 0.16s var(--ease-pop);
}

.surprise-btn:active {
    transform: scale(0.90) rotate(15deg);
}

/* Kart Düğmeleri: Yazısız, Büyük Emoji */
.salon-deluxe .s-card-btn {
    min-height: 78px;
    aspect-ratio: 1 / 0.75;
    padding: 10px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: #FAF7FF;
    border: 3px solid #F0E9FA;
    cursor: pointer;
    touch-action: manipulation;
    transition: transform 0.16s var(--ease-pop), border-color 0.16s, box-shadow 0.16s;
}

.salon-deluxe .s-card-btn:active {
    transform: scale(0.92);
}

.salon-deluxe .s-card-btn.active {
    background: linear-gradient(160deg, #FFF1F6, #F3E8FF);
    border-color: var(--pink-400);
    box-shadow: 0 0 0 3px rgba(244, 63, 126, 0.25), 0 8px 18px rgba(244, 63, 126, 0.16);
}

.salon-deluxe .s-card-btn .btn-emoji {
    font-size: 74px;
    line-height: 1;
}

.salon-deluxe .s-card-btn .btn-text,
.salon-deluxe .panel-heading {
    display: none !important;
}

/* iPad ve Masaüstünde Saç Kartlarını Tek Satır 4'lü Yap */
@media (min-width: 781px) {
    #tab-hair .s-grid-2 {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    #tab-hair .s-card-btn {
        aspect-ratio: 1;
        min-height: 0;
        padding: 6px;
    }
    #tab-hair .s-card-btn .btn-emoji {
        font-size: 48px;
    }
    .salon-deluxe .dye-palette-row {
        flex-wrap: nowrap;
        gap: 8px;
        padding: 14px 0 4px;
    }
    .salon-deluxe .dye-can-btn {
        width: 50px;
        height: 50px;
        min-width: 48px;
        min-height: 48px;
    }
}

/* Boya Kutuları 56px+ Yuvarlak */
.salon-deluxe .dye-palette-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0 4px;
}

.salon-deluxe .dye-can-btn {
    width: 58px;
    height: 58px;
    min-width: 56px;
    min-height: 56px;
    border-radius: 50%;
    border: 3.5px solid #ffffff;
    box-shadow: 0 6px 14px rgba(44, 33, 64, 0.2);
    cursor: pointer;
    touch-action: manipulation;
    position: relative;
    transition: transform 0.16s var(--ease-pop), box-shadow 0.16s;
}

.salon-deluxe .dye-can-btn:hover {
    transform: scale(1.12);
}

.salon-deluxe .dye-can-btn:active {
    transform: scale(0.92);
}

.salon-deluxe .dye-can-btn.active-dye {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px var(--pink-400), 0 8px 18px rgba(244, 63, 126, 0.3);
}

.salon-deluxe .can-spray {
    font-size: 18px;
}

/* Fotoğraf Çekme Düğmesi (📸) - Büyük Yuvarlak 88px+ */
.salon-deluxe .salon-bottom-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding-top: 14px;
}

.salon-deluxe .camera-snap-btn {
    width: 92px;
    height: 92px;
    min-width: 88px;
    min-height: 88px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF4081, #AA00FF);
    border: 4px solid #ffffff;
    box-shadow: 0 12px 28px rgba(244, 63, 126, 0.38);
    display: grid;
    place-items: center;
    font-size: 46px;
    line-height: 1;
    color: #ffffff;
    cursor: pointer;
    touch-action: manipulation;
    animation: chefPulse 2s ease-in-out infinite;
    transition: transform 0.16s var(--ease-pop);
}

.salon-deluxe .camera-snap-btn:active {
    transform: scale(0.90);
}

/* Beyaz Flaş Efekti (150ms kaplayan beyaz katman) */
.salon-deluxe .photo-camera-flash {
    position: absolute;
    inset: 0;
    background: #ffffff;
    opacity: 0;
    pointer-events: none;
    z-index: 99;
    border-radius: 28px;
    transition: opacity 75ms ease-in-out;
}

.salon-deluxe .photo-camera-flash.flash-on {
    opacity: 0.98;
}

/* Bebek Sahnesi & Bebek */
.salon-deluxe .princess-stage {
    min-height: 380px;
    border-radius: 28px;
}

.salon-deluxe .princess-doll {
    scale: 0.92;
    transform-origin: center;
}

@media (max-width: 980px) {
    .salon-deluxe {
        grid-template-columns: minmax(330px, 370px) 1fr;
        gap: 14px;
    }
    .salon-deluxe .princess-doll {
        scale: 0.85;
    }
}

@media (max-width: 780px) {
    .salon-deluxe {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .salon-deluxe .princess-stage {
        order: -1;
        min-height: 260px;
        max-height: 300px;
    }
    .salon-deluxe .princess-doll {
        scale: 0.68;
    }
    .salon-deluxe .salon-toolbox {
        max-height: none;
        padding: 12px;
    }
    .salon-deluxe .s-card-btn {
        min-height: 70px;
        aspect-ratio: 1 / 0.75;
        padding: 8px;
    }
    .salon-deluxe .s-card-btn .btn-emoji {
        font-size: 56px;
    }
    .salon-deluxe .camera-snap-btn {
        width: 88px;
        height: 88px;
        font-size: 42px;
    }
}

@media (max-width: 420px) {
    .salon-header-bar {
        gap: 4px;
    }
    .salon-deluxe .salon-tab-strip {
        gap: 4px;
        padding: 3px;
    }
    .salon-deluxe .s-tab {
        min-width: 56px;
        min-height: 58px;
        height: 58px;
    }
    .salon-deluxe .s-tab .tab-emoji {
        font-size: 28px;
    }
    .surprise-btn {
        min-width: 58px;
        min-height: 58px;
        width: 58px;
        height: 58px;
        font-size: 28px;
    }
    .salon-deluxe .dye-can-btn {
        width: 52px;
        height: 52px;
        min-width: 50px;
        min-height: 50px;
    }
    .salon-deluxe .s-card-btn .btn-emoji {
        font-size: 50px;
    }
}

/* ------------------------------ EVCİL DOST: VEKTÖR İLLÜSTRASYON ------------------------------ */
.pet-avatar-wrapper.pet-art {
    width: 270px;
    height: 262px;
    margin-bottom: 4px;
    z-index: 2;
}

.pet-art .pa-svg { display: block; width: 100%; height: 100%; overflow: visible; }

/* Nefes, baş eğme, göz kırpma, kuyruk */
.pet-art .pa-body { animation: paBreath 2.8s ease-in-out infinite; }
.pet-art .pa-head { animation: paTilt 5.5s ease-in-out infinite; }
.pet-art .pa-eye { animation: paBlink 4.2s infinite; }
.pet-art .pa-tail { animation: paWag 1.6s ease-in-out infinite; }
.pet-art .pa-tail.happy-wag { animation-duration: 0.35s; }
.pet-art .pa-dog .pa-ear-l, .pet-art .pa-dog .pa-ear-r { transform-box: fill-box; transform-origin: 50% 0; animation: paEarFlop 2.8s ease-in-out infinite; }
.pet-art .pa-bunny .pa-ear-l, .pet-art .pa-bunny .pa-ear-r { transform-box: fill-box; transform-origin: 50% 100%; animation: paEarTwitch 4s ease-in-out infinite; }
.pet-art .pa-ear-r { animation-delay: -0.6s !important; }

/* Kabarık tüy perçemi yalnızca kuruduktan sonra */
.pet-art .pa-tuft { opacity: 0; transform: translateY(10px) scale(0.6); transform-box: fill-box; transform-origin: 50% 100%; transition: opacity 0.4s, transform 0.5s cubic-bezier(0.22, 1.4, 0.36, 1); }
.pet-art .pa-head.fluffy .pa-tuft { opacity: 1; transform: none; }
.pet-art .pa-head.fluffy { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9)); }

@keyframes paBreath { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.015, 1.03); } }
@keyframes paTilt { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(-4deg); } 60% { transform: rotate(3deg); } }
@keyframes paBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@keyframes paWag { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(10deg); } }
@keyframes paEarFlop { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(4deg); } }
@keyframes paEarTwitch { 0%, 88%, 100% { transform: rotate(0deg); } 92% { transform: rotate(-8deg); } 96% { transform: rotate(5deg); } }

/* Aksesuarlar yeni çizime göre yerleşir */
.pet-art .pet-acc-layer::before { font-size: 46px; }
.pet-art .pet-acc-layer.crown::before { top: -22px; left: 50%; transform: translateX(-50%); }
.pet-art .pet-acc-layer.bow::before { top: 24px; left: 52px; transform: rotate(-18deg); }
.pet-art .pet-acc-layer.sunglasses::before { top: 70px; left: 50%; transform: translateX(-50%); font-size: 64px; }
.pet-art .pet-acc-layer.cape::before { top: 168px; left: 50%; right: auto; transform: translateX(-50%); font-size: 52px; }

/* Banyo sahnesi: fayanslı duvar, zemin ve katmanlı küvet */
.spa-bath-scene {
    background:
        linear-gradient(180deg, transparent 72%, #F3D9C4 72%, #EBC9AF 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0 3px, transparent 3px 62px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.85) 0 3px, transparent 3px 62px),
        linear-gradient(180deg, #CDEBF7, #E3F4FB 72%);
    align-items: end;
    padding: 12px 12px 0;
}

.deluxe-tub.tub-art {
    width: min(500px, 100%);
    height: auto;
    aspect-ratio: 460 / 330;
    background: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    display: block;
    overflow: visible;
}

.tub-art .tub-back,
.tub-art .tub-front { position: absolute; inset: 0; width: 100%; height: 100%; }
.tub-art .tub-back { z-index: 1; }
.tub-art .tub-front { z-index: 3; pointer-events: none; }
.tub-art .pet-avatar-wrapper.pet-art {
    position: absolute;
    left: 50%;
    bottom: 26%;
    width: 56%;
    height: auto;
    aspect-ratio: 320 / 310;
    margin: 0;
    transform: translateX(-50%);
}
.tub-art .pet-avatar-wrapper.pet-art.happy-jump { animation: tubPetJump 0.8s cubic-bezier(0.22, 1.4, 0.36, 1); }
@keyframes tubPetJump { 0%, 100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-26%); } }
.tub-art .spa-meter-wrap { right: -6px; top: 32%; z-index: 4; }
.tub-art .tub-foam circle { animation: foamBob 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.tub-art .tub-foam circle:nth-child(4n) { animation-delay: -1.2s; }
@keyframes foamBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.pet-art .mud-spot { transition: opacity 0.5s; }

/* ------------------------------ KUAFÖR: VEKTÖR BEBEK İLLÜSTRASYONU ------------------------------ */
.salon-deluxe .princess-doll {
    width: min(300px, 80%) !important;
    max-height: calc(100% - 24px) !important;
    height: auto !important;
    aspect-ratio: 260 / 450 !important;
    scale: 1 !important;
    transform: none !important;
    animation: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doll-art {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doll-art svg,
.doll-art .da-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

/* Küçük zıplama (1 -> 1.05 -> 1) */
.doll-art.doll-pop {
    animation: dollPop 0.35s cubic-bezier(0.22, 1.4, 0.36, 1);
}

@keyframes dollPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Canlılık animasyonları */
.da-head {
    animation: daHeadTilt 5s ease-in-out infinite;
}

.da-eye {
    animation: daEyeBlink 4s infinite;
}

.da-wings {
    transform-origin: 150px 230px;
    animation: daWingsFlap 2.8s ease-in-out infinite;
}

@keyframes daHeadTilt {
    0%, 100% { transform: rotate(0deg); }
    30% { transform: rotate(-2deg); }
    65% { transform: rotate(2deg); }
}

@keyframes daEyeBlink {
    0%, 92%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

@keyframes daWingsFlap {
    0%, 100% { transform: scale(1, 1); }
    50% { transform: scale(1.05, 0.95); }
}

/* iPad ve büyük ekranlar: Takılar sekmesi 2 satır x 3 sütun */
@media (min-width: 781px) {
    #tab-accessories .s-grid-2 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    #tab-accessories .s-card-btn {
        aspect-ratio: 1 / 0.85 !important;
        min-height: 0 !important;
        padding: 6px !important;
    }
    #tab-accessories .s-card-btn .btn-emoji {
        font-size: 56px !important;
    }
}

/* Telefon ekranları (375x812): Bebek üstte, panel altta */
@media (max-width: 780px) {
    .salon-deluxe .princess-stage {
        order: -1;
        min-height: 240px;
        max-height: 280px;
    }
    .salon-deluxe .princess-doll {
        width: min(150px, 55%) !important;
        max-height: 250px !important;
        scale: 1 !important;
        transform: none !important;
    }
}

/* ------------------------------ 15. KÜÇÜK ŞEF: VEKTÖR YEMEK VE ZİYAFET ------------------------------ */
.dish-art-wrap {
    position: relative;
    width: min(320px, 80vw);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
}

.dish-art-wrap .ladle-tool {
    position: absolute;
    bottom: -8px;
    right: -8px;
    font-size: 52px;
    pointer-events: none;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
    animation: ladleBob 2.2s ease-in-out infinite;
}

@keyframes ladleBob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-8px) rotate(-10deg); }
}

.food-svg-layer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.food-svg-layer svg,
.food-art-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.food-svg-layer.food-pop {
    animation: foodPop 0.35s cubic-bezier(0.22, 1.4, 0.36, 1);
}

@keyframes foodPop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Fırın İçi Yemek Görüntüsü */
.deluxe-oven .oven-dish-inside {
    width: min(180px, 78%) !important;
    aspect-ratio: 1 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.deluxe-oven .oven-dish-inside::before {
    display: none !important;
}

.deluxe-oven .oven-dish-inside svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Ziyafet Sahnesi (Feast) */
.stage-feast-deluxe {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    position: relative;
    width: 100%;
    max-width: 620px;
    height: 100%;
    margin: 0 auto;
}

.stage-feast-deluxe .feast-character-area {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: -22px;
    width: 100%;
    max-width: 320px;
}

.stage-feast-deluxe .feast-bubble {
    font-size: 24px !important;
    line-height: 1 !important;
    padding: 6px 14px !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 6px 16px rgba(44, 20, 60, 0.15) !important;
    margin-bottom: 4px;
}

.feast-customer-art {
    height: clamp(130px, 26vh, 190px);
    aspect-ratio: 320 / 280;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.feast-customer-art svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.feast-customer-art.chew-bounce {
    animation: custChew 0.38s ease-in-out 3 !important;
}

@keyframes custChew {
    0%, 100% { transform: scale(1) translateY(0); }
    50%      { transform: scale(1.05, 0.96) translateY(-4px); }
}

.ca-eye {
    animation: caEyeBlink 4.5s infinite;
}

@keyframes caEyeBlink {
    0%, 92%, 100% { transform: scaleY(1); }
    95%           { transform: scaleY(0.1); }
}

.ca-happy-hearts {
    animation: heartPulse 1.4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.12); }
}

.feast-table {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    padding: 10px 20px;
    border-radius: 28px;
    background: linear-gradient(180deg, #F5E3CE, #DCB68E);
    box-shadow: 0 16px 36px rgba(120, 70, 25, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.6);
    max-width: 100%;
}

.table-plate-wrap {
    position: relative;
    width: clamp(180px, 32vh, 240px);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plate-art-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.plate-art-bg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.served-food-art,
.feast-table .served-pizza {
    position: absolute;
    inset: 6%;
    width: 88%;
    height: 88%;
    z-index: 2;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
}

.served-food-art::before,
.feast-table .served-pizza::before {
    display: none !important;
}

.served-food-art svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.eat-bite-btn {
    position: absolute;
    right: -10px;
    bottom: 8px;
    z-index: 4;
    width: 72px;
    height: 72px;
    min-width: 64px;
    min-height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF4081, #AA00FF);
    border: 3.5px solid #fff;
    box-shadow: 0 8px 20px rgba(244, 63, 126, 0.4);
    font-size: 34px;
    display: grid;
    place-items: center;
    cursor: pointer;
    touch-action: manipulation;
    transition: transform 0.16s var(--ease-pop);
}

.eat-bite-btn:hover {
    transform: scale(1.1);
}

.eat-bite-btn:active {
    transform: scale(0.92);
}

.juice-box-wrap {
    position: relative;
    z-index: 3;
    width: clamp(70px, 16vw, 100px);
    aspect-ratio: 140 / 180;
    cursor: pointer;
    touch-action: manipulation;
    align-self: flex-end;
    margin-bottom: 12px;
    transition: transform 0.2s var(--ease-pop);
}

.juice-box-wrap:hover {
    transform: scale(1.08);
}

.juice-box-wrap svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

@keyframes juiceTilt {
    0%, 100% { transform: rotate(0deg); }
    30%      { transform: rotate(-14deg) scale(1.06); }
    70%      { transform: rotate(8deg); }
}

@media (max-width: 780px) {
    .stage-feast-deluxe .feast-customer-art {
        height: clamp(130px, 26vh, 170px);
    }
    .table-plate-wrap {
        width: min(210px, 60vw);
    }
    .eat-bite-btn {
        width: 62px;
        height: 62px;
        font-size: 28px;
        right: -6px;
        bottom: 4px;
    }
    .juice-box-wrap {
        width: clamp(62px, 18vw, 80px);
        margin-bottom: 6px;
    }
    .feast-table {
        gap: 12px;
        padding: 10px 14px;
    }
}

/* ------------------------------ 16. AI ART & WEBP ASSETS INTEGRATION ------------------------------ */

/* Hub Kartları */
.game-card-art {
    background: #ffffff !important;
    box-shadow: inset 0 0 0 4px var(--c1), 0 8px 18px rgba(96, 62, 132, 0.12) !important;
}

.game-card-img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    display: block;
    animation: tileBob 3.6s ease-in-out infinite;
}

/* Hero Kartı */
#hero-kingdom .hero-art {
    background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.85) 45%, rgba(255,255,255,0) 80%), url(../assets/img/bg/krallik-kart.webp) right center / cover no-repeat !important;
}

/* Menü Arka Planı */
#screen-hub.is-active {
    background: linear-gradient(rgba(255,255,255,0.35), rgba(255,255,255,0.35)), url(../assets/img/bg/menu.webp) center / cover no-repeat !important;
}

/* Oyun Arka Planları (Sef/Mutfak HARİÇ) */
.game-mount[data-game="hafiza"], .game-mount[data-game="memory"]       { background: url(../assets/img/bg/hafiza.webp) center / cover no-repeat !important; }
.game-mount[data-game="sekiller"], .game-mount[data-game="shapes"]     { background: url(../assets/img/bg/sekiller.webp) center / cover no-repeat !important; }
.game-mount[data-game="hayvanlar"], .game-mount[data-game="animals"]   { background: url(../assets/img/bg/hayvanlar.webp) center / cover no-repeat !important; }
.game-mount[data-game="ksilofon"], .game-mount[data-game="xylophone"]  { background: url(../assets/img/bg/ksilofon.webp) center / cover no-repeat !important; }
.game-mount[data-game="balonlar"], .game-mount[data-game="balloons"]   { background: url(../assets/img/bg/balonlar.webp) center / cover no-repeat !important; }
.game-mount[data-game="boyama"], .game-mount[data-game="paint"]        { background: url(../assets/img/bg/boyama.webp) center / cover no-repeat !important; }
.game-mount[data-game="kuafor"], .game-mount[data-game="dressup"]      { background: url(../assets/img/bg/kuafor.webp) center / cover no-repeat !important; }
.game-mount[data-game="spa"], .game-mount[data-game="petspa"]          { background: url(../assets/img/bg/spa.webp) center / cover no-repeat !important; }
.game-mount[data-game="yaris"], .game-mount[data-game="racing"]        { background: url(../assets/img/bg/yaris.webp) center / cover no-repeat !important; }

/* Sahne Override'ları */
.spa-bath-scene   { background: url(../assets/img/bg/spa.webp) center / cover no-repeat !important; }
.princess-stage   { background: url(../assets/img/bg/kuafor.webp) center / cover no-repeat !important; }
.balloon-field    { background: transparent !important; }

/* Hayvan Kartları */
.animal-card { background: #ffffff !important; }
.animal-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08));
}

/* Hafıza Kartları */
.card-fruit-img {
    width: 82%;
    height: 82%;
    object-fit: contain;
    display: block;
}
.memory-card .card-back {
    background: url(../assets/img/fruits/kart-arkasi.webp) center / cover no-repeat !important;
    border: 0 !important;   /* resmin kendi çerçevesi var; sarı kenar çift çerçeve yapıyordu (Mustafa 15 Kas) */
}
.memory-card .card-front {
    background: #ffffff !important;
}

/* Pet Spa Alet ve Mama Butonları */
.spa-tool-img {
    width: 72%;
    height: 72%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.spa-tool-big-btn, .spa-tool-mini-btn, .treat-pill-btn {
    background: #ffffff !important;
}

/* ------------------------------ 17. KÜÇÜK ŞEF: AI GÖRSELLERİ VE SAHNE DÜZENİ ------------------------------ */

/* Mutfak ve Restoran Arka Planları */
.game-mount[data-game="cooking"] {
    background: url(../assets/img/bg/mutfak.webp) center / cover no-repeat !important;
}
.game-mount[data-game="cooking"][data-scene="restaurant"],
#cooking-container[data-scene="restaurant"] {
    background: url(../assets/img/bg/restoran.webp) center / cover no-repeat !important;
}

#cooking-container,
.kitchen-deluxe,
.deluxe-stage {
    background: transparent !important;
}

/* Adım 4 Doğrama Malzeme Düğmeleri & Tahta */
.raw-ing-btn {
    background: #ffffff !important;
    display: grid !important;
    place-items: center !important;
}

.raw-ing-img {
    width: 75%;
    height: 75%;
    object-fit: contain;
    display: block;
}

.board-target-food .board-food-img {
    width: clamp(96px, 24vw, 136px);
    height: clamp(96px, 24vw, 136px);
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(50, 25, 10, 0.3));
}

.chopped-pieces-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.chopped-piece-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    animation: tileBob 2s ease-in-out infinite;
}

/* Adım 5 Süsleme Tepsisi Düğmeleri */
.tray-items-grid .tray-btn {
    background: #ffffff !important;
    display: grid !important;
    place-items: center !important;
}

.tray-ing-img {
    width: 75%;
    height: 75%;
    object-fit: contain;
    display: block;
}

/* Yemek Sahnenin Odağı (Adım 3, 5, 6 - Tezgâh Üstü Hissi) */
.stage-saucing,
.stage-decorating {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.dish-art-wrap {
    width: min(440px, 58vh, 82vw) !important;
    aspect-ratio: 1 !important;
    margin-top: auto;
    margin-bottom: 16px;
}

.dish-canvas-center {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex: 1;
    padding-bottom: 12px;
}

.stage-oven {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding-bottom: 16px;
}

.deluxe-oven {
    margin-top: auto;
    margin-bottom: 8px;
}

.deluxe-oven .oven-glass-window {
    width: min(390px, 48vh, 82vw) !important;
    height: min(250px, 32vh, 52vw) !important;
}

.deluxe-oven .oven-dish-inside {
    width: min(200px, 78%) !important;
    aspect-ratio: 1 !important;
}

/* Adım 7: Ziyafet, Ahşap Masa, Örtü ve 🍴 Düğmesi */
.stage-feast-deluxe {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 100% !important;
    height: 100% !important;
    padding-bottom: 16px;
}

.stage-feast-deluxe .feast-character-area {
    position: relative;
    z-index: 1;
    margin-bottom: -32px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    max-width: 320px;
}

.feast-customer-art {
    height: clamp(150px, 29vh, 215px);
    aspect-ratio: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.feast-table {
    position: relative !important;
    z-index: 2;
    width: min(640px, 94vw) !important;
    height: clamp(210px, 34vh, 260px) !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px 20px 16px !important;
    gap: 20px !important;
}

.table-surface-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.table-surface-art svg {
    width: 100%;
    height: 100%;
    display: block;
}

.table-plate-wrap {
    position: relative;
    z-index: 2;
    width: clamp(180px, 28vh, 240px);
    aspect-ratio: 1;
    margin-bottom: 50px;
}

.eat-bite-btn {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: -76px !important;
    transform: translateX(-50%) !important;
    z-index: 6 !important;
}

.eat-bite-btn:hover {
    transform: translateX(-50%) scale(1.1) !important;
}

.eat-bite-btn:active {
    transform: translateX(-50%) scale(0.92) !important;
}

.juice-box-wrap {
    position: relative;
    z-index: 2;
    align-self: center;
    margin-bottom: 50px;
}





/* ==========================================================================
   KUAFÖR: Sare kendi saçını yapar (sihirli ayna, saç modeli, boya, tokalar)
   ========================================================================== */
.sk-salon {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 1fr minmax(280px, 34%);
    gap: clamp(12px, 2vw, 28px);
    align-items: center;
    min-height: 0;
    height: 100%;
    padding: clamp(6px, 1.5vw, 18px);
}

/* --- Sihirli ayna --- */
.sk-ayna-alani { display: grid; place-items: center; min-height: 0; height: 100%; }

.sk-ayna {
    position: relative;
    width: min(100%, 64vh);
    aspect-ratio: 1;
    padding: 4.5%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 20%, #FFF6C9 0%, transparent 35%),
        conic-gradient(from 200deg, #E8B23A, #FFE7A0, #C98A1B, #FFE08A, #D79A22, #FFF1BC, #E8B23A);
    box-shadow: 0 22px 50px rgba(90, 50, 20, 0.35), inset 0 0 0 3px rgba(255, 255, 255, 0.6);
    animation: skAynaNefes 5s ease-in-out infinite;
}

/* Aynanın tepesindeki taç süsü */
.sk-ayna::before {
    content: "\1F451";
    position: absolute;
    left: 50%;
    top: -7%;
    transform: translateX(-50%);
    font-size: clamp(34px, 6vh, 56px);
    filter: drop-shadow(0 6px 8px rgba(90, 50, 20, 0.35));
    z-index: 4;
}

.sk-ayna-ici {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle at 50% 35%, #FFFFFF, #F4ECFF 70%, #E9DBFF);
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.85), inset 0 10px 30px rgba(120, 80, 160, 0.25);
}

.sk-ayna-isik {
    position: absolute;
    inset: 4.5%;
    border-radius: 50%;
    pointer-events: none;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.18) 100%);
    z-index: 3;
}

@keyframes skAynaNefes { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.008); } }

.sk-sare {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    user-select: none;
    -webkit-user-drag: none;
}

.sk-sare.sk-yeni { opacity: 0; }
.sk-sare.sk-poof { animation: skPoof 0.5s ease-out forwards; }
.sk-sare.sk-boyan { animation: skBoyan 0.55s ease-out forwards; }

@keyframes skPoof {
    0%   { opacity: 0; transform: scale(1.06); filter: blur(6px) brightness(1.4); }
    100% { opacity: 1; transform: none; filter: none; }
}

@keyframes skBoyan {
    0%   { opacity: 1; clip-path: inset(0 0 100% 0); }
    100% { opacity: 1; clip-path: inset(0 0 0 0); }
}

/* Sprey sisi: seçilen rengin bulutu saçın üstünden aşağı süzülür */
.sk-sis {
    position: absolute;
    inset: -10% 5% 35%;
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(circle at 30% 40%, var(--boya, #EC408C) 0 8%, transparent 30%),
        radial-gradient(circle at 60% 30%, var(--boya, #EC408C) 0 10%, transparent 34%),
        radial-gradient(circle at 75% 55%, var(--boya, #EC408C) 0 7%, transparent 28%),
        radial-gradient(circle at 45% 60%, var(--boya, #EC408C) 0 9%, transparent 32%);
    filter: blur(14px);
    z-index: 2;
}

.sk-sis.sk-puskur { animation: skPuskur 0.9s ease-out; }

@keyframes skPuskur {
    0%   { opacity: 0; transform: translateY(-20%) scale(0.8); }
    35%  { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(15%) scale(1.15); }
}

.sk-susler { position: absolute; inset: 0; z-index: 2; }

.sk-takili {
    position: absolute;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 4px 6px rgba(60, 30, 40, 0.35));
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-drag: none;
}

.sk-takili.sk-takildi { animation: skTakildi 0.45s cubic-bezier(0.22, 1.5, 0.36, 1); }

@keyframes skTakildi {
    0%   { transform: translate(-50%, -50%) scale(1.5); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

.sk-surukle {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 400;
    pointer-events: none;
    filter: drop-shadow(0 12px 16px rgba(60, 30, 40, 0.4));
}

/* --- Panel --- */
.sk-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    padding: 16px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px rgba(96, 62, 132, 0.18);
    max-height: 100%;
    min-height: 0;
}

.sk-sekmeler { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }

.sk-sekme {
    aspect-ratio: 1;
    border-radius: 22px;
    font-size: clamp(26px, 3.4vw, 36px);
    background: #fff;
    border: 3px solid #F2E6FF;
    box-shadow: 0 6px 14px rgba(96, 62, 132, 0.12);
    transition: transform 0.15s var(--ease-pop), background 0.2s;
}

.sk-sekme.aktif { background: linear-gradient(160deg, #FFE1EF, #F3E3FF); border-color: #FF8FC0; transform: scale(1.06); }
.sk-sekme:active { transform: scale(0.92); }
.sk-zar { background: linear-gradient(160deg, #FFF6D6, #FFE7A8); border-color: #FFD36B; }

.sk-secenekler {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    overflow-y: auto;
    padding: 4px;
    min-height: 0;
}

.sk-secenekler.sk-giris > * { animation: skSecenekGiris 0.35s var(--ease-pop) backwards; }
.sk-secenekler.sk-giris > *:nth-child(2) { animation-delay: 0.04s; }
.sk-secenekler.sk-giris > *:nth-child(3) { animation-delay: 0.08s; }
.sk-secenekler.sk-giris > *:nth-child(4) { animation-delay: 0.12s; }
.sk-secenekler.sk-giris > *:nth-child(5) { animation-delay: 0.16s; }
.sk-secenekler.sk-giris > *:nth-child(6) { animation-delay: 0.2s; }
.sk-secenekler.sk-giris > *:nth-child(7) { animation-delay: 0.24s; }

@keyframes skSecenekGiris { from { opacity: 0; transform: translateY(10px) scale(0.8); } }

/* Saç modeli: Sare'nin o saçla yuvarlak küçük resmi */
.sk-model {
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    padding: 0;
    background: #fff;
    border: 4px solid #fff;
    box-shadow: 0 6px 14px rgba(96, 62, 132, 0.18);
    transition: transform 0.15s var(--ease-pop), box-shadow 0.2s;
}

.sk-model img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.35); pointer-events: none; }
.sk-model.secili { box-shadow: 0 0 0 4px #FF5C9A, 0 10px 20px rgba(255, 92, 154, 0.35); transform: scale(1.06); }
.sk-model:active { transform: scale(0.92); }

/* Saç boyası: renkli sprey şişesi */
.sk-boya {
    position: relative;
    aspect-ratio: 0.8;
    background: none;
    border: 0;
    padding: 0;
    transition: transform 0.15s var(--ease-pop);
}

.sk-boya-sise {
    position: absolute;
    left: 18%;
    right: 18%;
    top: 26%;
    bottom: 4%;
    border-radius: 16px 16px 20px 20px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 18%, transparent 30%),
        var(--boya);
    border: 3px solid #fff;
    box-shadow: 0 8px 16px rgba(60, 30, 80, 0.25);
}

.sk-boya-kapak {
    position: absolute;
    left: 32%;
    right: 32%;
    top: 6%;
    height: 24%;
    border-radius: 10px 10px 4px 4px;
    background: linear-gradient(180deg, #FFFFFF, #D9D4E6);
    box-shadow: 0 2px 4px rgba(60, 30, 80, 0.2);
}

.sk-boya-kapak::after {
    content: "";
    position: absolute;
    right: -38%;
    top: 22%;
    width: 40%;
    height: 26%;
    border-radius: 4px;
    background: #CFC7E0;
}

.sk-boya.secili { transform: translateY(-6px) scale(1.08); }
.sk-boya.secili .sk-boya-sise { box-shadow: 0 0 0 4px #FFD54F, 0 10px 20px rgba(60, 30, 80, 0.3); }
.sk-boya:active { transform: scale(0.9); }

/* Tokalar */
.sk-sus-btn {
    aspect-ratio: 1;
    border-radius: 24px;
    background: #fff;
    border: 3px solid #F2E6FF;
    box-shadow: 0 6px 14px rgba(96, 62, 132, 0.14);
    padding: 10%;
    touch-action: none;
    transition: transform 0.15s var(--ease-pop);
}

.sk-sus-btn img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.sk-sus-btn:active { transform: scale(0.92); }

.sk-foto {
    align-self: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    font-size: 42px;
    background: linear-gradient(160deg, #FF7AB0, #C056F0);
    border: 4px solid #fff;
    box-shadow: 0 12px 26px rgba(192, 86, 240, 0.4);
    transition: transform 0.15s var(--ease-pop);
}

.sk-foto:active { transform: scale(0.9); }

.sk-flas {
    position: fixed;
    inset: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    z-index: 260;
}

.sk-flas.sk-flas-ac { animation: skFlas 0.5s ease-out; }
@keyframes skFlas { 0% { opacity: 0.95; } 100% { opacity: 0; } }

@media (max-width: 780px) {
    .sk-salon { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; }
    .sk-ayna { width: min(86vw, 46vh); }
    .sk-panel { padding: 12px; gap: 10px; }
    .sk-secenekler { grid-template-columns: repeat(4, 1fr); }
    .sk-foto { width: 72px; height: 72px; font-size: 32px; }
}

/* ==========================================================================
   SİHİRLİ KSİLOFON: sahnede duran gerçek tahta ksilofon
   (cilalı renkli çubuklar, iki ahşap ray, vuran tokmak, titreşim ve ses dalgası)
   ========================================================================== */
.xylo-toolbar {
    justify-content: center;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 26px rgba(80, 40, 120, 0.18);
    align-self: center;
}

.xylo-mode-btn,
.xylo-song-btn {
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 10px rgba(80, 40, 120, 0.14);
}

.xylo-song-hint-box {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 10px 24px rgba(80, 40, 120, 0.16);
}

.xylophone-board {
    background: none;
    box-shadow: none;
    overflow: visible;
    align-items: center;
    gap: clamp(8px, 1.6vw, 18px);
    padding: clamp(14px, 3vh, 34px) clamp(26px, 5vw, 70px);
    width: min(100%, 980px);
    margin: 0 auto;
    /* Sahnenin tahtasına düşen yumuşak gölge */
    filter: drop-shadow(0 26px 22px rgba(70, 30, 20, 0.35));
}

.xylophone-board::before { display: none; }

.xylo-raylar {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.xylo-raylar line { stroke-linecap: round; }
.xylo-raylar .golge { stroke: rgba(60, 25, 10, 0.35); }
.xylo-raylar .ahsap { stroke: #A8642E; }
.xylo-raylar .parlak { stroke: rgba(255, 220, 170, 0.55); }

.xylo-bar {
    --c: #FF4081;
    border: 0;
    border-radius: clamp(10px, 1.4vw, 16px);
    justify-content: center;
    gap: 6%;
    padding: 0 2px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 12%, rgba(0, 0, 0, 0) 88%, rgba(0, 0, 0, 0.22) 100%),
        linear-gradient(90deg,
            color-mix(in srgb, var(--c) 70%, #000) 0%,
            var(--c) 14%,
            color-mix(in srgb, var(--c) 55%, #fff) 34%,
            var(--c) 52%,
            color-mix(in srgb, var(--c) 82%, #000) 86%,
            color-mix(in srgb, var(--c) 60%, #000) 100%);
    box-shadow:
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.35),
        0 3px 0 color-mix(in srgb, var(--c) 55%, #000),
        0 10px 14px rgba(40, 15, 10, 0.3);
    transform-origin: 50% 50%;
    z-index: 1;
}

/* Cilanın üzerindeki ince parlak çizgi */
.xylo-bar::after {
    content: "";
    position: absolute;
    top: 4%;
    bottom: 30%;
    left: 22%;
    width: 9%;
    border-radius: 99px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.xylo-screw {
    position: absolute;
    left: 50%;
    width: clamp(9px, 1.1vw, 13px);
    height: clamp(9px, 1.1vw, 13px);
    margin-left: calc(clamp(9px, 1.1vw, 13px) / -2);
    background: radial-gradient(circle at 35% 30%, #FFFFFF, #D6D9E0 45%, #8D939E);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), inset 0 -1px 1px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.xylo-screw.top { top: 9%; }
.xylo-screw.bottom { bottom: 9%; }

.xylo-jeton {
    display: grid;
    place-items: center;
    width: min(80%, 64px);
    aspect-ratio: 1;
    border-radius: 50%;
    font-size: clamp(20px, 3vw, 34px);
    background: radial-gradient(circle at 35% 30%, #FFFFFF, rgba(255, 255, 255, 0.82) 60%, rgba(255, 255, 255, 0.6));
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18), inset 0 -3px 5px rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

.xylo-label {
    font-size: clamp(13px, 1.7vw, 19px);
    color: #fff;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.xylo-bar:active,
.xylo-bar.pressed { transform: none; filter: brightness(1.12); }

/* Vurulan çubuk metal gibi kısa süre titrer */
.xylo-bar.titre { animation: xyloTitre 0.5s ease-out; }

@keyframes xyloTitre {
    0%   { transform: translateY(5px) scale(0.985); filter: brightness(1.3); }
    20%  { transform: translateY(-2px) rotate(0.8deg); }
    40%  { transform: translateY(1px) rotate(-0.6deg); }
    60%  { transform: rotate(0.35deg); filter: brightness(1.08); }
    80%  { transform: rotate(-0.15deg); }
    100% { transform: none; filter: none; }
}

.xylo-dalga {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 4px solid color-mix(in srgb, var(--c) 40%, #fff);
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0.9;
    pointer-events: none;
    animation: xyloDalga 0.65s ease-out forwards;
}

@keyframes xyloDalga {
    to { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

.xylo-bar.guide-pulse { animation: xyloRehber 1s ease-in-out infinite; z-index: 3; }

@keyframes xyloRehber {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 236, 140, 0.95), 0 10px 14px rgba(40, 15, 10, 0.3); filter: brightness(1); transform: none; }
    50%      { box-shadow: 0 0 0 9px rgba(255, 236, 140, 0.6), 0 0 34px 10px rgba(255, 236, 140, 0.7); filter: brightness(1.22); transform: translateY(-6px); }
}

.xylo-bar.demo-glow {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.85), 0 0 34px 10px rgba(255, 255, 255, 0.6);
    transform: translateY(-8px);
    z-index: 3;
}

/* Tokmak: ahşap sap + kırmızı top; vurduğu çubuğun üstünde belirip iner */
.xylo-tokmak {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
    opacity: 0;
    z-index: 5;
}

/* Top tutturma noktasında, sap yukarı-sağa uzanır; tokmak yukarıdan inip çubuğa vurur */
.xylo-tokmak i {
    position: absolute;
    left: -4px;
    top: -3px;
    width: 8px;
    height: clamp(110px, 20vh, 170px);
    border-radius: 6px;
    background: linear-gradient(90deg, #8A5226, #E3A866 45%, #A8642E);
    transform-origin: 4px 3px;
    transform: rotate(-145deg);
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.25);
}

.xylo-tokmak i::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -14px;
    width: 34px;
    height: 34px;
    margin-left: -17px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #FFB3C7, #FF3D71 45%, #B0103E);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.xylo-tokmak.vur { animation: xyloTokmakVur 0.6s ease-out forwards; }

@keyframes xyloTokmakVur {
    0%   { opacity: 1; transform: translate(14px, -46px); }
    12%  { opacity: 1; transform: translate(0, 0); }
    30%  { transform: translate(3px, -12px); }
    44%  { transform: translate(0, 0); }
    80%  { opacity: 1; }
    100% { opacity: 0; transform: translate(6px, -20px); }
}

@media (max-width: 780px) {
    .xylophone-board { padding: 14px 16px; }
    .xylo-jeton { width: 88%; font-size: 18px; }
    .xylo-emoji { display: none; }
}

/* ===== Kuaför: bakım (köpük, bigudi) ve makyaj ===== */
.sk-kopukler, .sk-makyaj { position: absolute; inset: 0; pointer-events: none; }
.sk-makyaj { z-index: 1; }
.sk-kopukler { z-index: 3; }
.sk-kopuk {
    position: absolute; width: 24%;
    transform: translate(-50%, -50%) rotate(var(--d, 0deg));
    filter: drop-shadow(0 3px 5px rgba(80, 120, 160, 0.3));
}
.sk-kopuk.yeni { animation: skKopuk 0.35s cubic-bezier(0.22, 1.5, 0.36, 1); }
@keyframes skKopuk { 0% { transform: translate(-50%, -50%) rotate(var(--d, 0deg)) scale(0.2); } 100% { transform: translate(-50%, -50%) rotate(var(--d, 0deg)) scale(1); } }
.sk-bigudi {
    position: absolute; width: 13%; transform: translate(-50%, -50%);
    filter: drop-shadow(0 3px 5px rgba(60, 30, 40, 0.35));
    animation: skKopuk 0.35s cubic-bezier(0.22, 1.5, 0.36, 1);
}
.sk-allik, .sk-far, .sk-dudak { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; }
.sk-allik { top: 62%; width: 9%; height: 5%; background: radial-gradient(closest-side, rgba(255, 105, 150, 0.55), transparent); }
.sk-far { top: 51.5%; width: 7%; height: 2.6%; background: radial-gradient(closest-side, rgba(170, 110, 230, 0.6), transparent); }
.sk-dudak { left: 50%; top: 67.3%; width: 6%; height: 2.4%; background: radial-gradient(closest-side, rgba(240, 60, 120, 0.55), rgba(255, 255, 255, 0.15) 70%, transparent); }
.sk-yuz-boyasi { position: absolute; left: 63.5%; top: 61%; width: 8%; transform: translate(-50%, -50%) rotate(12deg); opacity: 0.92; }
.sk-makyaj .yeni { animation: skMakyaj 0.6s ease-out; }
@keyframes skMakyaj { 0% { opacity: 0; } 100% { opacity: 1; } }
.sk-arac-hayalet { width: 90px; height: 90px; object-fit: contain; transition: filter 0.2s; }
.sk-arac-hayalet.calisiyor { animation: skCalis 0.25s ease-in-out infinite alternate; }
@keyframes skCalis { 0% { rotate: -8deg; } 100% { rotate: 8deg; } }
.sk-sus-btn.tutuldu { opacity: 0.5; }
.sk-sus-btn.sk-arac.secili { border-color: #FF8FC0; box-shadow: 0 0 0 4px #FFD1E6, 0 6px 14px rgba(96, 62, 132, 0.14); }
#sk-sare.sk-salla { animation: skSalla 0.5s ease-in-out; }
@keyframes skSalla { 0%, 100% { rotate: 0deg; } 25% { rotate: -1.5deg; } 75% { rotate: 1.5deg; } }

/* ===== Kuaför müşterileri (js/kuafor-musteri.js) ===== */
#sk-musteri img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.skm-acik .sk-sekme, .skm-acik .sk-foto { pointer-events: none; opacity: .35; }
.skm-sahne { position: absolute; inset: 0; z-index: 5; }
.skm-ayna { position: absolute; inset: 4.5%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #FFFFFF, #F4ECFF 70%, #E9DBFF); }
.skm-musteri { position: absolute; left: 6%; right: 6%; bottom: 3%; width: 88%; height: 88%; object-fit: contain; transition: filter .3s; }
.skm-gel { animation: skmGel .7s cubic-bezier(.3, 1.5, .5, 1); }
.skm-hayir { animation: skmHayir .5s; }
.skm-sevin { animation: skmSevin .6s ease-in-out 3; }
@keyframes skmGel { from { transform: translateX(-60%) scale(.6); opacity: 0; } }
@keyframes skmHayir { 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
@keyframes skmSevin { 50% { transform: translateY(-7%) scale(1.04); } }
.skm-tokalar { position: absolute; left: 6%; right: 6%; bottom: 3%; height: 88%; pointer-events: none; }
.skm-takili { position: absolute; transform: translate(-50%, -50%); animation: skmGel .4s; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
.skm-balon { position: absolute; right: -10%; top: 2%; width: 28%; aspect-ratio: 1; background: #fff; border-radius: 50%;
    border: 4px solid #F6B8D6; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(0, 0, 0, .18); animation: skmGel .5s; }
.skm-balon[hidden] { display: none; }
.skm-balon img { width: 72%; height: 72%; object-fit: contain; }
.skm-el-ayna { position: absolute; left: -16%; bottom: 0; width: 24%; opacity: 0; transform: translateX(-40%) rotate(-30deg); transition: all .6s cubic-bezier(.3, 1.4, .5, 1); pointer-events: none; }
.skm-el-ayna.goster { opacity: 1; transform: translateX(0) rotate(-12deg); }
.skm-kapat { position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%; background: #FF8FC0; color: #fff; font-size: 22px; border: 3px solid #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .2); }
.skm-pirilti { position: fixed; z-index: 9999; pointer-events: none; font-size: 22px; animation: skmPir .8s ease-out forwards; }
@keyframes skmPir { to { transform: translateY(-30px) scale(.4); opacity: 0; } }

/* ---------- 🔍 Şekil Avı (js/tur-sekiller.js SekilAvi) ---------- */
.av-kok { display: flex; flex-direction: column; flex: 1; width: 100%; min-height: 100%; box-sizing: border-box; }
.av-ust { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 12px 10px; }
.av-hedef { width: 78px; height: 78px; border: 0; border-radius: 26px; padding: 10px; background: #fff;
    box-shadow: 0 6px 0 #e2d6f3, 0 10px 22px rgba(120, 90, 170, .25); animation: av-nabiz 1.6s ease-in-out infinite; cursor: pointer; }
.av-hedef svg, .av-hedef img, .av-yuva svg, .av-yuva img, .av-ic svg, .av-ic img { width: 100%; height: 100%; display: block; object-fit: contain; pointer-events: none; }
.av-sayac { display: flex; gap: 8px; padding: 8px 12px; border-radius: 22px; background: rgba(255, 255, 255, .75); }
.av-yuva { width: 44px; height: 44px; border-radius: 50%; border: 3px dashed #c9b6e4; padding: 4px; box-sizing: border-box; transition: transform .3s; }
.av-yuva.dolu { border-style: solid; border-color: #ffd34d; background: #fff8dc; animation: av-dol .45s cubic-bezier(.3, 1.6, .5, 1); }
.av-sayac.kutla .av-yuva { animation: av-zipla .5s ease-in-out 2; }
.av-sayac.kutla .av-yuva:nth-child(2) { animation-delay: .08s; }
.av-sayac.kutla .av-yuva:nth-child(3) { animation-delay: .16s; }
.av-sayac.kutla .av-yuva:nth-child(4) { animation-delay: .24s; }
.av-sayac.kutla .av-yuva:nth-child(5) { animation-delay: .32s; }
.av-sahne { position: relative; flex: 1; min-height: 340px; margin: 0 10px 10px; border-radius: 28px; overflow: hidden;
    background: url('../assets/img/bg/sekiller.webp') center / cover, linear-gradient(#e8f6ff, #fdf0ff);
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .7); }
.av-sekil { position: absolute; width: clamp(58px, 11vw, 96px); aspect-ratio: 1; border: 0; padding: 0; background: none; cursor: pointer;
    transform: translate(-50%, -50%) rotate(var(--don)) scale(var(--boy)); touch-action: none;
    animation: av-gel .5s cubic-bezier(.3, 1.6, .5, 1) var(--gecikme) both; -webkit-tap-highlight-color: transparent; }
.av-ic { display: block; width: 100%; height: 100%; filter: drop-shadow(0 6px 6px rgba(80, 50, 120, .28));
    animation: av-salin var(--salin) ease-in-out infinite alternate; }
.av-sekil.suz .av-ic { animation: av-suz calc(var(--salin) * 2.2) ease-in-out infinite alternate; }
.av-sekil:active .av-ic { transform: scale(.92); }
.av-sekil.salla { animation: av-salla .45s ease-in-out; }
.av-sekil.parla .av-ic { filter: drop-shadow(0 0 10px #fff) drop-shadow(0 0 18px #ffd34d); animation: av-nabiz .8s ease-in-out infinite; }
.av-sekil.bulundu { z-index: 5; pointer-events: none; animation: none;
    transition: transform .55s cubic-bezier(.5, -.3, .4, 1.2), opacity .15s .5s;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(0deg) scale(var(--son)); opacity: 0; }
.av-sekil.git { animation: av-git .45s ease-in var(--gecikme) both; pointer-events: none; }
@keyframes av-gel { from { opacity: 0; transform: translate(-50%, -50%) rotate(var(--don)) scale(0); } }
@keyframes av-git { to { opacity: 0; transform: translate(-50%, 20%) rotate(var(--don)) scale(.2); } }
@keyframes av-salin { from { transform: translateY(-3px) rotate(-3deg); } to { transform: translateY(3px) rotate(3deg); } }
@keyframes av-suz { 0% { transform: translate(-14px, -8px); } 50% { transform: translate(10px, 6px) rotate(8deg); } 100% { transform: translate(16px, -10px) rotate(-6deg); } }
@keyframes av-salla { 0%, 100% { transform: translate(-50%, -50%) rotate(var(--don)) scale(var(--boy)); }
    25% { transform: translate(-58%, -50%) rotate(calc(var(--don) - 12deg)) scale(var(--boy)); }
    75% { transform: translate(-42%, -50%) rotate(calc(var(--don) + 12deg)) scale(var(--boy)); } }
@keyframes av-nabiz { 50% { transform: scale(1.08); } }
@keyframes av-dol { from { transform: scale(1.6); } }
@keyframes av-zipla { 50% { transform: translateY(-10px) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .av-ic, .av-hedef { animation: none !important; } }

/* Meyve Hafızası yeni turlar (15 Kas): gölge kartı ve sayma kartları */
.card-fruit-img.mem-golge {
    filter: brightness(0) invert(0.32) sepia(1) hue-rotate(225deg) saturate(1.6) opacity(0.85);
}
.mem-coklu {
    width: 88%; height: 88%;
    display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 2%;
}
.mem-coklu img { object-fit: contain; width: 44%; height: 44%; }
.mem-coklu-1 img { width: 80%; height: 80%; }
.mem-coklu-2 img { width: 46%; height: 60%; }
.mem-coklu-5 img { width: 30%; height: 40%; }
.mem-rakam {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    font-weight: 900; font-size: clamp(2.4rem, 9vw, 4.6rem); line-height: 1;
    text-shadow: 0 3px 0 rgba(0,0,0,0.12);
}
.mem-noktalar { font-size: 0.24em; letter-spacing: 0.12em; margin-top: 0.15em; opacity: 0.75; }
