/* bolge8.css — Adım 8 oyunları (js/bolge8.js). Zeminler ve nesneler Sare'nin resimleri; çizilmiş şekil yok. */
.game-card[data-game^="meslek-"], .game-card[data-game^="deniz-"], .game-card[data-game^="uzay-"],
.game-card[data-game^="bul-"], .game-card[data-game^="harf-"] { display: none !important; }

.b8-yuzey { align-items: center; justify-content: center; overflow: hidden; }
.b8-sahne {
    position: relative; width: 100%; flex: 1 1 auto; border-radius: 26px; overflow: hidden;
    background: #fff4fa center / cover no-repeat;
}
.b8-sahne img { pointer-events: none; user-select: none; }
.b8-sahne button { position: absolute; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* Soru turlarının zeminleri */
.b8-muayene { background: url(../assets/img/ogrenme/bg/cocuk-odasi.webp) center / cover; border-radius: 26px; }
.b8-uzay { background: url(../assets/img/ogrenme/bg/uzay.webp) center / cover; border-radius: 26px; }
.b8-harfler { background: url(../assets/img/harf/bg-harf-bahcesi.webp) center / cover; border-radius: 26px; }
.b8-hasta img { height: clamp(110px, 24vh, 220px); filter: drop-shadow(0 8px 12px rgba(80, 40, 90, .3)); }
.b8-roket img { position: relative; z-index: 5; height: clamp(100px, 22vh, 200px); animation: b8-titre 1.6s ease-in-out infinite; }
.b8-gezegen { max-width: 100%; display: block; margin: auto; }
.b8-harf {
    font: 900 clamp(70px, 16vh, 140px)/1 'Baloo 2', 'Fredoka', sans-serif; color: #9150FF;
    text-shadow: 0 6px 0 #fff, 0 10px 18px rgba(80, 40, 140, .35);
}
@keyframes b8-titre { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }

/* İtfaiye */
.b8-koy { background-image: url(../assets/img/ogrenme/bg/elma-koyu.webp); }
.b8-ates { width: 15%; transform: translate(-50%, -50%); transition: transform .8s ease, opacity .8s ease; }
.b8-ates img { width: 100%; animation: b8-alev 0.9s ease-in-out infinite alternate; transform-origin: 50% 100%; }
/* Hortumdan fışkıran su: hortum resminin kendi damlaları */
.b8-damla { position: absolute; width: 5%; z-index: 4; opacity: 0; pointer-events: none; transform-origin: 50% 50%;
    transition: transform .45s ease-in, opacity .2s; margin: -2% 0 0 -2.5%; }
.b8-ates.sondu { transform: translate(-50%, -50%) scale(.2); opacity: 0; pointer-events: none; }
@keyframes b8-alev { from { transform: scale(1, 1); } to { transform: scale(1.06, .94); } }
.b8-arac { position: absolute; left: 1%; bottom: 1%; width: 26%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
.b8-hortum { position: absolute; left: 22%; bottom: 6%; width: 14%; transition: transform .35s ease; transform-origin: 30% 70%; }

/* Denizaltı */
.b8-deniz { background-image: url(../assets/img/ogrenme/bg/deniz-alti.webp); }
.b8-canli { width: 17%; animation: b8-yuz 4s ease-in-out infinite; transition: opacity .6s, transform .6s; }
.b8-canli img { width: 100%; filter: drop-shadow(0 6px 10px rgba(0, 40, 90, .3)); }
.b8-canli.sallan img { animation: b8-sallan .5s; }
.b8-canli.bulundu { animation: none; left: 82% !important; top: 70% !important; transform: scale(.4); opacity: 0; pointer-events: none; }
.b8-kova { position: absolute; right: 4%; bottom: 3%; width: 14%; }
/* Ayırma turu: iki kova, üstlerinde hangi canlının gideceğini gösteren küçük resim; canlı parmakla taşınır */
.b8-canli.tasinir { touch-action: none; }
.b8-canli.tasiniyor { animation: none; transition: none; z-index: 5; transform: scale(1.12); }
.b8-canli.bulundu.kovada { left: var(--kx) !important; top: var(--ky) !important; transform: scale(.45); opacity: 0; }
.b8-kova-yer { position: absolute; bottom: 2%; width: 17%; }
.b8-kova-yer.sol { left: 8%; }
.b8-kova-yer.sag { right: 8%; }
.b8-kova-resim { width: 100%; display: block; filter: drop-shadow(0 6px 10px rgba(0, 40, 90, .3)); }
.b8-kova-ornek { position: absolute; left: 50%; top: 18%; width: 52%; transform: translateX(-50%); }
@keyframes b8-yuz { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(10px, -14px); } }
@keyframes b8-sallan { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }

/* Yapboz */
.b8-yapboz { display: flex; align-items: center; gap: 2%; padding: 2%; background: linear-gradient(rgba(255, 244, 250, .6), rgba(255, 244, 250, .6)), url(../assets/img/ogrenme/bg/cayir.webp) center / cover, #fff4fa; }
.b8-tahta { position: relative; width: 62%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; flex: none; background: linear-gradient(150deg, #fffdfb, #fdf2ff 55%, #f4e9ff); box-shadow: 0 0 0 6px #fff, 0 10px 24px rgba(120, 60, 100, .22), inset 0 10px 26px rgba(120, 70, 130, .12), inset 0 0 0 2px rgba(190, 150, 210, .22); }
.b8-golge { width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: grayscale(.45) contrast(.95); }
.b8-tahta.tamam .b8-golge { opacity: 1; filter: none; }
.b8-parcalar { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; align-content: center; justify-content: center; }
.b8-parca {
    background-repeat: no-repeat; border-radius: 6px; cursor: grab; touch-action: none;
    box-shadow: 0 4px 10px rgba(120, 50, 100, .3); flex: none;
}
.b8-parca.tasiniyor { z-index: 50; cursor: grabbing; box-shadow: 0 12px 24px rgba(120, 50, 100, .45); }
.b8-parca.yerinde { box-shadow: none; border-radius: 0; cursor: default; }
.b8-tahta.tamam .b8-parca { opacity: 0; transition: opacity .6s; }

/* Farkı bul */
.b8-fark { display: flex; gap: 2%; align-items: center; justify-content: center; padding: 2%; background: linear-gradient(rgba(255, 244, 250, .45), rgba(255, 244, 250, .45)), url(../assets/img/ogrenme/bg/cocuk-odasi.webp) center / cover, #fff4fa; }
.b8-fark-resim { position: relative; width: 48%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 0 #f3c6dc; }
.b8-zemin { width: 100%; height: 100%; object-fit: cover; }
.b8-esya { width: 12%; transform: translate(-50%, -50%); }
.b8-esya img { width: 100%; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
.b8-esya.yok img { opacity: 0; }
.b8-esya.bulundu img { opacity: 1; animation: ny-otur .5s cubic-bezier(.3, 1.4, .5, 1); filter: drop-shadow(0 0 10px #ffe36e) drop-shadow(0 0 4px #fff); }

/* İpucu: parlayan resim (resmin kendi gölgesiyle; çizilmiş halka yok) */
.b8-sahne .parla img, .b8-parca.parla { animation: b8-parla 1s ease-in-out infinite; }
@keyframes b8-parla {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 230, 110, 0)); }
    50% { filter: drop-shadow(0 0 14px #ffe36e) drop-shadow(0 0 6px #fff); }
}
.b8-yer-ipucu { position: absolute; background-repeat: no-repeat; z-index: 2; pointer-events: none; animation: b8-yer 0.65s ease-in-out 4; opacity: 0; }
@keyframes b8-yer { 0%, 100% { opacity: 0; } 50% { opacity: .85; } }

/* Uzay Görevi: gök cisimleri süzülür, roket aralarında uçar, boy sırasında gerçek oranında dizilir */
.b8-uzay2 { background-image: url(../assets/img/ogrenme/bg/uzay.webp); }
.b8-cisim { width: 20%; animation: b8-yuz 5s ease-in-out infinite; transition: left .8s ease, top .8s ease, width .8s ease; z-index: 2; }
.b8-cisim img { width: 100%; display: block; filter: drop-shadow(0 0 14px rgba(255, 255, 255, .35)); }
.b8-cisim.dizildi { animation: none; pointer-events: none; }
.b8-cisim.salla { animation: b8-salla .5s; }
.b8-roket2 { position: absolute; left: 45%; top: 70%; width: 10%; z-index: 5; transition: transform 1.2s cubic-bezier(.5, 0, .3, 1); }
.b8-roket2 img { width: 100%; display: block; }
@keyframes b8-salla { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }

/* Harfler Şatosu: harf tahta küpün üstünde, yanında kitap kurdu */
.b8-harf-kup { position: relative; width: clamp(130px, 24vh, 210px); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.b8-harf-kup > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(80, 40, 20, .35)); }
.b8-harf-kup .b8-harf { position: absolute; left: 39.5%; top: 53%; transform: translate(-50%, -50%); color: #E8457A; text-shadow: 0 4px 0 #fff; }
/* Kitap kurdu harfin solunda; küçük kalınca çitlere karışıyordu: büyük ve beyaz parıltılı */
.b8-kitap-kurdu { position: absolute; left: -118%; bottom: -14%; width: 110%; animation: b8-titre 2.4s ease-in-out infinite;
    filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 14px rgba(255, 255, 255, .9)) drop-shadow(0 8px 12px rgba(60, 40, 20, .35)); }

/* Yapboz 15 bölüm: Sare'nin 4:3 resimleri */
.b8-yapboz43 { position: relative; }
.b8-yapboz43 .b8-tahta { aspect-ratio: 4 / 3; width: min(62%, calc((100vh - 190px) * 1.333)); height: auto; }
.b8-bolum { position: absolute; left: 14px; top: 10px; z-index: 5; background: #fff; border-radius: 18px; padding: 4px 14px; font: 800 20px/1.4 'Baloo 2', 'Nunito', sans-serif; color: #E8457A; box-shadow: 0 4px 10px rgba(120, 50, 100, .2); }

/* Farkı bul 10 sahne: eşya yüzeyin üstünde durur (konum = alt orta) */
.b8-fark2 { position: relative; }
.b8-esya.b8-esya-dur { width: 9%; transform: translate(-50%, -100%); }
.b8-esya.b8-esya-dur img { display: block; }

/* Denizaltı: çöp toplama (dalgıç ağı) ve fotoğraf turları */
.b8-deniz { background-size: cover; background-position: center; }
.b8-cop { width: 13%; }
.b8-canli.b8-cop.bulundu { left: var(--cx) !important; top: -30% !important; transform: scale(.7) rotate(20deg); opacity: 0; transition: top 1.1s ease-in .25s, opacity .4s 1s, transform 1s; }
.b8-ag { position: absolute; width: 15%; margin-left: -1%; pointer-events: none; z-index: 6; animation: b8-ag-in 1.3s ease-in-out forwards; }
@keyframes b8-ag-in { 0% { transform: translateY(-140%); opacity: 0; } 25% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(0); } 100% { transform: translateY(-260%); opacity: 0; } }
.b8-ag-simge, .b8-kamera { position: absolute; right: 2%; bottom: 3%; width: 13%; pointer-events: none; filter: drop-shadow(0 6px 10px rgba(0, 30, 70, .35)); animation: b8-titre 2.6s ease-in-out infinite; }
.b8-flas { position: absolute; inset: 0; background: #fff; z-index: 20; animation: b8-flas .3s ease-out forwards; pointer-events: none; }
@keyframes b8-flas { from { opacity: 1; } to { opacity: 0; } }
.b8-foto { position: absolute; left: 50%; top: 50%; width: 36%; aspect-ratio: 4 / 3; background: #fff; padding: 2% 2% 6%; border-radius: 8px; box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
    transform: translate(-50%, -50%) rotate(-4deg); z-index: 15; animation: b8-foto-gel .5s cubic-bezier(.3, 1.6, .5, 1); overflow: hidden; }
.b8-foto .b8-foto-zemin { position: absolute; inset: 2% 2% 6%; width: 96%; height: 92%; object-fit: cover; }
.b8-foto .b8-foto-canli { position: absolute; left: 25%; top: 10%; width: 50%; height: 80%; object-fit: contain; }
@keyframes b8-foto-gel { from { transform: translate(-50%, -50%) scale(.2) rotate(-20deg); } }

/* ===== Sare TV (js/sare-tv.js) ===== */
.tv-ekran { position: absolute; inset: 0; display: grid; place-items: center; padding: 2%; border-radius: 26px;
    background: url(../assets/img/balon/bg-gokyuzu.webp) center / cover; }
.tv-liste { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; width: 100%; max-width: 1000px; }
.tv-liste .tv-bolum { width: min(420px, 80%); }
.tv-bolum { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 10px 24px rgba(80, 40, 120, .25); }
.tv-bolum img { width: 100%; height: 100%; object-fit: cover; }
.tv-bolum:active { transform: scale(.96); }
.tv-oynat { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 74px; height: 74px; border-radius: 50%;
    background: rgba(255, 110, 170, .92); color: #fff; font-size: 34px; display: grid; place-items: center; padding-left: 6px; border: 4px solid #fff;
    animation: b8-parla 1.6s ease-in-out infinite; }
.tv-cerceve { position: relative; width: min(100%, calc((100vh - 170px) * 1.778)); aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden;
    border: 6px solid #fff; box-shadow: 0 14px 30px rgba(60, 30, 90, .3); background: #000; }
.tv-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-soru { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4%; background: rgba(255, 245, 252, .55); backdrop-filter: blur(3px); }
.tv-soru[hidden] { display: none; }
.tv-secenek { width: 24%; aspect-ratio: 1; border-radius: 26px; background: #fff; border: 5px solid #FFD3E6; padding: 3%; box-shadow: 0 10px 20px rgba(0, 0, 0, .18); animation: skmGel .45s; }
.tv-secenek img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.tv-secenek.sallan { animation: b8-sallan .5s; }
.tv-secenek.parla { animation: b8-parla 1s ease-in-out infinite; }
.tv-secenek.dogru { border-color: #7ED957; transform: scale(1.1); transition: transform .3s; }
.tv-noktalar { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 8px; }
.tv-noktalar span { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .55); border: 2px solid #fff; }
.tv-noktalar span.aktif { background: #FF6FA8; }
@keyframes skmGel { from { transform: scale(.5); opacity: 0; } }

/* Doktor: muayenehane (hasta ortada, düşünce balonunda gereken alet, aletler altta parmakla taşınır) */
.b8-muayenehane { background-image: url(../assets/img/ogrenme/bg/cocuk-odasi.webp); }
.b8-tas { touch-action: none; transform: translate(-50%, -50%); transition: left .35s ease, top .35s ease, transform .2s; }
.b8-tas.tasiniyor { transition: none; transform: translate(-50%, -50%) scale(1.15); z-index: 20; }
.b8-tas img { filter: drop-shadow(0 8px 10px rgba(80, 40, 90, .3)); }
.b8-hst { position: absolute; left: 46%; top: 47%; height: 58%; transform: translate(-50%, -50%); transition: left .9s ease, opacity .9s ease; }
.b8-hst.gel { left: 120%; transition: none; }
.b8-hst.git { left: -30%; opacity: 0; }
.b8-hst-govde { position: relative; height: 100%; }
.b8-hst-resim { height: 100%; display: block; filter: drop-shadow(0 10px 14px rgba(80, 40, 90, .3)); }
.b8-hst.salla .b8-hst-govde { animation: b8-salla .5s; }
.b8-hst.mutlu .b8-hst-govde { animation: b8-hzipla .6s ease-out 2; }
.b8-ist { position: absolute; left: 82%; top: -14%; width: 72%; transition: opacity .4s; }
.b8-hst.mutlu .b8-ist { opacity: 0; }
.b8-ist-bulut { width: 100%; display: block; }
.b8-ist-ic { position: absolute; left: 14%; right: 8%; top: 12%; height: 52%; display: flex; align-items: center; justify-content: center; gap: 4%; }
.b8-ist-alet { max-height: 92%; max-width: 46%; animation: b8-titre 2s ease-in-out infinite; }
.b8-uygula { position: absolute; transition: opacity .6s; animation: skmGel .35s ease-out; }
.b8-uygula.kalk { opacity: 0; }
.b8-uygula.termometre { left: 48%; top: 30%; height: 28%; transform: rotate(-35deg); }
.b8-uygula.stetoskop { left: 28%; top: 44%; height: 34%; }
.b8-uygula.yara-bandi { left: 18%; top: 62%; height: 18%; transform: rotate(20deg); }
.b8-alet { height: 22%; }
.b8-alet img { height: 100%; }
.b8-canta { position: absolute; right: 3%; top: 6%; height: 20%; opacity: .95; }
@keyframes b8-hzipla { 40% { transform: translateY(-12%) scale(1.04); } }

/* İtfaiye: dalga dalga ateş, her suda küçülür */
.b8-ates { --b: 1; transform: translate(-50%, -50%) scale(var(--b)); }
.b8-ates.yeni { animation: b8-ates-gel .6s ease-out backwards; }
@keyframes b8-ates-gel { from { transform: translate(-50%, -50%) scale(0); opacity: 0; } }

/* Harf kutusu */
.b8-harfbahce { background-image: url(../assets/img/harf/bg-harf-bahcesi.webp); }
.b8-hkutu { position: absolute; left: 50%; top: 33%; height: 44%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; }
.b8-hkutu-resim { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(80, 40, 20, .35)); }
.b8-hkutu .b8-harf { position: absolute; left: 39.5%; top: 53%; transform: translate(-50%, -50%); color: #E8457A; text-shadow: 0 4px 0 #fff; }
.b8-hkutu.zipla { animation: b8-kzipla .5s ease-out; }
@keyframes b8-kzipla { 40% { transform: translate(-50%, -58%) scale(1.06); } }
.b8-hk-kurt { position: absolute; left: 6%; top: 10%; height: 30%; animation: b8-titre 2.4s ease-in-out infinite; }
.b8-hesya { height: 22%; }
.b8-hesya img { height: 100%; }
.b8-hesya.yeni { animation: b8-ates-gel .45s ease-out backwards; }
.b8-hesya.salla img { animation: b8-salla .5s; }
.b8-hesya.zipla img { animation: b8-hzipla .5s ease-out; }
.b8-hesya.kutuda { transform: translate(-50%, -50%) scale(.25); opacity: 0; transition: left .45s ease-in, top .45s ease-in, transform .45s ease-in, opacity .45s .2s; pointer-events: none; }

/* Doktor: hareketler (yürüyüş, titreme, aletlerin kendi hareketleri, iyileşme sevinci) */
.b8-hst.yuruyor .b8-hst-govde, .b8-hst.git .b8-hst-govde { animation: b8-hop .45s ease-in-out infinite; }
@keyframes b8-hop { 0%, 50%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-8%) rotate(-5deg); } 75% { transform: translateY(-8%) rotate(5deg); } }
.b8-hst.titre .b8-hst-resim { animation: b8-titreme .14s linear infinite; }
@keyframes b8-titreme { 50% { transform: translateX(1.5%) rotate(1deg); } }
.b8-hst.ah .b8-hst-govde { animation: b8-ah .5s ease-out; }
@keyframes b8-ah { 30% { transform: scale(1.05, .92); } 65% { transform: scale(.97, 1.04); } }
.b8-hst.iyiles .b8-hst-govde { animation: b8-iyiles 1s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes b8-iyiles { 0% { transform: scale(.85); } 35% { transform: translateY(-16%) scale(1.12) rotate(-10deg); } 60% { transform: translateY(0) scale(1.06, .94) rotate(6deg); } 80% { transform: translateY(-5%) rotate(-3deg); } 100% { transform: none; } }
.b8-uygula.termometre { animation: b8-term-gel .5s ease-out, b8-term-olc .6s ease-in-out .5s 3; }
@keyframes b8-term-gel { from { transform: translate(70%, -90%) rotate(-90deg); opacity: 0; } }
@keyframes b8-term-olc { 50% { transform: rotate(-22deg) translateY(-6%); } }
.b8-uygula.stetoskop { animation: b8-steto-gel .45s ease-out, b8-atis 1s ease-in-out .45s 2; }
@keyframes b8-steto-gel { from { transform: translateY(70%) scale(.5); opacity: 0; } }
@keyframes b8-atis { 0%, 30%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 45% { transform: scale(1.14); } 60% { transform: scale(1); } }
.b8-uygula.yara-bandi { animation: b8-yapis .6s cubic-bezier(.4, 1.4, .6, 1); }
@keyframes b8-yapis { 0% { transform: translateY(-160%) rotate(-40deg) scale(1.6); opacity: 0; } 60% { transform: translateY(0) rotate(20deg) scale(1.25, .8); opacity: 1; } }
.b8-ist-alet.cik { animation: b8-cik .4s ease-out forwards; }
@keyframes b8-cik { to { transform: scale(1.7); opacity: 0; } }

/* İtfaiye ve harf kutusu hareketleri: su değince alev titreyip söner gibi olur; hortum geri teper; resimler hafif sallanır */
.b8-ates.islaniyor img { animation: b8-islan .5s ease-in-out; }
@keyframes b8-islan { 30% { transform: scale(.8, 1.1) rotate(-6deg); filter: brightness(.8); } 70% { transform: scale(1.1, .85) rotate(5deg); } }
.b8-hortum.fiskir { animation: b8-fiskir .3s ease-out; }
@keyframes b8-fiskir { 40% { translate: -6% 4%; } }
.b8-hesya img { animation: b8-titre 2.6s ease-in-out infinite; }
.b8-hesya:nth-of-type(2n) img { animation-delay: -1.3s; }
.b8-hesya.tasiniyor img { animation: none; }
.b8-hkutu.zipla .b8-harf { animation: b8-harf-parla .6s ease-out; }
@keyframes b8-harf-parla { 40% { transform: translate(-50%, -50%) scale(1.3); } }
.b8-hesya.git { top: 125% !important; opacity: 0; transition: top .6s ease-in, opacity .6s; pointer-events: none; }

/* ---------- Harfler Şatosu macerası: durak çubuğu, harf balonları, kelime yaz ---------- */
.b8-hm { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; }
.b8-hm-yol { position: absolute; z-index: 6; top: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px;
    background: rgba(255, 255, 255, .88); border-radius: 30px; padding: 6px 14px; box-shadow: 0 6px 16px rgba(90, 50, 140, .22); }
.b8-hm-yol i { width: 26px; height: 5px; border-radius: 3px; background: #e4d8f5; }
.b8-hm-durak { width: 44px; height: 44px; display: grid; place-items: center; font-size: 24px; border-radius: 50%; background: #f3ecfb; filter: grayscale(.8); opacity: .6; transition: all .4s; }
.b8-hm-durak.simdi { filter: none; opacity: 1; background: #fff2c4; transform: scale(1.15); box-shadow: 0 0 0 3px #ffcf4a; animation: b8-hm-nabiz 1.4s ease-in-out infinite; }
.b8-hm-durak.bitti { filter: none; opacity: 1; background: #d9f7e2; }
@keyframes b8-hm-nabiz { 50% { transform: scale(1.25); } }
.b8-hm-alan { position: relative; flex: 1; display: flex; }
.b8-hm-alan > .b8-sahne { flex: 1; }

.b8-hbalon { background-image: url(../assets/img/harf/bg-buyuk-kutuphane.webp); overflow: hidden; }
.b8-hb-hedef { position: absolute; z-index: 4; left: 16px; top: 72px; width: clamp(80px, 13vh, 120px); aspect-ratio: 1; display: grid; place-items: center;
    background: url(../assets/img/harf/harf-kupu.webp) center / contain no-repeat; animation: b8-titre 2.4s ease-in-out infinite; }
.b8-hb-hedef .b8-harf { position: absolute; left: 39.5%; top: 53%; transform: translate(-50%, -50%); font-size: clamp(40px, 7vh, 64px); color: #E8457A; }
.b8-hb-sayac { position: absolute; z-index: 4; right: 16px; top: 72px; display: flex; gap: 6px; background: rgba(255, 255, 255, .85); border-radius: 22px; padding: 6px 10px; }
.b8-hb-sayac span { width: 40px; height: 40px; border-radius: 50%; border: 3px dashed #c9b6e4; display: grid; place-items: center;
    font: 900 24px/1 'Baloo 2', 'Fredoka', sans-serif; color: #E8457A; box-sizing: border-box; }
.b8-hb-sayac span.dolu { border: 3px solid #ffcf4a; background: #fff6d5; animation: b8-hb-dol .4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes b8-hb-dol { from { transform: scale(1.7); } }
.b8-sahne .b8-balon { position: absolute; bottom: -30%; width: clamp(70px, 12vh, 110px); aspect-ratio: .75; transform: translateX(-50%);
    animation: b8-balon-uc var(--sure) linear forwards; touch-action: none; }
.b8-balon img { width: 100%; height: 100%; object-fit: contain; animation: b8-balon-salin 2.2s ease-in-out infinite alternate; }
.b8-balon span { position: absolute; left: 50%; top: 36%; transform: translate(-50%, -50%); font: 900 clamp(30px, 5.4vh, 46px)/1 'Baloo 2', 'Fredoka', sans-serif;
    color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, .25), 0 0 10px rgba(0, 0, 0, .2); pointer-events: none; }
.b8-balon.salla img { animation: b8-salla .5s; }
.b8-balon.parla img { filter: drop-shadow(0 0 12px #fff) drop-shadow(0 0 20px #ffd34d); }
.b8-balon.patladi { animation-play-state: paused; pointer-events: none; }
.b8-balon.patladi img, .b8-balon.patladi span { animation: b8-balon-pat .32s ease-out forwards; }
@keyframes b8-balon-uc { to { bottom: 112%; margin-left: calc(var(--salin) * 60px); } }
@keyframes b8-balon-salin { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes b8-balon-pat { 40% { transform: scale(1.35); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.b8-kelimeyaz { background-image: url(../assets/img/harf/bg-harf-bahcesi.webp); }
.b8-ky-resim { position: absolute; left: 50%; top: 25%; height: 28%; aspect-ratio: 1; transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, .8); border-radius: 26px; padding: 10px; box-shadow: 0 8px 20px rgba(80, 40, 90, .25); }
.b8-ky-resim img { width: 100%; height: 100%; object-fit: contain; }
.b8-ky-resim.zipla { animation: b8-kzipla .5s ease-out; }
.b8-ky-kartlar { position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); display: flex; gap: 1.2vw; }
.b8-ky-kart { position: relative; width: clamp(64px, min(14vw, 12vh), 110px); aspect-ratio: .82; display: grid; place-items: center; }
.b8-ky-kart img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(80, 40, 90, .25)); }
.b8-ky-kart span { position: relative; font: 900 clamp(40px, 7vh, 70px)/1 'Baloo 2', 'Fredoka', sans-serif; transition: all .3s; }
.b8-ky-kart span.iz { color: rgba(145, 80, 255, .22); }
.b8-ky-kart span.gizli { color: transparent; }
.b8-ky-kart span.yazildi { color: #9150FF; text-shadow: 0 4px 0 #fff; animation: b8-hb-dol .4s cubic-bezier(.3, 1.6, .5, 1); }
.b8-ky-kart.zipla { animation: b8-hzipla .45s ease-out; }
.b8-ky-kart.parilda span { animation: b8-harf-parilda .5s ease-out; }
@keyframes b8-harf-parilda { 40% { transform: scale(1.3); color: #E8457A; } }
.b8-sahne .b8-ky-tas { width: clamp(58px, 11vh, 86px); aspect-ratio: 1; border-radius: 20px; background: linear-gradient(#fff, #f4ecff);
    box-shadow: 0 6px 0 #d8c6f2, 0 10px 18px rgba(90, 50, 140, .25); font: 900 clamp(34px, 6vh, 54px)/1 'Baloo 2', 'Fredoka', sans-serif; color: #E8457A; }
.b8-ky-tas.yeni { animation: b8-ates-gel .45s ease-out backwards; }
.b8-ky-tas.salla { animation: b8-salla .5s; }
.b8-ky-tas.zipla { animation: b8-hzipla .45s ease-out; }
.b8-ky-tas.parla { animation: b8-parla 1s ease-in-out infinite; box-shadow: 0 0 0 4px #ffcf4a, 0 10px 18px rgba(90, 50, 140, .25); }
.b8-ky-tas.git { transition: transform .4s ease-in, opacity .4s; transform: translate(-50%, 40%) scale(.3); opacity: 0; pointer-events: none; }
.b8-ky-kalem { position: absolute; left: 18%; top: 44%; height: 22%; opacity: 0; transform: rotate(-20deg); pointer-events: none; }
.b8-ky-kalem.yaz { animation: b8-kalem-yaz 1.1s ease-in-out forwards; }
@keyframes b8-kalem-yaz { 0% { opacity: 0; left: 16%; } 15% { opacity: 1; } 50% { top: 40%; } 85% { opacity: 1; left: 72%; } 100% { opacity: 0; left: 78%; top: 44%; } }

/* ---------- Yapboz: albüm, dönük parçalar, mıknatıs, canlanan resim ---------- */
.b8-yb-album { background: url(../assets/img/harf/bg-buyuk-kutuphane.webp) center / cover; overflow-y: auto; }
.b8-yb-raf { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(130px, 18vw, 200px), 1fr)); gap: 18px; padding: 24px; }
.b8-sahne .b8-yb-kart { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #fff; border: 5px solid #fff;
    box-shadow: 0 8px 0 #e6d6c0, 0 12px 22px rgba(70, 40, 20, .3); animation: b8-ates-gel .45s ease-out backwards; transition: transform .2s; }
.b8-yb-kart img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b8-yb-kart.kilit img { filter: grayscale(1) brightness(1.35) contrast(.5); opacity: .22; transform: scale(.94); }
.b8-yb-kart.kilit { background: #fff8ef; border-color: #f3e6d6; }
.b8-yb-kart.sira { border-color: #ffcf4a; animation: b8-ates-gel .45s ease-out backwards, b8-yb-sira 1.4s ease-in-out .6s infinite; }
@keyframes b8-yb-sira { 50% { transform: scale(1.06) rotate(-1.5deg); box-shadow: 0 8px 0 #e6d6c0, 0 0 0 6px rgba(255, 207, 74, .6), 0 12px 22px rgba(70, 40, 20, .3); } }
.b8-yb-kart.secildi { transform: scale(1.12); }
.b8-yb-kart.salla { animation: b8-salla .5s; }
.b8-yb-no { position: absolute; left: 8px; top: 6px; min-width: 32px; height: 32px; border-radius: 16px; background: #fff; display: grid; place-items: center;
    font: 900 18px/1 'Baloo 2', 'Nunito', sans-serif; color: #E8457A; box-shadow: 0 3px 8px rgba(0, 0, 0, .2); }
.b8-yb-adet { position: absolute; right: 8px; bottom: 6px; padding: 2px 10px; border-radius: 14px; background: rgba(255, 255, 255, .9); font: 800 15px/1.5 'Baloo 2', 'Nunito', sans-serif; color: #7a5a2a; }
/* Biten çıkartmanın köşesinde yıldız (yazı yok) */
.b8-yb-tik { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border-radius: 50%;
    background: #fff url(../assets/img/ogrenme/boya/damga-yildiz.webp) center / 78% no-repeat; box-shadow: 0 3px 8px rgba(0, 0, 0, .22); }
/* Kilitli karta dokununca hafifçe büyür, ceza yok */
.b8-yb-kart.dokun { animation: b8-yb-dokun .4s ease-out; }
@keyframes b8-yb-dokun { 50% { transform: scale(1.04); } }
/* Sıradaki kart gösterilirken ışıldar */
.b8-yb-kart.sira.goster { animation: b8-yb-yonlendir 1.2s ease-in-out 1; }
@keyframes b8-yb-yonlendir { 25% { transform: scale(1.12) rotate(-2deg); box-shadow: 0 0 0 10px rgba(255, 207, 74, .75); } 70% { transform: scale(1.04); } }
/* Yeni kazanılan çıkartma albüme uçarak girer */
.b8-yb-kart.yeni { animation: b8-yb-ucus .95s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes b8-yb-ucus {
    0% { transform: translate(-24vw, -34vh) scale(.25) rotate(-22deg); opacity: 0; }
    55% { opacity: 1; }
    80% { transform: translate(0, 0) scale(1.09) rotate(3deg); }
    100% { transform: translate(0, 0) scale(1) rotate(0); }
}
/* İlerleme: yıldız şeridi (sayı yok) */
.b8-yb-serit { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 5;
    display: flex; gap: 6px; padding: 8px 14px; border-radius: 22px; background: rgba(255, 255, 255, .82);
    box-shadow: 0 4px 12px rgba(120, 50, 100, .16); }
.b8-yb-yildiz { width: 22px; height: 22px; background: url(../assets/img/ogrenme/boya/damga-yildiz.webp) center / contain no-repeat;
    filter: grayscale(1) opacity(.3); }
.b8-yb-yildiz.dolu { filter: none; }
@media (max-width: 520px) { .b8-yb-yildiz { width: 16px; height: 16px; } .b8-yb-serit { gap: 4px; padding: 6px 10px; } }
/* Kilit ikonu kaldırıldı: kilitli çıkartma yalnız silik silüet olarak durur. */
.b8-sahne .b8-yb-geri { left: auto; right: 14px; top: 10px; z-index: 5; width: 54px; height: 54px; border-radius: 18px; background: #fff; font-size: 28px; box-shadow: 0 4px 10px rgba(120, 50, 100, .2); }
.b8-parca { transform: rotate(var(--don, 0deg)); transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.b8-parca.yeni { animation: b8-ates-gel .4s ease-out backwards; }
.b8-parca.zipla { animation: b8-hzipla .4s ease-out; }
.b8-parca.salla { animation: b8-salla .5s; }
.b8-parca.duz { animation: b8-hb-dol .35s ease-out; }
.b8-parca.tasiniyor { z-index: 50; box-shadow: 0 14px 26px rgba(60, 30, 80, .35); }
.b8-parca.yakin { box-shadow: 0 0 0 4px #ffcf4a, 0 0 22px #ffcf4a; }
.b8-parca.yerinde { transform: none; }
.b8-parca.oturdu { animation: b8-otur-parla .5s ease-out; }
@keyframes b8-otur-parla { 0% { filter: drop-shadow(0 0 0 rgba(255, 228, 130, 0)); } 45% { filter: drop-shadow(0 0 14px rgba(255, 228, 130, .95)); } 100% { filter: drop-shadow(0 0 0 rgba(255, 228, 130, 0)); } }
.b8-tahta.canlan { animation: b8-yb-canlan 2.4s ease-in-out forwards; }
@keyframes b8-yb-canlan { 25% { transform: scale(1.06) rotate(-1deg); } 55% { transform: scale(1.03) rotate(.8deg); } 100% { transform: scale(1.03); } }
.b8-yb-parilti { position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 4;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%) -150% 0 / 60% 100% no-repeat; }
.b8-tahta.canlan .b8-yb-parilti { animation: b8-yb-isik 1.6s ease-in-out .3s 2; }
@keyframes b8-yb-isik { 0% { opacity: 1; background-position: -150% 0; } 100% { opacity: 1; background-position: 250% 0; } }

/* ---------- Farkı Bul: fark türleri, sayaç, halka, bitince eşitlenme ---------- */
.b8-esya.fk-yok img { opacity: 0; }
.b8-esya.fk-renk img { filter: hue-rotate(150deg) saturate(1.4) drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
.b8-esya.fk-ters img { transform: scaleX(-1); }
.b8-esya.fk-buyuk img { transform: scale(1.4); transform-origin: 50% 100%; }
.b8-esya img { transition: transform .45s cubic-bezier(.3, 1.5, .5, 1), filter .45s; }
.b8-fk-sayac { position: absolute; z-index: 5; left: 50%; top: 10px; transform: translateX(-50%); display: flex; gap: 8px;
    background: rgba(255, 255, 255, .9); border-radius: 22px; padding: 7px 12px; box-shadow: 0 4px 12px rgba(40, 90, 50, .2); }
.b8-fk-sayac span { width: 26px; height: 26px; border-radius: 50%; border: 3px dashed #9fd8aa; box-sizing: border-box; transition: all .3s; }
.b8-fk-sayac span.dolu { border: 3px solid #fff; background: #38B44A; box-shadow: 0 0 0 2px #38B44A; animation: b8-hb-dol .4s cubic-bezier(.3, 1.6, .5, 1); }
.b8-fk-halka { position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(-30deg); border-radius: 50%;
    border: 4px solid #ff4f7b; box-shadow: 0 0 0 2px #fff, inset 0 0 0 2px #fff; pointer-events: none;
    animation: b8-fk-ciz .45s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes b8-fk-ciz { from { transform: translate(-50%, -50%) rotate(-120deg) scale(.2); opacity: 0; } }
.b8-esya.salla img { animation: b8-salla .45s; }
.b8-fark.esit .b8-fark-resim { animation: b8-fk-esit 1.2s ease-in-out; }
@keyframes b8-fk-esit { 40% { transform: scale(1.03); box-shadow: 0 0 0 6px #ffcf4a, 0 0 30px rgba(255, 207, 74, .8); } }

/* ---------- Doktor Sare: klinik (bekleme sırası, belirtiler, hasta kartı, tepsi, ovma) ---------- */
.b8-klinik { background-image: url(../assets/img/ogrenme/bg/cocuk-odasi.webp); }
.dk-sira { position: absolute; left: 1.5%; bottom: 25%; display: flex; flex-direction: column-reverse; gap: 2%; height: 50%; width: 11%; z-index: 2; }
.dk-bekleyen { width: 100%; height: 30%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(80, 40, 90, .3)); animation: dk-bekle 2.4s ease-in-out infinite; transition: transform .5s, opacity .5s; }
.dk-bekleyen:nth-child(2) { animation-delay: .6s; }
.dk-bekleyen:nth-child(3) { animation-delay: 1.2s; }
.dk-bekleyen.kalk { transform: translateX(200%) scale(.6); opacity: 0; }
@keyframes dk-bekle { 50% { transform: translateY(-5%) rotate(-3deg); } }
.dk-hasta { position: absolute; left: 40%; top: 44%; height: 54%; aspect-ratio: 1; transform: translate(-50%, -50%); transition: left 1s ease, opacity .9s; z-index: 3; }
.dk-hasta.gel { left: -20%; transition: none; }
.dk-hasta.git { left: 125%; opacity: 0; }
.dk-hasta.yuruyor .dk-govde { animation: b8-hzipla .33s ease-out 3; }
.dk-govde { position: relative; width: 100%; height: 100%; }
.dk-resim { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 10px 14px rgba(80, 40, 90, .3)); transition: filter .8s; }
.dk-hasta.ates .dk-resim { filter: drop-shadow(0 10px 14px rgba(80, 40, 90, .3)) sepia(.35) saturate(1.8) hue-rotate(-18deg) brightness(1.03); }
.dk-hasta.usume .dk-govde { animation: dk-titre .18s linear infinite; }
.dk-hasta.usume .dk-resim { filter: drop-shadow(0 10px 14px rgba(80, 40, 90, .3)) saturate(.65) brightness(1.05) hue-rotate(10deg); }
.dk-hasta.oksuruk .dk-govde { animation: dk-oksur 2.6s ease-in-out infinite; }
@keyframes dk-titre { 25% { transform: translateX(-1.2%); } 75% { transform: translateX(1.2%); } }
@keyframes dk-oksur { 0%, 70%, 100% { transform: none; } 76% { transform: translateY(3%) scale(1.03, .96); } 82% { transform: translateY(-1%); } 88% { transform: translateY(3%) scale(1.03, .96); } }
.dk-hasta.salla .dk-govde { animation: b8-salla .5s; }
.dk-hasta.titre .dk-govde { animation: dk-titre .15s linear 10; }
.dk-hasta.ah .dk-govde { animation: dk-ah .45s ease-out; }
@keyframes dk-ah { 30% { transform: scale(1.04, .92); } }
.dk-hasta.mutlu .dk-govde { animation: b8-hzipla .6s ease-out 3; }
.dk-govde > img:not(.dk-resim), .dk-govde > button { position: absolute; transform: translate(-50%, -50%); }
.dk-ter { width: 9%; animation: dk-ter 1.5s ease-in infinite; }
@keyframes dk-ter { 0% { opacity: 0; transform: translate(-50%, -50%); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 120%); } }
.dk-mikrop { width: 17%; animation: dk-mikrop 2.2s ease-in-out infinite; z-index: 2; }
.dk-mikrop img { width: 100%; }
.dk-mikrop.vuruldu { transition: transform .35s, opacity .35s; transform: translate(-50%, -50%) scale(1.8) !important; opacity: 0; animation: none; }
@keyframes dk-mikrop { 50% { transform: translate(-50%, -62%) rotate(12deg); } }
.dk-dmikrop { width: 10%; animation: dk-mikrop 1.8s ease-in-out infinite; transition: opacity .2s; }
.dk-camur { width: 30%; transition: opacity .2s; }
.dk-kar { width: 46%; transition: opacity .6s, transform .6s; }
.dk-kar.eri { opacity: 0; transform: translate(-50%, 0) scale(.6); }
.dk-uygula { position: absolute; transform: translate(-50%, -50%); transition: opacity .6s; animation: dk-tak .45s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none; }
.dk-uygula.kalk { opacity: 0; }
@keyframes dk-tak { from { transform: translate(-50%, -120%) scale(.4); opacity: 0; } }
.dk-uygula.termometre { left: 58%; top: 40%; width: 26%; rotate: -35deg; }
.dk-uygula.stetoskop { left: 50%; top: 60%; width: 36%; }
.dk-uygula.bardak, .dk-uygula.sut { left: 64%; top: 44%; width: 22%; animation: dk-ic 1.4s ease-in-out; }
@keyframes dk-ic { 0% { transform: translate(-20%, 20%) scale(.6); opacity: 0; } 25% { transform: translate(-50%, -50%); opacity: 1; } 50%, 85% { transform: translate(-50%, -50%) rotate(-35deg); } }
.dk-uygula.battaniye { left: 50%; top: 80%; width: 92%; }
.dk-uygula.atki { left: 50%; top: 56%; width: 50%; }
.dk-uygula.bere { left: 50%; top: 10%; width: 50%; }
.dk-uygula.yara-bandi { left: 34%; top: 74%; width: 22%; rotate: 20deg; }
.dk-uygula.kurdele { left: 62%; top: 62%; width: 22%; }
.dk-kopuk { position: absolute; width: 6%; transform: translate(-50%, -50%); pointer-events: none; z-index: 30; animation: dk-kopuk .9s ease-out forwards; }
@keyframes dk-kopuk { from { transform: translate(-50%, -50%) scale(.3); opacity: 1; } to { transform: translate(-50%, -140%) scale(1.1); opacity: 0; } }
.dk-kart { position: absolute; right: 2%; top: 4%; width: 19%; background: #fff; border-radius: 18px; padding: 8px; box-shadow: 0 6px 16px rgba(80, 40, 90, .25); border-top: 10px solid #4fb3e8; z-index: 4; }
.dk-kart-bas { text-align: center; font-size: 26px; line-height: 1; margin-bottom: 6px; }
.dk-adimlar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.dk-adim { position: relative; aspect-ratio: 1; border-radius: 12px; background: #eef6fb; display: grid; place-items: center; border: 3px dashed #b9dcef; }
.dk-adim img { width: 78%; height: 78%; object-fit: contain; opacity: .55; }
.dk-adim b { font: 900 30px 'Baloo 2', 'Nunito', sans-serif; color: #4fb3e8; }
.dk-adim.tamam { border: 3px solid #38B44A; background: #e6f8e8; animation: b8-hb-dol .45s cubic-bezier(.3, 1.6, .5, 1); }
.dk-adim.tamam img { opacity: 1; }
.dk-adim.tamam::after { content: '✓'; position: absolute; right: -6px; top: -8px; width: 24px; height: 24px; border-radius: 50%; background: #38B44A; color: #fff; font: 900 16px/24px sans-serif; text-align: center; }
.dk-kalpler { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; background: rgba(255, 255, 255, .85); border-radius: 22px; padding: 6px 12px; }
.dk-kalpler span { width: 34px; height: 34px; border-radius: 50%; border: 3px dashed #f5a3bd; box-sizing: border-box; display: grid; place-items: center; }
.dk-kalpler span.dolu { border: 0; animation: b8-hb-dol .5s cubic-bezier(.3, 1.6, .5, 1); }
.dk-kalpler img { width: 100%; height: 100%; object-fit: contain; }
.dk-tepsi { position: absolute; left: 14%; right: 2%; bottom: 2%; height: 22%; background: rgba(255, 255, 255, .78); border-radius: 26px; box-shadow: inset 0 4px 10px rgba(80, 40, 90, .15); z-index: 6; }
.dk-alet { height: 84%; aspect-ratio: 1; touch-action: none; transform: translate(-50%, -50%); transition: left .35s, top .35s, transform .2s; animation: b8-ates-gel .4s ease-out backwards; z-index: 1; }
.dk-alet img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(80, 40, 90, .3)); }
.dk-alet.tasiniyor { transition: none; transform: translate(-50%, -50%) scale(1.2); z-index: 20; }

/* ---------- İtfaiyeci Sare: görev çubuğu, alarm yolu, yayılan orman yangını, depo, fidan, kedi kurtarma ---------- */
.b8-itf.it-yol { background-image: url(../assets/img/ogrenme/bg/yaya-gecidi.webp); }
.b8-itf.it-orman { background-image: url(../assets/img/ogrenme/bg/hava-gunesli.webp); }
.it-alan { position: absolute; inset: 0; }
.it-cubuk { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 40; background: rgba(255, 255, 255, .88); border-radius: 24px; padding: 6px 12px; }
.it-durak { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 3px dashed #f3a0a0; position: relative; opacity: .55; transition: all .3s; }
.it-durak img { width: 80%; height: 80%; object-fit: contain; }
.it-durak.simdi { opacity: 1; border: 3px solid #e84545; transform: scale(1.15); }
.it-durak.tamam { opacity: 1; border: 3px solid #38B44A; background: #e6f8e8; }
.it-durak.tamam::after { content: '✓'; position: absolute; right: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: #38B44A; color: #fff; font: 900 13px/20px sans-serif; text-align: center; }
.it-arac-yol { left: 38%; top: 66%; width: 40%; transform: translate(-50%, -50%); animation: it-gel 1.1s cubic-bezier(.2, .9, .3, 1); transition: left 1.7s cubic-bezier(.6, 0, .9, .6); }
.it-arac-yol img { width: 100%; animation: it-siren .5s steps(2) infinite; }
.it-arac-yol.git { left: 150%; }
.it-arac-yol.git img { animation: it-siren .25s steps(2) infinite, b8-hzipla .2s linear infinite; }
@keyframes it-gel { from { left: -30%; } }
@keyframes it-siren { 0% { filter: drop-shadow(0 0 14px rgba(255, 40, 40, .95)); } 100% { filter: drop-shadow(0 0 14px rgba(40, 110, 255, .95)); } }
.it-agac { width: calc(19% * var(--b)); aspect-ratio: .8; transform: translate(-50%, -88%); }
.it-agac-resim { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transition: filter 1.2s, transform 1.2s; transform-origin: 50% 100%; }
.it-alev { position: absolute; left: 50%; top: 30%; width: 56%; transform: translate(-50%, -50%) scale(0); transform-origin: 50% 90%; transition: transform .5s cubic-bezier(.3, 1.5, .5, 1); pointer-events: none; }
.it-alev img { width: 100%; animation: b8-alev .8s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.it-agac.yaniyor .it-alev { transform: translate(-50%, -50%) scale(var(--a, .6)); }
.it-agac.yaniyor .it-agac-resim { filter: sepia(.5) saturate(1.4) hue-rotate(-20deg) brightness(.9); animation: it-yan 1.4s ease-in-out infinite; }
@keyframes it-yan { 50% { transform: rotate(1.5deg); } }
.it-agac.islak .it-agac-resim { filter: saturate(1.3) brightness(1.08) drop-shadow(0 0 10px rgba(80, 170, 255, .95)); }
.it-agac.komur .it-agac-resim { filter: grayscale(1) sepia(.35) brightness(.34) contrast(1.15); transform: scaleY(.9); }
.it-agac.fidan .it-agac-resim { animation: it-fidan 1.6s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes it-fidan { 0% { transform: scale(0); } 30% { transform: scale(.25); filter: none; } 100% { transform: scale(1); } }
.it-agac.islandi .it-agac-resim { animation: b8-salla .4s; }
.it-agac.sicra .it-alev { animation: it-sicra .5s ease-out; }
@keyframes it-sicra { from { transform: translate(-150%, -50%) scale(.2); } }
.it-agac.parla .it-agac-resim { animation: b8-parla 1s ease-in-out infinite; }
.it-duman { position: absolute; width: 9%; transform: translate(-50%, -50%) scale(var(--s)); filter: grayscale(1) brightness(.62); opacity: 0; pointer-events: none; z-index: 90; animation: it-duman 2.6s ease-out forwards; }
@keyframes it-duman { 10% { opacity: .75; } to { transform: translate(-30%, -260%) scale(calc(var(--s) * 2)); opacity: 0; } }
.it-depo { position: absolute; left: 1.5%; top: 64px; display: flex; flex-direction: column-reverse; gap: 3px; z-index: 95; background: rgba(255, 255, 255, .85); border-radius: 14px; padding: 6px; }
.it-depo span { width: 22px; height: 14px; border-radius: 6px; background: #dde8ef; transition: background .2s; }
.it-depo span.dolu { background: linear-gradient(#7fd0ff, #2b8fe0); }
.it-kova { left: 9%; top: 50%; width: 9%; transform: translate(-50%, -50%); z-index: 95; }
.it-kova img { width: 100%; }
.it-kova.dok img { animation: it-dok .7s ease-in-out; }
@keyframes it-dok { 50% { transform: rotate(-40deg) translateY(-10%); } }
.b8-itf .it-arac { z-index: 96; }
.b8-itf .b8-hortum { z-index: 97; }
.it-dev-agac { position: absolute; left: 60%; top: 52%; height: 78%; transform: translate(-50%, -50%); filter: drop-shadow(0 10px 14px rgba(40, 70, 30, .3)); }
.it-kedi { left: 60%; top: 26%; width: 13%; transform: translate(-50%, -50%); z-index: 10; transition: left .35s, top .9s cubic-bezier(.5, -0.6, .7, 1); }
.it-kedi img { width: 100%; animation: dk-titre .25s linear infinite; }
.it-kedi.atla { top: 74%; }
.it-kedi.atla img, .it-kedi.kurtuldu img { animation: none; }
.it-kedi.kurtuldu img { animation: b8-hzipla .8s ease-out infinite; }
.it-kedi.yiyor img { animation: dk-oksur 1s ease-in-out infinite; }
.it-hedef { position: absolute; left: 60%; top: 84%; width: 20%; aspect-ratio: 2.2; transform: translate(-50%, -50%); border: 4px dashed #fff; border-radius: 50%; animation: b8-parla 1.2s ease-in-out infinite; transition: opacity .3s; }
.it-hedef.gizle { opacity: 0; }
.it-battaniye { width: 18%; z-index: 9; }
.it-battaniye img { width: 100%; }
.it-battaniye.zipla img { animation: dk-ah .5s ease-out; }
.it-mama { position: absolute; left: 86%; top: 80%; width: 11%; transform: translate(-50%, -50%); }
.it-mama img { width: 100%; }

/* ---------- Fırıncı Sare: müşteri, tarif kartı, kase, hamur, tepsi, fırın (renk değişimi), raf ---------- */
.b8-firin { background-image: url(../assets/img/bg/mutfak.webp); }
.fr-musteri { position: absolute; right: 3%; top: 30%; height: 44%; aspect-ratio: .8; transition: right 1s ease, opacity .9s; z-index: 3; }
.fr-musteri.gel { right: -30%; transition: none; }
.fr-musteri.git { right: -40%; opacity: 0; }
.fr-m-resim { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(80, 40, 90, .3)); animation: dk-bekle 2.6s ease-in-out infinite; }
.fr-balon { position: absolute; left: -36%; top: -22%; min-width: 60%; height: 34%; background: #fff; border-radius: 22px; display: flex; gap: 6px; align-items: center; justify-content: center; padding: 4px 10px; box-shadow: 0 6px 14px rgba(80, 40, 90, .25); }
.fr-balon:empty { display: none; }
.fr-balon::after { content: ''; position: absolute; right: 18%; bottom: -12px; border: 8px solid transparent; border-top: 12px solid #fff; }
.fr-istek { height: 86%; transition: transform .3s, opacity .3s; opacity: .55; }
.fr-istek.simdi { opacity: 1; transform: scale(1.15); animation: b8-titre 2s ease-in-out infinite; }
.fr-kart { position: absolute; left: 2%; top: 13%; display: flex; align-items: center; gap: 4px; background: #fffaf2; border-radius: 18px; padding: 6px 10px; box-shadow: 0 6px 14px rgba(120, 70, 30, .25); border-left: 8px solid #f2a65a; z-index: 4; height: 13%; }
.fr-kart:empty { display: none; }
.fr-kart > img { height: 100%; object-fit: contain; }
.fr-kart-urun { height: 100%; }
.fr-esit, .fr-arti { font: 900 26px 'Baloo 2', 'Nunito', sans-serif; color: #c2783a; }
.fr-kart-m { height: 100%; aspect-ratio: 1; border-radius: 12px; border: 3px dashed #f2c79a; display: grid; place-items: center; position: relative; }
.fr-kart-m img { position: absolute; left: 9%; top: 9%; width: 82%; height: 82%; object-fit: contain; opacity: .6; }
.fr-kart-m.tamam { border: 3px solid #38B44A; background: #e6f8e8; animation: b8-hb-dol .45s cubic-bezier(.3, 1.6, .5, 1); }
.fr-kart-m.tamam img { opacity: 1; }
.fr-kart-m.tamam::after { content: '✓'; position: absolute; right: -7px; top: -8px; width: 20px; height: 20px; border-radius: 50%; background: #38B44A; color: #fff; font: 900 13px/20px sans-serif; text-align: center; }
.fr-tezgah { position: absolute; left: 16%; top: 34%; width: 38%; height: 42%; z-index: 2; }
.fr-kase { position: absolute; left: 50%; top: 55%; width: 62%; transform: translate(-50%, -50%); transition: left .6s, width .6s, transform .6s; cursor: pointer; }
.fr-kase-resim { width: 100%; display: block; filter: drop-shadow(0 8px 10px rgba(80, 40, 90, .3)); }
.fr-kase-ic { position: absolute; left: 12%; right: 12%; top: 4%; height: 40%; }
.fr-dusen { position: absolute; top: 40%; width: 30%; transform: translate(-50%, -50%); animation: fr-dus .5s cubic-bezier(.5, 0, .7, 1.4); }
@keyframes fr-dus { from { transform: translate(-50%, -260%) rotate(-30deg); } }
.fr-kase-hamur { position: absolute; left: 50%; top: 40%; width: 64%; transform: translate(-50%, -50%); animation: b8-ates-gel .5s ease-out; }
.fr-kase.salla { animation: b8-salla .45s; }
.fr-kase.kenara { left: 14%; width: 30%; opacity: .7; }
.fr-kase.dok { transform: translate(-30%, -70%) rotate(-50deg); }
.fr-kase.parla .fr-kase-resim { animation: b8-parla 1s ease-in-out infinite; }
.fr-hamur { left: 58%; top: 52%; width: 44%; transform: translate(-50%, -50%); animation: fr-zipla-gel .6s cubic-bezier(.3, 1.5, .5, 1); transition: transform .35s; }
.fr-hamur img { width: 100%; filter: drop-shadow(0 6px 8px rgba(80, 40, 90, .25)); }
.fr-hamur.yogur img { animation: fr-yogur .3s ease-out; }
.fr-hamur.zipla img { animation: b8-hzipla .5s ease-out; }
.fr-hamur.bitti { opacity: 0; transition: opacity .5s; }
@keyframes fr-yogur { 40% { transform: scale(1.18, .78); } }
@keyframes fr-zipla-gel { from { transform: translate(-150%, -120%) scale(.4); } }
.fr-tepsi { position: absolute; left: 50%; top: 60%; width: 80%; transform: translate(-50%, -50%); animation: b8-ates-gel .4s ease-out; }
.fr-tepsi-resim { width: 100%; display: block; }
.fr-tepsi-ic, .fr-tabak-ic { position: absolute; inset: 8% 14%; display: flex; align-items: center; justify-content: center; gap: 4%; }
.fr-urun { flex: 0 1 30%; display: grid; place-items: center; animation: fr-dus .45s cubic-bezier(.5, 0, .7, 1.4); }
.fr-urun img { width: 100%; max-height: 100%; object-fit: contain; transition: filter .6s; }
.fr-urun.sicak::after { content: ''; }
.fr-urun.zipla img { animation: b8-hzipla .5s ease-out; }
.fr-firin { left: 55%; top: 26%; width: 22%; transform: translate(0, 0); z-index: 2; }
.fr-firin > img { width: 100%; filter: drop-shadow(0 10px 14px rgba(80, 40, 90, .3)); }
.fr-firin.bekliyor > img, .fr-firin.hazir > img { animation: b8-parla 1s ease-in-out infinite; }
.fr-firin.salla > img { animation: b8-salla .45s; }
.fr-ates-isik { position: absolute; left: 50%; top: 62%; width: 40%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(rgba(255, 170, 60, .8), rgba(255, 120, 40, 0) 70%); opacity: 0; transition: opacity .6s; pointer-events: none; }
.fr-firin.yaniyor .fr-ates-isik { opacity: 1; animation: b8-alev .9s ease-in-out infinite alternate; }
.fr-firin-ic { position: absolute; left: 30%; right: 30%; top: 50%; height: 22%; display: flex; justify-content: center; gap: 2%; pointer-events: none; }
.fr-pisen { height: 100%; object-fit: contain; }
.fr-gosterge { position: absolute; left: 6%; right: 6%; bottom: -12%; height: 14px; border-radius: 8px; overflow: hidden;
    background: linear-gradient(90deg, #f6ead8 0 50%, #ffc94d 50% 82%, #7a4a2a 82%); box-shadow: inset 0 0 0 2px #fff, 0 2px 6px rgba(0, 0, 0, .2); opacity: 0; transition: opacity .4s; }
.fr-firin.yaniyor .fr-gosterge { opacity: 1; }
.fr-gosterge i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-right: 4px solid #e8457a; }
.fr-raf { position: absolute; left: 14%; right: 2%; bottom: 2%; height: 21%; background: rgba(255, 250, 242, .85); border-radius: 26px; box-shadow: inset 0 4px 10px rgba(120, 70, 30, .15); z-index: 6; }
.fr-esya { height: 84%; aspect-ratio: 1; touch-action: none; transform: translate(-50%, -50%); transition: left .35s, top .35s, transform .2s; animation: b8-ates-gel .4s ease-out backwards; }
.fr-esya > img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(80, 40, 90, .3)); }
.fr-esya.tasiniyor { transition: none; transform: translate(-50%, -50%) scale(1.15); z-index: 20; }
.fr-tepsi-tasi, .fr-servis { aspect-ratio: 2; }
.fr-tepsi-tasi > img, .fr-servis > img { position: absolute; inset: 0; }

/* ---------- Postacı Sare: ayıklama (renkli posta kutuları), mahalle (evler, araba, çanta, köpek, cevap) ---------- */
.b8-posta.ps-ic { background-image: url(../assets/img/harf/bg-buyuk-kutuphane.webp); }
.b8-posta.ps-sokak { background-image: url(../assets/img/ogrenme/bg/yaya-gecidi.webp); }
.b8-posta.ps-sokak2 { background-image: url(../assets/img/ogrenme/bg/elma-koyu.webp); }
.ps-alan { position: absolute; inset: 0; }
.ps-kutu { position: absolute; bottom: 3%; width: 17%; transform: translateX(-50%); }
.ps-kutu-resim { width: 100%; display: block; filter: drop-shadow(0 8px 10px rgba(60, 40, 20, .3)); transform-origin: 50% 100%; }
.ps-kutu.salla .ps-kutu-resim { animation: b8-salla .45s; }
.ps-kutu.bayrak .ps-kutu-resim, .ps-yol-kutu.bayrak img { animation: ps-bayrak .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ps-bayrak { 30% { transform: scale(1.12, .9); } 60% { transform: scale(.95, 1.08); } }
.ps-kutu.parla .ps-kutu-resim { animation: b8-parla 1s ease-in-out infinite; }
.ps-mektup { width: 12%; z-index: 5; animation: b8-ates-gel .4s ease-out backwards; }
.ps-mektup { rotate: var(--d); }
.ps-mektup > img:first-child { width: 100%; }
.ps-mektup.iceri, .ps-elde.iceri { transform: translate(-50%, -50%) scale(.2); opacity: 0; transition: left .35s, top .35s, transform .45s ease-in, opacity .45s; }
.ps-ev { position: absolute; top: 34%; width: 17%; transform: translateX(-50%); }
.ps-ev-resim { position: relative; width: 100%; display: block; filter: drop-shadow(0 8px 10px rgba(40, 60, 30, .3)); z-index: 2; }
.ps-ev.parla .ps-ev-resim { animation: b8-parla 1s ease-in-out infinite; }
.ps-ev.teslim::after { content: '💌'; position: absolute; right: 2%; top: 8%; font-size: 22px; z-index: 4; animation: b8-hb-dol .5s cubic-bezier(.3, 1.6, .5, 1); }
.ps-pencere { position: absolute; left: 50%; top: 52%; width: 32%; transform: translate(-50%, -50%); z-index: 3; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 3px #fff; }
.ps-no { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); z-index: 3; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #E8457A; font: 900 24px/34px 'Baloo 2', 'Nunito', sans-serif; text-align: center; box-shadow: 0 3px 6px rgba(0, 0, 0, .2); }
.ps-sakin { position: absolute; left: 50%; bottom: 20%; width: 52%; transform: translate(-50%, 0) scale(.6); opacity: 0; z-index: 1; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .3s, bottom .45s; }
.ps-sakin.cik { bottom: 78%; opacity: 1; transform: translate(-50%, 0) scale(1); z-index: 3; }
.ps-sakin.cik.mutlu { animation: b8-hzipla .5s ease-out 3 .4s; }
.ps-sakin.cik.hayir { animation: b8-salla .45s ease-in-out 3 .4s; }
.ps-araba { position: absolute; left: 6%; top: 84%; width: 15%; transform: translate(-50%, -50%); transition: left 1s cubic-bezier(.5, 0, .3, 1); z-index: 3; }
.ps-araba img { width: 100%; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .25)); }
.ps-araba.sur img { animation: b8-hzipla .2s linear 4; }
.ps-canta { position: absolute; left: 3%; top: 8%; width: 18%; height: 21%; border-radius: 20px; background: rgba(255, 255, 255, .85); box-shadow: 0 6px 14px rgba(80, 40, 90, .2); border-top: 8px solid #f2a65a; }
.ps-canta-say { position: absolute; right: 8px; bottom: 4px; font: 800 18px 'Baloo 2', 'Nunito', sans-serif; color: #c2783a; }
.ps-elde { width: 13%; z-index: 30; animation: b8-ates-gel .45s cubic-bezier(.3, 1.5, .5, 1); }
.ps-elde-resim { width: 100%; display: block; }
.ps-adres-yuz { position: absolute; right: -14%; top: -26%; width: 52%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #fff, 0 3px 8px rgba(0, 0, 0, .2); }
.ps-adres-no { position: absolute; right: -10%; top: -22%; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #E8457A; font: 900 24px/34px 'Baloo 2', 'Nunito', sans-serif; text-align: center; box-shadow: 0 3px 6px rgba(0, 0, 0, .2); }
.ps-etiket { position: absolute; right: -10%; top: -18%; width: 46%; }
.ps-etiket img { width: 100%; }
.ps-elde.kapiya { transform: translate(-50%, -50%) scale(.45); opacity: 0; transition: left .45s ease-in, top .45s ease-in, transform .5s, opacity .5s .2s; }
.ps-kopek { top: 66%; width: 9%; transform: translate(40%, -50%); z-index: 4; transition: transform .6s, left .6s; }
.ps-kopek img { width: 100%; }
.ps-kopek.havla img { animation: ps-havla .5s ease-out; }
@keyframes ps-havla { 20% { transform: scale(1.1) rotate(-6deg); } 40% { transform: scale(1.12) rotate(6deg); } }
.ps-kopek.sakin { transform: translate(140%, -40%) scale(.85); }
.ps-kopek.sakin img { animation: dk-bekle 1.6s ease-in-out infinite; }
.ps-kemik { width: 10%; z-index: 30; animation: b8-ates-gel .4s ease-out; }
.ps-kemik img { width: 100%; }
.ps-konfeti { position: absolute; left: 50%; top: 20%; width: 140%; transform: translate(-50%, -50%); z-index: 6; pointer-events: none; animation: ps-konfeti 1.4s ease-out forwards; }
@keyframes ps-konfeti { from { transform: translate(-50%, -50%) scale(.2); opacity: 1; } to { transform: translate(-50%, -60%) scale(1.2); opacity: 0; } }
.ps-yol-kutu { position: absolute; right: 6%; top: 62%; width: 11%; animation: b8-ates-gel .5s ease-out; z-index: 3; }
.ps-yol-kutu img { width: 100%; }
.ps-yol-kutu.parla img { animation: b8-parla 1s ease-in-out infinite; }
.ps-kutu-balon { position: absolute; left: 58%; top: -62%; width: 48%; animation: dk-bekle 2.4s ease-in-out infinite; transform-origin: 50% 100%; }
.ps-m-balon { position: absolute; right: -8%; top: -38%; width: 30%; animation: dk-bekle 2.2s ease-in-out infinite; }
.ps-ev-balon { position: absolute; right: -6%; top: -18%; width: 26%; z-index: 3; animation: dk-bekle 2.6s ease-in-out infinite; }

/* ---------- İnşaatçı Sare: plan kartı, kunduz usta, kazı, duvar örme, vinç, taşınma ---------- */
.b8-insaat { background-image: url(../assets/img/ogrenme/bg/hava-gunesli.webp); }
.in-alan { position: absolute; inset: 0; }
.in-plan { position: absolute; left: 2%; top: 12%; width: 15%; aspect-ratio: .8; background: #eaf4ff; border-radius: 16px; border: 4px solid #fff; box-shadow: 0 6px 14px rgba(40, 80, 140, .25); z-index: 4; }
.in-plan.gel { animation: b8-ates-gel .5s cubic-bezier(.3, 1.5, .5, 1); }
.in-plan-bas { position: absolute; left: 6px; top: 2px; font-size: 20px; }
.in-plan-ev { position: absolute; left: 50%; top: 52%; height: 62%; transform: translate(-50%, -50%); }
.in-plan-sahip { position: absolute; right: -14%; bottom: -10%; width: 46%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #fff, 0 3px 8px rgba(0, 0, 0, .2); }
.in-kunduz { position: absolute; left: 3%; bottom: 25%; height: 26%; z-index: 4; filter: drop-shadow(0 6px 8px rgba(60, 40, 20, .3)); transform-origin: 50% 100%; }
.in-kunduz.zipla { animation: b8-hzipla .5s ease-out 2; }
.in-ev { position: absolute; left: 56%; bottom: 25%; height: 48%; transform: translateX(-50%); transform-origin: 50% 100%; z-index: 2; }
.in-ev-resim { height: 100%; display: block; filter: drop-shadow(0 8px 10px rgba(60, 40, 20, .3)); transition: clip-path .5s cubic-bezier(.3, 1.4, .5, 1); }
.in-ev.or { animation: in-or .35s ease-out; }
@keyframes in-or { 40% { transform: translateX(-50%) scale(1.04, .95); } }
.in-ev.mutlu { animation: in-mutlu .5s ease-out 3; }
@keyframes in-mutlu { 40% { transform: translateX(-50%) translateY(-6%) scale(1.03); } }
.in-toprak { bottom: 24%; width: 15%; transform: translateX(-50%) scale(var(--b, 1)); transform-origin: 50% 100%; transition: transform .35s; z-index: 3; }
.in-toprak img { width: 100%; }
.in-toprak.kazildi img { animation: dk-ah .35s ease-out; }
.in-toprak.bitti { transform: translateX(-50%) scale(0); }
.in-toprak.parla img { animation: b8-parla 1s ease-in-out infinite; }
.in-kamyon { position: absolute; right: 2%; bottom: 25%; width: 17%; transition: right 1.6s cubic-bezier(.6, 0, .9, .6); z-index: 3; }
.in-kamyon img { width: 100%; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .25)); }
.in-kamyon.yuk img { animation: dk-ah .35s ease-out; }
.in-kamyon.git { right: -30%; }
.in-ucan { position: absolute; width: 7%; transform: translate(-50%, -50%); z-index: 20; pointer-events: none; transition: transform .6s cubic-bezier(.3, -.4, .6, 1); }
.in-toz { z-index: 5; }
.in-raf .fr-esya { height: 90%; }
.in-cati-sec { top: 50%; height: 92%; transform: translate(-50%, -50%); }
.in-cati-sec img { height: 100%; }
.in-cati-sec.salla img { animation: b8-salla .45s; }
.in-cati-sec.parla img { animation: b8-parla 1s ease-in-out infinite; }
.in-vinc { position: absolute; top: 3%; height: 34%; z-index: 6; cursor: grab; touch-action: none; transition: opacity .8s, transform .8s; }
.in-vinc img { height: 100%; display: block; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .25)); }
.in-vinc.tasiniyor img { animation: b8-hzipla .25s linear infinite; }
.in-vinc.parla img { animation: b8-parla 1s ease-in-out infinite; }
.in-vinc.git { opacity: 0; transform: translateY(-30%); }
.in-cati { bottom: auto; transform: none; z-index: 5; pointer-events: none; transform-origin: 50% 0; }
.in-cati.sallan { animation: in-sallan 1s ease-in-out infinite; }
@keyframes in-sallan { 25% { transform: rotate(3deg); } 75% { transform: rotate(-3deg); } }
.in-cati.kaydi { animation: in-kaydi .9s ease-in-out; }
@keyframes in-kaydi { 40% { transform: translateY(18%); } 55% { transform: translateY(14%) rotate(6deg); } }
.in-cati.in { transition: left .3s, top .8s cubic-bezier(.5, 0, .7, 1.3); }
.in-sahip { position: absolute; left: -12%; bottom: 25%; height: 18%; z-index: 4; transform: translateX(-50%); transition: left 2s linear, transform .5s, opacity .5s; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
.in-sahip.yuru { animation: b8-hzipla .4s ease-out infinite; }
.in-sahip.gir { transform: translateX(-50%) scale(.3); opacity: 0; animation: none; }

/* ---------------------------------------------------------------- Polis Sare */
.b8-polis { background-image: url(../assets/img/ogrenme/bg/hava-gunesli.webp); }
.b8-polis[data-faz="yol"] { background: #CFE7F5; }
.pl-alan { position: absolute; inset: 0; }
/* 1. kayıp yavru */
.pl-kopek { position: absolute; left: 1%; bottom: 20%; height: 32%; z-index: 4; transform-origin: 50% 100%; filter: drop-shadow(0 6px 8px rgba(30, 40, 90, .3)); }
.pl-kopek.zipla { animation: b8-hzipla .45s ease-out 2; }
.pl-anne { position: absolute; left: 22%; bottom: 20%; height: 24%; transform: translateX(-50%); transform-origin: 50% 100%; z-index: 3; animation: pl-uzgun 2.4s ease-in-out infinite; }
.pl-anne img { height: 100%; display: block; filter: drop-shadow(0 6px 8px rgba(60, 40, 20, .25)); }
.pl-anne.mutlu { animation: in-mutlu .5s ease-out 3; }
@keyframes pl-uzgun { 50% { transform: translateX(-50%) rotate(-4deg); } }
.pl-yer { position: absolute; bottom: 20%; height: 26%; transform: translateX(-50%); background: none; border: 0; padding: 0; cursor: pointer; z-index: 2; }
.pl-yer-resim { height: 100%; display: block; position: relative; z-index: 2; filter: drop-shadow(0 8px 8px rgba(40, 30, 60, .25)); }
.pl-yer.salla .pl-yer-resim { animation: b8-salla .45s; }
.pl-yer.parla .pl-yer-resim { animation: b8-parla 1s ease-in-out infinite; }
.pl-saklanan { position: absolute; left: 50%; bottom: 25%; height: 62%; z-index: 1; opacity: 0; transform: translate(-50%, 30%) scale(.4); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; }
.pl-yer.buldu .pl-saklanan { opacity: 1; z-index: 3; transform: translate(-50%, -70%) scale(1); }
.pl-kosan { position: absolute; bottom: 20%; height: 16%; transform: translateX(-50%); z-index: 5; transition: left 1.8s linear; animation: b8-hzipla .35s ease-out infinite; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .2)); }
.pl-kosan.vardi { animation: in-mutlu .5s ease-out 2; }
.pl-izler { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.pl-iz { position: absolute; font-size: clamp(18px, 3.6vh, 34px); transform: translate(-50%, 50%) rotate(90deg); opacity: var(--soluk, 1); pointer-events: auto; cursor: pointer;
    filter: sepia(1) saturate(2) hue-rotate(-20deg) brightness(.75); animation: pl-iz-gel .4s ease-out var(--d) backwards; }
.pl-iz.bas { animation: pl-iz-bas .4s ease-out; }
.pl-izler.goster .pl-iz { animation: pl-iz-goster .5s ease-in-out var(--d) 2; }
@keyframes pl-iz-gel { from { opacity: 0; transform: translate(-50%, 50%) rotate(90deg) scale(.2); } }
@keyframes pl-iz-bas { 50% { transform: translate(-50%, 50%) rotate(90deg) scale(1.5); } }
@keyframes pl-iz-goster { 50% { opacity: 1; transform: translate(-50%, 50%) rotate(90deg) scale(1.6); filter: drop-shadow(0 0 8px #fff27a); } }
/* 2. yaya geçidi (yasam.css .ys-cadde, .ys-yaya, .ys-araba ile) */
.pl-yol { position: absolute; inset: 64px 8px 8px 8px; border-radius: 22px; }
.pl-yol-kopek { position: absolute; left: 3%; top: 30%; height: 40%; z-index: 95; filter: drop-shadow(0 6px 8px rgba(30, 40, 90, .3)); }
.pl-araba { pointer-events: auto; cursor: pointer; touch-action: none; }
.pl-araba.fren { animation: pl-fren .4s ease-out; }
.pl-araba.parla { filter: drop-shadow(0 0 10px #fff6a0) drop-shadow(0 0 20px #ffd23f); }
@keyframes pl-fren { 40% { translate: 0 -4%; rotate: -3deg; } }
.pl-yaya.parla .ys-yaya-resim { animation: b8-parla 1s ease-in-out infinite; }
/* 3. kayıp eşyalar */
.pl-raf { left: 14%; }
.pl-sahip { position: absolute; bottom: 27%; height: 36%; transform: translateX(-50%); transform-origin: 50% 100%; z-index: 3; cursor: pointer; }
.pl-sahip-resim { height: 100%; display: block; filter: drop-shadow(0 8px 8px rgba(40, 30, 60, .25)); }
.pl-sahip.zipla { animation: b8-hzipla .45s ease-out 2; }
.pl-sahip.salla .pl-sahip-resim { animation: b8-salla .45s; }
.pl-sahip.parla .pl-sahip-resim { animation: b8-parla 1s ease-in-out infinite; }
.pl-sahip-esya { position: absolute; left: 62%; bottom: 18%; height: 34%; animation: b8-ates-gel .4s cubic-bezier(.3, 1.5, .5, 1); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
.pl-esya { position: absolute; height: 17%; z-index: 7; }
.pl-esya.salla > img { animation: b8-salla .45s; }
.pl-esya.parla > img { animation: b8-parla 1s ease-in-out infinite; }
