/* Dedektif Kerem · cumle_kur (Atölye A, 16 Kas 2026). Sınıflar .o-cumle_kur / .ock- önekli. */
.o-cumle_kur { position: absolute; inset: 0; background: rgba(29,26,43,.42); touch-action: none; z-index: 5; }
.o-cumle_kur .ock-kagit { 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-cumle_kur .ock-baslik { position: absolute; left: 0; right: 0; top: 16px; text-align: center; pointer-events: none; }
.o-cumle_kur .ock-baslik h2 { margin: 0; font-size: 40px; line-height: 1.1; color: var(--kahve, #5A3A26); }
.o-cumle_kur .ock-baslik p { margin: 4px 0 0; font-size: 24px; font-weight: 600; color: #6b5440; }

/* ray: cümlenin kurulduğu şerit */
.o-cumle_kur .ock-ray { position: absolute; left: 24px; right: 150px; top: 120px; min-height: 140px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 12px; border-radius: 28px; background: #fffaf0; border: 4px solid #e2cfa4; box-shadow: inset 0 4px 0 rgba(90,58,38,.06); transition: gap .4s; }
.o-cumle_kur .ock-yuva { position: relative; min-width: 128px; height: 96px; border-radius: 20px; border: 4px dashed #c9b98f; display: flex; align-items: center; justify-content: center; transition: min-width .2s; }
.o-cumle_kur .ock-yuva.dolu { border-color: transparent; min-width: 0; }
.o-cumle_kur .ock-yuva-no { position: absolute; left: 8px; top: 2px; font-size: 18px; font-weight: 800; color: #c9b98f; pointer-events: none; }
.o-cumle_kur .ock-yuva.dolu .ock-yuva-no { display: none; }
.o-cumle_kur .ock-ray.kaynasti { gap: 0; }
.o-cumle_kur .ock-ray.kaynasti .ock-kart { border-radius: 0; border-left-width: 0; border-right-width: 0; box-shadow: 0 6px 0 #3f8b80; transition: border-radius .3s, border-width .3s; }
.o-cumle_kur .ock-ray.kaynasti .ock-yuva:first-of-type .ock-kart { border-radius: 20px 0 0 20px; border-left-width: 4px; }
.o-cumle_kur .ock-ray.kaynasti .ock-yuva:last-of-type .ock-kart { border-radius: 0 20px 20px 0; border-right-width: 4px; }

.o-cumle_kur .ock-mesaj { position: absolute; left: 24px; right: 150px; top: 290px; min-height: 36px; text-align: center; font-size: 25px; font-weight: 700; }
.o-cumle_kur .ock-mesaj.uyari { color: #b45a35; }

/* masa: kartların dağıldığı yer */
.o-cumle_kur .ock-masa { position: absolute; left: 24px; right: 24px; top: 340px; bottom: 22px; border-radius: 28px;
  background: linear-gradient(#e6b77f, #c98d55); box-shadow: inset 0 5px 0 rgba(255,255,255,.25), inset 0 -8px 0 rgba(90,58,38,.25); }
.o-cumle_kur .ock-kart { position: absolute; display: inline-flex; align-items: center; justify-content: center; height: 92px; padding: 0 26px; border-radius: 20px;
  background: #fffdf5; border: 4px solid var(--kahve, #5A3A26); box-shadow: 0 7px 0 color-mix(in srgb, var(--ock-renk, #F2B42A) 70%, #5A3A26), 0 12px 16px rgba(0,0,0,.18);
  border-top: 12px solid var(--ock-renk, #F2B42A); font-size: 34px; font-weight: 800; color: var(--kahve, #5A3A26); white-space: nowrap; cursor: grab; touch-action: none; z-index: 1;
  transition: background .25s, color .25s, border-color .25s, opacity .4s, scale .4s; }
.o-cumle_kur .ock-kart.yerde { position: relative; rotate: 0deg; height: 84px; padding: 0 16px; font-size: 29px; border-top-width: 10px; }
.o-cumle_kur .ock-kart.tutuluyor { z-index: 20; scale: 1.08; cursor: grabbing; box-shadow: 0 14px 0 #c9a46a, 0 22px 26px rgba(0,0,0,.28); }
.o-cumle_kur .ock-kart.yanlis { background: #ffe1d6; border-color: var(--turuncu, #E26C47); color: #b04a2c; }
.o-cumle_kur .ock-kart.yerinde { background: #d9f5ef; border-color: #3f8b80; color: #2b6d63; cursor: default; }
.o-cumle_kur .ock-kart.yerinde.ipucu::after { content: ""; position: absolute; right: -8px; top: -14px; width: 26px; height: 26px; border-radius: 50%; background: #3a3f63; border: 3px solid #fff; box-shadow: 0 0 8px var(--mavi-goz, #7ECCED); }
.o-cumle_kur .ock-kart.dogru { background: var(--turkuaz, #5ABBAD); border-color: #fff; color: #fff; cursor: default; box-shadow: 0 6px 0 #3f8b80, 0 0 18px rgba(255,236,150,.8); }
.o-cumle_kur .ock-kart.gitti { opacity: 0; scale: .6; pointer-events: none; }

/* kaynaşmış cümle şeridi */
.o-cumle_kur .ock-serit { max-width: 100%; padding: 18px 34px; border-radius: 26px; text-align: center; font-size: 36px; line-height: 1.25; font-weight: 800; color: #fff; text-wrap: balance;
  background: linear-gradient(135deg, #5ABBAD, #4aa79a 50%, #5ABBAD); border: 5px solid #fff; box-shadow: 0 7px 0 #3f8b80, 0 0 0 6px rgba(255,214,90,.6), 0 0 40px rgba(255,214,90,.9);
  animation: ockParla 1.6s ease-in-out infinite; }
@keyframes ockParla { 0%,100% { box-shadow: 0 7px 0 #3f8b80, 0 0 0 6px rgba(255,214,90,.5), 0 0 28px rgba(255,214,90,.6); } 50% { box-shadow: 0 7px 0 #3f8b80, 0 0 0 10px rgba(255,214,90,.85), 0 0 56px rgba(255,214,90,1); } }

.o-cumle_kur .ock-sayfa { position: absolute; right: 30px; top: 22px; font-size: 22px; font-weight: 800; color: #9a8466; }

/* UFYO ipucu düğmesi + baloncuk */
.o-cumle_kur .ock-ipucu { position: absolute; right: 22px; top: 120px; width: 112px; height: 132px; border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; touch-action: manipulation; z-index: 3; }
.o-cumle_kur .ock-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-cumle_kur .ock-ipucu-yuz img { width: 92%; filter: drop-shadow(0 0 6px rgba(126,204,237,.9)); pointer-events: none; }
.o-cumle_kur .ock-ipucu-ad { font-size: 22px; font-weight: 800; color: #3a3f63; background: #c5f0ff; border-radius: 12px; padding: 0 12px; border: 3px solid #fff; }
.o-cumle_kur .ock-ipucu:active .ock-ipucu-yuz { translate: 0 3px; }
.o-cumle_kur .ock-ipucu:disabled { opacity: .6; }
.o-cumle_kur .ock-ipucu:not(:disabled) .ock-ipucu-yuz { animation: ockIpNabiz 2.4s ease-in-out infinite; }
@keyframes ockIpNabiz { 0%,100% { scale: 1; } 50% { scale: 1.05; } }
.o-cumle_kur .ock-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-cumle_kur .ock-balon::before { content: "UFYO"; display: block; font-size: 18px; font-weight: 800; color: #3f7fa3; letter-spacing: 1px; }
.o-cumle_kur .ock-balon::after { content: ""; position: absolute; right: 44px; bottom: -22px; border: 14px solid transparent; border-top: 20px solid #3a3f63; border-bottom: 0; }
.o-cumle_kur .ock-balon.acik { opacity: 1; scale: 1; pointer-events: auto; }

/* kıvılcım, kutlama */
.o-cumle_kur .ock-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-cumle_kur .ock-kutlama { position: absolute; left: 50%; top: 56%; 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: ockKut .5s cubic-bezier(.3,1.6,.5,1); }
.o-cumle_kur .ock-kut-yazi { font-size: 52px; font-weight: 800; color: var(--kahve, #5A3A26); }
.o-cumle_kur .ock-kut-yildiz { font-size: 76px; letter-spacing: 8px; line-height: 1.1; }
.o-cumle_kur .ock-kut-yildiz .dolu { color: var(--sari, #F2B42A); text-shadow: 0 4px 0 #c98a14; display: inline-block; }
.o-cumle_kur .ock-kut-yildiz .bos { color: #d8cfb8; display: inline-block; }
@keyframes ockKut { 0% { scale: .3; opacity: 0; } 100% { scale: 1; opacity: 1; } }

body.kucuk .o-cumle_kur .ock-baslik p { font-size: 28px; }
body.kucuk .o-cumle_kur .ock-mesaj { font-size: 29px; }
body.kucuk .o-cumle_kur .ock-ipucu-ad { font-size: 26px; }
body.kucuk .o-cumle_kur .ock-balon { font-size: 31px; }
body.kucuk .o-cumle_kur .ock-yuva-no { font-size: 22px; }
