/* ALKİMO — 1. sınıf ek oyunları: Balon Balığı (pf-), Deniz Sayımı (sy-), Sıra ve Yığın (ky-) */
.k1 { 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); }
.k1.narrow { flex-direction: column; justify-content: flex-start; gap: 14px; }
.k1-board { flex: none; display: flex; flex-direction: column; align-items: center; }
.k1-pad { flex: none; display: flex; flex-direction: column; align-items: center; gap: 14px; width: 280px; box-sizing: border-box; padding: 18px; background: #fff; border: 4px solid var(--ink); border-radius: 26px; box-shadow: 0 7px 0 var(--ink); }
.k1-pad h4 { margin: 0; font-size: 23px; text-align: center; }
.k1-tip { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink-soft); text-align: center; }
.k1, .k1 button { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }

/* Balon Balığı */
.pf-water { position: relative; border: 5px solid var(--ink); border-radius: 30px; background: radial-gradient(circle at 50% 40%, #BDEBFF, #5EC8F2); box-shadow: 0 8px 0 var(--ink); overflow: hidden; touch-action: none; cursor: pointer; }
.pf-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); box-sizing: border-box; border: 6px dashed #fff; border-radius: 50%; transition: border-color .15s; }
.pf-ring.hit { border-color: #FFC531; border-style: solid; }
.pf-fish { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); line-height: 1; pointer-events: none; }
@keyframes pf-pop { 0% { transform: translate(-50%, -50%) scale(1); } 40% { transform: translate(-50%, -50%) scale(1.15); } 100% { transform: translate(-50%, -50%) scale(1); } }
.pf-pop { animation: pf-pop .4s ease; }
.pf-hold { width: 100%; min-height: 110px; border: 5px solid var(--ink); border-radius: 26px; background: #FFC531; box-shadow: 0 8px 0 var(--ink); color: var(--ink); font: inherit; font-size: 26px; font-weight: 700; letter-spacing: 1px; cursor: pointer; touch-action: none; }
.pf-hold.on { transform: translateY(6px); box-shadow: 0 2px 0 var(--ink); background: #2EC27E; color: #fff; }
.pf-count { font-size: 26px; }

/* Deniz Sayımı */
.sy-scene { position: relative; border: 5px solid var(--ink); border-radius: 28px; background: linear-gradient(#BDEBFF, #7DD3FC 70%, #F5D9A8 70%); box-shadow: 0 8px 0 var(--ink); }
.sy-it { position: absolute; transform: translate(-50%, -50%); padding: 0; border: 0; background: none; line-height: 1; cursor: pointer; touch-action: manipulation; transition: opacity .25s, transform .25s; }
.sy-it.done { opacity: .3; transform: translate(-50%, -50%) scale(.85); cursor: default; }
.sy-graph { display: flex; gap: 10px; align-items: flex-end; padding: 10px; border-bottom: 4px solid var(--ink); }
.sy-col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sy-stack { display: flex; flex-direction: column-reverse; gap: 3px; }
.sy-slot { display: flex; align-items: center; justify-content: center; width: 42px; height: 36px; box-sizing: border-box; border: 2px dashed #CFCDE2; border-radius: 8px; font-size: 24px; line-height: 1; }
.sy-slot.on { border: 2px solid var(--ink); background: #DDEFFF; }
.sy-lab { font-size: 30px; line-height: 1; }
.sy-q { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.sy-qt { margin: 0; font-size: 20px; font-weight: 700; text-align: center; }
.sy-opts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sy-opt { min-width: 60px; min-height: 60px; border: 4px solid var(--ink); border-radius: 16px; background: #fff; box-shadow: 0 5px 0 var(--ink); color: var(--ink); font: inherit; font-size: 32px; font-weight: 700; line-height: 1; cursor: pointer; touch-action: manipulation; }
.sy-opts.num .sy-opt { min-width: 52px; min-height: 52px; font-size: 26px; }
.sy-opt.ok { background: #DFF7EA; }
.sy-opt:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }

/* Sıra ve Yığın */
.ky-q { display: flex; align-items: center; gap: 14px; padding: 22px; border: 5px solid var(--ink); border-radius: 28px; background: #BDEBFF; box-shadow: 0 8px 0 var(--ink); }
.ky-stand { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 10px; border: 4px solid var(--ink); border-radius: 18px; background: #FFC531; font-size: 46px; line-height: 1; }
.ky-stand b { font-size: 15px; letter-spacing: 1px; }
.ky-line { display: flex; gap: 10px; }
.ky-f { position: relative; width: 96px; height: 96px; border: 4px solid var(--ink); border-radius: 22px; background: #fff; box-shadow: 0 6px 0 var(--ink); font-size: 56px; line-height: 1; cursor: pointer; touch-action: manipulation; transition: transform .4s, opacity .4s; }
.ky-f i { position: absolute; top: -12px; left: -10px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border: 3px solid var(--ink); border-radius: 50%; background: #fff; font-style: normal; font-size: 16px; font-weight: 700; }
.ky-f.first { background: #DFF7EA; }
.ky-f.first i { background: #2EC27E; color: #fff; }
.ky-f.go { transform: translateX(-120px) scale(.6); opacity: 0; }
@keyframes ky-in { 0% { transform: translateX(60px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.ky-in { animation: ky-in .35s ease; }
.ky-cnt { font-size: 26px; }
.ky-s { display: flex; align-items: flex-end; gap: 22px; padding: 22px; border: 5px solid var(--ink); border-radius: 28px; background: #BDEBFF; box-shadow: 0 8px 0 var(--ink); }
.ky-tower { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 120px; justify-content: flex-end; }
.ky-plate { display: flex; align-items: center; justify-content: center; width: 180px; height: 58px; border: 4px solid var(--ink); border-radius: 30px; box-shadow: 0 4px 0 var(--ink); font-size: 38px; line-height: 1; cursor: pointer; touch-action: manipulation; }
.ky-plate.top { outline: 5px solid #FFC531; outline-offset: 3px; }
.ky-trayw { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 700; color: var(--ink-soft); }
.ky-tray { display: flex; flex-direction: column-reverse; gap: 4px; min-width: 64px; min-height: 64px; padding: 6px; border: 3px dashed var(--ink); border-radius: 16px; background: rgba(255,255,255,.6); font-size: 30px; line-height: 1; align-items: center; }
.ky-t.got { background: #FFC531; border-radius: 10px; padding: 2px; }
.ky-want { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
.ky-want b { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border: 4px solid var(--ink); border-radius: 18px; background: #FFF1C2; font-size: 46px; line-height: 1; }
@media (hover: hover) { .ky-f:hover, .ky-plate:hover, .sy-opt:hover { filter: brightness(.97); } }

/* büyük akıllı tahta */
.k1.big .k1-pad { width: 360px; gap: 18px; }
.k1.big .k1-pad h4 { font-size: 30px; }
.k1.big .k1-tip { font-size: 20px; }
.k1.big .pf-hold { min-height: 150px; font-size: 34px; }
.k1.big .sy-slot { width: 56px; height: 46px; font-size: 32px; }
.k1.big .sy-qt { font-size: 26px; }
.k1.big .sy-opt { min-width: 80px; min-height: 80px; font-size: 42px; }
.k1.big .ky-f { width: 130px; height: 130px; font-size: 76px; }
.k1.big .ky-plate { width: 240px; height: 78px; font-size: 52px; }

/* telefon */
.k1.narrow .k1-pad { width: min(100%, 360px); padding: 12px; gap: 10px; }
.k1.narrow .pf-hold { min-height: 80px; }
.k1.narrow .ky-q { flex-direction: column; padding: 14px; }
.k1.narrow .ky-f { width: 66px; height: 66px; font-size: 38px; }
.k1.narrow .ky-line { gap: 6px; }
.k1.narrow .ky-plate { width: 150px; height: 50px; font-size: 32px; }
.k1.narrow .ky-s { padding: 14px; }
