/* ALKİMO — 2. sınıf ek oyunları: Koordinat Avcısı (kd-) ve Ok Tuşu Pilotu (ot-) */
.k2 { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 44px); padding: 16px; box-sizing: border-box; overflow: auto; color: var(--ink); }
.k2.narrow { flex-direction: column; justify-content: flex-start; gap: 14px; }
.k2-board { flex: none; display: flex; flex-direction: column; align-items: center; }
.k2-pad { flex: none; display: flex; flex-direction: column; align-items: center; gap: 14px; width: 270px; box-sizing: border-box; padding: 18px; background: #fff; border: 4px solid var(--ink); border-radius: 26px; box-shadow: 0 7px 0 #17123F; }
.k2-pad h4 { margin: 0; font-size: 23px; text-align: center; }
.kd-tip { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink-soft); text-align: center; }

/* Koordinat Avcısı */
.kd-grid { display: grid; gap: 0; padding: 10px 14px 14px 10px; background: #1E1A4D; border: 4px solid #8B84D9; border-radius: 22px; }
.kd-corner { display: block; }
.kd-h { display: flex; align-items: center; justify-content: center; font-size: calc(var(--cs) * .36); color: #D9D4FF; border-radius: 10px; transition: background .2s, color .2s; }
.kd-h.on { background: #FFC531; color: var(--ink); }
.kd-c { position: relative; display: flex; align-items: center; justify-content: center; box-sizing: border-box; margin: 0; padding: 0; border: 2px solid #4A4390; background: #2B2563; color: #fff; font: inherit; font-size: calc(var(--cs) * .5); cursor: default; }
button.kd-c { cursor: pointer; touch-action: manipulation; }
button.kd-c:active { background: #3E3794; }
.kd-c.ok { background: #3E3794; }
.kd-e { line-height: 1; font-size: calc(var(--cs) * .6); }
@keyframes kd-pop { 0% { transform: scale(.5); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.kd-pop { animation: kd-pop .35s ease; }
.kd-ask { min-width: 150px; padding: 10px 24px; box-sizing: border-box; border: 5px solid var(--ink); border-radius: 22px; background: #FFC531; box-shadow: 0 6px 0 var(--ink); font-size: 64px; font-weight: 700; line-height: 1.05; text-align: center; letter-spacing: 2px; }
.kd-opts { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.kd-opt { min-height: 68px; border: 4px solid var(--ink); border-radius: 18px; background: #fff; box-shadow: 0 6px 0 var(--ink); color: var(--ink); font: inherit; font-size: 36px; font-weight: 700; letter-spacing: 2px; cursor: pointer; touch-action: manipulation; }
.kd-opt:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.kd-opt.ok { background: #DFF7EA; }
.kd-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.kd-list li { padding: 6px 12px; border: 3px solid var(--ink); border-radius: 12px; background: #F4F3FB; font-size: 26px; font-weight: 700; letter-spacing: 1px; color: #9C9AB8; }
.kd-list li.now { background: #FFC531; color: var(--ink); }
.kd-list li.done { background: #DFF7EA; color: var(--ink); text-decoration: line-through; text-decoration-thickness: 3px; }
@media (hover: hover) { button.kd-c:hover { background: #3A3388; } .kd-opt:hover { filter: brightness(.97); } }

/* Ok Tuşu Pilotu */
.ot-board { position: relative; border: 5px solid #8B84D9; border-radius: 18px; background-color: #1E1A4D; background-image: linear-gradient(#3A3388 2px, transparent 2px), linear-gradient(90deg, #3A3388 2px, transparent 2px); overflow: hidden; }
.ot-item { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; }
.ot-item span { line-height: 1; }
.ot-ship { z-index: 2; transition: transform .16s ease-out; }
.ot-rock svg { width: 78%; height: 78%; }
.ot-count { font-size: 34px; }
.ot-keys { display: grid; grid-template-columns: repeat(3, 70px); grid-template-rows: repeat(2, 70px); gap: 8px; }
.ot-key { display: flex; align-items: center; justify-content: center; padding: 0; border: 4px solid var(--ink); border-radius: 16px; background: #F4F3FB; box-shadow: 0 5px 0 var(--ink); color: var(--ink); cursor: pointer; touch-action: manipulation; }
.ot-key svg { width: 38px; height: 38px; }
.ot-key.k-up { grid-column: 2; grid-row: 1; }
.ot-key.k-left { grid-column: 1; grid-row: 2; }
.ot-key.k-down { grid-column: 2; grid-row: 2; }
.ot-key.k-right { grid-column: 3; grid-row: 2; }
.ot-key.want { background: #FFC531; }
@keyframes ot-hit { 0% { transform: translateY(5px); box-shadow: 0 0 0 var(--ink); background: #2EC27E; color: #fff; } 100% { transform: none; } }
@keyframes ot-miss { 0% { transform: translateY(5px); box-shadow: 0 0 0 var(--ink); background: #FF5A4E; color: #fff; } 100% { transform: none; } }
.ot-key.hit { animation: ot-hit .3s ease; }
.ot-key.miss { animation: ot-miss .35s ease; }
.ot-card { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 34px; background: #fff; border: 5px solid var(--ink); border-radius: 30px; box-shadow: 0 8px 0 #17123F; }
.ot-lead { margin: 0; font-size: 22px; font-weight: 600; color: var(--ink-soft); }
.ot-show { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ot-show svg { width: 170px; height: 170px; color: #2F7BFF; }
.ot-show b { font-size: 48px; letter-spacing: 3px; }

/* büyük akıllı tahta */
.k2.big .k2-pad { width: 340px; gap: 18px; }
.k2.big .k2-pad h4 { font-size: 29px; }
.k2.big .kd-tip { font-size: 20px; }
.k2.big .kd-ask { font-size: 84px; }
.k2.big .kd-opt { min-height: 88px; font-size: 46px; }
.k2.big .kd-list li { font-size: 32px; }
.k2.big .ot-keys { grid-template-columns: repeat(3, 92px); grid-template-rows: repeat(2, 92px); gap: 10px; }
.k2.big .ot-key svg { width: 50px; height: 50px; }
.k2.big .ot-show svg { width: 230px; height: 230px; }
.k2.big .ot-show b { font-size: 64px; }

/* telefon */
.k2.narrow .k2-pad { width: min(100%, 360px); padding: 12px; gap: 10px; }
.k2.narrow .kd-ask { font-size: 44px; }
.k2.narrow .kd-opts { flex-direction: row; }
.k2.narrow .kd-opt { flex: 1; min-height: 56px; font-size: 28px; }
.k2.narrow .kd-list li { font-size: 20px; }
.k2.narrow .ot-show svg { width: 110px; height: 110px; }
.k2.narrow .ot-show b { font-size: 34px; }
.k2.narrow .ot-card { padding: 16px 22px; }
