/* ALKİMO — Fruit and Vegetables / Obst und Gemüse (dil bölümleri ek oyunu) */
.fv { 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; --card: 132px; --mini: 68px; }
.fv.big { --card: 180px; --mini: 92px; }
.fv.narrow { flex-direction: column; justify-content: flex-start; gap: 14px; --card: 96px; --mini: 50px; }
.fv-board { display: flex !important; align-items: center; justify-content: center; padding: 18px 22px !important; flex: none; max-width: 100%; box-sizing: border-box; }
.fv-pad { display: flex !important; flex-direction: column; align-items: center; gap: 12px; padding: 16px 18px !important; flex: none; }
.fv-pad h4 { margin: 0; font-size: 22px; }

/* kartlar */
.fv-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: var(--card); height: var(--card); box-sizing: border-box; padding: 6px; border: 4px solid var(--ink); border-radius: 24px; background: #fff; box-shadow: 0 6px 0 var(--ink); color: var(--ink); font: inherit; transition: transform .3s ease, opacity .3s ease, background .2s ease; }
button.fv-card { cursor: pointer; touch-action: manipulation; }
button.fv-card:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.fv-e { font-size: calc(var(--card) * .52); line-height: 1; }
.fv-card.hero { width: calc(var(--card) * 1.5); height: calc(var(--card) * 1.5); border-width: 5px; border-radius: 30px; }
.fv-card.hero .fv-e { font-size: calc(var(--card) * .78); }
.fv-n { font-size: calc(var(--card) * .15); letter-spacing: .5px; white-space: nowrap; }
.fv-card.mini { width: var(--mini); height: var(--mini); padding: 2px; border-width: 3px; border-radius: 16px; box-shadow: 0 4px 0 var(--ink); }
.fv-card.mini .fv-e { font-size: calc(var(--mini) * .6); }
.fv-card.ok, .fv-card.fixed { background: #DFF7EA; }
.fv-card.ghost { opacity: .3; border-style: dashed; box-shadow: none; }
.fv-card.out { transform: scale(.3); opacity: 0; }
.fv-card.now { transform: translateY(-8px) scale(1.12); background: #FFF1C2; }
.fv-card.gone { opacity: .18; transform: scale(.85); }
.fv-card.bad { background: #FFE1DE; border-color: #E5483D; }
.fv-card.bad::after { content: '\2715'; position: absolute; top: -10px; right: -10px; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border: 3px solid var(--ink); border-radius: 50%; background: #E5483D; color: #fff; font-size: 14px; font-weight: 700; }
@keyframes fv-pop { 0% { transform: scale(.6); } 70% { transform: scale(1.08); } 100% { transform: scale(1); } }
.fv-pop { animation: fv-pop .3s ease; }

/* 1: sepetler */
.fv-scene { display: flex; align-items: flex-end; gap: 14px; }
.fv-bot { display: block; width: calc(var(--card) * .62); }
.fv-bot svg { display: block; width: 100%; height: auto; }
.fv-bot.sm { width: calc(var(--mini) * .9); flex: none; }
.fv-belt { display: flex; align-items: center; justify-content: center; min-width: calc(var(--card) * 1.6); min-height: calc(var(--card) * 1.6); padding-bottom: 12px; border-bottom: 10px solid var(--ink); border-radius: 0 0 6px 6px; }
.fv-bins { display: flex; gap: 14px; }
.fv-bin { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; width: 172px; min-height: 196px; padding: 10px 8px; box-sizing: border-box; border: 4px solid var(--ink); border-radius: 24px; box-shadow: 0 6px 0 var(--ink); color: var(--ink); font: inherit; font-weight: 700; font-size: 20px; letter-spacing: .5px; cursor: pointer; touch-action: manipulation; }
.fv-bin:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.fv-bin.bin-f, .fv-big.bin-f { background: #FFE3E0; }
.fv-bin.bin-v, .fv-big.bin-v { background: #DDF5E6; }
.fv-bsk svg { display: block; width: 72px; height: 54px; }
.fv-got { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; min-height: 28px; font-size: 22px; line-height: 1.1; }

/* 2-3: bul */
.fv-grid { display: grid; grid-template-columns: repeat(2, var(--card)); gap: 18px; }
.fv-prompt { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 190px; min-height: 112px; padding: 8px 18px; box-sizing: border-box; border: 4px solid var(--ink); border-radius: 22px; background: #FFF1C2; box-shadow: 0 6px 0 var(--ink); font-weight: 700; font-size: 34px; letter-spacing: 1px; }
.fv-prompt .fv-ear { font-size: 64px; line-height: 1; }
.fv-prompt .fv-pe { font-size: 44px; line-height: 1; }

/* 4-5: iki büyük sepet */
.fv-two { display: flex; gap: 16px; align-items: stretch; }
.fv-big { display: flex; flex-direction: column; gap: 8px; width: calc(var(--mini) * 3 + 44px); padding: 10px; box-sizing: border-box; border: 4px solid var(--ink); border-radius: 22px; }
.fv-big.bin-1 { background: #DDEFFF; }
.fv-big.bin-2 { background: #FFF1C2; }
.fv-bh { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; letter-spacing: .5px; }
.fv-bh .fv-bsk svg { width: 44px; height: 33px; }
.fv-items { display: grid; grid-template-columns: repeat(3, var(--mini)); gap: 8px; justify-content: center; align-content: start; min-height: calc(var(--mini) * 2 + 8px); }
.fv-bugs { display: flex; align-items: center; gap: 8px; font-size: 30px; font-weight: 700; }
.fv-bug { font-size: 44px; line-height: 1; }
.fv-hint { max-width: 230px; color: var(--ink-soft); font-weight: 600; font-size: 15px; text-align: center; }
.fv-stack { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fv-qrow { display: flex; align-items: center; gap: 10px; }
.fv-queue { display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(var(--mini) * 4 + 40px); padding: 8px; border: 3px dashed #9C9AB8; border-radius: 14px; background: #F4F3FB; }
.fv-rule { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 4px solid var(--ink); border-radius: 18px; background: #23214A; color: #fff; font-weight: 700; font-size: 18px; }
.fv-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 6px 8px; border-radius: 12px; transition: background .2s ease; }
.fv-line.on { background: #3E3A7A; box-shadow: inset 0 0 0 3px #FFC531; }
.fv-kw { color: #FFC531; letter-spacing: 1px; }
.fv-slot { display: inline-flex; align-items: center; justify-content: center; min-width: 92px; height: 40px; padding: 0 10px; box-sizing: border-box; border: 3px dashed #fff; border-radius: 10px; }
.fv-slot.on { border-style: solid; background: #fff; color: var(--ink); }
.fv-to { color: #BDEBFF; }
.fv-conds { display: grid; grid-template-columns: repeat(3, auto); gap: 10px; justify-content: center; }
.fv-cond { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 104px; min-height: 56px; padding: 6px 10px; box-sizing: border-box; border: 4px solid var(--ink); border-radius: 16px; background: #fff; box-shadow: 0 5px 0 var(--ink); color: var(--ink); font: inherit; font-weight: 700; font-size: 17px; letter-spacing: .5px; cursor: pointer; touch-action: manipulation; }
.fv-cond:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.fv-cond.on { background: #FFC531; }
.fv-cond.c-fruit::before { content: '\1F34E'; }
.fv-cond.c-veg::before { content: '\1F955'; }
.fv-cond.c-red::before, .fv-cond.c-yellow::before, .fv-cond.c-green::before { content: ''; display: inline-block; width: 16px; height: 16px; border: 3px solid var(--ink); border-radius: 50%; }
.fv-cond.c-red::before { background: #E53935; }
.fv-cond.c-yellow::before { background: #FFD21F; }
.fv-cond.c-green::before { background: #2EB872; }
.fv-row { display: flex; gap: 10px; }

@media (hover: hover) { button.fv-card:hover, .fv-bin:hover, .fv-cond:hover { filter: brightness(.97); } }

/* büyük akıllı tahta */
.fv.big .fv-pad h4 { font-size: 28px; }
.fv.big .fv-bin { width: 230px; min-height: 256px; font-size: 26px; }
.fv.big .fv-bsk svg { width: 96px; height: 72px; }
.fv.big .fv-got { font-size: 30px; }
.fv.big .fv-grid { gap: 24px; }
.fv.big .fv-prompt { min-width: 250px; min-height: 146px; font-size: 46px; }
.fv.big .fv-prompt .fv-ear { font-size: 84px; }
.fv.big .fv-prompt .fv-pe { font-size: 60px; }
.fv.big .fv-bh { font-size: 24px; }
.fv.big .fv-bh .fv-bsk svg { width: 58px; height: 44px; }
.fv.big .fv-items { gap: 10px; }
.fv.big .fv-bugs { font-size: 40px; }
.fv.big .fv-bug { font-size: 60px; }
.fv.big .fv-hint { max-width: 300px; font-size: 19px; }
.fv.big .fv-rule { font-size: 24px; }
.fv.big .fv-slot { min-width: 124px; height: 52px; }
.fv.big .fv-cond { min-width: 140px; min-height: 72px; font-size: 22px; }
.fv.big .fv-row .btn { min-height: 62px; font-size: 22px; padding: 8px 28px; }

/* telefon */
.fv.narrow .fv-board { padding: 10px !important; }
.fv.narrow .fv-pad { padding: 8px !important; gap: 10px; }
.fv.narrow .fv-bin { width: 150px; min-height: 150px; font-size: 16px; }
.fv.narrow .fv-bsk svg { width: 56px; height: 42px; }
.fv.narrow .fv-got { font-size: 18px; }
.fv.narrow .fv-grid { gap: 12px; }
.fv.narrow .fv-prompt { min-width: 160px; min-height: 80px; font-size: 26px; }
.fv.narrow .fv-prompt .fv-ear { font-size: 48px; }
.fv.narrow .fv-prompt .fv-pe { font-size: 34px; }
.fv.narrow .fv-two { flex-direction: column; gap: 10px; }
.fv.narrow .fv-big { width: auto; }
.fv.narrow .fv-items { grid-template-columns: repeat(5, var(--mini)); gap: 6px; min-height: var(--mini); }
.fv.narrow .fv-bh { font-size: 15px; }
.fv.narrow .fv-bugs { font-size: 24px; }
.fv.narrow .fv-bug { font-size: 34px; }
.fv.narrow .fv-rule { font-size: 15px; }
.fv.narrow .fv-slot { min-width: 76px; height: 34px; }
.fv.narrow .fv-conds { grid-template-columns: repeat(2, auto); gap: 8px; }
.fv.narrow .fv-cond { min-width: 0; min-height: 50px; font-size: 14px; letter-spacing: 0; }
.fv.narrow .fv-queue { max-width: calc(var(--mini) * 4 + 40px); }
