/* Dedektif Kerem · kelime_coz (Atölye A, 16 Kas 2026). Sınıflar .o-kelime_coz / .okc- önekli. */
.o-kelime_coz { position: absolute; inset: 0; background: rgba(29,26,43,.42); touch-action: none; z-index: 5; }
.o-kelime_coz .okc-kagit { --okc-tas: 96px; position: absolute; left: 36px; top: 26px; width: 1208px; height: 668px; background: var(--krem, #F5EDD5);
  border: 6px solid var(--kahve, #5A3A26); border-radius: 30px; box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.o-kelime_coz .okc-baslik { position: absolute; left: 0; right: 0; top: 16px; text-align: center; pointer-events: none; }
.o-kelime_coz .okc-baslik h2 { margin: 0; font-size: 40px; line-height: 1.1; color: var(--kahve, #5A3A26); }
.o-kelime_coz .okc-baslik p { margin: 4px 0 0; font-size: 24px; font-weight: 600; color: #6b5440; }

/* sol: çanta + envanter */
.o-kelime_coz .okc-sol { position: absolute; left: 22px; top: 112px; width: 258px; height: 536px; display: flex; flex-direction: column; align-items: center;
  background: #fff7e3; border: 4px dashed #d8c39a; border-radius: 26px; padding-top: 10px; }
.o-kelime_coz .okc-canta { width: 220px; height: 230px; display: flex; align-items: flex-end; justify-content: center; }
.o-kelime_coz .okc-canta img { max-width: 100%; max-height: 100%; filter: drop-shadow(0 6px 4px rgba(0,0,0,.22)); pointer-events: none; }
.o-kelime_coz .okc-canta.ciz { position: relative; }
.o-kelime_coz .okc-canta.ciz::before { content: ""; position: absolute; left: 20px; right: 20px; bottom: 10px; height: 150px; border-radius: 26px 26px 34px 34px; background: linear-gradient(#c97b45, #9a5a30); border: 5px solid var(--kahve, #5A3A26); }
.o-kelime_coz .okc-canta.ciz::after { content: "★"; position: absolute; left: 50%; bottom: 60px; transform: translateX(-50%); font-size: 46px; color: var(--sari, #F2B42A); }
.o-kelime_coz .okc-canta-ad { font-size: 26px; font-weight: 800; color: var(--kahve, #5A3A26); margin: 4px 0 10px; }
.o-kelime_coz .okc-envanter { display: grid; grid-template-columns: 104px 104px; gap: 12px; }
.o-kelime_coz .okc-env { width: 104px; height: 104px; border-radius: 22px; background: #efe3c4; border: 4px solid #d8c39a; display: grid; place-items: center; }
.o-kelime_coz .okc-env img { max-width: 82px; max-height: 82px; filter: brightness(0) opacity(.18); transition: filter .4s; pointer-events: none; }
.o-kelime_coz .okc-env .okc-emoji { font-size: 54px; filter: grayscale(1) opacity(.25); }
.o-kelime_coz .okc-env.bulundu { background: #eafaf7; border-color: var(--turkuaz, #5ABBAD); box-shadow: 0 0 0 4px rgba(90,187,173,.25); }
.o-kelime_coz .okc-env.bulundu img { filter: drop-shadow(0 3px 2px rgba(0,0,0,.25)); }
.o-kelime_coz .okc-env.bulundu .okc-emoji { filter: none; }

/* sağ: resim kartı, yuvalar, tepsi */
.o-kelime_coz .okc-sag { position: absolute; left: 300px; right: 22px; top: 112px; bottom: 20px; display: flex; flex-direction: column; align-items: center; }
.o-kelime_coz .okc-kart { width: 100%; height: 214px; display: flex; gap: 22px; align-items: center; padding: 0 130px 0 10px; }
.o-kelime_coz .okc-resim { flex: none; width: 210px; height: 210px; border-radius: 26px; background: #fff; border: 5px solid var(--sari, #F2B42A); box-shadow: 0 7px 0 #d8a032;
  display: grid; place-items: center; transform: rotate(-3deg); }
.o-kelime_coz .okc-resim-img { max-width: 172px; max-height: 172px; transition: filter .6s; pointer-events: none; }
.o-kelime_coz span.okc-resim-img { font-size: 120px; }
.o-kelime_coz .okc-resim-img.golge { filter: brightness(0) opacity(.78); }
.o-kelime_coz .okc-kart-yazi { flex: 1; min-width: 0; }
.o-kelime_coz .okc-sayac { display: inline-block; font-size: 20px; font-weight: 800; color: #fff; background: var(--turuncu, #E26C47); border-radius: 14px; padding: 3px 14px; }
.o-kelime_coz .okc-bilmece { font-size: 32px; line-height: 1.25; font-weight: 700; color: var(--koyu, #2B2440); margin-top: 10px; font-style: italic; }
.o-kelime_coz .okc-bilmece::before { content: "“"; color: var(--sari, #F2B42A); font-size: 44px; line-height: 0; margin-right: 2px; vertical-align: -10px; }
.o-kelime_coz .okc-mesaj { min-height: 34px; margin-top: 10px; font-size: 24px; font-weight: 700; }
.o-kelime_coz .okc-mesaj.uyari { color: #b45a35; }
.o-kelime_coz .okc-mesaj.iyi { color: #2f8577; }

.o-kelime_coz .okc-yuvalar { display: flex; gap: 10px; margin-top: 18px; padding: 10px 14px; border-radius: 24px; background: rgba(255,255,255,.55); }
.o-kelime_coz .okc-yuva { width: var(--okc-tas); height: calc(var(--okc-tas) + 12px); border-radius: 18px; border: 4px dashed #c9b98f; background: rgba(255,255,255,.6); display: grid; place-items: center; }
.o-kelime_coz .okc-tepsi { display: flex; gap: 10px; margin-top: 26px; padding: 14px 18px 18px; border-radius: 26px; background: linear-gradient(#d9a46e, #b77a45); box-shadow: inset 0 4px 0 rgba(255,255,255,.25), 0 8px 0 #8c5a30; }
.o-kelime_coz .okc-ev { width: var(--okc-tas); height: calc(var(--okc-tas) + 12px); border-radius: 18px; background: rgba(90,58,38,.25); display: grid; place-items: center; }

.o-kelime_coz .okc-tas { width: calc(var(--okc-tas) - 4px); height: calc(var(--okc-tas) + 6px); border-radius: 16px; background: #fff7e0; border: 4px solid var(--kahve, #5A3A26);
  box-shadow: 0 6px 0 #c9a46a, 0 10px 14px rgba(0,0,0,.18); display: grid; place-items: center; font-size: calc(var(--okc-tas) * .6); font-weight: 800; color: var(--kahve, #5A3A26);
  cursor: grab; touch-action: none; position: relative; z-index: 1; transition: background .25s, color .25s, border-color .25s; }
.o-kelime_coz .okc-tas:active { cursor: grabbing; }
.o-kelime_coz .okc-tas.tutuluyor { z-index: 10; scale: 1.1; box-shadow: 0 14px 0 #c9a46a, 0 20px 24px rgba(0,0,0,.28); cursor: grabbing; }
.o-kelime_coz .okc-tas.yanlis { background: #ffe1d6; border-color: var(--turuncu, #E26C47); color: #b04a2c; }
.o-kelime_coz .okc-tas.yerinde { background: #d9f5ef; border-color: #3f8b80; color: #2b6d63; box-shadow: 0 6px 0 #8fcfc4; cursor: default; }
.o-kelime_coz .okc-tas.yerinde.ipucu::after { content: ""; position: absolute; right: -8px; top: -8px; width: 26px; height: 26px; border-radius: 50%; background: #3a3f63; border: 3px solid #fff; box-shadow: 0 0 8px var(--mavi-goz, #7ECCED); }
.o-kelime_coz .okc-tas.dogru { background: var(--turkuaz, #5ABBAD); border-color: #fff; color: #fff; box-shadow: 0 6px 0 #3f8b80, 0 0 18px rgba(255,236,150,.9); cursor: default; }

/* UFYO ipucu düğmesi */
.o-kelime_coz .okc-ipucu { position: absolute; right: 22px; top: 108px; width: 112px; height: 132px; border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; touch-action: manipulation; }
.o-kelime_coz .okc-ipucu-yuz { width: 104px; height: 92px; border-radius: 26px; background: radial-gradient(ellipse at 50% 40%, #2c3560, #151a33); border: 6px solid #dfe5ec;
  box-shadow: 0 0 0 3px #9aa6b4, 0 6px 0 #7d8796, 0 10px 18px rgba(0,0,0,.3); display: grid; place-items: center; overflow: hidden; }
.o-kelime_coz .okc-ipucu-yuz img { width: 92%; filter: drop-shadow(0 0 6px rgba(126,204,237,.9)); pointer-events: none; }
.o-kelime_coz .okc-ipucu-ad { font-size: 22px; font-weight: 800; color: #3a3f63; background: #c5f0ff; border-radius: 12px; padding: 0 12px; border: 3px solid #fff; }
.o-kelime_coz .okc-ipucu:active .okc-ipucu-yuz { translate: 0 3px; box-shadow: 0 0 0 3px #9aa6b4, 0 3px 0 #7d8796; }
.o-kelime_coz .okc-ipucu:disabled { opacity: .6; }
.o-kelime_coz .okc-ipucu:not(:disabled) .okc-ipucu-yuz { animation: okcIpNabiz 2.4s ease-in-out infinite; }
@keyframes okcIpNabiz { 0%,100% { scale: 1; } 50% { scale: 1.05; } }

/* uçan araç, kıvılcım, kutlama */
.o-kelime_coz .okc-ucan { position: absolute; object-fit: contain; z-index: 30; pointer-events: none; filter: drop-shadow(0 8px 6px rgba(0,0,0,.3)); display: grid; place-items: center; font-size: 120px; }
.o-kelime_coz .okc-kivilcim { position: absolute; z-index: 40; font-size: 30px; color: #ffd75a; margin: -18px 0 0 -10px; pointer-events: none; text-shadow: 0 0 8px rgba(255,236,150,.9); }
.o-kelime_coz .okc-kutlama { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 35; padding: 26px 70px 30px; background: #fffaf0; border: 6px solid var(--sari, #F2B42A);
  border-radius: 34px; box-shadow: 0 12px 0 #d8a032, 0 22px 40px rgba(0,0,0,.4); text-align: center; animation: okcKut .5s cubic-bezier(.3,1.6,.5,1); }
.o-kelime_coz .okc-kut-yazi { font-size: 52px; font-weight: 800; color: var(--kahve, #5A3A26); }
.o-kelime_coz .okc-kut-yildiz { font-size: 76px; letter-spacing: 8px; line-height: 1.1; }
.o-kelime_coz .okc-kut-yildiz .dolu { color: var(--sari, #F2B42A); text-shadow: 0 4px 0 #c98a14; display: inline-block; }
.o-kelime_coz .okc-kut-yildiz .bos { color: #d8cfb8; display: inline-block; }
@keyframes okcKut { 0% { scale: .3; opacity: 0; } 100% { scale: 1; opacity: 1; } }

/* telefon: küçük yazılar büyür */
body.kucuk .o-kelime_coz .okc-baslik p { font-size: 28px; }
body.kucuk .o-kelime_coz .okc-bilmece { font-size: 36px; }
body.kucuk .o-kelime_coz .okc-mesaj { font-size: 28px; }
body.kucuk .o-kelime_coz .okc-sayac { font-size: 24px; }
body.kucuk .o-kelime_coz .okc-ipucu-ad { font-size: 26px; }

/* UFYO ipucu baloncuğu (düğmenin solunda, başlığın üstünde) */
.o-kelime_coz .okc-balon { position: absolute; right: 22px; top: 6px; max-width: 640px; min-height: 96px; z-index: 30; padding: 14px 22px 16px; background: #fff; border: 4px solid #3a3f63; border-radius: 24px;
  box-shadow: 0 8px 18px rgba(0,0,0,.28); font-size: 26px; line-height: 1.3; font-weight: 700; color: var(--koyu, #2B2440); opacity: 0; scale: .6; transform-origin: 90% 100%;
  pointer-events: none; transition: opacity .2s, scale .25s cubic-bezier(.3,1.5,.5,1); }
.o-kelime_coz .okc-balon::before { content: "UFYO"; display: block; font-size: 18px; font-weight: 800; color: #3f7fa3; letter-spacing: 1px; }
.o-kelime_coz .okc-balon::after { content: ""; position: absolute; right: 44px; bottom: -22px; border: 14px solid transparent; border-top: 20px solid #3a3f63; border-bottom: 0; }
.o-kelime_coz .okc-balon.acik { opacity: 1; scale: 1; pointer-events: auto; }
body.kucuk .o-kelime_coz .okc-balon { font-size: 31px; }
