/* ==========================================================================
   games.css — Mini oyunların görsel dili
   Her oyun kendi bölümünde; tümü aynı renk, köşe ve gölge dilini kullanır.
   ========================================================================== */

/* --------------------------------------------------------------------------
   ORTAK PARÇALAR
   -------------------------------------------------------------------------- */
.game-surface {
    --card-bg: #FFFFFF;
    color: var(--ink);
}

.studio-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--pink-500), #C056F0);
    color: #fff;
    font-size: 14.5px;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(244, 63, 126, 0.32);
    transition: transform 0.14s var(--ease-pop);
}

.studio-pill-btn:active { transform: scale(0.94); }
.studio-pill-btn.bake { background: linear-gradient(135deg, #FF9100, #F4511E); box-shadow: 0 10px 22px rgba(244, 81, 30, 0.32); }
.studio-pill-btn.restart { background: linear-gradient(135deg, var(--mint-500), #10B981); box-shadow: 0 10px 22px rgba(16, 185, 129, 0.3); }

.deluxe-nav-bar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-bottom: 14px;
}

.step-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.crumb {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--ink-3);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    padding: 7px 11px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    transition: all 0.2s;
}

.crumb.active {
    color: #fff;
    background: linear-gradient(135deg, var(--lilac-500), #6D3FE0);
    box-shadow: 0 6px 14px rgba(139, 92, 246, 0.3);
}

/* ==========================================================================
   1) MEYVE HAFIZASI
   ========================================================================== */
.memory-toolbar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.memory-status-text {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--ink-2);
}

.memory-level-buttons { display: flex; gap: 8px; }

.level-btn {
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #F0E9FA;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--ink-2);
    transition: all 0.16s var(--ease-pop);
}

.level-btn.active {
    background: linear-gradient(135deg, var(--pink-500), #C056F0);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 18px rgba(244, 63, 126, 0.3);
}

.memory-grid {
    flex: 1 1 auto;
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    align-content: center;
    padding: 4px;
}

.memory-grid.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 400px; }
.memory-grid.grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 580px; }
/* Takılınca ipucu: gösterilen çift altın ışıkla parlar */
.memory-card.mem-ipucu { animation: memIpucu 0.8s ease-in-out 2; }
@keyframes memIpucu { 0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 200, 60, 0)); } 50% { filter: drop-shadow(0 0 14px rgba(255, 200, 60, 0.95)); } }
.memory-grid.grid-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 760px; }

.memory-card {
    aspect-ratio: 1 / 1.08;
    perspective: 900px;
    cursor: pointer;
    animation: cardDeal 0.45s var(--ease-pop) backwards;
}

.memory-card:nth-child(2n) { animation-delay: 0.05s; }
.memory-card:nth-child(3n) { animation-delay: 0.09s; }
.memory-card:nth-child(4n) { animation-delay: 0.13s; }

@keyframes cardDeal {
    from { opacity: 0; transform: scale(0.8) rotate(-4deg); }
    to   { opacity: 1; transform: none; }
}

.card-flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s var(--ease-pop);
}

.memory-card.flipped .card-flipper,
.memory-card.matched .card-flipper { transform: rotateY(180deg); }

.card-front,
.card-back {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    border: 3px solid #fff;
    box-shadow: 0 10px 20px rgba(96, 62, 132, 0.16);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
}

.card-back {
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.55), transparent 45%),
        linear-gradient(150deg, #FFB3C9, #C4B5FD 60%, #93C5FD);
}

.card-pattern {
    font-size: clamp(28px, 4.5vw, 44px);
    filter: drop-shadow(0 4px 6px rgba(96, 62, 132, 0.18));
    animation: patternFloat 3s ease-in-out infinite;
}

@keyframes patternFloat {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50%      { transform: translateY(-5px) rotate(4deg); }
}

.card-front {
    transform: rotateY(180deg);
    background: #fff;
}

.card-fruit-icon { font-size: clamp(34px, 5.6vw, 56px); line-height: 1; }
.card-fruit-name { font-size: 12px; font-weight: 900; color: var(--ink-2); }

.memory-card.matched .card-front {
    background: linear-gradient(160deg, #ECFFF6, #D1FAE5);
    border-color: #6EE7B7;
    box-shadow: 0 0 0 4px rgba(110, 231, 183, 0.3), 0 10px 20px rgba(16, 185, 129, 0.18);
}

/* ==========================================================================
   2) ŞEKİL AVI
   ========================================================================== */
.shapes-header-hint {
    flex: 0 0 auto;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--ink-2);
    margin-bottom: 10px;
}

.shapes-slots-row,
.shapes-pieces-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.shapes-slots-row { flex: 1 1 auto; align-content: center; }

.shape-slot {
    position: relative;
    aspect-ratio: 1;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.6);
    border: 3px dashed rgba(139, 92, 246, 0.28);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px;
    transition: border-color 0.2s, background 0.2s;
}

.shape-shadow {
    width: 70%;
    height: 70%;
    display: grid;
    place-items: center;
    transition: color 0.3s, filter 0.3s;
}

.shape-shadow svg { width: 100%; height: 100%; }
/* Resimli şekil: parça resmin kendisi, gölge aynı resmin silueti; yerine oturunca renklenir */
.sekil-resim { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; }
.shape-shadow .sekil-resim { filter: brightness(0); opacity: .3; transition: filter .3s, opacity .3s; }
.shape-shadow.matched-bounce .sekil-resim { filter: none; opacity: 1; }
.slot-label { font-size: 11.5px; font-weight: 900; color: var(--ink-3); }

.shapes-divider {
    flex: 0 0 auto;
    height: 2px;
    width: min(900px, 100%);
    margin: 16px auto;
    background: repeating-linear-gradient(90deg, rgba(139, 92, 246, 0.25) 0 10px, transparent 10px 20px);
    border-radius: 99px;
}

.shapes-pieces-row { flex: 0 0 auto; }

.shape-piece {
    aspect-ratio: 1;
    border-radius: 22px;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 10px 20px rgba(96, 62, 132, 0.16);
    display: grid;
    place-items: center;
    padding: 12px;
    cursor: pointer;
    transition: transform 0.18s var(--ease-pop), box-shadow 0.18s;
    z-index: 2;
}

.shape-piece:hover { transform: translateY(-4px); box-shadow: 0 16px 28px rgba(96, 62, 132, 0.22); }
.shape-piece:active { transform: scale(0.94); }
.shape-piece .shape-inner { width: 100%; height: 100%; display: grid; place-items: center; }
.shape-piece svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 6px rgba(44, 33, 64, 0.16)); }

.matched-bounce { animation: matchedBounce 0.6s var(--ease-pop); }

@keyframes matchedBounce {
    0%   { transform: scale(0.7); }
    55%  { transform: scale(1.22); }
    100% { transform: scale(1); }
}

/* ==========================================================================
   3) HAYVAN DOSTLARI
   ========================================================================== */
.animals-grid {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    align-content: center;
}

.animal-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 18px 10px 14px;
    border-radius: 26px;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 10px 22px rgba(96, 62, 132, 0.13);
    cursor: pointer;
    transition: transform 0.18s var(--ease-pop), box-shadow 0.18s;
    overflow: visible;
}

.animal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, var(--accent, #FFB3C9) 0%, transparent 70%);
    opacity: 0.22;
}

.animal-card:hover { transform: translateY(-5px); box-shadow: 0 18px 30px rgba(96, 62, 132, 0.2); }
.animal-card:active { transform: scale(0.95); }

.animal-avatar {
    position: relative;
    font-size: clamp(42px, 5vw, 56px);
    line-height: 1;
    filter: drop-shadow(0 6px 8px rgba(44, 33, 64, 0.16));
}

.animal-name {
    position: relative;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 900;
}

.animal-tag {
    position: relative;
    font-size: 11px;
    font-weight: 800;
    color: var(--ink-3);
}

.animal-bubble {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translate(-50%, 8px) scale(0.8);
    background: #fff;
    border: 2.5px solid var(--accent, #FFB3C9);
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 900;
    padding: 8px 12px;
    border-radius: 16px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease-pop);
    box-shadow: 0 10px 20px rgba(96, 62, 132, 0.18);
    z-index: 3;
}

.animal-bubble::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #fff;
}

.animal-bubble.visible { opacity: 1; transform: translate(-50%, 0) scale(1); }

.bounce-anim { animation: animalBounce 0.6s var(--ease-pop); }

@keyframes animalBounce {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.12) rotate(-3deg); }
    65%  { transform: scale(0.96) rotate(2deg); }
    100% { transform: scale(1); }
}

/* ==========================================================================
   4) SİHİRLİ KSİLOFON
   ========================================================================== */
.xylo-toolbar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.xylo-mode-btn,
.xylo-song-btn {
    padding: 9px 15px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 2px solid #F0E9FA;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--ink-2);
    transition: all 0.16s var(--ease-pop);
}

.xylo-mode-btn.active,
.xylo-song-btn.active {
    background: linear-gradient(135deg, var(--lilac-500), #6D3FE0);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 18px rgba(139, 92, 246, 0.3);
}

.xylo-songs-menu { display: flex; gap: 8px; flex-wrap: wrap; }

.xylo-song-hint-box {
    flex: 0 0 auto;
    text-align: center;
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #FFF6D6, #FFE9F2);
    font-size: 13px;
    font-weight: 900;
    color: #8A5B00;
    margin-bottom: 10px;
}

.xylophone-board {
    flex: 1 1 auto;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 18px 16px 14px;
    border-radius: 26px;
    background: linear-gradient(180deg, #4C3570, #2E2140);
    box-shadow: inset 0 6px 18px rgba(0, 0, 0, 0.3), 0 14px 30px rgba(44, 33, 64, 0.24);
    min-height: 230px;
    position: relative;
    overflow: hidden;
}

.xylophone-board::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 60%);
    pointer-events: none;
}

.xylo-bar {
    position: relative;
    flex: 1 1 0;
    height: 100%;
    min-width: 0;
    border-radius: 16px;
    border: 3px solid rgba(255, 255, 255, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4px;
    cursor: pointer;
    box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.18), inset 0 6px 10px rgba(255, 255, 255, 0.3), 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease, filter 0.2s, box-shadow 0.2s;
}

.xylo-bar:nth-child(1) { height: 100%; }
.xylo-bar:nth-child(2) { height: 96%; }
.xylo-bar:nth-child(3) { height: 92%; }
.xylo-bar:nth-child(4) { height: 88%; }
.xylo-bar:nth-child(5) { height: 84%; }
.xylo-bar:nth-child(6) { height: 80%; }
.xylo-bar:nth-child(7) { height: 76%; }
.xylo-bar:nth-child(8) { height: 72%; }

.xylo-bar:active,
.xylo-bar.pressed {
    transform: translateY(7px) scaleY(0.98);
    filter: brightness(1.18);
}

.xylo-bar.guide-pulse {
    animation: guidePulse 0.9s ease-in-out infinite;
    z-index: 2;
}

@keyframes guidePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.9), inset 0 -10px 18px rgba(0,0,0,0.18); filter: brightness(1); }
    50%      { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.55), inset 0 -10px 18px rgba(0,0,0,0.18); filter: brightness(1.25); }
}

.xylo-screw {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff, #B0BEC5);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    opacity: 0.85;
}

.xylo-label {
    font-size: clamp(10px, 1.2vw, 13px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    letter-spacing: 0.04em;
}

.xylo-emoji {
    font-size: clamp(18px, 2.4vw, 28px);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.floating-music-note {
    position: fixed;
    font-size: 28px;
    pointer-events: none;
    z-index: 9999;
    animation: noteFloat 0.9s ease-out forwards;
}

@keyframes noteFloat {
    0%   { opacity: 1; transform: translateY(0) scale(0.7) rotate(-8deg); }
    100% { opacity: 0; transform: translateY(-80px) scale(1.25) rotate(10deg); }
}

/* ==========================================================================
   5) BALON PATLAT
   ========================================================================== */
.balloon-stage-header {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    padding: 12px 12px 8px;
}

.balloon-score-pill {
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 2.5px solid #fff;
    box-shadow: 0 8px 18px rgba(96, 62, 132, 0.14);
    font-size: 14px;
    font-weight: 800;
    color: var(--ink-2);
}

.balloon-score-pill b { font-size: 20px; color: var(--pink-600); margin-left: 4px; }

.balloon-field {
    position: relative;
    flex: 1 1 auto;
    min-height: 320px;
    overflow: hidden;
    border-radius: 26px;
    margin: 0 12px 12px;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.85), transparent 45%),
        linear-gradient(180deg, #BFEAFF 0%, #E6F6FF 55%, #FFF0F7 100%);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.6);
}

.balloon-field::before {
    content: "☁️        ☁️";
    position: absolute;
    top: 12%;
    left: 6%;
    font-size: 34px;
    letter-spacing: 60px;
    opacity: 0.55;
    pointer-events: none;
}

.floating-balloon {
    position: absolute;
    border-radius: 50% 50% 48% 48% / 55% 55% 45% 45%;
    box-shadow: inset -8px -12px 22px rgba(0, 0, 0, 0.16), inset 8px 10px 18px rgba(255, 255, 255, 0.4), 0 10px 20px rgba(44, 33, 64, 0.12);
    will-change: transform, left, top;
    display: grid;
    place-items: center;
    cursor: pointer;
    touch-action: none;
}

.rainbow-balloon {
    background: conic-gradient(from 210deg, #FF5252, #FFD740, #69F0AE, #40C4FF, #B388FF, #FF4081, #FF5252);
}

.balloon-highlight {
    position: absolute;
    top: 12%;
    left: 18%;
    width: 28%;
    height: 22%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    filter: blur(2px);
}

.balloon-decor {
    position: relative;
    font-size: 28px;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.18));
    pointer-events: none;
}

.balloon-string {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(120, 120, 140, 0.5));
    transform: translateX(-50%);
}

.floating-balloon.popped { animation: balloonPop 0.22s ease-out forwards; }

@keyframes balloonPop {
    0%   { transform: scale(1); opacity: 1; }
    45%  { transform: scale(1.28); opacity: 1; }
    100% { transform: scale(0.1); opacity: 0; }
}

.floating-score-tag {
    position: fixed;
    transform: translate(-50%, -50%);
    font-size: 26px;
    font-weight: 900;
    color: var(--pink-600);
    text-shadow: 0 2px 0 #fff, 0 6px 14px rgba(244, 63, 126, 0.4);
    pointer-events: none;
    z-index: 9998;
    animation: scoreFloat 0.8s ease-out forwards;
}

@keyframes scoreFloat {
    0%   { opacity: 1; transform: translate(-50%, -50%) scale(0.6); }
    30%  { transform: translate(-50%, -80%) scale(1.2); }
    100% { opacity: 0; transform: translate(-50%, -160%) scale(1); }
}

/* ==========================================================================
   6) SİHİRLİ BOYAMA
   ========================================================================== */
.paint-controls {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.paint-tool-group,
.paint-actions-group { display: flex; gap: 8px; flex-wrap: wrap; }

.paint-btn {
    padding: 9px 15px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 2px solid #F0E9FA;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--ink-2);
    transition: all 0.16s var(--ease-pop);
}

.paint-btn.active {
    background: linear-gradient(135deg, var(--pink-500), #C056F0);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 18px rgba(244, 63, 126, 0.3);
}

.paint-colors-bar { display: flex; gap: 8px; flex-wrap: wrap; }

.color-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(44, 33, 64, 0.18);
    transition: transform 0.14s var(--ease-pop);
}

.color-dot:hover { transform: scale(1.12); }
.color-dot.active { transform: scale(1.18); box-shadow: 0 0 0 3px var(--lilac-300), 0 6px 14px rgba(44, 33, 64, 0.2); }

.paint-stamps-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.stamps-label { font-size: 12px; font-weight: 800; color: var(--ink-3); }

.stamp-btn {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: #fff;
    border: 2px solid #F0E9FA;
    font-size: 20px;
    display: grid;
    place-items: center;
    transition: transform 0.14s var(--ease-pop), background 0.16s;
}

.stamp-btn:hover { transform: translateY(-2px); }
.stamp-btn.active { background: linear-gradient(160deg, #FFF1F6, #F3E8FF); border-color: var(--pink-300); transform: scale(1.06); }

.action-btn {
    padding: 9px 15px;
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 900;
    color: #fff;
    transition: transform 0.14s var(--ease-pop);
}

.action-btn:active { transform: scale(0.94); }
.clear-btn { background: #fff; color: var(--ink-2); border: 2px solid #F0E9FA; }
.save-btn { background: linear-gradient(135deg, var(--mint-500), #10B981); box-shadow: 0 8px 18px rgba(16, 185, 129, 0.28); }

.paint-canvas-wrapper {
    flex: 1 1 auto;
    position: relative;
    min-height: 300px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 12px 28px rgba(96, 62, 132, 0.14);
}

#paint-canvas {
    display: block;
    width: 100%;
    height: 100%;
    touch-action: none;
    cursor: crosshair;
}

/* ==========================================================================
   7) KUAFÖR SALONU
   ========================================================================== */
.salon-deluxe {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(290px, 360px) 1fr;
    gap: 18px;
    min-height: 0;
}

.salon-toolbox {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #fff;
    border-radius: 26px;
    padding: 16px;
    box-shadow: 0 12px 26px rgba(96, 62, 132, 0.12);
}

.salon-tab-strip {
    display: flex;
    gap: 6px;
    padding: 4px;
    border-radius: var(--radius-pill);
    background: #F7F2FF;
    margin-bottom: 14px;
    overflow-x: auto;
}

.s-tab {
    flex: 1 1 0;
    padding: 9px 8px;
    border-radius: var(--radius-pill);
    font-size: 11.5px;
    font-weight: 800;
    color: var(--ink-2);
    white-space: nowrap;
    transition: all 0.16s;
}

.s-tab.active {
    background: #fff;
    color: var(--pink-600);
    box-shadow: 0 4px 12px rgba(96, 62, 132, 0.12);
}

.salon-tab-panel { display: none; overflow-y: auto; padding-right: 4px; }
.salon-tab-panel.active { display: block; }

.panel-heading {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-3);
    margin-bottom: 9px;
}

.s-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }

.s-card-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px 8px;
    border-radius: 18px;
    background: #FAF7FF;
    border: 2.5px solid transparent;
    text-align: center;
    transition: all 0.16s var(--ease-pop);
}

.s-card-btn:hover { background: #F4ECFF; transform: translateY(-2px); }

.s-card-btn.active {
    background: linear-gradient(160deg, #FFF1F6, #F3E8FF);
    border-color: var(--pink-300);
    box-shadow: 0 8px 18px rgba(244, 63, 126, 0.16);
}

.btn-emoji { font-size: 25px; line-height: 1; }
.btn-text { font-size: 11px; font-weight: 800; color: var(--ink-2); line-height: 1.25; }

.dye-palette-row { display: flex; gap: 10px; flex-wrap: wrap; }

.dye-can-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 6px 14px rgba(44, 33, 64, 0.18);
    transition: transform 0.16s var(--ease-pop);
}

.dye-can-btn:hover { transform: scale(1.12); }
.dye-can-btn:active { transform: scale(0.94); }
.can-spray { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; opacity: 0.9; }

.salon-bottom-actions { margin-top: auto; padding-top: 14px; }

.camera-snap-btn {
    width: 100%;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--pink-500), #C056F0);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(244, 63, 126, 0.3);
    transition: transform 0.14s var(--ease-pop);
}

.camera-snap-btn:active { transform: scale(0.96); }

.princess-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 340px;
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 18%, #FFF6C9 0%, rgba(255, 246, 201, 0) 55%),
        linear-gradient(180deg, #FFE3F1 0%, #F3E4FF 55%, #E4D7FA 100%);
    box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.7);
}

.princess-stage::before {
    content: "✦        ✧        ✦        ✧";
    position: absolute;
    top: 8%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 20px;
    letter-spacing: 18px;
    color: #fff;
    opacity: 0.9;
    animation: twinkle 3.6s ease-in-out infinite;
}

.princess-stage::after {
    content: "";
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 46px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(120, 80, 160, 0.18), transparent 70%);
}

/* ------------------------------ Bebek ------------------------------ */
.princess-doll {
    position: relative;
    width: 240px;
    height: 420px;
    z-index: 2;
    scale: 0.8;
    animation: dollSway 5s ease-in-out infinite;
}

@keyframes dollSway {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50%      { transform: translateY(-6px) rotate(1deg); }
}

.doll-torso {
    position: absolute;
    left: 50%;
    top: 96px;
    transform: translateX(-50%);
    width: 150px;
    height: 290px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

.doll-face {
    position: relative;
    flex: 0 0 auto;
    width: 122px;
    height: 128px;
    border-radius: 50% 50% 46% 46%;
    background: linear-gradient(160deg, #FFEBDC, #FFD9C2);
    box-shadow: inset -6px -8px 16px rgba(214, 138, 106, 0.22);
    z-index: 3;
}

.doll-eyes {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 26px;
}

.doll-eye {
    position: relative;
    width: 16px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, #5B3A6E, #2C2140 70%);
}

.eye-shine {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}

.doll-cheeks { position: absolute; inset: 0; }
.ch-blush {
    position: absolute;
    top: 62%;
    width: 22px;
    height: 13px;
    border-radius: 50%;
    background: #FF9DBB;
    opacity: 0;
    transition: opacity 0.3s;
    filter: blur(1px);
}

.ch-blush.left { left: 10px; }
.ch-blush.right { right: 10px; }
.doll-cheeks.active-blush .ch-blush { opacity: 0.75; }

.doll-mouth {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 11px;
    border-bottom: 3px solid #E0708F;
    border-radius: 0 0 22px 22px;
}

.doll-glitter-stars {
    position: absolute;
    inset: -6px;
    font-size: 13px;
    letter-spacing: 6px;
    text-align: center;
    animation: twinkle 2.4s ease-in-out infinite;
    pointer-events: none;
}

.doll-dress {
    position: relative;
    flex: 0 0 auto;
    width: 150px;
    height: 190px;
    margin-top: -12px;
    border-radius: 46% 46% 14% 14% / 30% 30% 12% 12%;
    clip-path: polygon(30% 0%, 70% 0%, 78% 8%, 88% 26%, 100% 100%, 0% 100%, 12% 26%, 22% 8%);
    box-shadow: inset 0 -14px 24px rgba(0, 0, 0, 0.13), 0 12px 22px rgba(96, 62, 132, 0.22);
    z-index: 2;
    transition: background 0.3s;
}

.doll-dress::before {
    content: "";
    position: absolute;
    inset: 10px 18px auto 18px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    filter: blur(3px);
}

.doll-dress::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
    width: 78%;
    height: 12%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.55), transparent 70%);
}

.doll-dress.princess { background: linear-gradient(160deg, #FF80AB, #FF4081 45%, #C2185B); }
.doll-dress.fairy { background: linear-gradient(160deg, #86EFAC, #22C55E 50%, #15803D); height: 150px; border-radius: 46% 46% 30% 30% / 34% 34% 20% 20%; }
.doll-dress.superhero { background: linear-gradient(160deg, #67E8F9, #0EA5E9 50%, #1D4ED8); height: 158px; }
.doll-dress.ballerina { background: linear-gradient(160deg, #E879F9, #A855F7 55%, #6D28D9); height: 138px; border-radius: 46% 46% 44% 44% / 34% 34% 30% 30%; }

/* Kanatlar */
.doll-wings {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 180px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
}

.doll-wings.fairy,
.doll-wings.angel { opacity: 1; }

.doll-wings::before,
.doll-wings::after {
    content: "";
    position: absolute;
    top: 0;
    width: 118px;
    height: 160px;
    background: radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.95), rgba(196, 181, 253, 0.65) 55%, rgba(167, 139, 250, 0.25) 80%);
    border-radius: 70% 30% 55% 45% / 60% 60% 40% 40%;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.28);
}

.doll-wings::before { left: 0; transform: rotate(-18deg); }
.doll-wings::after { right: 0; transform: rotate(18deg) scaleX(-1); }

/* Saç */
.doll-hair-back {
    position: absolute;
    left: 50%;
    top: 78px;
    transform: translateX(-50%);
    width: 168px;
    height: 210px;
    background: var(--hair-col, #FFD54F);
    border-radius: 50% 50% 44% 44%;
    z-index: 1;
    box-shadow: inset -8px -10px 20px rgba(0, 0, 0, 0.12);
}

.doll-hair-back.braids::after {
    content: "";
    position: absolute;
    left: -16px;
    top: 96px;
    width: 30px;
    height: 150px;
    border-radius: 40% 40% 50% 50%;
    background: repeating-linear-gradient(0deg, var(--hair-col, #FFD54F) 0 16px, rgba(255, 255, 255, 0.22) 16px 20px);
    box-shadow: 188px 0 0 repeating-linear-gradient(0deg, var(--hair-col, #FFD54F) 0 16px, rgba(255, 255, 255, 0.22) 16px 20px);
}

.doll-hair-back.buns::before,
.doll-hair-back.buns::after {
    content: "";
    position: absolute;
    top: -20px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: var(--hair-col, #FFD54F);
    box-shadow: inset -5px -5px 12px rgba(0, 0, 0, 0.14);
}

.doll-hair-back.buns::before { left: -14px; }
.doll-hair-back.buns::after { right: -14px; }

.doll-hair-back.curly {
    width: 190px;
    border-radius: 46% 46% 40% 40%;
    box-shadow: -18px 12px 0 -6px var(--hair-col, #FFD54F), 18px 12px 0 -6px var(--hair-col, #FFD54F), -26px 60px 0 -10px var(--hair-col, #FFD54F), 26px 60px 0 -10px var(--hair-col, #FFD54F), inset -8px -10px 20px rgba(0, 0, 0, 0.12);
}

.doll-hair-back.fairy {
    height: 250px;
    border-radius: 50% 50% 30% 30% / 50% 50% 60% 60%;
    box-shadow: inset -8px -10px 20px rgba(0, 0, 0, 0.12), -26px 40px 0 -12px var(--hair-col, #FFD54F), 26px 40px 0 -12px var(--hair-col, #FFD54F);
}

.doll-hair-front {
    position: absolute;
    left: 50%;
    top: 80px;
    transform: translateX(-50%);
    width: 126px;
    height: 62px;
    background: var(--hair-col, #FFD54F);
    border-radius: 50% 50% 30% 30%;
    z-index: 4;
    box-shadow: inset 0 -6px 10px rgba(0, 0, 0, 0.10);
}

.doll-hair-front::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    width: 46px;
    height: 26px;
    background: var(--hair-col, #FFD54F);
    border-radius: 0 0 50% 50%;
}

.doll-hair-front.braids::after { width: 60px; border-radius: 0 0 60% 60%; }
.doll-hair-front.buns::after { width: 34px; }
.doll-hair-front.curly::after { width: 76px; border-radius: 0 0 60% 60%; box-shadow: -18px 4px 0 0 var(--hair-col, #FFD54F), 18px 4px 0 0 var(--hair-col, #FFD54F); }
.doll-hair-front.fairy::after { width: 88px; border-radius: 0 0 70% 70%; }

/* Taç / gözlük / asa / toka */
.doll-headpiece { position: absolute; top: 66px; left: 50%; transform: translateX(-50%); z-index: 6; }

.doll-headpiece.tiara {
    width: 74px;
    height: 38px;
    background: linear-gradient(160deg, #FFE57F, #FFB300 55%, #F57F17);
    clip-path: polygon(0% 100%, 8% 52%, 26% 74%, 50% 0%, 74% 74%, 92% 52%, 100% 100%);
    filter: drop-shadow(0 4px 6px rgba(245, 127, 23, 0.45));
}

.doll-headpiece.sunglasses {
    top: 152px;
    width: 96px;
    height: 30px;
    background:
        radial-gradient(circle at 26% 50%, #2C2140 0 42%, transparent 44%),
        radial-gradient(circle at 74% 50%, #2C2140 0 42%, transparent 44%);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.28));
}

.doll-wandpiece { position: absolute; right: 10px; top: 210px; z-index: 6; }
.doll-wandpiece.star::before {
    content: "🪄";
    font-size: 34px;
    display: block;
    transform: rotate(-24deg);
    filter: drop-shadow(0 4px 6px rgba(139, 92, 246, 0.35));
}

.doll-hair-clip { position: absolute; top: 120px; right: 40px; font-size: 24px; z-index: 7; }
.doll-hair-clip.butterfly::before { content: "🦋"; }
.doll-hair-clip.flower::before { content: "🌸"; }

.photo-camera-flash {
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

.photo-camera-flash.flash-on { animation: cameraFlash 0.4s ease-out; }

@keyframes cameraFlash {
    0%   { opacity: 0; }
    20%  { opacity: 0.95; }
    100% { opacity: 0; }
}

/* ==========================================================================
   8) EVCİL DOST SPA
   ========================================================================== */
.spa-deluxe {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.pet-selector-bar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 14px;
}

.sel-label { font-size: 12px; font-weight: 900; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }

.pet-pick-btn {
    padding: 9px 15px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 2px solid #F0E9FA;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--ink-2);
    transition: all 0.16s var(--ease-pop);
}

.pet-pick-btn.active {
    background: linear-gradient(135deg, var(--sky-500), #0EA5E9);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 18px rgba(14, 165, 233, 0.3);
}

.spa-main-stage {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(250px, 300px) 1fr;
    gap: 18px;
    min-height: 0;
}

.spa-active-toolshelf {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

.studio-tool-card {
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: 2.5px solid #fff;
    box-shadow: 0 10px 22px rgba(96, 62, 132, 0.12);
}

.studio-tool-card.active-card {
    background: linear-gradient(160deg, #F0FBFF, #EAF4FF);
    border-color: #BAE6FD;
}

.tool-big-icon { font-size: 40px; margin-bottom: 6px; }
.tool-title { font-size: 15px; font-weight: 900; }
.tool-desc { margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--ink-3); line-height: 1.45; }

.studio-tool-col { display: flex; flex-direction: column; gap: 10px; }

.tool-mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 20px;
    background: #fff;
    border: 2.5px solid #F0E9FA;
    text-align: left;
    transition: all 0.16s var(--ease-pop);
}

.tool-mini-card:hover { border-color: var(--pink-300); transform: translateY(-2px); }
.m-icon { font-size: 26px; }
.m-name { font-size: 13px; font-weight: 800; }

.treat-costume-box {
    padding: 16px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(96, 62, 132, 0.12);
}

.tool-heading { font-size: 11.5px; font-weight: 900; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 9px; }
.treats-buttons-row,
.acc-buttons-row { display: flex; gap: 8px; flex-wrap: wrap; }

.treat-pill-btn,
.acc-pill-btn {
    padding: 9px 13px;
    border-radius: var(--radius-pill);
    background: #FAF7FF;
    border: 2px solid #F0E9FA;
    font-size: 12px;
    font-weight: 800;
    color: var(--ink-2);
    transition: all 0.16s var(--ease-pop);
}

.treat-pill-btn:hover,
.acc-pill-btn:hover { background: #F3E8FF; transform: translateY(-2px); }

.spa-bath-scene {
    display: grid;
    place-items: center;
    min-height: 320px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.9), transparent 55%),
        linear-gradient(180deg, #E0F7FF 0%, #EAF9FF 55%, #FFF3F8 100%);
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.8);
    overflow: hidden;
    padding: 20px;
}

.deluxe-tub {
    position: relative;
    width: min(430px, 92%);
    height: 260px;
    border-radius: 26px 26px 60px 60px / 20px 20px 70px 70px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F3F9FF 45%, #DCEEFF 100%);
    border: 5px solid #fff;
    box-shadow: 0 22px 44px rgba(14, 116, 144, 0.16), inset 0 -10px 26px rgba(14, 116, 144, 0.12);
    display: grid;
    place-items: end center;
}

.water-ripple {
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: 12%;
    height: 42%;
    border-radius: 40px 40px 60px 60px / 18px 18px 40px 40px;
    background: linear-gradient(180deg, rgba(147, 232, 255, 0.9), rgba(56, 189, 248, 0.75));
    box-shadow: inset 0 8px 18px rgba(255, 255, 255, 0.65);
    overflow: hidden;
}

.water-ripple::before,
.water-ripple::after {
    content: "";
    position: absolute;
    left: -20%;
    width: 140%;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: rippleMove 4s linear infinite;
}

.water-ripple::before { top: 8px; }
.water-ripple::after { top: 46px; animation-delay: -2s; opacity: 0.6; }

@keyframes rippleMove {
    from { transform: translateX(-10%) scaleY(1); }
    to   { transform: translateX(10%) scaleY(1.2); }
}

.pet-avatar-wrapper {
    position: relative;
    width: 220px;
    height: 230px;
    margin-bottom: 16px;
    cursor: pointer;
    touch-action: none;
}

.pet-head {
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    width: 128px;
    height: 118px;
    border-radius: 50% 50% 46% 46%;
    background: linear-gradient(160deg, #E8C39E, #C99568);
    box-shadow: inset -6px -8px 16px rgba(0, 0, 0, 0.14);
    z-index: 3;
    transition: filter 0.3s;
}

.pet-head.cat { background: linear-gradient(160deg, #E6E9F0, #B9C0CE); }
.pet-head.bunny { background: linear-gradient(160deg, #FFFFFF, #E7E1EF); }

.pet-head.fluffy { filter: brightness(1.06) saturate(1.05); box-shadow: inset -6px -8px 16px rgba(0,0,0,0.1), 0 0 22px rgba(255,255,255,0.85); }

.pet-eyes { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%); display: flex; gap: 26px; }
.p-eye { position: relative; width: 14px; height: 17px; border-radius: 50%; background: #2C2140; }
.p-eye .p-shine { position: absolute; top: 2px; left: 3px; width: 5px; height: 5px; border-radius: 50%; background: #fff; }

.pet-snout { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); width: 54px; height: 38px; border-radius: 46%; background: rgba(255, 255, 255, 0.55); }

.p-nose {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 11px;
    border-radius: 50% 50% 60% 60%;
    background: #3F2B3F;
}

.p-mouth {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 10px;
    border-bottom: 2.5px solid #7A5560;
    border-radius: 0 0 20px 20px;
}

.pet-body {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: 150px;
    height: 118px;
    border-radius: 50% 50% 45% 45%;
    background: linear-gradient(160deg, #E8C39E, #C99568);
    box-shadow: inset -8px -10px 20px rgba(0, 0, 0, 0.14);
    z-index: 2;
}

.pet-body.cat { background: linear-gradient(160deg, #E6E9F0, #B9C0CE); }
.pet-body.bunny { background: linear-gradient(160deg, #FFFFFF, #E7E1EF); }

.mud-spot {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #A1887F, #6D4C41);
    opacity: 0.85;
    transition: opacity 0.4s;
}

.mud-spot.s1 { width: 34px; height: 26px; top: 22%; left: 18%; transform: rotate(-12deg); }
.mud-spot.s2 { width: 24px; height: 20px; top: 54%; right: 16%; }
.mud-spot.s3 { width: 20px; height: 16px; top: 14%; right: 30%; transform: rotate(20deg); }

.bubbles-stack-layer { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }

.studio-foam-bubble {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff, rgba(255, 255, 255, 0.55) 60%, rgba(186, 230, 253, 0.35));
    box-shadow: 0 3px 8px rgba(56, 189, 248, 0.28), inset 0 -3px 6px rgba(255, 255, 255, 0.7);
    animation: bubblePop 2.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bubblePop {
    0%, 100% { transform: scale(0.85); opacity: 0.85; }
    50%      { transform: scale(1.08); opacity: 1; }
}

.pet-acc-layer { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.pet-acc-layer::before { position: absolute; font-size: 34px; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2)); }

.pet-acc-layer.crown::before { content: "👑"; top: -18px; left: 50%; transform: translateX(-50%); }
.pet-acc-layer.bow::before { content: "🎀"; top: 4px; left: 16px; transform: rotate(-12deg); }
.pet-acc-layer.sunglasses::before { content: "🕶️"; top: 44px; left: 50%; transform: translateX(-50%); font-size: 42px; }
.pet-acc-layer.cape::before { content: "🦸"; top: 40px; right: -6px; transform: rotate(12deg); font-size: 38px; }

.pet-ears { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 140px; height: 40px; z-index: 2; }
.p-ear { position: absolute; width: 40px; height: 44px; border-radius: 50% 50% 30% 30%; background: inherit; }

.pet-ears.dog .p-ear { background: linear-gradient(160deg, #C99568, #A97A50); border-radius: 50% 50% 60% 40%; height: 58px; top: 4px; }
.pet-ears.dog .p-ear.left { left: -8px; transform: rotate(18deg); }
.pet-ears.dog .p-ear.right { right: -8px; transform: rotate(-18deg); }

.pet-ears.cat .p-ear { background: linear-gradient(160deg, #E6E9F0, #B9C0CE); width: 42px; height: 40px; clip-path: polygon(50% 0%, 100% 100%, 0% 100%); border-radius: 0; }
.pet-ears.cat .p-ear.left { left: 8px; transform: rotate(-10deg); }
.pet-ears.cat .p-ear.right { right: 8px; transform: rotate(10deg); }

.pet-ears.bunny .p-ear { background: linear-gradient(160deg, #FFFFFF, #E7E1EF); width: 24px; height: 78px; border-radius: 50% 50% 40% 40%; top: -40px; }
.pet-ears.bunny .p-ear.left { left: 34px; transform: rotate(-8deg); }
.pet-ears.bunny .p-ear.right { right: 34px; transform: rotate(8deg); }

.pet-tail {
    position: absolute;
    right: 8px;
    bottom: 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(160deg, #E8C39E, #C99568);
    z-index: 1;
    transform-origin: left center;
}

.pet-tail.cat { width: 16px; height: 70px; border-radius: 99px; transform: rotate(-18deg); }
.pet-tail.bunny { width: 34px; height: 34px; background: #fff; }
.pet-tail.happy-wag { animation: tailWag 0.42s ease-in-out infinite; }

@keyframes tailWag {
    0%, 100% { transform: rotate(-10deg); }
    50%      { transform: rotate(18deg); }
}

.clean-gleam { filter: brightness(1.08) drop-shadow(0 0 16px rgba(255, 255, 255, 0.9)); }

/* ==========================================================================
   9) KÜÇÜK ŞEF
   ========================================================================== */
.kitchen-deluxe {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.deluxe-stage {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    border-radius: 26px;
    padding: 20px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.95), transparent 60%),
        linear-gradient(180deg, #FFF6EC 0%, #FFEFF3 55%, #FFF9F2 100%);
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.8);
    overflow: auto;
}

.studio-stage-title {
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.customer-cards-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.studio-character-card {
    width: 170px;
    padding: 16px 12px;
    border-radius: 22px;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 10px 22px rgba(96, 62, 132, 0.12);
    text-align: center;
    cursor: pointer;
    transition: all 0.18s var(--ease-pop);
}

.studio-character-card:hover { transform: translateY(-4px); }

.studio-character-card.active {
    border-color: var(--pink-300);
    box-shadow: 0 0 0 4px rgba(255, 179, 201, 0.35), 0 14px 26px rgba(244, 63, 126, 0.18);
    background: linear-gradient(160deg, #FFF6FA, #FFF);
}

.char-big-avatar { font-size: 48px; line-height: 1; }
.char-title { margin-top: 8px; font-size: 14px; font-weight: 900; }
.char-fav-tag { margin-top: 4px; font-size: 11px; font-weight: 700; color: var(--ink-3); line-height: 1.35; }

.food-type-toggle { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.dish-toggle-btn {
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 2.5px solid #F0E9FA;
    font-size: 14px;
    font-weight: 900;
    color: var(--ink-2);
    transition: all 0.16s var(--ease-pop);
}

.dish-toggle-btn.active {
    background: linear-gradient(135deg, #FF9100, #F4511E);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 20px rgba(244, 81, 30, 0.3);
}

.stage-rolling,
.stage-saucing,
.stage-chopping,
.stage-decorating,
.stage-oven,
.stage-feast {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.studio-instruction-pill {
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    background: #fff;
    font-size: 13px;
    font-weight: 800;
    color: var(--ink-2);
    box-shadow: 0 6px 14px rgba(96, 62, 132, 0.1);
}

.countertop {
    position: relative;
    width: min(520px, 100%);
    min-height: 280px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background:
        repeating-linear-gradient(90deg, rgba(180, 140, 100, 0.12) 0 2px, transparent 2px 34px),
        linear-gradient(180deg, #F3E0C9, #E6CBA9);
    box-shadow: inset 0 0 40px rgba(160, 110, 60, 0.14);
    padding: 20px;
}

.rolling-pin {
    position: absolute;
    top: 18px;
    font-size: 15px;
    font-weight: 900;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    background: linear-gradient(160deg, #D7A86E, #B57E43);
    color: #fff;
    box-shadow: 0 8px 16px rgba(140, 90, 40, 0.3);
    cursor: pointer;
    transition: transform 0.14s;
}

.rolling-pin:active { transform: scale(0.94); }

.dough-ball {
    position: relative;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 30%, #FFF3D6, #F5D79B 55%, #E3BC72);
    box-shadow: inset -10px -14px 26px rgba(180, 130, 60, 0.28), 0 16px 30px rgba(160, 110, 50, 0.22);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: width 0.18s var(--ease-out), height 0.18s var(--ease-out);
    max-width: 92%;
}

.dough-puff {
    font-size: 12px;
    font-weight: 900;
    color: #8A5B1B;
    text-align: center;
    padding: 0 14px;
}

.sauce-selection-bar { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

.sauce-pick-btn {
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 2.5px solid #F0E9FA;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--ink-2);
    transition: all 0.16s var(--ease-pop);
}

.sauce-pick-btn.active { border-color: var(--pink-300); background: #FFF3F7; transform: scale(1.04); }

.dish-canvas-center { display: grid; place-items: center; flex: 1 1 auto; width: 100%; }

.deluxe-pizza-base {
    position: relative;
    width: min(300px, 74vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #FFE7A8, #F0C066 60%, #D99C3C);
    box-shadow: inset -10px -14px 26px rgba(160, 110, 40, 0.3), 0 20px 38px rgba(160, 110, 40, 0.24);
    overflow: hidden;
    cursor: crosshair;
}

.deluxe-pizza-base::after {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    border: 3px dashed rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.sauce-fill-layer {
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    background: var(--sauce-color, #E53935);
    opacity: 0.92;
    box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.18);
}

.ladle-tool {
    position: absolute;
    bottom: 8%;
    right: 8%;
    font-size: 30px;
    transform: rotate(-16deg);
    pointer-events: none;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.chop-ingredients-bar {
    width: 100%;
    max-width: 640px;
    text-align: center;
}

.chop-title { font-size: 12px; font-weight: 900; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.chop-items-list { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

.raw-ing-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 76px;
    padding: 10px 6px;
    border-radius: 18px;
    background: #fff;
    border: 2.5px solid #F0E9FA;
    transition: all 0.16s var(--ease-pop);
}

.raw-ing-btn:hover { transform: translateY(-3px); border-color: var(--pink-300); }
.ing-icon { font-size: 24px; }
.ing-name { font-size: 10.5px; font-weight: 800; color: var(--ink-2); }

.cutting-board-area { display: grid; place-items: center; width: 100%; }

.wooden-board {
    position: relative;
    width: min(480px, 92%);
    min-height: 200px;
    border-radius: 20px;
    background:
        repeating-linear-gradient(90deg, rgba(120, 70, 30, 0.10) 0 3px, transparent 3px 26px),
        linear-gradient(180deg, #D9A86C, #C08B4C);
    box-shadow: 0 16px 30px rgba(120, 70, 30, 0.28), inset 0 0 30px rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    padding: 18px;
}

.knife-tool { position: absolute; top: 10px; right: 14px; font-size: 26px; transform: rotate(-18deg); }
.board-target-food { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.board-placeholder { font-size: 13px; font-weight: 800; color: rgba(80, 45, 15, 0.65); }
.board-big-item { font-size: 54px; }

.chop-knife-btn {
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    background: #fff;
    font-size: 13px;
    font-weight: 900;
    color: #8A4B00;
    box-shadow: 0 6px 14px rgba(80, 45, 15, 0.2);
}

.stage-decorating { justify-content: flex-start; }

.deluxe-tray {
    width: 100%;
    max-width: 760px;
    padding: 16px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(96, 62, 132, 0.12);
    margin-bottom: 14px;
}

.tray-title { font-size: 12px; font-weight: 900; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; text-align: center; }
.tray-items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }

.tray-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 9px 4px;
    border-radius: 14px;
    background: #FAF7FF;
    border: 2px solid #F0E9FA;
    transition: all 0.16s var(--ease-pop);
}

.tray-btn:hover { transform: translateY(-2px); background: #F3E8FF; }
.tr-icon { font-size: 22px; }
.tr-name { font-size: 10px; font-weight: 800; color: var(--ink-2); }

.toppings-layer { position: absolute; inset: 0; }
.placed-topping {
    position: absolute;
    transform-origin: center;
    font-size: 25px;
    pointer-events: none;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.placed-topping.pop-in { animation: toppingPop 0.35s var(--ease-pop); }

@keyframes toppingPop {
    from { opacity: 0; transform: scale(0.2) rotate(0deg); }
    to   { opacity: 1; }
}

.deluxe-oven {
    position: relative;
    width: min(360px, 92%);
    padding: 20px;
    border-radius: 26px;
    background: linear-gradient(180deg, #D7DEE8, #AEB9C9);
    box-shadow: 0 20px 40px rgba(44, 60, 80, 0.25), inset 0 2px 0 rgba(255, 255, 255, 0.6);
}

.oven-glass-window {
    position: relative;
    height: 220px;
    border-radius: 20px;
    background: radial-gradient(circle at 50% 40%, #3A2C3F, #1C1622 75%);
    border: 6px solid #6B7A8F;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    display: grid;
    place-items: center;
}

.oven-dish-inside {
    position: relative;
    width: 150px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #FFE7A8, #F0C066 60%, #D99C3C);
    box-shadow: inset -8px -10px 20px rgba(160, 110, 40, 0.35);
}

.oven-dish-inside::before {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background: var(--sauce-color, #E53935);
    opacity: 0.9;
}

.baking-bubbles-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 170, 60, 0.55), rgba(255, 120, 0, 0) 62%);
    opacity: 0;
    transition: opacity 0.4s;
}

.baking-bubbles-glow.heat-active { opacity: 1; animation: ovenGlow 1.2s ease-in-out infinite; }

@keyframes ovenGlow {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 1; }
}

.deluxe-oven.baking-active { animation: ovenShake 0.3s ease-in-out infinite; }

@keyframes ovenShake {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(1.5px); }
}

.oven-dial-panel { margin-top: 12px; display: flex; justify-content: center; }

.oven-clock {
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    background: #2C2140;
    color: #FFD54F;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.stage-feast {
    flex-direction: row;
    gap: 26px;
    flex-wrap: wrap;
}

.feast-character-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 200px;
}

.feast-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    background: #fff;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--ink-2);
    box-shadow: 0 8px 18px rgba(96, 62, 132, 0.14);
    text-align: center;
    line-height: 1.4;
}

.feast-customer-avatar { font-size: 68px; line-height: 1; }

.chew-bounce { animation: chewBounce 0.4s ease-in-out 2; }

@keyframes chewBounce {
    0%, 100% { transform: scale(1) rotate(0); }
    50%      { transform: scale(1.12) rotate(-4deg); }
}

.feast-table {
    display: flex;
    align-items: flex-end;
    gap: 22px;
    padding: 22px 26px;
    border-radius: 26px;
    background: linear-gradient(180deg, #F3E0C9, #DDBB95);
    box-shadow: 0 16px 30px rgba(140, 90, 40, 0.22);
}

.table-plate { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }

.served-pizza {
    position: relative;
    width: 170px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #FFE7A8, #F0C066 60%, #D99C3C);
    box-shadow: inset -8px -10px 20px rgba(160, 110, 40, 0.3), 0 12px 22px rgba(120, 70, 20, 0.28);
    border: 5px solid #fff;
    overflow: hidden;
}

.served-pizza::before {
    content: "";
    position: absolute;
    inset: 7%;
    border-radius: 50%;
    background: var(--sauce-color, #E53935);
    opacity: 0.9;
}

.eat-bite-btn {
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--pink-500), #C056F0);
    color: #fff;
    font-size: 12.5px;
    font-weight: 900;
    box-shadow: 0 8px 16px rgba(244, 63, 126, 0.28);
}

.juice-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(96, 62, 132, 0.14);
    cursor: pointer;
    transition: transform 0.2s var(--ease-pop);
}

.juice-box.juice-tilt { animation: juiceTilt 0.6s ease-in-out; }

@keyframes juiceTilt {
    0%, 100% { transform: rotate(0); }
    40%      { transform: rotate(-14deg); }
    70%      { transform: rotate(6deg); }
}

.juice-straw {
    position: absolute;
    top: -16px;
    right: 14px;
    width: 4px;
    height: 26px;
    border-radius: 4px;
    background: linear-gradient(180deg, #FF80AB, #F43F7E);
    transform: rotate(16deg);
}

.juice-icon { font-size: 34px; }
.juice-label { font-size: 10.5px; font-weight: 800; color: var(--ink-3); }

/* ==========================================================================
   10) ŞEKER RALLİSİ
   ========================================================================== */
.deluxe-race-hud {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.hud-capsule {
    padding: 8px 15px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 2px solid #fff;
    box-shadow: 0 6px 14px rgba(96, 62, 132, 0.12);
    font-size: 13.5px;
    font-weight: 900;
    color: var(--ink-2);
    white-space: nowrap;
}

.hud-capsule span { color: var(--pink-600); }
.hud-capsule.magnet-status { background: linear-gradient(135deg, #E0F7FF, #C7E9FF); color: #0369A1; animation: magnetPulse 1s infinite; }

@keyframes magnetPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.5); }
    50%      { box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
}

.car-picker-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }

.picker-btn {
    padding: 8px 13px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 2px solid #F0E9FA;
    font-size: 11.5px;
    font-weight: 800;
    color: var(--ink-2);
    transition: all 0.16s var(--ease-pop);
}

.picker-btn.active {
    background: linear-gradient(135deg, var(--lilac-500), #6D3FE0);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 14px rgba(139, 92, 246, 0.3);
}

.race-viewport {
    flex: 1 1 auto;
    position: relative;
    min-height: 260px;
    border-radius: 24px;
    overflow: hidden;
    background: #80D8FF;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.12);
}

#deluxe-race-canvas { display: block; width: 100%; height: 100%; }

.deluxe-touch-steer-bar {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 10px;
    padding-top: 10px;
}

.steer-paddle {
    padding: 16px 8px;
    border-radius: 20px;
    background: #fff;
    border: 3px solid #fff;
    font-size: 13px;
    font-weight: 900;
    color: var(--ink);
    box-shadow: 0 10px 20px rgba(96, 62, 132, 0.14);
    transition: transform 0.1s;
}

.steer-paddle:active { transform: scale(0.95); }
.left-paddle { background: linear-gradient(160deg, #E0F2FE, #BAE6FD); }
.right-paddle { background: linear-gradient(160deg, #E0F2FE, #BAE6FD); }
.nitro-paddle { background: linear-gradient(135deg, #FF9100, #F4511E); color: #fff; box-shadow: 0 10px 22px rgba(244, 81, 30, 0.32); }

/* ==========================================================================
   DUYARLILIK
   ========================================================================== */
@media (max-width: 980px) {
    .salon-deluxe { grid-template-columns: minmax(250px, 310px) 1fr; gap: 12px; }
    .princess-doll { scale: 0.74; transform-origin: center; }
    .spa-main-stage { grid-template-columns: minmax(210px, 250px) 1fr; gap: 12px; }
    .animals-grid { gap: 10px; }
    .shapes-slots-row, .shapes-pieces-row { gap: 9px; }
}

@media (max-width: 780px) {
    .salon-deluxe,
    .spa-main-stage { grid-template-columns: 1fr; }
    .princess-stage { min-height: 300px; order: -1; }
    .princess-doll { scale: 0.66; }
    .salon-toolbox { max-height: 340px; }
    .salon-tab-panel { max-height: 190px; }
    .spa-bath-scene { order: -1; min-height: 280px; }
    .animals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
    .memory-grid.grid-6 { max-width: 460px; }
    .memory-grid.grid-8 { max-width: 540px; gap: 10px; }
    .shapes-slots-row,
    .shapes-pieces-row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
    .slot-label { display: none; }
    .xylophone-board { min-height: 200px; padding: 12px 10px; }
    .xylo-emoji { display: none; }
    .deluxe-touch-steer-bar { grid-template-columns: 1fr 1fr; }
    .nitro-paddle { grid-column: 1 / -1; grid-row: 1; }
    .deluxe-stage { padding: 14px; }
    .feast-table { padding: 16px; gap: 14px; }
    .served-pizza { width: 130px; }
    .step-breadcrumbs { display: none; }
}

@media (max-width: 520px) {
    .memory-grid.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 320px; }
    .memory-grid.grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
    .memory-grid.grid-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
    .animals-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .animal-name { font-size: 12.5px; }
    .animal-tag { display: none; }
    .shapes-header-hint { font-size: 12px; }
    .salon-toolbox { max-height: 300px; padding: 12px; }
    .s-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .btn-text { font-size: 10px; }
    .princess-doll { scale: 0.58; }
    .paint-colors-bar { gap: 6px; }
    .color-dot { width: 30px; height: 30px; }
    .stamp-btn { width: 36px; height: 36px; font-size: 18px; }
    .spa-bath-scene { min-height: 240px; padding: 12px; }
    .deluxe-tub { height: 220px; }
    .pet-avatar-wrapper { transform: scale(0.9); transform-origin: bottom center; }
    .feast-table { flex-direction: column; align-items: center; }
    .feast-character-area { flex-direction: row; max-width: none; }
    .feast-bubble { font-size: 11.5px; }
}

@media (max-height: 620px) and (orientation: landscape) {
    .game-viewport { padding: 8px; }
    .game-surface { padding: 10px; }
    .xylophone-board { min-height: 150px; }
    .balloon-field { min-height: 220px; }
    .princess-doll { transform: scale(0.78); }
    .princess-stage { min-height: 260px; }
    .spa-bath-scene { min-height: 240px; }
    .deluxe-tub { height: 210px; }
    .studio-character-card { width: 140px; padding: 10px; }
    .char-big-avatar { font-size: 38px; }
    .deluxe-stage { min-height: 240px; }
}

/* ==========================================================================
   9b) KÜÇÜK ŞEF — siparişli sürüm (4-5 yaş): sipariş kartı, sürükleme ve beceri adımları
   ========================================================================== */
.chef2 .is-hidden { display: none !important; }
.chef2 .chef-stage { padding: 14px; }

.chef-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    min-height: 64px;
}

/* Sipariş kartı: müşteri + sos + malzemeler (noktalar konuldukça dolar) */
.chef-order {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    border-radius: 24px;
    background: #FFFFFF;
    border: 3px solid #FFE0EC;
    box-shadow: 0 8px 18px rgba(96, 62, 132, 0.14);
    cursor: pointer;
    touch-action: manipulation;
}
.chef-order-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center;
    font-size: 30px; background: #FFF4E5;
}
.chef-order-items { display: flex; align-items: center; gap: 8px; }
.chef-order-q { font-size: 30px; animation: chefPulse 1.4s ease-in-out infinite; }
.chef-order.is-closed { border-color: #D1C4E9; background: #F7F3FF; }

.chef-chip {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 4px 6px 5px;
    border-radius: 16px;
    background: #FFF9F2;
    border: 2px solid #F3E3D3;
    transition: transform 0.2s var(--ease-pop), background 0.2s;
}
.chef-chip img { width: 40px; height: 40px; object-fit: contain; pointer-events: none; }
.chef-chip.is-done { background: #E8F8EC; border-color: #81C784; }
.chef-chip.is-done::after {
    content: "✓";
    position: absolute; top: -8px; right: -8px;
    width: 20px; height: 20px; border-radius: 50%;
    background: #43A047; color: #FFF; font-size: 13px; font-weight: 900;
    display: grid; place-items: center;
}
.chef-chip-sauce {
    width: 48px; height: 48px; justify-content: center;
    font-size: 26px;
    background: radial-gradient(circle at 40% 35%, #FFFFFF 0 18%, var(--sos) 60%);
}
.chef-dots { display: flex; gap: 3px; }
.chef-dots i {
    width: 11px; height: 11px; border-radius: 50%;
    background: #EDE3D8; border: 1.5px solid #D9C7B3;
}
.chef-dots i.on { background: #FF7043; border-color: #E64A19; }

.chef-step {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 0;
}

.chef-shake { animation: chefShake 0.45s ease-in-out; }
@keyframes chefShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-9px) rotate(-3deg); }
    40% { transform: translateX(8px) rotate(3deg); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(4px); }
}
@keyframes chefPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

.chef-meter {
    width: min(360px, 80%);
    height: 16px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
.chef-meter span {
    display: block; height: 100%; width: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, #FFB74D, #FF7043, #EC407A);
    transition: width 0.15s;
}

/* 1) Sipariş ve yemek seçimi */
.chef-customer-big { display: flex; align-items: center; gap: 22px; }
.chef-customer-art { width: min(190px, 34vw); }
.chef-customer-art svg { width: 100%; height: auto; display: block; }
.chef-bubble {
    position: relative;
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px;
    border-radius: 28px;
    background: #FFFFFF;
    border: 3px solid #FFE0EC;
    box-shadow: 0 12px 24px rgba(96, 62, 132, 0.16);
    animation: chefPulse 2.4s ease-in-out infinite;
}
.chef-bubble::before {
    content: ""; position: absolute; left: -26px; top: 50%;
    border: 12px solid transparent; border-right: 16px solid #FFFFFF;
    transform: translateY(-50%);
}
.chef-bubble-dish { font-size: 46px; }
.chef-dish-choices { display: flex; gap: 22px; }
.chef-dish-choice {
    width: min(190px, 36vw); aspect-ratio: 1;
    padding: 10px; border-radius: 30px;
    background: #FFFFFF; border: 4px solid #FFFFFF;
    box-shadow: 0 12px 26px rgba(96, 62, 132, 0.15);
    transition: transform 0.18s var(--ease-pop);
}
.chef-dish-choice svg { width: 100%; height: 100%; }
.chef-dish-choice:active { transform: scale(0.94); }
.chef-dish-choice.is-right { border-color: #66BB6A; transform: scale(1.06); }

/* 2a) Hamur açma */
.chef-board {
    position: relative;
    width: min(460px, 92%);
    aspect-ratio: 4 / 3;
    border-radius: 28px;
    background:
        repeating-linear-gradient(90deg, rgba(150, 100, 60, 0.12) 0 3px, transparent 3px 40px),
        linear-gradient(180deg, #E8C99E, #D4A975);
    box-shadow: 0 16px 30px rgba(120, 80, 40, 0.25), inset 0 0 0 6px rgba(255, 255, 255, 0.35);
    touch-action: none;
    overflow: hidden;
}
.chef-dough {
    --boy: 42%; --yass: 1;
    position: absolute; left: 50%; top: 50%;
    width: var(--boy); aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 38% 32%, #FFF8EC, #F6DDB4 60%, #E2BE8A);
    box-shadow: 0 calc(14px * var(--yass)) calc(22px * var(--yass)) rgba(120, 80, 40, 0.35),
                inset 0 calc(-10px * var(--yass)) calc(18px * var(--yass)) rgba(160, 110, 60, 0.35);
    transition: width 0.2s;
}
.chef-pin {
    position: absolute; left: 50%; top: 78%;
    width: 72%; height: 38px;
    display: flex; align-items: center;
    transform: translate(-50%, -50%) rotate(-4deg);
    pointer-events: none;
    filter: drop-shadow(0 8px 10px rgba(80, 50, 20, 0.35));
    transition: transform 0.12s;
}
.chef-pin b { flex: 1; height: 100%; border-radius: 14px; background: linear-gradient(180deg, #F5D3A2, #C98E50 70%, #A86E36); }
.chef-pin i { width: 14%; height: 40%; border-radius: 8px; background: linear-gradient(180deg, #E88FB0, #C2557E); }
.chef-pin.is-down { transform: translate(-50%, -50%) rotate(-4deg) scale(1.04); }

/* 2b) Kek hamuru karıştırma */
.chef-bowl {
    position: relative;
    width: min(330px, 70vw, 50vh); aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, #FFFFFF 0 58%, #E1F5FE 59%, #B3E5FC 72%, #81D4FA);
    box-shadow: 0 18px 30px rgba(40, 90, 140, 0.25);
    touch-action: none;
    overflow: hidden;
}
.chef-batter {
    position: absolute; inset: 14%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #FFE0B2, #FFCC80, #FFE0B2, #FFD699, #FFE0B2);
}
.chef-flour {
    position: absolute; inset: 14%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 35%, #FFFFFF 0 13%, transparent 14%),
        radial-gradient(circle at 65% 60%, #FFFDE7 0 11%, transparent 12%),
        radial-gradient(circle at 55% 28%, #FFF59D 0 9%, transparent 10%),
        radial-gradient(circle at 38% 70%, #FFFFFF 0 10%, transparent 11%);
    transition: opacity 0.2s;
}
.chef-spoon {
    position: absolute; left: 70%; top: 30%;
    font-size: 54px;
    transform: translate(-30%, -70%) rotate(-20deg);
    pointer-events: none;
    filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.25));
}

/* 3) Sos kavanozları ve boyama */
.chef-jars { display: flex; gap: 14px; }
.chef-jar {
    width: 74px; height: 86px;
    border-radius: 18px 18px 24px 24px;
    font-size: 34px;
    background: linear-gradient(180deg, #FFFFFF 0 22%, var(--sos) 23%);
    border: 4px solid #FFFFFF;
    box-shadow: 0 10px 20px rgba(96, 62, 132, 0.18);
    display: grid; place-items: center;
    transition: transform 0.18s var(--ease-pop);
}
.chef-jar.active { transform: translateY(-8px) scale(1.08); border-color: #66BB6A; }
.chef-dish {
    position: relative;
    width: min(330px, 62vw, 46vh);
    aspect-ratio: 1;
    touch-action: none;
}
.chef-dish-layer, .chef-paint { position: absolute; inset: 0; width: 100%; height: 100%; }
.chef-dish-layer svg { width: 100%; height: 100%; display: block; }
.chef-paint { touch-action: none; cursor: crosshair; }
.chef-spot {
    position: absolute; width: 36px; height: 36px;
    margin: -18px 0 0 -18px;
    border-radius: 50%;
    border: 4px dashed #FFFFFF;
    box-shadow: 0 0 0 3px rgba(236, 64, 122, 0.6);
    opacity: 0; pointer-events: none;
}
.chef-spot.show { animation: chefSpot 1.4s ease-out; }
@keyframes chefSpot { 0% { opacity: 0; transform: scale(0.5); } 30% { opacity: 1; transform: scale(1.2); } 100% { opacity: 0; transform: scale(1); } }

/* 4) Doğrama */
.chef-chop-step { flex-direction: row; flex-wrap: wrap; }
.chef-tray {
    display: grid; grid-template-columns: repeat(2, 78px); gap: 10px;
    padding: 12px; border-radius: 24px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 22px rgba(96, 62, 132, 0.12);
}
.chef-tray-item {
    width: 78px; height: 78px; border-radius: 20px;
    background: #FFFFFF; border: 3px solid #F3E3D3;
    display: grid; place-items: center;
    transition: transform 0.15s var(--ease-pop), opacity 0.2s;
}
.chef-tray-item img { width: 60px; height: 60px; object-fit: contain; pointer-events: none; }
.chef-tray-item.is-done { opacity: 0.3; transform: scale(0.88); }
.chef-cut-board { display: grid; place-items: center; width: min(420px, 60vw); }
.chef-cut-empty { font-size: 64px; opacity: 0.25; }
.chef-cut-food { position: relative; width: 62%; aspect-ratio: 1; }
.chef-slice { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 0.25s var(--ease-pop); pointer-events: none; }
.chef-cut-line {
    position: absolute; top: -6%; bottom: -6%;
    width: 0; margin-left: -2px;
    border-left: 4px dashed rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.35));
    animation: chefLine 1.2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes chefLine { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.chef-cut-line.is-cut { border-left-style: solid; border-color: rgba(120, 70, 30, 0.35); animation: none; }
.chef-knife {
    position: absolute; left: 30%; top: -14%;
    font-size: 50px;
    transform: translate(-30%, -60%) rotate(-50deg);
    pointer-events: none;
    filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.3));
}

/* 5) Süsleme */
.chef-decor-step { flex-direction: row; flex-wrap: wrap; gap: 26px; }
.chef-bowls { display: flex; flex-direction: column; gap: 12px; }
.chef-mini-bowl {
    width: 84px; height: 84px; border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #FFFFFF 0 55%, #FFE0EC 56%, #F8BBD0);
    box-shadow: 0 10px 18px rgba(96, 62, 132, 0.18);
    display: grid; place-items: center;
    touch-action: none; cursor: grab;
}
.chef-mini-bowl img { width: 58px; height: 58px; object-fit: contain; pointer-events: none; }
.chef-ghost {
    position: fixed; left: 0; top: 0; z-index: 9999;
    width: 74px; height: 74px; margin: -37px 0 0 -37px;
    pointer-events: none;
    filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.3));
}
.chef-ghost img, .chef-ghost svg { width: 100%; height: 100%; object-fit: contain; }
.chef-ghost.is-big { width: 150px; height: 150px; margin: -75px 0 0 -75px; }
.chef-ghost.is-back { transition: transform 0.3s ease-in; opacity: 0.6; }

/* 6) Fırın */
.chef-oven {
    position: relative;
    width: min(360px, 88%);
    padding: 18px;
    border-radius: 26px;
    background: linear-gradient(180deg, #D7DEE8, #AEB9C9);
    box-shadow: 0 20px 40px rgba(44, 60, 80, 0.25), inset 0 2px 0 rgba(255, 255, 255, 0.6);
}
.chef-oven.baking-active { animation: ovenShake 0.3s ease-in-out infinite; }
.chef-oven-window {
    position: relative;
    height: min(220px, 30vh);
    border-radius: 20px;
    background: radial-gradient(circle at 50% 40%, #3A2C3F, #1C1622 75%);
    border: 6px solid #6B7A8F;
    overflow: hidden;
    display: grid; place-items: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.chef-oven.is-ready .chef-oven-window { border-color: #66BB6A; box-shadow: 0 0 24px rgba(102, 187, 106, 0.9); }
.chef-oven-food { height: 86%; aspect-ratio: 1; transition: filter 0.2s; }
.chef-oven-food svg { width: 100%; height: 100%; }
.chef-oven-heat {
    position: absolute; inset: 0; opacity: 0; pointer-events: none;
    background: radial-gradient(circle at 50% 100%, rgba(255, 112, 67, 0.65), transparent 65%);
    transition: opacity 0.4s;
}
.chef-oven-heat.on { opacity: 1; animation: chefLine 1.2s ease-in-out infinite; }
.chef-oven-panel { margin-top: 12px; display: flex; justify-content: center; }
.chef-oven-btn {
    width: 78px; height: 78px; border-radius: 50%;
    font-size: 38px;
    background: linear-gradient(135deg, #FF7043, #F4511E);
    border: 4px solid #FFFFFF;
    box-shadow: 0 10px 20px rgba(244, 81, 30, 0.4);
}
.chef-oven-btn.chef-mitt { background: linear-gradient(135deg, #81C784, #43A047); box-shadow: 0 10px 20px rgba(67, 160, 71, 0.4); }
.chef-oven.is-ready .chef-mitt { animation: chefPulse 0.6s ease-in-out infinite; }
.chef-bake-bar {
    position: relative;
    width: min(360px, 88%); height: 22px;
    border-radius: 99px;
    background: linear-gradient(90deg, #FFF3E0, #FFCC80 45%, #FF9800 70%, #8D4B1F 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12);
}
.chef-bake-zone {
    position: absolute; top: -5px; bottom: -5px;
    border-radius: 10px;
    border: 4px solid #43A047;
    background: rgba(102, 187, 106, 0.25);
}
.chef-bake-needle {
    position: absolute; top: -12px; left: 0;
    width: 6px; height: 46px; margin-left: -3px;
    border-radius: 3px;
    background: #4527A0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* 7) Servis */
.chef-plate { touch-action: none; cursor: grab; transition: transform 0.2s var(--ease-pop), opacity 0.2s; }
.chef-plate.is-lifted { opacity: 0.35; transform: scale(0.94); }
.chef-serve-step .chef-drop-target { animation: chefPulse 2s ease-in-out infinite; }

@media (max-width: 620px) {
    .chef-chip img { width: 30px; height: 30px; }
    .chef-chip-sauce { width: 38px; height: 38px; font-size: 20px; }
    .chef-jar { width: 58px; height: 70px; font-size: 26px; }
    .chef-tray { grid-template-columns: repeat(5, 58px); }
    .chef-tray-item { width: 58px; height: 58px; }
    .chef-tray-item img { width: 44px; height: 44px; }
    .chef-bowls { flex-direction: row; }
}

/* ===== Spa: gerçek bakım görevleri ===== */
.spa-alet-rafi { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.spa-alet {
    aspect-ratio: 1; border-radius: 24px; background: #fff; border: 3px solid #F0E9FA;
    padding: 10px; touch-action: none; opacity: 0.75; transition: transform 0.15s var(--ease-pop), opacity 0.15s;
}
.spa-alet.is-now { opacity: 1; border-color: var(--sky-500); box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.18); animation: spaNabiz 1.6s ease-in-out infinite; }
.spa-alet.is-held { transform: scale(0.88); opacity: 0.4; animation: none; }
@keyframes spaNabiz { 50% { transform: scale(1.06); } }
.treat-pill-btn, .acc-pill-btn { touch-action: none; }
.spa-ghost { width: 96px; height: 96px; margin: -48px 0 0 -48px; }

.spa-hedefler { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.spa-hedef { position: absolute; transform: translate(-50%, -50%); transition: opacity 0.12s; }
.spa-camur {
    width: 50px; height: 42px; border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%;
    background: radial-gradient(circle at 34% 30%, #8A6A4A 0 14%, #4A2E18 40%, #3B2412 80%);
    box-shadow: 16px 12px 0 -9px #3B2412, -14px 14px 0 -11px #3B2412, 0 0 0 3px rgba(255, 255, 255, 0.55);
}
.spa-kopuk {
    width: 40px; height: 40px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff, #E1F5FE 70%);
    box-shadow: 18px 6px 0 -6px #F5FBFF, -16px 10px 0 -8px #F5FBFF, 4px -16px 0 -10px #fff, 0 2px 6px rgba(41, 98, 255, 0.18);
}
.spa-kopuk.is-yeni { animation: spaKopuk 0.35s var(--ease-pop); }
@keyframes spaKopuk { from { transform: translate(-50%, -50%) scale(0.3); } }
.spa-damla {
    width: 22px; height: 30px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
    background: radial-gradient(circle at 35% 35%, #E1F5FE, #4FC3F7 75%);
    box-shadow: 0 2px 4px rgba(2, 119, 189, 0.3);
}
.spa-dugum { width: 46px; height: 46px; }
.spa-dugum svg { width: 100%; height: 100%; }

.spa-dilek {
    position: absolute; left: 50%; top: -6px; transform: translateX(-50%); z-index: 8;
    display: flex; align-items: center; gap: 10px; padding: 10px 16px;
    background: #fff; border-radius: 28px; box-shadow: 0 10px 24px rgba(42, 61, 102, 0.18);
    transition: opacity 0.3s, transform 0.3s;
}
.spa-dilek::after {
    content: ""; position: absolute; left: 46%; bottom: -14px; width: 16px; height: 16px;
    background: #fff; border-radius: 50%; box-shadow: 10px 12px 0 -4px #fff;
}
.spa-dilek.is-hidden { opacity: 0; transform: translateX(-50%) scale(0.6); }
.spa-dilek-satir { display: flex; gap: 6px; }
.spa-dilek-mama { width: 44px; height: 44px; object-fit: contain; transition: opacity 0.3s, transform 0.3s; }
.spa-dilek-mama.is-done, .spa-dilek-sus.is-done { opacity: 0.25; transform: scale(0.8); }
.spa-dilek-sus { font-size: 38px; line-height: 1; padding-left: 10px; border-left: 3px dashed #F0E9FA; transition: opacity 0.3s, transform 0.3s; }

/* Şeker Rallisi: parkur seçimi, ilerleme, geri sayım, sonuç */
.rl-menu { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 10px; overflow-y: auto; max-height: 100%; }
.rl-baslik { font-size: 26px; font-weight: 900; color: var(--pink-600); }
.rl-araclar { display: flex; gap: 12px; }
.rl-arac { width: 96px; height: 76px; border-radius: 20px; border: 4px solid #fff; background: #fff6fb; box-shadow: 0 6px 14px rgba(96,62,132,.15); cursor: pointer; padding: 4px; }
.rl-arac img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.rl-arac.secili { border-color: var(--pink-500, #ec4899); transform: scale(1.08); }
.rl-parkurlar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; width: min(760px, 100%); }
.rl-parkur { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; border: 4px solid #fff; background-size: cover; background-position: center; box-shadow: 0 8px 16px rgba(96,62,132,.18); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.rl-parkur.kilitli { filter: grayscale(.85) brightness(.85); }
.rl-no { font-size: 30px; font-weight: 900; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.45); }
.rl-yildiz { font-size: 14px; background: rgba(255,255,255,.85); border-radius: 99px; padding: 1px 6px; }
.rl-bos { filter: grayscale(1) opacity(.35); }
.hud-capsule.rl-sira { font-size: 20px; color: var(--pink-600); }
.magnet-status { align-items: center; gap: 6px; }
.rl-miknatis-cubuk { display: inline-block; width: 70px; height: 10px; border-radius: 9px; background: rgba(3,105,161,.18); overflow: hidden; }
.rl-miknatis-cubuk i { display: block; height: 100%; width: 100%; background: #0ea5e9; }
.rl-ilerleme { flex: 1 1 200px; min-width: 160px; }
.rl-yol { position: relative; height: 14px; border-radius: 9px; background: linear-gradient(90deg, #fde2f1, #f9a8d4); margin: 14px 26px 14px 10px; }
.rl-yol i, .rl-yol b { position: absolute; top: 50%; width: 34px; height: 26px; transform: translate(-50%, -50%); background-size: contain; background-repeat: no-repeat; background-position: center; transition: left .2s linear; }
.rl-yol i { background-color: var(--pink-500, #ec4899); border-radius: 50%; width: 18px; height: 18px; border: 3px solid #fff; z-index: 2; }
.rl-bayrak { position: absolute; right: -26px; top: 50%; transform: translateY(-50%); font-size: 20px; }
.rl-sayac { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); font-size: 120px; font-weight: 900; color: #fff; text-shadow: 0 6px 18px rgba(219,39,119,.7); pointer-events: none; z-index: 5; }
.rl-sayac.vur { animation: rl-vur .8s ease-out; }
@keyframes rl-vur { from { transform: translate(-50%, -50%) scale(2); opacity: 0; } 30% { opacity: 1; } to { transform: translate(-50%, -50%) scale(1); } }
.rl-sonuc { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(80,30,90,.35); z-index: 6; }
.rl-sonuc-ic { background: #fff; border-radius: 28px; padding: 22px 30px; display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.25); animation: rl-vur .6s ease-out; }
.rl-kupa { width: 150px; height: 150px; object-fit: contain; }
.rl-kupa-yazi { font-size: 96px; }
.rl-sira-buyuk { font-size: 54px; font-weight: 900; color: var(--pink-600); }
.rl-yildizlar { font-size: 38px; }
.rl-dugmeler { display: flex; gap: 14px; }
.rl-dugmeler button { font-size: 34px; width: 76px; height: 76px; border-radius: 22px; border: none; background: #fde2f1; cursor: pointer; box-shadow: 0 6px 12px rgba(96,62,132,.18); }
@media (max-width: 640px) { .rl-parkurlar { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Spa: alet çalışırken görünsün */
.spa-ghost.is-ovuyor img { animation: spaOvala 0.18s ease-in-out infinite alternate; }
@keyframes spaOvala { from { transform: rotate(-14deg) translateX(-6px); } to { transform: rotate(14deg) translateX(6px); } }
.spa-ghost.is-calisiyor img { animation: spaTitre 0.08s linear infinite alternate; }
@keyframes spaTitre { from { transform: translate(-1px, 1px); } to { transform: translate(1px, -1px); } }
.spa-su-akisi { position: fixed; left: 0; top: 0; width: 90px; margin-left: -45px; pointer-events: none; z-index: 9998; opacity: 0.55; transform-origin: top center; }
.spa-su-akisi.is-akiyor { opacity: 0.95; }
.spa-iz { position: fixed; width: 54px; height: 54px; margin: -27px 0 0 -27px; object-fit: contain; pointer-events: none; z-index: 9997; animation: spaIz 1.4s ease-out forwards; }
@keyframes spaIz { from { transform: rotate(var(--d)) scale(0.4); opacity: 1; } 25% { transform: rotate(var(--d)) scale(1); } to { transform: rotate(var(--d)) scale(0.9) translateY(10px); opacity: 0; } }

/* ==========================================================================
   HAYVAN EVİ
   ========================================================================== */
.hev { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; }
.hev-menu { align-items: center; justify-content: center; gap: 16px; padding: 14px; overflow-y: auto; background: url(../assets/img/hayvan-evi/bg-hayvan-bahcesi.webp) center / cover, #FFF3D6; }
.hev-baslik { font-size: 26px; font-weight: 900; color: #B45309; }
.hev-bolumler { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: min(760px, 100%); }
.hev-bolum { position: relative; aspect-ratio: 1; border-radius: 22px; border: 4px solid #fff; background: rgba(255, 248, 235, .92); box-shadow: 0 8px 16px rgba(120, 70, 20, .16); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.hev-bolum.kilitli { filter: saturate(.45); opacity: .85; }
.hev-bolum-yavru { display: flex; flex-wrap: wrap; justify-content: center; max-width: 90%; }
.hev-mini { width: clamp(44px, 7vw, 72px); height: clamp(44px, 7vw, 72px); object-fit: contain; font-size: 30px; line-height: 1; text-align: center; margin: -4px; }
.hev-bolum-no { font-size: 26px; font-weight: 900; color: #B45309; }
.hev-bolum-yildiz { font-size: 13px; }
.hev-bolum-yildiz i { font-style: normal; filter: grayscale(1) opacity(.35); }

.hev-oda { background-size: cover; background-position: center; justify-content: space-between; }
.hev-ust { display: flex; align-items: center; gap: 10px; padding: 10px 12px 0; }
.hev-geri { font-size: 24px; width: 54px; height: 54px; border-radius: 18px; border: none; background: rgba(255,255,255,.9); box-shadow: 0 4px 10px rgba(0,0,0,.12); cursor: pointer; }
.hev-bolum-etiket { font-size: 22px; font-weight: 900; color: #B45309; background: rgba(255,255,255,.9); border-radius: 99px; padding: 6px 16px; }
.hev-yavrular { flex: 1; display: flex; align-items: flex-end; justify-content: space-around; gap: 8px; padding: 0 12px 6px; }
.hev-yavru { position: relative; flex: 0 1 200px; display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: transform .2s; }
.hev-yavru.hedef { transform: scale(1.08); }
.hev-yavru.hedef .hev-yavru-resim { filter: drop-shadow(0 0 14px #FFD54F); }
.hev-yavru-resim { width: 100%; display: flex; justify-content: center; }
.hev-yavru-img { width: min(170px, 100%); height: auto; max-height: 30vh; object-fit: contain; pointer-events: none; }
span.hev-yavru-img { font-size: clamp(64px, 12vw, 120px); line-height: 1.1; text-align: center; }
span.hev-uzgun { filter: saturate(.6); }
.hev-yavru.uyuyor .hev-yavru-resim { animation: hevNefes 2.4s ease-in-out infinite; }
.hev-yavru.uyuyor::after { content: "💤"; position: absolute; top: 10px; right: 14%; font-size: 34px; animation: hevZzz 2s ease-in-out infinite; }
@keyframes hevNefes { 50% { transform: scale(1.04, .97); } }
@keyframes hevZzz { 0% { opacity: 0; transform: translate(0, 10px) scale(.6); } 50% { opacity: 1; } 100% { opacity: 0; transform: translate(14px, -20px) scale(1.1); } }
.hev-yavru.zipla .hev-yavru-resim { animation: hevZipla .5s ease-out; }
@keyframes hevZipla { 30% { transform: translateY(-26px) scale(1.06, .95); } 60% { transform: translateY(0) scale(1.04, .94); } }
.hev-yavru.salla .hev-yavru-resim { animation: hevSalla .45s; }
@keyframes hevSalla { 20%, 60% { transform: rotate(-8deg); } 40%, 80% { transform: rotate(8deg); } }
.hev-yavru.gezinti .hev-yavru-resim { animation: hevGez 2.6s ease-in-out; }
@keyframes hevGez { 25% { transform: translateX(-60px) scaleX(-1); } 50% { transform: translateX(-60px); } 75% { transform: translateX(40px); } }
.hev-yavru.tamam .hev-kalpler { filter: drop-shadow(0 0 8px #FFD54F); }
.hev-balon { position: relative; background: #fff; border-radius: 26px; padding: 8px; margin-bottom: 6px; box-shadow: 0 8px 18px rgba(0,0,0,.16); }
.hev-balon::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 18px; height: 18px; margin-left: -9px; background: #fff; transform: rotate(45deg); border-radius: 4px; }
.hev-balon.yeni { animation: hevBalon .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes hevBalon { from { transform: scale(.2); opacity: 0; } }
.hev-balon.acele { animation: hevAcele .6s ease-in-out infinite; box-shadow: 0 0 0 4px #FCA5A5, 0 8px 18px rgba(0,0,0,.16); }
@keyframes hevAcele { 50% { transform: scale(1.1); } }
.hev-istek-img { width: 62px; height: 62px; object-fit: contain; display: block; font-size: 46px; line-height: 62px; text-align: center; }
.hev-kalpler { display: flex; gap: 3px; margin-top: 4px; background: rgba(255,255,255,.85); border-radius: 99px; padding: 3px 8px; }
.hev-kalp { opacity: .25; filter: grayscale(1); transition: all .3s; }
.hev-kalp.dolu { opacity: 1; filter: none; animation: hevBalon .4s; }
.hev-kalp-img { width: 24px; height: 24px; object-fit: contain; font-size: 18px; line-height: 24px; display: block; }
.hev-raf { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 10px; background: rgba(255, 248, 235, .92); border-top: 4px solid #F5D9A8; }
.hev-esya { width: 72px; height: 72px; border-radius: 20px; border: 3px solid #fff; background: #FFF3D6; box-shadow: 0 4px 10px rgba(120,70,20,.15); touch-action: none; cursor: grab; padding: 4px; }
.hev-esya.tutuldu { opacity: .35; transform: scale(.9); }
.hev-esya-img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; font-size: 40px; line-height: 60px; text-align: center; display: block; }
.hev-hayalet { position: fixed; left: 0; top: 0; width: 86px; height: 86px; margin: -43px 0 0 -43px; z-index: 9999; pointer-events: none; filter: drop-shadow(0 10px 12px rgba(0,0,0,.3)); }
.hev-hayalet.geri { transition: transform .3s ease-in; }
.hev-hayalet .hev-esya-img { font-size: 56px; line-height: 86px; }

/* ---------------------------------------------------------------- Hayvan Evi: Yavrularım (serbest oyun) */
.hev-evim-kart { position: relative; width: min(760px, 100%); min-height: 150px; border-radius: 26px; border: 5px solid #fff; background: url(../assets/img/hayvan-evi/bg-hayvan-evi.webp) center 62% / cover; box-shadow: 0 10px 20px rgba(120, 70, 20, .22); cursor: pointer; display: flex; align-items: flex-end; justify-content: center; padding: 8px 10px 6px; flex-shrink: 0; }
.hev-evim-kart:active { transform: scale(.98); }
.hev-evim-kart-yavru { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.hev-evim-kart-yavru .hev-mini { width: clamp(60px, 9vw, 92px); height: clamp(60px, 9vw, 92px); filter: drop-shadow(0 4px 6px rgba(0,0,0,.25)); }
.hev-evim { background: #FFF3D6; }
.hev-alan { position: relative; flex: 1; background-size: cover; background-position: center 70%; overflow: hidden; touch-action: none; }
.hev-evim-ust { position: absolute; top: 0; left: 0; right: 0; justify-content: space-between; z-index: 200; pointer-events: none; }
.hev-evim-ust > * { pointer-events: auto; }
.hev-oda-git { width: 116px; height: 78px; padding: 0; border-radius: 20px; border: 4px solid #fff; overflow: hidden; background: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.2); cursor: pointer; transition: transform .2s; }
.hev-oda-git img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.hev-oda-git.hedef { transform: scale(1.15); box-shadow: 0 0 0 5px #FFD54F, 0 6px 14px rgba(0,0,0,.2); }
.hev-yatak { position: absolute; transform: translate(-50%, -100%); height: auto; pointer-events: none; filter: drop-shadow(0 8px 8px rgba(80,40,10,.25)); transition: filter .2s; }
.hev-yatak.hedef { filter: drop-shadow(0 0 14px #FFD54F) drop-shadow(0 0 6px #FFD54F); }
.hev-pet { --s: 1; position: absolute; width: calc(clamp(96px, 14vw, 176px) * var(--s)); transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; cursor: grab; touch-action: none; transition: left 2.2s linear, top 2.2s linear, width .3s; }
.hev-pet.tasiniyor { transition: none; z-index: 150 !important; cursor: grabbing; }
.hev-pet.tasiniyor .hev-pet-resim { transform: scale(1.1) rotate(-6deg); filter: drop-shadow(0 16px 14px rgba(0,0,0,.3)); }
.hev-pet-resim { width: 100%; transition: transform .2s; filter: drop-shadow(0 6px 6px rgba(80,40,10,.22)); }
.hev-pet-img { width: 100%; height: auto; display: block; pointer-events: none; font-size: 80px; line-height: 1.2; text-align: center; }
.hev-pet.yuruyor .hev-pet-resim { animation: hevYuru .45s ease-in-out infinite; }
@keyframes hevYuru { 50% { transform: translateY(-7px) rotate(3deg); } }
.hev-pet.zipla .hev-pet-resim { animation: hevZipla .5s ease-out; }
.hev-pet.salla .hev-pet-resim { animation: hevSalla .45s; }
.hev-pet.oynuyor .hev-pet-resim { animation: hevZipla .6s ease-out 3; }
.hev-pet.seviliyor .hev-pet-resim { animation: hevSev .8s ease-in-out infinite; }
@keyframes hevSev { 50% { transform: scale(1.06, .95) rotate(-3deg); } }
.hev-pet.uyuyor .hev-pet-resim { animation: hevNefes 2.4s ease-in-out infinite; }
.hev-pet.uyuyor::after { content: "💤"; position: absolute; top: 0; right: 4%; font-size: 30px; animation: hevZzz 2s ease-in-out infinite; pointer-events: none; }
.hev-pet.hedef .hev-pet-resim { filter: drop-shadow(0 0 14px #FFD54F); transform: scale(1.08); }
.hev-pet .hev-balon { position: absolute; bottom: 92%; }
.hev-yer-esya { position: absolute; width: clamp(64px, 8vw, 96px); transform: translate(-50%, -100%); cursor: pointer; touch-action: none; filter: drop-shadow(0 6px 6px rgba(80,40,10,.25)); transition: opacity .8s, transform .8s; }
.hev-yer-img { width: 100%; height: auto; display: block; pointer-events: none; font-size: 54px; text-align: center; }
.hev-yer-esya.salla { animation: hevYerSalla .4s; }
@keyframes hevYerSalla { 30% { transform: translate(-50%, -100%) rotate(-10deg); } 70% { transform: translate(-50%, -100%) rotate(10deg); } }
.hev-yer-esya.oyna { animation: hevOyna 1.8s ease-out; }
@keyframes hevOyna { 15%, 45%, 75% { transform: translate(-50%, -160%) rotate(120deg); } 30%, 60%, 90% { transform: translate(-50%, -100%) rotate(240deg); } }
.hev-yer-esya.bitti { opacity: 0; transform: translate(-50%, -100%) scale(.5); }
@media (max-width: 640px) { .hev-bolumler { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hev-esya { width: 58px; height: 58px; } }

/* Spa 2: resimli sahne, rastgele müşteri */
.spa2 { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background-size: cover; background-position: center; }
.spa2-ust { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 0; }
.spa2-seviye { font-size: 20px; font-weight: 900; color: #0E7490; background: rgba(255,255,255,.9); border-radius: 99px; padding: 4px 14px; }
.spa2-sahne { position: relative; flex: 1; display: flex; align-items: flex-end; justify-content: center; min-height: 0; padding-bottom: 6px; }
.spa2-hayvan { position: relative; height: min(52vh, 360px); aspect-ratio: 1; touch-action: none; cursor: pointer; }
.spa2-hayvan-img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 12px 16px rgba(0,0,0,.18)); }
.spa2-hayvan.geliyor { animation: spa2Gel .9s cubic-bezier(.3,1.3,.5,1); }
@keyframes spa2Gel { from { transform: translateX(-120%) rotate(-8deg); } 70% { transform: translateX(6%) rotate(3deg); } }
.spa2-hayvan.happy-jump { animation: hevZipla .5s ease-out; }
.spa2-hedef { width: 22%; transform: translate(-50%, -50%) rotate(var(--d)); pointer-events: none; transition: opacity .12s; }
.spa2-hedef img { width: 100%; display: block; }
.spa2-su-damla { width: 11%; }
.spa2-kir-yaprak { pointer-events: auto; }
.spa2-hedef.ucuyor { animation: spa2Uc .7s ease-in forwards; }
@keyframes spa2Uc { to { transform: translate(120%, -260%) rotate(220deg) scale(.5); opacity: 0; } }
.spa2-hedef.is-yeni { animation: spaKopuk .35s var(--ease-pop); }
.spa2-isaret { width: 15%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 0 18px 6px rgba(255,215,64,.9); animation: spaNabiz 1.2s ease-in-out infinite; pointer-events: none; }
.spa2-susler { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.spa2-sus { position: absolute; transform: translate(-50%, -50%); animation: spaKopuk .35s var(--ease-pop); }
.spa2-sus img { width: 100%; display: block; }
.spa2-ordek { position: absolute; left: 6%; bottom: 6%; width: 76px; height: 76px; border: none; background: none; padding: 0; cursor: pointer; }
.spa2-ordek img { width: 100%; height: 100%; object-fit: contain; animation: spa2Yuz 3s ease-in-out infinite; }
.spa2-ordek.vak img { animation: spa2Vak .5s; }
@keyframes spa2Yuz { 50% { transform: translateY(-6px) rotate(-6deg); } }
@keyframes spa2Vak { 30% { transform: scale(1.3, .8) rotate(10deg); } 60% { transform: scale(.9, 1.15); } }
.spa2-raf { display: flex; justify-content: center; gap: 10px; padding: 10px; background: rgba(255,255,255,.85); border-top: 4px solid #BAE6FD; min-height: 96px; align-items: center; }
.spa2-alet { width: 84px; height: 84px; border-radius: 22px; border: 3px solid #fff; background: #E0F7FF; box-shadow: 0 4px 10px rgba(14,116,144,.15); touch-action: none; padding: 6px; }
.spa2-alet img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.spa2-alet.active { background: #FDE68A; }
.spa2-ipucu { font-size: 44px; animation: spaNabiz 1.2s ease-in-out infinite; }
.spa2-dilek-raf { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.spa2-ayrac { width: 3px; height: 60px; background: #BAE6FD; border-radius: 3px; }
.spa2-dilek { top: 4%; }
.spa2-dilek-sus { padding-left: 10px; border-left: 3px dashed #F0E9FA; }
.spa2-foto-dugme { font-size: 46px; width: 110px; height: 84px; border-radius: 26px; border: none; background: #FDE68A; box-shadow: 0 6px 14px rgba(0,0,0,.15); animation: spaNabiz 1.4s ease-in-out infinite; cursor: pointer; }
.spa2-cerceve { position: absolute; left: 50%; bottom: 0; height: min(60vh, 420px); aspect-ratio: 1; transform: translateX(-50%); pointer-events: none; animation: spaKopuk .5s var(--ease-pop); z-index: 4; }
.spa2-cerceve img { width: 100%; height: 100%; object-fit: contain; }
.spa2-flas { position: absolute; inset: 0; background: #fff; animation: spa2Flas .6s ease-out forwards; pointer-events: none; z-index: 5; }
@keyframes spa2Flas { from { opacity: 1; } to { opacity: 0; } }
.spa2-odul { position: absolute; right: 12%; top: 12%; width: 110px; z-index: 6; animation: spa2Odul .8s .4s cubic-bezier(.3,1.6,.5,1) both; }
.spa2-odul img { width: 100%; }
@keyframes spa2Odul { from { transform: scale(0) rotate(-40deg); } }
.spa2-akis-sicak-hava { width: 120px; margin-left: -60px; }
@media (max-width: 640px) { .spa2-alet { width: 64px; height: 64px; } .spa2-hayvan { height: min(44vh, 300px); } }
.rl-bayrak img { width: 30px; height: 30px; object-fit: contain; display: block; }
.rl-odul { position: relative; display: flex; flex-direction: column; align-items: center; }
.rl-odul .rl-kupa { position: relative; z-index: 1; margin-bottom: -28px; }
.rl-podyum { width: 220px; height: 120px; object-fit: contain; }
.rl-nitro-img { width: 70%; height: 70%; object-fit: contain; pointer-events: none; }

/* ===== Küçük Şef: katlı tarifler (hamburger, dondurma, meyve suyu) ===== */
.sk2 { position: relative; }
.sk2-siparis { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 22px; padding: 6px 14px; box-shadow: 0 6px 16px rgba(120, 60, 40, 0.18); }
.sk2-kalem { position: relative; width: 58px; height: 58px; border-radius: 16px; background: #FFF6EC; display: grid; place-items: center; transition: transform 0.2s, opacity 0.2s; }
.sk2-kalem img { width: 84%; height: 84%; object-fit: contain; }
.sk2-kalem b { position: absolute; left: -4px; top: -6px; background: #FF8FC0; color: #fff; border-radius: 50%; width: 22px; height: 22px; font-size: 14px; display: grid; place-items: center; }
.sk2-kalem.simdi { box-shadow: 0 0 0 3px #FFD54F; transform: scale(1.08); }
.sk2-kalem.tamam { opacity: 0.45; }
.sk2-kalem.tamam::after { content: '✓'; position: absolute; right: -4px; bottom: -6px; color: #2E7D32; font-weight: 900; font-size: 22px; }
.sk2-ok { font-size: 26px; color: #E0A060; }
.sk2-sahne { display: grid; grid-template-columns: minmax(300px, 1.25fr) minmax(220px, 1.3fr) minmax(120px, 0.7fr); gap: 16px; align-items: center; padding: 12px 18px; height: calc(100% - 90px); }
.sk2-raf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: center; }  /* 6 malzeme 2 sıraya sığsın; 3 sıra olunca alt sıra (üst ekmek) iPad'de ekranın altında kalıyordu */
.sk2-raf-btn { max-height: 130px; }
.sk2-raf-btn { aspect-ratio: 1; border-radius: 22px; background: rgba(255, 255, 255, 0.92); border: 3px solid #FFE0C2; box-shadow: 0 6px 14px rgba(120, 60, 40, 0.16); padding: 10%; touch-action: none; }
.sk2-raf-btn img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.sk2-raf-btn.tutuldu { opacity: 0.5; }
.sk2-raf-btn.bitti { visibility: hidden; }
.sk2-orta { position: relative; display: grid; place-items: center; height: 100%; min-height: 260px; }
.sk2-tabak { position: absolute; width: 100%; max-width: 360px; bottom: 6%; }
/* Yandan hamburger: alt ekmekten yukarı; her kat alttakinin üstüne biraz biner, yeni kat yukarıdan düşer */
.sk2-burger { position: relative; width: 62%; max-width: 250px; height: 100%; min-height: 260px; display: flex; flex-direction: column-reverse; align-items: center; justify-content: flex-start; padding-bottom: 17%; box-sizing: border-box; }
.sk2-yan { position: relative; flex: none; width: var(--g); margin-bottom: calc(var(--b) * -1); z-index: calc(2 + var(--i)); filter: drop-shadow(0 3px 3px rgba(80, 40, 20, 0.3)); }
.sk2-yan.yeni, .sk2-top.yeni { animation: sk2Dus 0.45s cubic-bezier(0.3, 1.5, 0.5, 1); }
@keyframes sk2Dus { 0% { translate: 0 -70px; opacity: 0.3; } 70% { scale: 1.06 0.9; } 100% { translate: 0 0; opacity: 1; scale: 1; } }
.sk2-kat { position: absolute; left: 50%; top: 50%; width: calc(100% - var(--i) * 3%); transform: translate(-50%, -50%) rotate(var(--r, 0deg)); filter: drop-shadow(0 4px 5px rgba(80, 40, 20, 0.35)); animation: sk2Kon 0.35s cubic-bezier(0.22, 1.5, 0.36, 1); }
.sk2-kat.ust { width: 102%; transform: translate(-50%, -50%); }
.sk2-dondurma { position: relative; width: 50%; max-width: 210px; height: 100%; min-height: 280px; display: flex; flex-direction: column-reverse; align-items: center; justify-content: flex-start; padding-bottom: 16%; box-sizing: border-box; }
.sk2-kulah { position: relative; width: 84%; flex: none; z-index: 5; }
.sk2-top { position: relative; width: 96%; flex: none; margin-bottom: -46%; z-index: calc(6 + var(--i)); filter: drop-shadow(0 4px 5px rgba(80, 40, 20, 0.25)); }
.sk2-kulah + .sk2-top { margin-bottom: -40%; }
.sk2-bardak { position: relative; width: 44%; max-width: 190px; }
.sk2-bardak img { width: 100%; display: block; }
.sk2-bardak .sk2-dolu { position: absolute; inset: 0; transition: clip-path 0.6s ease-out; }
.sk2-hazir { cursor: grab; animation: sk2Hazir 1.2s ease-in-out infinite; }
.sk2-musteri { display: grid; place-items: center; align-self: start; padding-top: 2%; }  /* üstte: altında aşçı Sare durur */
/* Aşçı Sare: bütün tariflerde mutfakta durur, hafifçe sallanır; doğru adımda zıplar, yanlışta başını eğer, servis bitince alkışlar gibi zıplar */
.kitchen-deluxe.chef2 { position: relative; }
.sk2-asci { position: absolute; right: 1%; bottom: -2%; height: 62%; max-height: 520px; pointer-events: none; z-index: 3; transform-origin: 50% 100%;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.22)); animation: asciDur 3s ease-in-out infinite; }
.sk2 .sk2-asci { height: 46%; }
.sk2-asci.servis { right: auto; left: 1%; }
.sk2-asci.sevin { animation: asciSevin .6s cubic-bezier(.3, 1.5, .5, 1), asciDur 3s ease-in-out .6s infinite; }
.sk2-asci.hmm { animation: asciHmm .9s ease-in-out, asciDur 3s ease-in-out .9s infinite; }
.sk2-asci.alkis { animation: asciSevin .5s cubic-bezier(.3, 1.5, .5, 1) 3, asciDur 3s ease-in-out 1.5s infinite; }
@keyframes asciDur { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg) scale(1.01, .99); } }
@keyframes asciSevin { 40% { transform: translateY(-12%) scale(1.04, .97) rotate(-4deg); } 70% { transform: translateY(0) scale(.97, 1.03) rotate(3deg); } }
@keyframes asciHmm { 30%, 60% { transform: rotate(-9deg) translateX(-3%); } }
.sk2-tasinan { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.sk2-tasinan .sk2-tabak { display: none; }
.sk2-tasinan .sk2-burger, .sk2-tasinan .sk2-bardak { width: 100%; }
.sk2-tasinan .sk2-dondurma { width: 60%; min-height: 150px; }
.sk2-tasinan .sk2-burger { min-height: 0; height: 100%; padding-bottom: 6%; justify-content: center; }
.sk2-tasinan .sk2-burger .sk2-yan { animation: none; }
.gitti { opacity: 0 !important; scale: 0.6; transition: opacity 0.3s, scale 0.3s; animation: none !important; pointer-events: none; }

/* Portakal sıkacağı: portakal ikiye ayrılır, yarımlar konide dönerek sıkılır, kabuk kenara, sıkacak bardağa döker */
.sk2-suyeri { position: relative; width: 100%; max-width: 400px; height: 100%; min-height: 260px; }
.sk2-suyeri .sk2-bardak { position: absolute; left: 3%; bottom: 8%; width: 33%; z-index: 2; }
.sk2-sikac { position: absolute; right: 2%; bottom: 32%; width: 58%; z-index: 3; transform-origin: 6% 55%; transition: transform 0.45s ease-in-out; }
.sk2-sikac.dok { transform: translate(-30%, -22%) rotate(-34deg); }
.sk2-sikac-govde { width: 100%; display: block; filter: drop-shadow(0 6px 8px rgba(120, 60, 40, 0.25)); }
.sk2-yarim { position: absolute; left: 48%; top: -12%; width: 46%; translate: -50% -50%; scale: 0.5; opacity: 0; z-index: 2; pointer-events: none;
    transition: left 0.35s ease-out, top 0.35s ease-out, scale 0.35s cubic-bezier(0.3, 1.4, 0.5, 1), opacity 0.2s, rotate 0.35s; }
.sk2-yarim.ayril { opacity: 1; scale: 1; }
.sk2-yarim.y0.ayril { left: 16%; top: -26%; rotate: -24deg; }
.sk2-yarim.y1.ayril { left: 84%; top: -26%; rotate: 24deg; transform: scaleX(-1); }
.sk2-yarim.koni { left: 48% !important; top: 2% !important; rotate: 0deg; animation: sk2Bur 0.9s ease-in-out forwards; }
@keyframes sk2Bur {
    0% { scale: 1 0.8; transform: rotate(0deg); }
    25% { scale: 1.04 0.62; transform: rotate(-40deg); }
    50% { scale: 1.06 0.56; transform: rotate(35deg); }
    75% { scale: 1.06 0.5; transform: rotate(-35deg); }
    100% { scale: 1.08 0.45; transform: rotate(0deg); }
}
.sk2-kabuklar { position: absolute; right: 0; bottom: 4%; width: 60%; height: 24%; display: flex; flex-wrap: wrap-reverse; justify-content: flex-end; align-content: flex-start; pointer-events: none; }
.sk2-kabuk { width: 22%; margin-left: -6%; rotate: var(--r); filter: drop-shadow(0 3px 3px rgba(80, 40, 20, 0.25)); animation: sk2Kabuk 0.55s cubic-bezier(0.3, 1.4, 0.5, 1); }
@keyframes sk2Kabuk { 0% { translate: -40% -260%; rotate: 220deg; scale: 0.6; } 100% { translate: 0 0; rotate: var(--r); scale: 1; } }

/* Müşteriler: dört poz üst üste, biri görünür; poz değişirken yumuşak geçiş ve sıçrama. Yemek patilerin
   arasında durur, ısırırken ağzına kalkar, her ısırıkta küçülür ve ısırık izi büyür. */
.mus { position: relative; width: 100%; aspect-ratio: 1; transform-origin: 50% 100%; animation: musDur 3.2s ease-in-out infinite; }
.mus.gel { animation: musGel 0.8s cubic-bezier(0.3, 1.4, 0.5, 1), musDur 3.2s ease-in-out 0.8s infinite; }
.mus.oyna { animation: musOyna 0.4s ease-out, musDur 3.2s ease-in-out 0.4s infinite; }
.mus-p { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.mus[data-poz="bekliyor"] .mus-p[data-p="bekliyor"], .mus[data-poz="tutuyor"] .mus-p[data-p="tutuyor"],
.mus[data-poz="cigniyor"] .mus-p[data-p="cigniyor"], .mus[data-poz="mutlu"] .mus-p[data-p="mutlu"] { opacity: 1; }
.mus-yemek { position: absolute; left: var(--elx); top: var(--ely); width: 38%; aspect-ratio: 1; display: grid; place-items: center; z-index: 2; pointer-events: none;
    translate: -50% -30%; scale: 0; opacity: 0; transition: left 0.3s ease-in-out, top 0.3s ease-in-out, scale 0.35s cubic-bezier(0.3, 1.4, 0.5, 1), opacity 0.25s; }
.mus-yemek.tutuldu { opacity: 1; scale: calc(0.45 + 0.55 * var(--kalan, 1)); }
.mus-yemek.agizda { left: var(--agx); top: var(--agy); }
.mus-yemek.bitti { opacity: 0; scale: 0; }
.mus-yemek > svg { width: 100%; height: auto; display: block; }
.mus-yemek .sk2-tasinan { width: 100%; height: 100%; -webkit-mask-image: radial-gradient(circle at 50% 0%, transparent calc(var(--isirik, 0) * 15%), #000 calc(var(--isirik, 0) * 15% + 1%));
    mask-image: radial-gradient(circle at 50% 0%, transparent calc(var(--isirik, 0) * 15%), #000 calc(var(--isirik, 0) * 15% + 1%)); }
.mus-yemek .sk2-tasinan .sk2-dondurma { min-height: 0; height: 100%; width: 62%; padding-bottom: 0; justify-content: center; }
.mus-yemek .sk2-meyvesuyu .sk2-bardak { width: 62%; }
.mus-yemek .sk2-tasinan .sk2-burger { width: 100%; max-width: none; height: auto; min-height: 0; padding-bottom: 0; }
.mus-yemek .sk2-dolu { transition: clip-path 0.5s ease-out; }
@keyframes musDur { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg) scale(1.01, 0.99); } }
@keyframes musGel { 0% { transform: translateX(60%) scale(0.85); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
@keyframes musOyna { 40% { transform: scale(1.04, 0.95) translateY(2%); } 75% { transform: scale(0.98, 1.03) translateY(-2%); } }
.chef-customer-art .mus { width: 100%; }
.sk2-musteri .mus { width: min(100%, 250px); }
.chef-ghost.sk2-sikil, .sk2-sikil { transition: transform 0.4s, opacity 0.4s; opacity: 0; }
@keyframes sk2Kon { 0% { scale: 1.4; opacity: 0.4; } 100% { scale: 1; opacity: 1; } }
@keyframes sk2Hazir { 0%, 100% { scale: 1; } 50% { scale: 1.05; } }
@media (max-width: 700px) {
    .sk2-sahne { grid-template-columns: 1fr 1.3fr; }
    .sk2-musteri { grid-column: 1 / -1; height: 140px; }
    .sk2-musteri .mus { width: auto; height: 100%; }
    .sk2-asci { display: none; }
}

/* ===== Meyve Hafızası: kart arkası, sihirli bardak, pazar ===== */
#memory-container .card-back { background: #FFE3EE url(../assets/img/hafiza/kart-arka.webp) center / cover no-repeat; }
.hf-masa { position: relative; width: min(92%, 720px); height: 60%; margin: 4% auto 0; }
.hf-yuva { position: absolute; bottom: 8%; left: calc(var(--x) * 33.3% + 2%); width: 29%; aspect-ratio: 0.8; transition: left 0.6s ease-in-out; cursor: pointer; touch-action: none; }
.hf-saklanan { position: absolute; left: 18%; bottom: 0; width: 64%; }
.hf-bardak { position: absolute; left: 0; bottom: 0; width: 100%; transition: transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1); filter: drop-shadow(0 10px 12px rgba(60, 30, 90, 0.35)); z-index: 2; }
.hf-bardak.kalkik { transform: translateY(-62%) rotate(-8deg); }
.hf-pazar-zemin { background: url(../assets/img/hafiza/bg-meyve-pazari.webp) center / cover no-repeat; }
.hf-pazar { display: grid; grid-template-columns: 1fr 1.6fr 1fr; align-items: end; gap: 10px; height: calc(100% - 40px); padding: 10px 16px 16px; }
.hf-sincap-kose { position: relative; display: flex; flex-direction: column; align-items: center; }
.hf-sincap { width: 100%; max-width: 210px; cursor: pointer; touch-action: none; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.25)); }
.hf-liste { display: flex; gap: 6px; align-items: center; justify-content: center; background: #fff; border-radius: 24px; padding: 8px 12px; min-height: 76px; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18); margin-bottom: 8px; }
.hf-liste img { width: 60px; height: 60px; object-fit: contain; display: none; }
.hf-liste .hf-soru { font-size: 44px; }
.hf-liste.acik img { display: block; animation: sk2Kon 0.3s ease-out; }
.hf-liste.acik .hf-soru { display: none; }
.hf-tezgah-kutu { position: relative; }
.hf-tezgah { width: 100%; display: block; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.25)); }
.hf-meyveler { position: absolute; left: 10%; right: 10%; top: 34%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hf-meyve { aspect-ratio: 1; background: rgba(255, 255, 255, 0.85); border-radius: 18px; border: 3px solid #FFE0C2; padding: 8%; touch-action: none; }
.hf-meyve img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.hf-meyve.alindi { visibility: hidden; }
.hf-sepet-kutu { position: relative; }
.hf-sepet { width: 100%; max-width: 220px; display: block; margin: 0 auto; position: relative; z-index: 2; }
.hf-sepet-ici { position: absolute; left: 18%; right: 18%; top: 26%; display: flex; flex-wrap: wrap; justify-content: center; z-index: 3; }
.hf-sepet-ici img { width: 42%; margin: -6%; }
.hf-ucan { position: fixed; z-index: 9999; pointer-events: none; transition: transform 0.5s ease-in; }

/* ===== Balon Patlat: Sare'nin balon resimleri, gökyüzü/lunapark, bulut, kuş, sıcak hava balonu ===== */
.balloon-field.bl-resimli { background-size: cover; background-position: center bottom; }
.balloon-field.bl-resimli::before { content: none; }
.floating-balloon.bl-resim { background: none; box-shadow: none; border-radius: 0; }
.floating-balloon.bl-resim img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 8px 10px rgba(44, 33, 64, 0.18)); }
.floating-balloon.bl-ozel img { filter: drop-shadow(0 0 12px rgba(255, 230, 120, 0.9)); }
.floating-balloon.bl-sars { animation: blSars 0.3s ease-out; }
@keyframes blSars { 0%, 100% { rotate: 0deg; } 30% { rotate: -8deg; } 70% { rotate: 8deg; } }
.bl-bulut { position: absolute; left: -260px; opacity: 0.9; pointer-events: none; animation: blBulut linear infinite; z-index: 0; }
@keyframes blBulut { 0% { transform: translateX(0); } 100% { transform: translateX(calc(100vw + 300px)); } }
.bl-misafir { position: absolute; left: -200px; z-index: 3; cursor: pointer; touch-action: none; animation: blGec 13s linear forwards; }
.bl-misafir.kus { width: 110px; animation-duration: 9s; }
.bl-misafir.sicak-hava { width: 150px; animation-duration: 18s; }
.bl-misafir.sevindi { filter: drop-shadow(0 0 16px rgba(255, 220, 90, 0.95)); scale: 1.15; }
@keyframes blGec { 0% { transform: translate(0, 0); } 25% { transform: translate(calc(25vw + 50px), -18px); } 50% { transform: translate(calc(50vw + 100px), 6px); } 75% { transform: translate(calc(75vw + 150px), -14px); } 100% { transform: translate(calc(100vw + 260px), 0); } }
.bl-konfeti { position: fixed; width: 220px; z-index: 9998; pointer-events: none; transform: translate(-50%, -50%) scale(0.3); animation: blKonfeti 1.1s ease-out forwards; }
@keyframes blKonfeti { 0% { transform: translate(-50%, -50%) scale(0.3); opacity: 1; } 60% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; } }
.bm-hedef-img { width: 30px; height: 40px; object-fit: contain; }

/* ===== Sihirli boyama: resimli damga/araç düğmeleri, sayfa galerisi ===== */
.stamp-btn img, .paint-btn img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.stamp-btn { padding: 6px; }
.paint-btn:has(img) { padding: 5px; overflow: hidden; }
.pb-galeri { position: absolute; inset: 0; z-index: 50; background: rgba(255, 246, 252, 0.97); border-radius: 26px; padding: 16px 16px 16px; overflow-y: auto; }
.pb-galeri[hidden] { display: none; }
.pb-galeri-ic { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.pb-sayfa { aspect-ratio: 1; background: #fff; border-radius: 20px; border: 3px solid #F3D9FF; box-shadow: 0 6px 14px rgba(96, 62, 132, 0.14); padding: 6px; }
.pb-sayfa img { width: 100%; height: 100%; object-fit: contain; }
.pb-sayfa:active { transform: scale(0.94); }
.pb-kapat { position: sticky; bottom: 0; float: right; width: 56px; height: 56px; border-radius: 50%; background: #FF8FC0; color: #fff; font-size: 24px; border: 3px solid #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2); }
#paint-container { position: relative; }

/* Spa 3: görünmez hedef (parıltıyla gösterilir), baloncuk, silkelenme, sevme, gidiş, fön havası */
.spa2-gorunmez { position: absolute; width: 1px; height: 1px; pointer-events: none; }
.spa-baloncuk { position: fixed; z-index: 9997; margin: -20px 0 0 -20px; opacity: .9; cursor: pointer; filter: drop-shadow(0 2px 4px rgba(0,120,200,.25)); animation: spaBaloncuk var(--sure) ease-out forwards; touch-action: none; }
.spa-baloncuk.patladi { animation: spaPatla .25s ease-out forwards; pointer-events: none; }
@keyframes spaBaloncuk { 0% { transform: scale(.3); opacity: 0; } 12% { transform: scale(1); opacity: .9; } 50% { translate: calc(var(--x) * .5) -45vh; } 100% { translate: var(--x) -85vh; opacity: 0; transform: scale(1.1); } }
@keyframes spaPatla { to { transform: scale(1.7); opacity: 0; } }
.spa2-hayvan.silkele { animation: spa2Silkele 1.1s ease-in-out; }
@keyframes spa2Silkele { 0%, 100% { transform: none; } 10%, 30%, 50%, 70% { transform: rotate(-9deg) translateX(-4%); } 20%, 40%, 60%, 80% { transform: rotate(9deg) translateX(4%); } 90% { transform: rotate(-3deg); } }
.spa2-hayvan.seviliyor { animation: spa2Sokul 1.4s ease-in-out infinite; }
@keyframes spa2Sokul { 50% { transform: rotate(-3deg) scale(1.03, .97); } }
.spa2-hayvan.sevindi { animation: spa2Sevindi 1.2s cubic-bezier(.3,1.4,.5,1); }
@keyframes spa2Sevindi { 25% { transform: translateY(-14%) rotate(-10deg); } 50% { transform: translateY(0) rotate(0) scale(1.06, .94); } 75% { transform: translateY(-10%) rotate(10deg); } }
.spa2-hayvan.gidiyor { animation: spa2Git 1.3s ease-in forwards; }
@keyframes spa2Git { 20% { transform: translateX(4%) translateY(-8%); } 40% { transform: translateX(30%) translateY(0); } 60% { transform: translateX(60%) translateY(-8%); } 100% { transform: translateX(160%) translateY(0); opacity: 0; } }
.spa2-sevgi { position: absolute; left: 50%; top: 4%; translate: -50% 0; display: flex; align-items: center; gap: 8px; z-index: 3; animation: spaKopuk .4s var(--ease-pop); }
.spa2-sevgi span { font-size: 34px; animation: spaNabiz 1s ease-in-out infinite; }
.spa2-sevgi b { width: min(46vw, 260px); height: 18px; border-radius: 10px; background: rgba(255,255,255,.75); overflow: hidden; box-shadow: inset 0 2px 4px rgba(0,0,0,.12); }
.spa2-sevgi i { display: block; height: 100%; background: linear-gradient(90deg, #ff9ec7, #ff5c9d); transition: width .15s; }
.spa2-akis-sicak-hava-bulut { width: 70px; margin-left: -35px; }
.spa2-akis-sicak-hava-bulut.is-akiyor { animation: spaPuf .5s ease-in-out infinite alternate; }
@keyframes spaPuf { to { opacity: .7; } }

/* Hayvan Evi 3: yerdeki kap ve oyuncak, yeme, yakalama, sevilme, çamur ve silkelenme */
.hev-yavru-resim { position: relative; }
.hev-camur { position: absolute; width: 34%; translate: -50% -50%; pointer-events: none; animation: hevCamurGel .5s ease-out both; transition: opacity .15s; }
@keyframes hevCamurGel { from { scale: .2; } }
.hev-yer-esya { position: absolute; left: 50%; bottom: -4%; width: 46%; translate: -50% 0; z-index: 2; scale: var(--kalan, 1); transform-origin: 50% 100%; transition: scale .3s; animation: hevKonGel .4s cubic-bezier(.3,1.5,.5,1); }
.hev-yer-img { width: 100%; display: block; pointer-events: none; filter: drop-shadow(0 4px 4px rgba(0,0,0,.2)); }
@keyframes hevKonGel { from { translate: -50% -80px; opacity: 0; } }
.hev-yer-esya.oyuncak { left: 78%; width: 40%; cursor: pointer; touch-action: none; }
.hev-yer-esya.oyuncak.bekle { animation: hevOyuncakBekle 1.2s ease-in-out infinite; }
@keyframes hevOyuncakBekle { 50% { transform: rotate(-12deg) translateY(-6px); } }
.hev-yer-esya.atildi { animation: hevAt .95s ease-in-out; }
@keyframes hevAt { 0% { transform: none; } 45% { transform: translate(-70%, -170%) rotate(300deg); } 100% { transform: none; } }
.hev-yer-esya.bitti { opacity: 0; scale: .2; transition: opacity .35s, scale .35s; }
.hev-yavru.yiyor .hev-yavru-img { animation: hevYiyor .75s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes hevYiyor { 50% { transform: rotate(4deg) translateY(6%) scale(1.02, .96); } }
.hev-yavru.yakala .hev-yavru-img { animation: hevYakala .6s ease-out; }
@keyframes hevYakala { 40% { transform: translateY(-34%) rotate(-8deg) scale(1.05, .95); } 70% { transform: translateY(0) scale(1.05, .92); } }
.hev-yavru.seviliyor .hev-yavru-img { animation: hevSev 1.2s ease-in-out infinite; }
.hev-yavru.silkele .hev-yavru-img { animation: hevSilkele 1s ease-in-out; }
@keyframes hevSilkele { 10%, 30%, 50%, 70% { transform: rotate(-10deg); } 20%, 40%, 60%, 80% { transform: rotate(10deg); } }
.hev-hayalet.ovuyor img { animation: spaOvala .2s ease-in-out infinite alternate; }

/* Balon: renk avında yanlış renk sallanıp kaçar; şişirme turu */
.floating-balloon.bl-hayir img { animation: blHayir .5s ease-in-out; }
@keyframes blHayir { 20% { transform: rotate(-14deg) scale(1.05, .92); } 45% { transform: rotate(12deg); } 70% { transform: rotate(-8deg); } }
.bl-sonuk { position: absolute; left: 50%; bottom: 4%; width: min(46vw, 260px); aspect-ratio: 1 / 1.45; translate: -50% 0; transform-origin: 50% 100%;
    scale: calc(.35 + .65 * var(--d)) calc(.25 + .75 * var(--d)); cursor: pointer; touch-action: none; z-index: 5;
    filter: saturate(calc(.5 + .5 * var(--d))) drop-shadow(0 10px 14px rgba(0,0,0,.18)); animation: blSonukGel .6s cubic-bezier(.3,1.5,.5,1); }
.bl-sonuk img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.bl-sonuk.basili img { animation: blSisiyor .18s ease-in-out infinite alternate; }
@keyframes blSisiyor { to { transform: scale(1.03, .97) rotate(1.5deg); } }
.bl-sonuk.bagla img { animation: blBagla .8s cubic-bezier(.3,1.6,.5,1); }
@keyframes blBagla { 30% { transform: scale(1.12, .88); } 60% { transform: scale(.94, 1.08) translateY(-4%); } }
@keyframes blSonukGel { from { translate: -50% 60%; opacity: 0; } }

/* Hafıza: piknik sepeti (eşleşen meyveler buraya uçar) */
#memory-container { position: relative; }
.mem-sepet { position: absolute; right: 2%; top: 2%; width: clamp(100px, 13vw, 150px); pointer-events: none; z-index: 3; transform-origin: 50% 100%; }
.mem-sepet-resim { position: relative; z-index: 0; width: 100%; display: block; filter: drop-shadow(0 8px 10px rgba(122, 84, 70, 0.3)); }
.mem-sepet-ici { position: absolute; z-index: 1; left: 10%; right: 10%; top: 8%; bottom: 52%; }
.mem-sepet-ici img { position: absolute; width: 38%; filter: drop-shadow(0 3px 3px rgba(122, 84, 70, 0.25)); }
.mem-ucan { position: fixed; z-index: 9999; pointer-events: none; }

/* ==========================================================================
   DOKUNMA HEDEFLERİ (Hermes 15 Kas, ONERILER 7): küçük parmak için oyunun asıl
   dokunulan/sürüklenen parçaları en az 100 px. Telefonda (≤620 px) eski boylar kalır.
   ========================================================================== */
@media (min-width: 621px) {
    .hev-esya { width: 100px; height: 100px; border-radius: 24px; }
    .hev-esya-img { font-size: 56px; line-height: 86px; }
    .chef-tray { grid-template-columns: repeat(2, 100px); }
    .chef-tray-item { width: 100px; height: 100px; }
    .chef-tray-item img { width: 78px; height: 78px; }
    .spa-alet-rafi { grid-template-columns: repeat(2, minmax(100px, 1fr)); }
    .spa-alet { min-width: 100px; min-height: 100px; }
    .spa2-ordek { width: 100px; height: 100px; }
}

/* ŞEKİL AVI YUVALARI (ONERILER 8/15, Mustafa A seçeneğini seçti): gölge içe çökük lila oyuk (SVG filtresi #oyuk),
   parça parlak jöle yüzey (#jole). Filtreler game-shapes.js oyukFiltreleri() ile bir kez eklenir. */
.sekil-oyuk .shape-shadow svg, .sekil-oyuk .shape-shadow .sekil-resim { opacity: 1; }
.sekil-oyuk .shape-shadow:not(.matched-bounce) { color: #000 !important; }
.sekil-oyuk .shape-shadow:not(.matched-bounce) svg, .sekil-oyuk .shape-shadow:not(.matched-bounce) .sekil-resim { filter: url(#oyuk); }
.sekil-oyuk .shape-slot:not(.filled) { border: 0; background: linear-gradient(160deg, #fbf8ff, #eee6f8); box-shadow: inset 0 2px 6px rgba(80, 50, 120, .12), 0 6px 14px rgba(96, 62, 132, .1); }
.sekil-oyuk .shape-slot.awaiting:not(.filled), .sekil-oyuk .shape-slot.hover:not(.filled) { box-shadow: 0 0 0 4px var(--sun-500), 0 6px 14px rgba(96, 62, 132, .1); }
.sekil-oyuk .shape-piece svg, .sekil-oyuk .shape-piece .sekil-resim { filter: url(#jole) drop-shadow(0 4px 6px rgba(44, 33, 64, 0.18)); }


/* Yıldız resimleri (emoji yerine) — racing */
.rl-yildiz-img, .rl-bos-img {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    object-fit: contain;
}
.rl-bos-img { opacity: .25; filter: grayscale(1); }
@media (max-width: 520px) {
    .rl-yildiz-img, .rl-bos-img { width: 18px; height: 18px; }
}


/* Ksenofon kalp resmi */
.xy-damga-kalp {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    object-fit: contain;
}
@media (max-width: 520px) {
    .xy-damga-kalp { width: 22px; height: 22px; }
}


/* Aşçılık oyunu avatar ve sos resimleri */
.chef-avatar-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.chef-sos-img { width: 24px; height: 24px; vertical-align: middle; object-fit: contain; }
@media (max-width: 520px) {
    .chef-avatar-img { width: 28px; height: 28px; }
    .chef-sos-img { width: 20px; height: 20px; }
}


/* Aşçılık yemek resmi */
.chef-dish-img { width: 28px; height: 28px; vertical-align: middle; object-fit: contain; }
@media (max-width: 520px) { .chef-dish-img { width: 22px; height: 22px; } }



/* Floating image (particle engine) */
.studio-floating-image {
    width: 36px;
    height: 36px;
    position: fixed;
    pointer-events: none;
    animation: floatUpFade 900ms ease-out forwards;
    z-index: 10000;
}
@keyframes floatUpFade {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-80px) scale(0.5); }
}
@media (max-width: 520px) {
    .studio-floating-image { width: 28px; height: 28px; }
}
