/* ════════════════════════════════════════════════════════════════
   MiniMümin — Eşleştirme & Hafıza & Dua/Kıssa Sahneleri CSS (T02)
   Sahne stilleri + ipucu (reveal) + animasyonlar
   Dokunma hedefleri min 48px (kartlar/chip'ler 56px+)
   ════════════════════════════════════════════════════════════════ */

/* ── Ortak sahne iskeleti ── */
.scene-match,
.scene-memory,
.scene-dua,
.scene-kissa {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.mm-scene-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ── Ortak mini ikon ── */
.mm-mini-icon { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ── İpucu (reveal) — bu dosyanın sahnelerine özel vurgu ── */
.scene-match .reveal-correct,
.scene-memory .reveal-correct,
.scene-dua .reveal-correct,
.scene-kissa .reveal-correct {
  animation: mm-reveal-pulse 0.85s ease-in-out infinite !important;
  z-index: 30;
}
.scene-match .reveal-dim,
.scene-memory .reveal-dim,
.scene-dua .reveal-dim,
.scene-kissa .reveal-dim { opacity: 0.38 !important; }

.mp-card.reveal-correct,
.mm-card.reveal-correct,
.dua-chip.reveal-correct,
.kissa-chip.reveal-correct {
  box-shadow: 0 0 0 4px #FFD43B, 0 0 24px rgba(255, 212, 59, 0.85) !important;
  border-color: #F4B400 !important;
}
.mm-card.reveal-correct .mm-card-inner { animation: mm-reveal-pulse 0.85s ease-in-out infinite; }

/* ── Ortak animasyonlar ── */
@keyframes mm-reveal-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.09); }
}
@keyframes mm-shake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-7px); }
  40%      { transform: translateX(7px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}
@keyframes mm-pop {
  0%  { transform: scale(1); }
  45% { transform: scale(1.14); }
  100% { transform: scale(1); }
}
@keyframes mm-enter {
  0%   { transform: scale(0.4) translateY(16px); opacity: 0; }
  70%  { transform: scale(1.08) translateY(-2px); }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
@keyframes mm-cheer {
  0%   { transform: translateY(0) scale(1); }
  35%  { transform: translateY(-14px) scale(1.1) rotate(-3deg); }
  70%  { transform: translateY(0) scale(1.02); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes mm-twinkle {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}
@keyframes mm-lantern-sway {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(3deg); }
}
@keyframes mm-blink {
  0%, 100% { transform: scale(1); border-color: #E0A922; }
  50%      { transform: scale(1.05); border-color: #F4B400; }
}
@keyframes mp-burst {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  70%  { transform: translate(-50%, -50%) scale(1.25); opacity: 1; }
  100% { transform: translate(-50%, -110%) scale(0.85); opacity: 0; }
}
@keyframes mm-draw-line { to { stroke-dashoffset: 0; } }

/* Kutlama: sahne genelinde eşleşen kartlar dans eder */
.is-celebrating .mp-card.is-matched,
.is-celebrating .mm-card.is-matched { animation: mm-cheer 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* ════════════════════════════════════════════════════════════════
   1. SAHNE: EŞLEŞTİRME ÇİZGİSİ (match_pairs)
════════════════════════════════════════════════════════════════ */
.mp-col {
  position: absolute;
  top: 60px;
  bottom: 14px;
  /* Dar ekranda sütunlar yarıya iner — iki sütun ortada çakışmaz (320px'te bile) */
  width: min(208px, calc(50% - 20px));
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  z-index: 10;
}
.mp-col-left  { left: 14px; }
.mp-col-right { right: 14px; }

.mp-card {
  width: min(136px, 100%);
  height: 90px;
  border-radius: 22px;
  background: linear-gradient(180deg, #FFFFFF, #EFF7FF);
  border: 3px solid #FFFFFF;
  box-shadow: 0 6px 0 rgba(43, 90, 132, 0.22), 0 10px 18px rgba(20, 60, 100, 0.14);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s, border-color 0.2s;
  font-family: inherit;
}
.mp-card .mm-mini-icon { width: 62px; height: 62px; }
.mp-card:active { transform: scale(0.93); }
.mp-card.mp-enter { animation: mm-enter 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) backwards; }

.mp-card.is-selected {
  transform: scale(1.08) translateY(-3px);
  border-color: #5B53D6;
  box-shadow: 0 0 0 4px rgba(91, 83, 214, 0.35), 0 12px 22px rgba(91, 83, 214, 0.35);
}
.mp-card.is-matched {
  background: linear-gradient(180deg, #E8FFF5, #D2FFEF);
  border-color: #2FB344;
  box-shadow: 0 6px 0 rgba(47, 179, 68, 0.4), 0 8px 14px rgba(47, 179, 68, 0.25);
  animation: mm-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.mp-card.is-wrong { animation: mm-shake 0.5s ease; }

/* Çizgi katmanı */
.mp-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  pointer-events: none;
}
.mp-line {
  stroke: #2FB344;
  stroke-width: 7;
  stroke-linecap: round;
  fill: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}
.mp-line-static { transition: none !important; }

/* Parıltı yıldızları */
.mp-sparkle {
  position: absolute;
  width: 26px;
  height: 26px;
  z-index: 40;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: mp-burst 0.9s ease-out forwards;
}
.mp-sparkle svg { width: 100%; height: 100%; }

/* ════════════════════════════════════════════════════════════════
   2. SAHNE: HAFIZA KARTLARI (memory_cards)
════════════════════════════════════════════════════════════════ */
.scene-memory {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 18px 16px;
  perspective: 1000px;
}
.mem-grid {
  display: grid;
  gap: clamp(8px, 1.8vw, 14px);
  z-index: 10;
  justify-content: center;
  /* B12 (kök neden) — ızgaranın açık genişliği YOKTU: auto-genişlik grid'de
     1fr kolonlar içerik katkısına (≈0) daralıyor, kartlar min-height+sınır
     kalınlığından gelen ~55px'te kalıyordu; max-width ise yalnız tavan
     olduğu için hiç devreye girmiyordu. Kolon sayısına göre hedef genişlik
     verildi → kartlar masaüstünde 170px'e dek büyür, telefonda minmax(0,1fr)
     yine güvenle kırpar. */
  width: min(94%, 740px);
}
.mem-cols-3 .mem-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(94%, 570px); }
.mem-cols-4 .mem-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mem-cols-5 .mem-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); width: min(94%, 900px); }

.mm-card {
  width: 100%;
  /* B12 — kart boyutu sahnenin küçük kenarını izler: telefonda ~68px,
     masaüstünde 170px'e dek büyür (eskiden 108px'te sabitlenip büyük
     ekranda dev gece sahnesinde cücelik kalıyordu). minmax(0,1fr)
     kolonlar dar ekranda yine güvenle kırpar. */
  max-width: clamp(64px, 19vmin, 170px);
  height: auto;
  aspect-ratio: 1;
  perspective: 600px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.mm-card.mem-enter { animation: mm-enter 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) backwards; }
.mm-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.5, 1);
}
.mm-card.is-flipped .mm-card-inner { transform: rotateY(180deg); }

.mm-card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mm-card-back {
  background: linear-gradient(160deg, #6C5CE7, #4834B8);
  border: 3.5px solid #FFFFFF;
  box-shadow: 0 5px 0 rgba(40, 30, 110, 0.45), 0 8px 16px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}
.mm-back-emblem { width: 62%; height: 62%; opacity: 0.95; }
.mm-card-front {
  transform: rotateY(180deg);
  background: linear-gradient(180deg, #FFFFFF, #EAF6FF);
  border: 3.5px solid #FFFFFF;
  box-shadow: 0 5px 0 rgba(43, 90, 132, 0.2), 0 8px 16px rgba(0, 0, 0, 0.14);
}
.mm-card-front .mm-mini-icon { width: 62%; height: 62%; }

.mm-card.is-matched { animation: mm-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mm-card.is-matched .mm-card-front {
  background: linear-gradient(180deg, #E8FFF5, #CFFFEF);
  border-color: #2FB344;
}
.mm-card.is-wrong { animation: mm-shake 0.5s ease; }

/* ════════════════════════════════════════════════════════════════
   3. SAHNE: DUA TAMAMLAMA (dua_choice)
════════════════════════════════════════════════════════════════ */
.scene-dua {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 76px 20px 62px;
}
.du-lantern { transform-origin: 150px 0px; animation: mm-lantern-sway 3.2s ease-in-out infinite; }
.du-lantern-2 { transform-origin: 650px 0px; animation: mm-lantern-sway 3.2s 0.6s ease-in-out infinite; }

.dua-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.94);
  padding: 8px 20px;
  border-radius: 40px;
  font-size: clamp(13px, 2.8vw, 17px);
  font-weight: 900;
  color: #B4690E;
  box-shadow: 0 4px 14px rgba(150, 90, 20, 0.22);
  z-index: 10;
}
.dua-badge .mm-mini-icon { width: 30px; height: 30px; }

.dua-sentence-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 26px;
  padding: 18px 28px;
  max-width: 620px;
  text-align: center;
  font-size: clamp(16px, 3.4vw, 22px);
  font-weight: 800;
  color: #4A3B22;
  box-shadow: 0 10px 24px rgba(140, 80, 20, 0.2);
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.5;
}
.dua-emoji { font-size: clamp(30px, 6vw, 44px); line-height: 1; }
/* Boşluk + cümle kuyruğu bölünmez grup — taşmada birlikte alt satıra iner */
.dua-after { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 8px; }
.dua-tail { display: inline; }
.dua-blank {
  display: inline-flex;
  min-width: 90px;
  min-height: 46px;
  padding: 4px 18px;
  border: 3px dashed #E0A922;
  border-radius: 16px;
  color: #B4690E;
  font-weight: 900;
  align-items: center;
  justify-content: center;
  background: #FFF8E6;
  animation: mm-blink 1.7s ease-in-out infinite;
}
.dua-blank.is-filled {
  border-style: solid;
  border-color: #2FB344;
  background: #E8FFF5;
  color: #1B7A3D;
  animation: mm-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dua-chips,
.kissa-chips {
  display: flex;
  gap: 14px;
  z-index: 20;
  flex-wrap: wrap;
  justify-content: center;
}
.chip-enter { animation: mm-enter 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) backwards; }

.dua-chip {
  min-width: clamp(120px, 24vw, 190px);
  min-height: 58px;
  padding: 10px 22px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(180deg, #FFFFFF, #F1E6CF);
  font-size: clamp(15px, 3.2vw, 20px);
  font-weight: 900;
  color: #5B4630;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 0 #D9C294, 0 10px 16px rgba(0, 0, 0, 0.14);
  transition: transform 0.12s, box-shadow 0.12s, background 0.2s;
}
.dua-chip:active { transform: translateY(4px); box-shadow: 0 2px 0 #D9C294; }
.dua-chip.correct {
  background: #E8FFF5;
  color: #1B7A3D;
  box-shadow: 0 6px 0 #2FB344, 0 10px 16px rgba(47, 179, 68, 0.3);
  animation: mm-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dua-chip.wrong {
  background: #FFF0F3;
  color: #D6336C;
  box-shadow: 0 6px 0 #F06595;
  animation: mm-shake 0.45s ease;
}

/* ════════════════════════════════════════════════════════════════
   4. SAHNE: KISSA SORUSU (kissa_quiz)
════════════════════════════════════════════════════════════════ */
.scene-kissa {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 76px 20px 62px;
}
.mm-stars-a circle { animation: mm-twinkle 2.4s ease-in-out infinite; }
.mm-stars-b circle, .mm-stars-b path { animation: mm-twinkle 2.4s 1.2s ease-in-out infinite; }

.kissa-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.94);
  padding: 8px 20px;
  border-radius: 40px;
  font-size: clamp(13px, 2.8vw, 17px);
  font-weight: 900;
  color: #4A4480;
  box-shadow: 0 4px 14px rgba(10, 10, 40, 0.35);
  z-index: 10;
}
.kissa-badge .mm-mini-icon { width: 30px; height: 30px; }

.kissa-qcard {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 26px;
  padding: 16px 28px;
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  box-shadow: 0 12px 26px rgba(5, 5, 30, 0.4);
  z-index: 10;
}
.kissa-emoji {
  font-size: clamp(34px, 7vw, 50px);
  line-height: 1;
  background: linear-gradient(160deg, #FFE9A8, #FFD54A);
  border-radius: 20px;
  padding: 8px;
  box-shadow: inset 0 -3px 0 rgba(200, 140, 0, 0.35);
}
.kissa-question {
  font-size: clamp(15px, 3.2vw, 21px);
  font-weight: 800;
  color: #2D2A55;
  line-height: 1.45;
}

.kissa-chip {
  min-width: clamp(120px, 24vw, 200px);
  min-height: 58px;
  padding: 10px 22px;
  border: 3px solid #FFFFFF;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  font-size: clamp(14px, 3vw, 19px);
  font-weight: 900;
  color: #FFFFFF;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 0 rgba(10, 10, 40, 0.45), 0 10px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.12s, box-shadow 0.12s, background 0.2s;
}
.kissa-chip:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(10, 10, 40, 0.45); }
.kissa-chip.correct {
  background: linear-gradient(180deg, #2FB344, #1B7A3D);
  border-color: #8FF0B0;
  animation: mm-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.kissa-chip.wrong {
  background: rgba(240, 101, 149, 0.35);
  border-color: #F783AC;
  animation: mm-shake 0.45s ease;
}

/* ── Küçük ekran uyarlaması ── */
@media (max-width: 700px) {
  /* sabit 158px 320px ekranda iki sütunu üst üste bindirirdi — taban kuraldaki
     min(…, calc(50% - 20px)) tavanı korunur */
  .mp-col { width: min(158px, calc(50% - 20px)); }
  .mp-card { width: 118px; height: 80px; }
  .mp-card .mm-mini-icon { width: 52px; height: 52px; }
  .scene-memory { padding: 50px 12px 14px; }
  .scene-dua, .scene-kissa { padding: 66px 14px 58px; }
}
/* ══════════════════════════════════════════════════════════════
   DALGA 3 SAHNELERİ — ahlak • renk • şekil • kelime • sure • zıt
   (glm-emir-listesi BÖLÜM 2; scenes-match.js tarafından kullanılır)
═══════════════════════════════════════════════════════════════ */

.scene-ahlak,
.scene-renk,
.scene-sekil,
.scene-kelime,
.scene-sure,
.scene-zit {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Doğru cevap sonrası açıklama / anlam notu */
.ahlak-note,
.sure-anlam {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  max-width: min(92%, 620px);
  background: #FFFDF4;
  border: 3px solid #FFD166;
  color: #6B4E12;
  font: 800 clamp(13px, 2.6vw, 17px)/1.4 var(--font, 'Nunito', sans-serif);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(107, 78, 18, 0.18);
  z-index: 30;
  white-space: normal;
  text-align: center;
}
.ahlak-note-show { animation: mm-enter 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

/* ── RENK SEÇİMİ ── */
.scene-renk { display: flex; flex-direction: column; align-items: center; }
.renk-title {
  position: relative;
  z-index: 10;
  /* talimat bandının altında kalsın */
  margin-top: clamp(52px, 10vh, 78px);
  font: 900 clamp(24px, 5.4vw, 40px)/1.15 var(--font, 'Nunito', sans-serif);
  color: #1D3557;
  text-align: center;
}
.renk-title span { padding: 0 6px; }
.renk-row {
  position: relative;
  z-index: 10;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 2vw, 18px);
  padding: 4px 16px 12px;
}
.renk-balloon {
  border: none;
  background: transparent;
  padding: 0;
  width: clamp(64px, 15vmin, 160px);
  height: auto;
  cursor: pointer;
  filter: drop-shadow(0 6px 8px rgba(30, 60, 100, 0.2));
  transition: transform 0.2s ease, filter 0.2s ease;
}
@media (hover: hover) {
  .renk-balloon:hover { transform: translateY(-6px) scale(1.06); }
}
.renk-balloon:active { transform: scale(0.92); }
.renk-balloon-svg { display: block; width: 100%; height: auto; }
.renk-balloon.correct { animation: renk-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); filter: drop-shadow(0 0 16px rgba(255, 214, 102, 0.9)); }
.renk-balloon.wrong { animation: mm-shake 0.5s ease; }
@keyframes renk-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.22) rotate(-3deg); }
  100% { transform: scale(1); }
}

/* ── ŞEKİL TANIMA ── */
.scene-sekil { display: flex; flex-direction: column; align-items: center; }
.sekil-board {
  position: relative;
  z-index: 10;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2vh, 20px);
}
.sekil-shape-svg {
  width: clamp(140px, 30vh, 230px);
  height: clamp(140px, 30vh, 230px);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}
.sekil-chips {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(8px, 2vw, 14px);
  padding: 0 14px 20px;
}
.sekil-chip { min-width: clamp(88px, 16vw, 140px); font-size: clamp(15px, 3vw, 19px); }

/* ── KELİME TAMAMLAMA ── */
.scene-kelime { display: flex; flex-direction: column; align-items: center; }
.kelime-icon-wrap {
  position: relative;
  z-index: 10;
  margin-top: clamp(10px, 2.6vh, 20px);
  width: clamp(96px, 20vh, 150px);
  height: clamp(96px, 20vh, 150px);
  background: linear-gradient(180deg, #FFFFFF, #FFF4DC);
  border: 4px solid #FFFFFF;
  border-radius: 26px;
  box-shadow: 0 8px 0 rgba(201, 143, 76, 0.28), 0 12px 20px rgba(160, 110, 40, 0.18);
  padding: 10px;
}
.kelime-word {
  position: relative;
  z-index: 10;
  display: flex;
  gap: clamp(5px, 1.2vw, 10px);
  margin: clamp(10px, 2.4vh, 20px) 0;
  direction: ltr;
}
.kelime-box {
  min-width: clamp(34px, 8vmin, 66px);
  height: clamp(44px, 10vmin, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: 12px;
  border: 3px solid #F2C98F;
  font: 900 clamp(20px, 5.5vmin, 38px)/1 var(--font, 'Nunito', sans-serif);
  color: #6B4E12;
  box-shadow: 0 4px 0 rgba(201, 143, 76, 0.3);
}
.kelime-blank {
  border: 3px dashed #E8590C;
  color: #E8590C;
  background: #FFF6EC;
}
.kelime-blank.is-filled {
  border: 3px solid #2FB344;
  color: #2B8A3E;
  background: #E8FFF5;
  animation: mm-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.kelime-chips {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(8px, 2vw, 14px);
  padding: 0 14px 20px;
}
.kelime-chip { min-width: clamp(58px, 13vmin, 112px); font-size: clamp(18px, 4.5vmin, 30px); }

/* ── SURE TANIMA ── */
.sure-qcard { padding-right: 18px; }
.sure-ayet {
  font-family: 'Traditional Arabic', 'Scheherazade New', 'Amiri', serif;
  font-size: clamp(24px, 6vw, 42px);
  line-height: 1.9;
  color: #FFFDF4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.scene-sure .kissa-chip { background: linear-gradient(180deg, #FFFDF4, #F3E8C8); color: #4A3A10; box-shadow: 0 5px 0 #D9C294; }

/* ── ZIT KAVRAMLAR ── */
.zit-col { width: clamp(150px, 26vw, 230px); }
.zit-card {
  width: 100%;
  min-height: 62px;
  border-radius: 18px;
  background: linear-gradient(180deg, #FFFFFF, #FFF1E4);
  border: 3px solid #FFFFFF;
  box-shadow: 0 6px 0 rgba(232, 106, 53, 0.25), 0 10px 16px rgba(200, 100, 40, 0.16);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  font: 900 clamp(15px, 3vw, 21px)/1.2 var(--font, 'Nunito', sans-serif);
  color: #9A4318;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s, border-color 0.2s;
}
.zit-card:active { transform: scale(0.94); }
.zit-card.is-selected {
  transform: scale(1.08) translateY(-3px);
  border-color: #E86A35;
  box-shadow: 0 0 0 4px rgba(232, 106, 53, 0.35), 0 12px 22px rgba(232, 106, 53, 0.3);
}
.zit-card.is-matched {
  background: linear-gradient(180deg, #E8FFF5, #D2FFEF);
  border-color: #2FB344;
  color: #1B6B2A;
  box-shadow: 0 6px 0 rgba(47, 179, 68, 0.4);
  animation: mm-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.zit-card.is-wrong { animation: mm-shake 0.5s ease; }
.scene-zit .reveal-correct { outline: 4px solid #2FB344; outline-offset: 2px; border-radius: 18px; }
.scene-zit .reveal-dim { opacity: 0.38 !important; }

/* ── Küçük ekran uyarlaması ── */
@media (max-width: 700px) {
  .zit-col { width: 128px; }
  .renk-row { flex-wrap: nowrap; }
  .renk-balloon { width: clamp(52px, 15vw, 84px); }
}

/* Açık zeminli sahnelerde çip metni koyu olsun (kissa-chip gece temasından gelir) */
.scene-kelime .kissa-chip {
  background: linear-gradient(180deg, #FFFFFF, #FFEFD2);
  color: #6B4E12;
  box-shadow: 0 5px 0 #E8C98F;
}
.scene-kelime .kissa-chip:active { box-shadow: 0 2px 0 #E8C98F; }
.scene-ahlak .kissa-chip {
  background: linear-gradient(180deg, #FFFFFF, #E8FBF0);
  color: #14532D;
  box-shadow: 0 5px 0 #9ED9B8;
}
.scene-ahlak .kissa-chip:active { box-shadow: 0 2px 0 #9ED9B8; }

/* Dokunma ergonomisi: seçenek hedefleri ≥48px */
.kissa-chip, .dua-chip, .mm-card { min-height: 48px; }

/* ════════ B24 — DUYGULAR + SAAT ════════ */
.scene-duygu, .scene-saat {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 3vh, 28px); border-radius: 18px; overflow: hidden;
}
.duygu-card {
  z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: rgba(255,255,255,.92); border-radius: 28px;
  padding: clamp(16px, 3vh, 28px) clamp(20px, 4vw, 40px);
  box-shadow: 0 10px 26px rgba(233, 30, 99, .12);
  max-width: 86%;
}
.duygu-soru { font-size: clamp(16px, 2.6vmin, 24px); font-weight: 900; color: #1F2937; text-align: center; }
.duygu-bigemoji { font-size: clamp(64px, 14vmin, 130px); line-height: 1; }
.duygu-chips { display: flex; gap: clamp(10px, 2vw, 20px); flex-wrap: wrap; justify-content: center; z-index: 5; }
.duygu-chip {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: clamp(82px, 16vmin, 130px);
  padding: clamp(10px, 2vmin, 16px) clamp(12px, 2.4vmin, 20px);
  border: 3.5px solid #F3C1D8; border-radius: 22px; background: #FFFFFF;
  cursor: pointer; box-shadow: 0 6px 16px rgba(233,30,99,.10);
  transition: transform .12s, border-color .15s;
}
.duygu-chip:active { transform: scale(.94); }
.duygu-chip .dc-emoji { font-size: clamp(30px, 7vmin, 54px); line-height: 1; }
.duygu-chip .dc-text { font-size: clamp(14px, 2.4vmin, 20px); font-weight: 900; color: #374151; }
.duygu-chip.correct { border-color: #06D6A0; background: #E8FBF4; }
.duygu-chip.wrong { border-color: #EF476F; background: #FDECEF; }

.saat-board {
  z-index: 5; width: clamp(180px, 42vmin, 320px); aspect-ratio: 1;
  background: rgba(255,255,255,.9); border-radius: 28px;
  padding: clamp(8px, 1.6vmin, 16px);
  box-shadow: 0 10px 26px rgba(77, 171, 247, .16);
}
.saat-svg { width: 100%; height: 100%; display: block; }
.saat-chips { display: flex; gap: clamp(10px, 2vw, 20px); flex-wrap: wrap; justify-content: center; z-index: 5; }
.saat-chip {
  min-width: clamp(84px, 16vmin, 130px);
  padding: clamp(12px, 2.4vmin, 18px) clamp(14px, 2.6vmin, 24px);
  border: 3.5px solid #A5D8FF; border-radius: 20px; background: #FFFFFF;
  font-size: clamp(18px, 3.6vmin, 28px); font-weight: 900; color: #1E5C9E;
  cursor: pointer; box-shadow: 0 6px 16px rgba(77,171,247,.12);
  transition: transform .12s, border-color .15s;
}
.saat-chip:active { transform: scale(.94); }
.saat-chip.correct { border-color: #06D6A0; background: #E8FBF4; color: #0B9B6F; }
.saat-chip.wrong { border-color: #EF476F; background: #FDECEF; color: #C92A2A; }

/* ════════ B53 — "SAATİ KUR" MODU ════════
   Akrep dokunarak/sürüklenerek veya ◀ ▶ düğmeleriyle ayarlanır.
   Büyük dokunma hedefleri (2-8 yaş) + üst boşluk (soru banner'ı ile çakışma). */
.scene-saat-kur { padding-top: clamp(40px, 8vh, 56px); box-sizing: border-box; }
.saat-kur-svg { touch-action: none; }
.saat-akrep { transition: transform .18s cubic-bezier(0.34, 1.56, 0.64, 1); }
.saat-kur-sayi {
  font: 900 clamp(30px, 7vw, 52px)/1 var(--font, 'Nunito', sans-serif);
  color: #1E5C9E;
  background: #FFFFFF;
  border: 4px solid #A5D8FF;
  border-radius: 999px;
  padding: 4px 26px;
  min-width: 84px;
  text-align: center;
  box-shadow: 0 5px 16px rgba(77,171,247,.16);
}
.saat-btn-geri, .saat-btn-ileri {
  min-width: clamp(56px, 13vw, 84px);
  min-height: clamp(48px, 11vw, 62px);
  border-radius: 18px;
  border: 3.5px solid #A5D8FF;
  background: #FFFFFF;
  font-size: clamp(20px, 4.4vw, 30px);
  font-weight: 900;
  color: #1E5C9E;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(77,171,247,.14);
  transition: transform .12s;
}
.saat-btn-geri:active, .saat-btn-ileri:active { transform: scale(.94); }
.saat-kur-tamam .saat-kur-sayi {
  border-color: #06D6A0; color: #0B9B6F;
  animation: plate-pop .5s ease;
}
.saat-kur-ipucu .saat-kur-sayi { animation: hint-bounce 0.7s ease-in-out infinite; }
.saat-hedef-isaret { animation: saat-hedef .9s ease-in-out infinite; }
@keyframes saat-hedef {
  0%, 100% { opacity: 1; }
  50%      { opacity: .45; }
}
@media (prefers-reduced-motion: reduce) {
  .saat-kur-ipucu .saat-kur-sayi, .saat-hedef-isaret { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-correct, .reveal-correct .mm-card-inner { animation: none !important; }
}

/* ════════ B25 — TERAZİ + renk karışım ════════ */
.renk-title .renk-dot {
  display: inline-block; width: 26px; height: 26px; border-radius: 50%;
  vertical-align: middle; margin: 0 6px;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12);
}
.renk-mix-op { font-size: 24px; font-weight: 900; color: #374151; margin: 0 4px; }
.renk-mix-q { font-size: 28px; font-weight: 900; color: #4DABF7; margin-left: 4px; }

.scene-terazi {
  position: relative; width: 100%; height: 100%;
  padding-top: clamp(56px, 12vh, 76px); box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(10px, 2.2vh, 22px); border-radius: 18px; overflow: hidden;
}
.terazi-board {
  z-index: 5; width: clamp(300px, 78vmin, 560px);
  background: rgba(255, 255, 255, .92); border-radius: 28px;
  padding: clamp(6px, 1.4vmin, 14px);
  box-shadow: 0 10px 26px rgba(176, 137, 104, .18);
}
.terazi-svg { width: 100%; height: auto; display: block; }
.terazi-chips { display: flex; gap: clamp(10px, 2vw, 20px); flex-wrap: wrap; justify-content: center; z-index: 5; }
.terazi-chip {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: clamp(78px, 15vmin, 120px);
  padding: clamp(10px, 2vmin, 16px) clamp(12px, 2.4vmin, 20px);
  border: 3.5px solid #E8C9A0; border-radius: 22px; background: #fff;
  cursor: pointer; box-shadow: 0 6px 16px rgba(176, 137, 104, .12);
  transition: transform .12s, border-color .15s;
}
.terazi-chip:active { transform: scale(.94); }
.tc-emoji { font-size: clamp(28px, 6.4vmin, 48px); line-height: 1; }
.tc-text { font-size: clamp(13px, 2.2vmin, 18px); font-weight: 900; color: #5D4037; }
.terazi-chip.correct { border-color: #06D6A0; background: #E8FBF4; }
.terazi-chip.wrong { border-color: #EF476F; background: #FDECEF; }

/* B27 — ilişkisel eşleştirme: emoji kartlar */
.mp-emoji { font-size: clamp(30px, 6.5vmin, 46px); line-height: 1; }

/* ════════ B29 — FARKI BUL + PARA ════════ */
.scene-fark {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(8px, 1.8vh, 16px); border-radius: 18px; overflow: hidden;
  padding-top: clamp(56px, 12vh, 76px); box-sizing: border-box;
}
.fark-panels { display: flex; gap: clamp(10px, 2.4vw, 26px); z-index: 5; }
.fark-panel {
  background: rgba(255, 255, 255, .94); border-radius: 20px;
  padding: clamp(8px, 1.6vmin, 14px);
  box-shadow: 0 8px 22px rgba(250, 82, 82, .12);
}
.fark-panel-title { font-size: clamp(12px, 2vmin, 16px); font-weight: 900; color: #C92A2A; text-align: center; margin-bottom: 6px; }
.fark-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(4px, 1vmin, 10px); }
.fark-cell {
  width: clamp(40px, 9.5vmin, 68px); height: clamp(40px, 9.5vmin, 68px);
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(22px, 5.4vmin, 40px);
  border: 3px solid #FFE3E3; border-radius: 14px; background: #FFF5F5;
  cursor: pointer; transition: transform .12s, border-color .15s, background .15s;
}
.fark-cell:active { transform: scale(.92); }
.fark-cell.found { border-color: #06D6A0; background: #E8FBF4; }
.fark-cell.wrong { border-color: #EF476F; background: #FDECEF; }
.fark-counter {
  z-index: 5; background: rgba(255, 255, 255, .92); border-radius: 999px;
  padding: 5px 16px; font-size: clamp(12px, 2.2vmin, 16px); font-weight: 900; color: #C92A2A;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
}

/* Soru bandı (top:16px) + ilerleme noktaları (top:62px) ile çakışmayı önle */
.scene-kultur, .scene-kesir, .scene-grafik, .scene-su, .scene-mozaik,
.scene-terazi, .scene-robot {
  padding-top: clamp(56px, 12vh, 76px);
  box-sizing: border-box;
}

.scene-para {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(12px, 2.6vh, 26px); border-radius: 18px; overflow: hidden;
  padding-top: clamp(56px, 12vh, 76px); box-sizing: border-box;
}
.para-board {
  z-index: 5; display: flex; gap: clamp(8px, 2vmin, 18px); align-items: center;
  background: rgba(255, 255, 255, .94); border-radius: 24px;
  padding: clamp(12px, 2.6vmin, 22px) clamp(16px, 3.4vmin, 30px);
  box-shadow: 0 8px 22px rgba(184, 134, 11, .16); flex-wrap: wrap; justify-content: center;
}
.para-coin {
  width: clamp(56px, 12vmin, 92px); height: clamp(56px, 12vmin, 92px);
  border-radius: 50%; border: 4px solid #C9A227;
  background: radial-gradient(circle at 35% 30%, #FFF3B0, #F2C94C);
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(18px, 4vmin, 30px); font-weight: 900; color: #7A5B00;
  box-shadow: inset 0 -5px 0 rgba(122, 91, 0, .18), 0 5px 12px rgba(122, 91, 0, .18);
}
.para-coin-big { border-color: #B8860B; background: radial-gradient(circle at 35% 30%, #FFE9B3, #E0A800); }
.para-chips { display: flex; gap: clamp(10px, 2vw, 20px); flex-wrap: wrap; justify-content: center; z-index: 5; }
.para-chip {
  min-width: clamp(80px, 15vmin, 120px);
  padding: clamp(12px, 2.4vmin, 18px) clamp(14px, 2.6vmin, 24px);
  border: 3.5px solid #F2D48A; border-radius: 20px; background: #FFFFFF;
  font-size: clamp(18px, 3.6vmin, 28px); font-weight: 900; color: #7A5B00;
  cursor: pointer; box-shadow: 0 6px 16px rgba(184, 134, 11, .12);
  transition: transform .12s, border-color .15s;
}
.para-chip:active { transform: scale(.94); }
.para-chip.correct { border-color: #06D6A0; background: #E8FBF4; color: #0B9B6F; }
.para-chip.wrong { border-color: #EF476F; background: #FDECEF; color: #C92A2A; }

/* ════════ B30 — DİNİ SEMBOLLER ════════ */
.scene-kultur {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(12px, 2.6vh, 26px); border-radius: 18px; overflow: hidden;
}
.kultur-card {
  z-index: 5; background: rgba(255, 255, 255, .95); border-radius: 28px;
  padding: clamp(14px, 3vmin, 26px);
  box-shadow: 0 10px 26px rgba(46, 158, 107, .16);
  display: flex; align-items: center; justify-content: center;
}
.kultur-card img { width: clamp(110px, 26vmin, 200px); height: clamp(110px, 26vmin, 200px); object-fit: contain; display: block; }
.kultur-chips { display: flex; gap: clamp(10px, 2vw, 20px); flex-wrap: wrap; justify-content: center; z-index: 5; }
.kultur-chip {
  min-width: clamp(90px, 17vmin, 140px);
  padding: clamp(12px, 2.4vmin, 18px) clamp(14px, 2.6vmin, 24px);
  border: 3.5px solid #B7EBD0; border-radius: 20px; background: #FFFFFF;
  cursor: pointer; box-shadow: 0 6px 16px rgba(46, 158, 107, .12);
  transition: transform .12s, border-color .15s;
}
.kultur-chip:active { transform: scale(.94); }
.kc-text { font-size: clamp(16px, 3vmin, 24px); font-weight: 900; color: #1E6B4C; }
.kultur-chip.correct { border-color: #06D6A0; background: #E8FBF4; }
.kultur-chip.wrong { border-color: #EF476F; background: #FDECEF; }

/* ════════ B42 — SES AVI ════════ */
.scene-sesavi {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 3vh, 30px); border-radius: 18px; overflow: hidden;
}
.sesavi-listen {
  z-index: 6;
  display: inline-flex; align-items: center; gap: 8px;
  padding: clamp(10px, 2.2vmin, 16px) clamp(18px, 4vmin, 28px);
  font-size: clamp(20px, 4vmin, 30px); font-weight: 900; color: #14532D;
  background: #FFF9DB; border: 3.5px solid #F2C94C; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
  cursor: pointer; transition: transform .12s;
}
.sesavi-listen:active { transform: scale(.94); }
.sesavi-listen span { font-size: clamp(14px, 2.8vmin, 20px); }

/* ════════ B53 — SES YÖNÜ MODU (scene-sesyon) ════════
   Ses sağdan/soldan/ortadan gelir; üç büyük yön düğmesi. Tamamen sesle
   oynanır (okuma gerekmez). Düğmeler min 88px — küçük parmak için rahat. */
.scene-sesyon { padding-top: clamp(40px, 8vh, 56px); box-sizing: border-box; }
.sesyon-hops {
  font-size: clamp(40px, 10vmin, 72px);
  z-index: 5;
  animation: sesyon-bob 1.6s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.18));
}
@keyframes sesyon-bob {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-8px) rotate(6deg); }
}
.sesyon-row { display: flex; gap: clamp(10px, 3vw, 26px); z-index: 6; flex-wrap: wrap; justify-content: center; }
.sesyon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: clamp(82px, 20vmin, 132px);
  min-height: 88px;
  padding: clamp(10px, 2.2vmin, 18px) clamp(12px, 2.6vmin, 22px);
  border-radius: 24px;
  border: 4px solid #A7E8C4;
  background: #FFFFFF;
  font-size: clamp(22px, 5vmin, 34px);
  font-weight: 900;
  color: #14532D;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(20, 83, 45, .12);
  transition: transform .12s, border-color .15s;
}
.sesyon-btn span { font-size: clamp(12px, 2.6vmin, 17px); }
.sesyon-btn:active { transform: scale(.94); }
.sesyon-btn.correct { border-color: #06D6A0; background: #E8FBF4; }
.sesyon-btn.wrong { border-color: #EF476F; background: #FDECEF; }
.sesyon-btn.reveal-correct { outline: 4px solid #06D6A0; outline-offset: 3px; }
.sesyon-btn.reveal-dim { opacity: 0.35 !important; }
@media (prefers-reduced-motion: reduce) {
  .sesyon-hops { animation: none; }
}
.sesavi-cards { display: flex; gap: clamp(10px, 2.4vw, 22px); flex-wrap: wrap; justify-content: center; z-index: 5; }
.sesavi-card {
  width: clamp(96px, 22vmin, 168px);
  height: clamp(96px, 22vmin, 168px);
  display: flex; align-items: center; justify-content: center;
  background: #FFFFFF; border: 4px solid #A7E8C4; border-radius: 26px;
  cursor: pointer; box-shadow: 0 8px 18px rgba(20, 83, 45, .12);
  transition: transform .12s, border-color .15s, background .2s;
}
.sesavi-card:active { transform: scale(.94); }
.sesavi-emoji { font-size: clamp(52px, 13vmin, 96px); line-height: 1; }
.sesavi-card.correct { border-color: #06D6A0; background: #E8FBF4; }
.sesavi-card.wrong { border-color: #EF476F; background: #FDECEF; animation: wrong-shake .4s ease; }

/* ════════ B32 — KESİRLER ════════ */
.scene-kesir {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(12px, 2.6vh, 26px); border-radius: 18px; overflow: hidden;
}
.kesir-board {
  z-index: 5; background: rgba(255, 255, 255, .95); border-radius: 28px;
  padding: clamp(10px, 2.2vmin, 20px);
  box-shadow: 0 10px 26px rgba(232, 89, 12, .16);
}
.kesir-svg { width: clamp(150px, 34vmin, 260px); height: clamp(150px, 34vmin, 260px); display: block; }
.kesir-chips { display: flex; gap: clamp(10px, 2vw, 20px); flex-wrap: wrap; justify-content: center; z-index: 5; }

/* B32 — kesir çipleri okunur renk (kissa-chip beyaz yazısını ezer) */
.kesir-chip {
  background: #FFF3E0;
  border: 3.5px solid #F2C48A;
  color: #7A3B00 !important;
  font-size: clamp(16px, 3vmin, 24px);
  font-weight: 900;
  border-radius: 20px;
  padding: clamp(12px, 2.4vmin, 18px) clamp(14px, 2.6vmin, 24px);
  box-shadow: 0 6px 16px rgba(232, 89, 12, .12);
}
.kesir-chip.correct { background: #E8FBF4; border-color: #06D6A0; color: #0B9B6F !important; }
.kesir-chip.wrong { background: #FDECEF; border-color: #EF476F; color: #C92A2A !important; }

/* ════════ B34 — ROBOT LABİRENT ════════ */
.scene-robot {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(8px, 1.8vh, 18px); border-radius: 18px; overflow: hidden;
}
.robot-board {
  z-index: 5; background: rgba(255, 255, 255, .95);
  border-radius: 24px; padding: clamp(8px, 1.8vmin, 16px);
  box-shadow: 0 10px 26px rgba(73, 80, 87, .16);
}
.robot-grid { display: grid; gap: clamp(4px, 1vmin, 8px); width: clamp(240px, 52vmin, 400px); }
.robot-cell {
  aspect-ratio: 1; border-radius: 12px; background: #F1F3F5;
  border: 2.5px solid #E0E3E7;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(20px, 5vmin, 38px);
}
.robot-cell.wall { background: #B08968; border-color: #8D6E63; }
.robot-cell.goal { background: #FFF3C4; border-color: #F2C94C; }
.robot-cell.robot { background: #E7F5FF; border-color: #4DABF7; }
.robot-cell.hint { animation: robot-hint 0.8s ease-in-out 2; }
.robot-cell.bump { animation: robot-bump .4s; }
@keyframes robot-bump { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes robot-hint { 0%,100% { box-shadow: none; } 50% { box-shadow: 0 0 0 4px #FFD43B; } }
.robot-pad { z-index: 5; display: grid; grid-template-columns: repeat(3, auto); gap: 8px; justify-content: center; }
.robot-btn {
  width: clamp(48px, 10vmin, 64px); height: clamp(48px, 10vmin, 64px);
  border-radius: 16px; border: 3px solid #CED4DA; background: #fff;
  font-size: clamp(20px, 4.4vmin, 30px); cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  transition: transform .12s;
}
.robot-btn:active { transform: scale(.92); }
.robot-pad [data-dir="up"]    { grid-column: 2; }
.robot-pad [data-dir="left"]  { grid-column: 1; grid-row: 2; }
.robot-pad [data-dir="down"]  { grid-column: 2; grid-row: 2; }
.robot-pad [data-dir="right"] { grid-column: 3; grid-row: 2; }

/* ════════ B36 — GRAFİK OKUMA ════════ */
.scene-grafik {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(12px, 2.6vh, 26px); border-radius: 18px; overflow: hidden;
}
.grafik-board {
  z-index: 5; display: flex; gap: clamp(14px, 3vmin, 28px); align-items: flex-end;
  background: rgba(255, 255, 255, .95); border-radius: 28px;
  padding: clamp(12px, 2.4vmin, 22px) clamp(16px, 3vmin, 30px);
  box-shadow: 0 10px 26px rgba(12, 166, 120, .16);
  height: clamp(190px, 36vmin, 280px);
}
.grafik-col {
  display: flex; flex-direction: column; align-items: center;
  width: clamp(64px, 13vmin, 100px); height: 100%; justify-content: flex-end;
}
.grafik-stack { display: flex; flex-direction: column; align-items: center; }
.grafik-item { font-size: clamp(22px, 5vmin, 36px); line-height: 1.05; }
.grafik-label { margin-top: 6px; font-size: clamp(12px, 2.2vmin, 16px); font-weight: 900; color: #1F2937; }
.grafik-chips { display: flex; gap: clamp(10px, 2vw, 20px); flex-wrap: wrap; justify-content: center; z-index: 5; }
.grafik-chip {
  background: #EAFBF4; border: 3.5px solid #B2E6D2; border-radius: 20px;
  color: #0B6B4C !important; font-weight: 900;
  font-size: clamp(16px, 3vmin, 24px);
  padding: clamp(12px, 2.4vmin, 18px) clamp(14px, 2.6vmin, 24px);
  cursor: pointer; box-shadow: 0 6px 16px rgba(12, 166, 120, .12);
  transition: transform .12s, border-color .15s;
}
.grafik-chip:active { transform: scale(.94); }
.grafik-chip.correct { background: #E8FBF4; border-color: #06D6A0; color: #0B9B6F !important; }
.grafik-chip.wrong { background: #FDECEF; border-color: #EF476F; color: #C92A2A !important; }

/* ════════ B37 — SU YOLLARI ════════ */
.scene-su {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(12px, 2.6vh, 24px); border-radius: 18px; overflow: hidden;
}
.su-board {
  z-index: 5; display: flex; align-items: center; gap: clamp(8px, 1.8vmin, 14px);
  background: rgba(255, 255, 255, .95); border-radius: 24px;
  padding: clamp(14px, 3vmin, 24px);
  box-shadow: 0 10px 26px rgba(28, 126, 214, .16);
}
.su-source, .su-goal { font-size: clamp(30px, 6vmin, 46px); }
.su-row { display: flex; }
.su-tile {
  width: clamp(56px, 12vmin, 88px); height: clamp(56px, 12vmin, 88px);
  border: 3px solid #A5D8FF; background: #F1F8FF;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; margin-left: -3px;
  transition: transform .12s;
}
.su-tile:active { transform: scale(.94); }
.su-pipe {
  width: 100%; height: 38%; background: #4DABF7;
  border-radius: 8px; transition: transform .2s; display: block;
}
.su-tile.vertical .su-pipe { transform: rotate(90deg); }
.su-tile.hint .su-pipe { box-shadow: 0 0 0 4px #FFD43B; }
.su-row.flows .su-pipe { background: #1C7ED6; animation: su-flow .6s ease-in-out infinite alternate; }
@keyframes su-flow { from { filter: brightness(1); } to { filter: brightness(1.3); } }
.su-note {
  z-index: 5; background: rgba(255, 255, 255, .92); border-radius: 999px;
  padding: 5px 16px; font-weight: 900; color: #1C7ED6;
  font-size: clamp(12px, 2.2vmin, 16px);
}

/* ════════ B39 — MOZAİK ════════ */
.scene-mozaik {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(10px, 2.2vh, 22px); border-radius: 18px; overflow: hidden;
}
.mozaik-board {
  z-index: 5; background: rgba(255, 255, 255, .95); border-radius: 24px;
  padding: clamp(10px, 2.2vmin, 18px);
  box-shadow: 0 10px 26px rgba(214, 51, 108, .16);
}
.mozaik-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(4px, 1vmin, 8px); }
.mozaik-slot {
  width: clamp(64px, 14vmin, 104px); height: clamp(64px, 14vmin, 104px);
  border: 3px dashed #F3C1D8; border-radius: 14px; background: #FFF7FA;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.mozaik-slot.filled { border-style: solid; border-color: #06D6A0; background: #E8FBF4; }
.mozaik-slot.hint { animation: mozaik-hint .8s ease-in-out 2; }
.mozaik-pieces { display: flex; gap: clamp(8px, 1.8vw, 16px); flex-wrap: wrap; justify-content: center; z-index: 5; }
.mozaik-piece {
  width: clamp(56px, 12vmin, 90px); height: clamp(56px, 12vmin, 90px);
  border: 3px solid #F3C1D8; border-radius: 14px; background: #FFFFFF;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform .12s, border-color .15s, box-shadow .15s;
}
.mozaik-piece:active { transform: scale(.94); }
.mozaik-piece.is-selected { border-color: #D6336C; box-shadow: 0 0 0 4px rgba(214, 51, 108, .22); }
.mozaik-piece.placed { visibility: hidden; }
.mozaik-piece.wrong { border-color: #EF476F; background: #FDECEF; }
.mozaik-piece.hint { animation: mozaik-hint .8s ease-in-out 2; }
.mozaik-svg { width: 100%; height: 100%; display: block; }
@keyframes mozaik-hint { 0%,100% { box-shadow: none; } 50% { box-shadow: 0 0 0 4px #FFD43B; } }
