/* ═══════════════════════════════════════════════════════════════
   MiniMümin — Mantık Atölyesi sahne stilleri (Dalga B65)
   js/scenes-logic.js ile birlikte çalışır.
   Sahne kapsamlı ipucu vurguları (SÖZLEŞME 1), dokunma hedefi ≥48px,
   :hover kuralları media (hover: hover) içinde.
   ═══════════════════════════════════════════════════════════════ */

/* Sahne kilit: doğru cevaptan sonra tıklamalar kapansın
   (scenes-find.css'te de var — bu dosya tek başına yüklense de kilit çalışsın) */
.scene-locked { pointer-events: none !important; }

/* ── İpucu vurguları (yalnız bu dosyanın sahneleri) ──
   Kapsamlı seçici + !important: games.css'teki global animasyon ezmesine karşı */
.scene-odd .reveal-correct,
.scene-pattern .reveal-correct,
.scene-sudoku .reveal-correct,
.scene-analogy .reveal-correct,
.scene-maze .reveal-correct,
.sl-balance-wrap .reveal-correct {
  outline: 4px dashed var(--green) !important;
  outline-offset: 3px;
  animation: sl-reveal-pulse 1s ease-in-out infinite !important;
}
.scene-odd .reveal-dim,
.scene-pattern .reveal-dim,
.scene-sudoku .reveal-dim,
.scene-analogy .reveal-dim,
.sl-balance-wrap .reveal-dim { opacity: 0.35 !important; filter: grayscale(.4); }
/* Desen '?'/ilişki '?'/terazi '?' kutuları: ipucunda nefes alır */
.pattern-cell.reveal-pulse,
.ana-q.reveal-pulse,
.sl-pan-q.reveal-pulse {
  animation: sl-reveal-pulse 1s ease-in-out infinite !important;
  outline: 3px dashed #FFB703;
  outline-offset: 2px;
}
@keyframes sl-reveal-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-odd .reveal-correct,
  .scene-pattern .reveal-correct,
  .scene-sudoku .reveal-correct,
  .scene-analogy .reveal-correct,
  .scene-maze .reveal-correct,
  .sl-balance-wrap .reveal-correct,
  .pattern-cell.reveal-pulse,
  .ana-q.reveal-pulse,
  .sl-pan-q.reveal-pulse { animation: none !important; }
}

/* Ortak sarsma (yanlış dokunuş geri bildirimi) */
.sl-shake { animation: sl-shake .45s ease; }
@keyframes sl-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}
/* Yerleşme/anında beliren pop */
.sl-pop, .sud-pop { animation: sl-pop .4s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes sl-pop {
  0%   { transform: scale(.6); }
  60%  { transform: scale(1.14); }
  100% { transform: scale(1); }
}

/* ════════ 1) ODD_ONE_OUT — Tuhaf Olanı Bul ════════ */
.scene-odd {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-sizing: border-box;
  background: linear-gradient(160deg, #F3EEFF 0%, #E5DBFF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Motorun soru banner'ı sahnenin ÜSTÜNDE sabit (top:16px) — üst boşluk bırak */
  padding: clamp(44px, 9vh, 62px) 14px 14px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
.odd-cards {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 3vw, 22px);
  justify-content: center;
  align-items: center;
  max-width: 96%;
}
.odd-card {
  width: clamp(96px, 24vw, 150px);
  height: clamp(96px, 24vw, 150px);
  min-width: 48px;
  min-height: 48px;
  border: 4px solid #D0BFFF;
  border-radius: 22px;
  background: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 0 rgba(151, 117, 250, .3);
  transition: transform .13s, border-color .15s, box-shadow .15s;
  animation: sl-enter .45s cubic-bezier(.34, 1.56, .64, 1) backwards;
}
.odd-card:nth-child(2) { animation-delay: .06s; }
.odd-card:nth-child(3) { animation-delay: .12s; }
.odd-card:nth-child(4) { animation-delay: .18s; }
.odd-card:active { transform: scale(.94); }
.odd-card.is-correct {
  border-color: var(--green);
  background: #E9FBF3;
  box-shadow: 0 0 0 4px rgba(6, 214, 160, .3), 0 6px 16px rgba(6, 214, 160, .25);
  animation: sl-pop .45s cubic-bezier(.3, 1.5, .5, 1) both;
}
.odd-card.sl-shake { border-color: #EF476F; background: #FDECEF; }
.odd-emoji { font-size: clamp(42px, 11vw, 72px); line-height: 1; }

/* ════════ 2) PATTERN_NEXT — Deseni Tamamlam ════════ */
.scene-pattern {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-sizing: border-box;
  background: linear-gradient(160deg, #E7F5FF 0%, #D0EBFF 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3.4vh, 30px);
  padding: clamp(44px, 9vh, 62px) 14px 14px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
.pattern-strip {
  display: flex;
  gap: clamp(6px, 1.8vw, 14px);
  flex-wrap: wrap;
  justify-content: center;
  max-width: 96%;
}
.pattern-cell {
  width: clamp(52px, 14vw, 88px);
  height: clamp(52px, 14vw, 88px);
  border-radius: 18px;
  border: 4px solid #A5D8FF;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 rgba(77, 171, 247, .22);
}
.pattern-cell.pattern-q {
  border-style: dashed;
  border-color: #4DABF7;
  background: #F1F9FF;
}
.pattern-cell.pattern-q .pattern-emoji { color: #4DABF7; font-weight: 900; }
.pattern-cell.pattern-filled {
  border-style: solid;
  border-color: var(--green);
  background: #E9FBF3;
  animation: sl-pop .45s cubic-bezier(.3, 1.5, .5, 1) both;
}
.pattern-emoji { font-size: clamp(26px, 7vw, 46px); line-height: 1; }
/* ── Boyut deseni (D9-X) ──
   'boyut' türünde hücreler ve seçenekler size ('kucuk'|'buyuk') taşır;
   aradaki fark 375 px genişlikte bile net olmalı (≈2.1 kat) ama hiçbir
   emoji hücre/düğme kutusunu taşırmamalı (buyuk: 31.5 px / 52.5 px hücre). */
.pattern-emoji.pattern-boyut-kucuk { font-size: clamp(15px, 3.7vw, 24px); }
.pattern-emoji.pattern-boyut-buyuk { font-size: clamp(30px, 8.4vw, 52px); }
.pattern-options {
  display: flex;
  gap: clamp(10px, 2.6vw, 18px);
  flex-wrap: wrap;
  justify-content: center;
}
.pattern-opt {
  width: clamp(76px, 19vw, 112px);
  height: clamp(76px, 19vw, 112px);
  min-width: 48px;
  min-height: 48px;
  border: 4px solid #BDE0FF;
  border-radius: 20px;
  background: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 0 rgba(77, 171, 247, .26);
  transition: transform .13s, border-color .15s;
  animation: sl-enter .45s cubic-bezier(.34, 1.56, .64, 1) backwards;
}
.pattern-opt:nth-child(2) { animation-delay: .07s; }
.pattern-opt:nth-child(3) { animation-delay: .14s; }
.pattern-opt:nth-child(4) { animation-delay: .21s; }
.pattern-opt:active { transform: scale(.94); }
.pattern-opt.is-correct {
  border-color: var(--green);
  background: #E9FBF3;
  box-shadow: 0 0 0 4px rgba(6, 214, 160, .3);
}
.pattern-opt.sl-shake { border-color: #EF476F; background: #FDECEF; }

/* ════════ 3) MINI_SUDOKU — Mini Sudoku ════════ */
.scene-sudoku {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-sizing: border-box;
  background: linear-gradient(160deg, #E6FCF5 0%, #C3FAE8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3.2vh, 28px);
  padding: clamp(44px, 9vh, 62px) 14px 14px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
.sud-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 2x2 kutu görünümü: iç kenar ince, kutu kenarları kalın */
  border: 5px solid #0CA678;
  border-radius: 14px;
  background: #FFFFFF;
  width: min(76vw, 46vh, 330px);
  aspect-ratio: 1;
  overflow: hidden;
}
.sud-cell {
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1;
  border: 1.5px solid #B2F2BB;
  background: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .15s;
}
/* Kutu çizgileri: sağ/alt 2x2 sınırında kalın */
.sud-cell.sud-bx-r { border-right: 4px solid #0CA678; }
.sud-cell.sud-bx-b { border-bottom: 4px solid #0CA678; }
.sud-cell.sel {
  background: #FFF9DB;
  box-shadow: inset 0 0 0 4px #FFB703;
}
.sud-cell.filled { background: #F8FFF9; }
.sud-cell.sl-shake { background: #FDECEF; animation: sl-shake .45s ease; }
.sud-emoji {
  font-size: clamp(22px, 6.4vw, 40px);
  line-height: 1;
  pointer-events: none;
}
.sud-palette {
  display: flex;
  gap: clamp(12px, 3vw, 22px);
  justify-content: center;
}
.sud-pal {
  width: clamp(56px, 15vw, 76px);
  height: clamp(56px, 15vw, 76px);
  min-width: 48px;
  min-height: 48px;
  border: 4px solid #96F2D7;
  border-radius: 18px;
  background: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 0 rgba(12, 166, 120, .28);
  transition: transform .13s, border-color .15s, box-shadow .15s;
}
.sud-pal:active { transform: scale(.92); }
.sud-pal.sel {
  transform: scale(1.08);
  border-color: #FFB703;
  box-shadow: 0 0 0 3px #FFB703, 0 5px 0 rgba(12, 166, 120, .28);
}

/* ════════ 4) ANALOGY — İlişkiyi Eşleştir ════════ */
.scene-analogy {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-sizing: border-box;
  background: linear-gradient(160deg, #FFF9E8 0%, #FFF0D2 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.4vh, 20px);
  padding: clamp(44px, 9vh, 62px) 14px 14px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
.ana-example {
  background: rgba(255, 255, 255, .8);
  border-radius: 20px;
  padding: clamp(8px, 2vw, 14px) clamp(16px, 4vw, 30px);
  box-shadow: 0 4px 12px rgba(245, 159, 0, .16);
}
.ana-pair, .ana-probe {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2.6vw, 18px);
}
.ana-probe {
  background: rgba(255, 255, 255, .94);
  border-radius: 20px;
  padding: clamp(8px, 2vw, 14px) clamp(16px, 4vw, 30px);
  box-shadow: 0 4px 12px rgba(245, 159, 0, .2);
}
.ana-arrow { font-size: clamp(22px, 6vw, 36px); color: #F59F00; font-weight: 900; }
.ana-q { font-size: clamp(30px, 8vw, 48px); line-height: 1; color: #F59F00; }
.ana-q.ana-answered { animation: sl-pop .45s cubic-bezier(.3, 1.5, .5, 1) both; }
.ana-emoji { font-size: clamp(34px, 9vw, 56px); line-height: 1; }
/* Boyut ilişkisi görselleştirme (İŞ 1c): taban .ana-emoji'nin ~yarısı / ~1.6 katı.
   clamp ile ölçeklenir; ana-kucuk sağda küçük kalsın diye dikeyde de hafif düşürülür. */
.ana-emoji.ana-kucuk {
  font-size: clamp(18px, 4.6vw, 28px);
  line-height: 1;
}
.ana-emoji.ana-buyuk {
  font-size: clamp(44px, 14.4vw, 88px);
  line-height: 1;
}
.ana-options {
  display: flex;
  gap: clamp(10px, 2.6vw, 18px);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: clamp(4px, 1.4vh, 12px);
}
.ana-opt {
  width: clamp(76px, 19vw, 112px);
  height: clamp(76px, 19vw, 112px);
  min-width: 48px;
  min-height: 48px;
  border: 4px solid #FFE8A3;
  border-radius: 20px;
  background: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 0 rgba(245, 159, 0, .28);
  transition: transform .13s, border-color .15s;
  animation: sl-enter .45s cubic-bezier(.34, 1.56, .64, 1) backwards;
}
.ana-opt:nth-child(2) { animation-delay: .07s; }
.ana-opt:nth-child(3) { animation-delay: .14s; }
.ana-opt:nth-child(4) { animation-delay: .21s; }
.ana-opt:active { transform: scale(.94); }
.ana-opt.is-correct {
  border-color: var(--green);
  background: #E9FBF3;
  box-shadow: 0 0 0 4px rgba(6, 214, 160, .3);
}
.ana-opt.sl-shake { border-color: #EF476F; background: #FDECEF; }

/* ════════ 5) MAZE — Labirent ════════ */
.scene-maze {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-sizing: border-box;
  background: linear-gradient(160deg, #FFF5F5 0%, #FFE3E3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(44px, 9vh, 62px) 14px 14px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
.maze-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--mz-cols, 5), 1fr);
  grid-template-rows: repeat(var(--mz-rows, 5), 1fr);
  gap: 3px;
  width: min(86vw, 52vh, 380px);
  aspect-ratio: var(--mz-cols, 5) / var(--mz-rows, 5);
  background: #FFC9C9;
  border: 5px solid #FA5252;
  border-radius: 14px;
  padding: 4px;
  box-sizing: border-box;
  touch-action: none;
}
.maze-cell {
  position: relative;
  border-radius: 6px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s;
}
.maze-cell.maze-wall {
  background: #8A5A2B;
  border-radius: 4px;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, .3);
}
.maze-cell.sl-shake { background: #FFE3E3; animation: sl-shake .45s ease; }
.maze-cell.maze-wall.sl-shake { filter: brightness(1.25); }
.maze-goal-emoji { font-size: clamp(16px, 4.6vw, 28px); line-height: 1; pointer-events: none; }
.maze-goal.reveal-correct { background: #FFF3BF; }

/* İz Bırakma (Sugarizer Breadcrumbs / Footprints) — 2-8 yaş bilişsel takip */
.maze-cell.maze-visited::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.65;
  box-shadow: 0 0 3px rgba(6, 214, 160, .45);
  pointer-events: none;
  animation: maze-crumb-pop .2s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes maze-crumb-pop {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: .65; }
}
.maze-cell.maze-wall::after,
.maze-cell.maze-goal::after {
  display: none !important;
}
/* Karakter hücrelerin üstünde gezinir — yüzde tabanlı geçişli konum */
.maze-char {
  position: absolute;
  width: calc(100% / var(--mz-cols, 5));
  height: calc(100% / var(--mz-rows, 5));
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: left .22s ease, top .22s ease;
  z-index: 3;
}
.maze-char span {
  font-size: clamp(18px, 5vw, 32px);
  line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25));
}
.maze-char.maze-hop { animation: sl-hop .24s ease; }
@keyframes sl-hop {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.22); }
}

/* ── Giriş animasyonu (kart/çip benzeri) ── */
@keyframes sl-enter {
  from { opacity: 0; transform: translateY(14px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ════════ 6) BALANCE_SCALE — Kefeli Terazi ════════ */
.sl-balance-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  overflow-x: hidden;
  box-sizing: border-box;
  background: linear-gradient(160deg, #FFF9F0 0%, #FFE8CC 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 8vh, 58px) 12px 14px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  gap: clamp(10px, 2vh, 18px);
}

.sl-balance-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 540px;
  gap: clamp(8px, 2vw, 16px);
}

.sl-balance-dual .sl-balance-cards {
  max-width: 820px;
}

.sl-balance-card {
  flex: 1 1 0;
  min-width: 0;
  background: rgba(255, 255, 255, 0.88);
  border: 3px solid #D7CCC8;
  border-radius: 20px;
  padding: clamp(6px, 1.5vh, 12px);
  box-shadow: 0 4px 14px rgba(93, 64, 55, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  box-sizing: border-box;
}

.sl-balance-svg {
  width: 100%;
  max-width: 460px;
  height: auto;
  max-height: clamp(130px, 30vh, 240px);
  display: block;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.05));
  overflow: visible;
}

.sl-balance-beam {
  transform-box: view-box;
  transform-origin: 230px 95px;
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sl-balance-pan {
  transform-box: view-box;
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sl-pan-left {
  transform-origin: 80px 95px;
}

.sl-pan-right {
  transform-origin: 380px 95px;
}

.sl-pan-q {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 900;
  animation: sl-pan-q-pulse 1.4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes sl-pan-q-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.6; }
}

.sl-pan-settled {
  animation: sl-pop 0.45s cubic-bezier(0.3, 1.5, 0.5, 1) both;
}

.sl-balance-options {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 2vw, 16px);
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 520px;
}

.sl-scale-btn {
  min-width: 48px;
  min-height: 48px;
  height: clamp(48px, 8.5vh, 60px);
  padding: 6px clamp(12px, 3vw, 20px);
  border: 3.5px solid #BCAAA4;
  border-radius: 18px;
  background: #FFFFFF;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 0 #8D6E63;
  transition: transform 0.12s, border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
  animation: sl-enter 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(16px, 3.6vw, 22px);
  color: #4E342E;
  box-sizing: border-box;
  touch-action: manipulation;
}

.sl-scale-btn:nth-child(2) { animation-delay: 0.05s; }
.sl-scale-btn:nth-child(3) { animation-delay: 0.10s; }
.sl-scale-btn:nth-child(4) { animation-delay: 0.15s; }

.sl-scale-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #8D6E63;
}

.sl-scale-btn.is-correct {
  border-color: var(--green);
  background: #E8FBF4;
  color: #048A66;
  box-shadow: 0 0 0 3px rgba(6, 214, 160, 0.3), 0 6px 14px rgba(6, 214, 160, 0.25);
  animation: sl-pop 0.45s cubic-bezier(0.3, 1.5, 0.5, 1) both;
}

.sl-scale-btn.sl-shake {
  border-color: #EF476F;
  background: #FDECEF;
}

.sl-scale-emoji {
  font-size: clamp(24px, 5.2vw, 34px);
  line-height: 1;
}

.sl-scale-text {
  font-size: clamp(15px, 3.4vw, 20px);
  line-height: 1.2;
}

.sl-scale-fly {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* ── Dokunmatikte sticky-hover öğeyi basılıyormuş gibi oynatmasın ── */
@media (hover: hover) {
  .odd-card:hover { transform: translateY(-3px); }
  .pattern-opt:hover { transform: translateY(-3px); }
  .sud-pal:hover { transform: translateY(-3px); }
  .sud-pal.sel:hover { transform: scale(1.08) translateY(-3px); }
  .ana-opt:hover { transform: translateY(-3px); }
  .maze-cell:not(.maze-wall):hover { background: #FFF9DB; }
  .sl-scale-btn:hover { border-color: #8D6E63; background: #FFF8E1; transform: translateY(-2px); box-shadow: 0 6px 0 #8D6E63; }
}

@media (prefers-reduced-motion: reduce) {
  .odd-card, .pattern-opt, .ana-opt, .sl-scale-btn { animation: none; }
  .maze-char { transition: none; }
  .maze-char.maze-hop, .sl-pop, .sud-pop, .sl-shake { animation: none; }
  .pattern-cell.pattern-filled, .ana-q.ana-answered { animation: none; }
  .sl-balance-beam, .sl-balance-pan { transition: none !important; }
  .sl-pan-q { animation: none !important; }
}

@media (max-width: 430px) {
  .sl-balance-wrap {
    padding: clamp(36px, 7vh, 46px) 8px 10px;
    gap: 8px;
  }
  .sl-balance-dual .sl-balance-cards {
    flex-direction: column;
    gap: 6px;
  }
  .sl-balance-card {
    padding: 4px;
    border-radius: 14px;
    border-width: 2.5px;
  }
  .sl-balance-svg {
    max-height: clamp(100px, 20vh, 140px);
  }
  .sl-balance-options {
    gap: 6px;
  }
  .sl-scale-btn {
    min-height: 44px;
    height: clamp(44px, 7.5vh, 52px);
    padding: 4px 10px;
    font-size: 15px;
    border-radius: 14px;
  }
  .sl-scale-emoji {
    font-size: 22px;
  }
}

/* Küçük telefonlarda labirent/sudoku/terazi kenar payını daralt */
@media (max-width: 400px) {
  .scene-odd, .scene-pattern, .scene-sudoku, .scene-analogy, .scene-maze, .sl-balance-wrap {
    padding-left: 8px;
    padding-right: 8px;
  }
  .sud-board { width: min(84vw, 46vh, 300px); }
}
