/* Számrét kalandjai – stílusok */
:root {
  --barna: #4a3222; --zold: #4caf50; --zold-s: #2e7d32; --sarga: #ffd23f; --piros: #e2453c; --kek: #3f8fe0;
  --papir: #fffaf0; --krem: #fff4dc; --arnyek: 0 6px 0 rgba(74, 50, 34, .25);
  --betu: 'Baloo 2', 'Trebuchet MS', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #2f5d34; overflow: hidden; font-family: var(--betu); color: var(--barna); -webkit-user-select: none; user-select: none; touch-action: manipulation; }
#keret { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, #3f7a45, #1f3d24); }
#szinpad { position: absolute; width: 1280px; height: 720px; left: 50%; top: 50%; transform-origin: 0 0; overflow: hidden; border-radius: 18px; background: #9fd86b; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
#kepernyo { position: absolute; inset: 0; }
button { font-family: var(--betu); cursor: pointer; color: var(--barna); }
svg { display: block; width: 100%; height: 100%; overflow: visible; }

/* ---------- Gombok ---------- */
.gomb { border: 3px solid var(--barna); border-radius: 22px; padding: 10px 26px; font-size: 26px; font-weight: 800; background: var(--sarga); box-shadow: var(--arnyek); transition: transform .1s; }
.gomb:hover { transform: translateY(-2px) scale(1.03); }
.gomb:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(74, 50, 34, .25); }
.gomb-zold { background: #7ed957; } .gomb-kek { background: #7fd3ff; } .gomb-rozsa { background: #ff9ec7; } .gomb-feher { background: #fff; }
.gomb-nagy { font-size: 40px; padding: 14px 54px; border-radius: 30px; }
.gomb-kicsi { font-size: 20px; padding: 6px 16px; border-radius: 16px; }
.gomb:disabled { opacity: .45; cursor: default; transform: none; }
.ikon-gomb { width: 58px; height: 58px; border-radius: 50%; border: 3px solid var(--barna); background: #fff; font-size: 28px; box-shadow: var(--arnyek); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.ikon-gomb:hover { transform: scale(1.08); }

/* ---------- Felső sáv ---------- */
.felso-sav { position: absolute; left: 0; right: 0; top: 0; height: 76px; display: flex; align-items: center; gap: 12px; padding: 0 16px; z-index: 20; pointer-events: none; }
.felso-sav > * { pointer-events: auto; }
.felso-sav .cim { flex: 1; text-align: center; font-size: 34px; font-weight: 800; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, .25), 0 0 12px rgba(0, 0, 0, .2); pointer-events: none; }
.szamlalo { display: flex; align-items: center; gap: 6px; background: #fff; border: 3px solid var(--barna); border-radius: 30px; padding: 2px 16px 2px 6px; font-size: 26px; font-weight: 800; box-shadow: var(--arnyek); height: 52px; }
.szamlalo .spr-i { width: 40px; height: 40px; }
.szamlalo.ugrik { animation: ugrik .5s; }

/* ---------- Kezdőképernyő ---------- */
.ret-hatter { position: absolute; inset: 0; }
.cim-logo { position: absolute; left: 0; right: 0; top: 104px; text-align: center; }
.cim-logo h1 { margin: 0; font-size: 104px; line-height: .95; color: #fff; letter-spacing: 1px; text-shadow: 0 6px 0 #e07b39, 0 10px 0 var(--barna), 0 14px 20px rgba(0, 0, 0, .3); animation: lebeg 4s ease-in-out infinite; }
.cim-logo h1 span { color: var(--sarga); }
.cim-logo p { margin: 18px 0 0; font-size: 30px; font-weight: 700; color: var(--barna); background: rgba(255, 255, 255, .8); display: inline-block; padding: 2px 24px; border-radius: 20px; }
.kezdo-gombok { position: absolute; left: 0; right: 0; top: 400px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.kezdo-mogyi { position: absolute; left: 110px; bottom: 40px; width: 230px; height: 230px; animation: integet 2.4s ease-in-out infinite; transform-origin: 50% 100%; }
.kezdo-varju { position: absolute; right: 120px; bottom: 210px; width: 130px; height: 130px; animation: lebeg 3s ease-in-out infinite; }
.szulo-link { position: absolute; right: 18px; bottom: 14px; font-size: 18px; background: rgba(255, 255, 255, .85); border: 2px solid var(--barna); border-radius: 14px; padding: 4px 14px; }

/* ---------- Figuraválasztó ---------- */
.panel { position: absolute; background: var(--papir); border: 4px solid var(--barna); border-radius: 28px; box-shadow: 0 10px 0 rgba(74, 50, 34, .25); }
.figurak { display: flex; justify-content: center; gap: 28px; margin-top: 20px; }
.figura-kartya { width: 210px; height: 250px; border: 4px solid var(--barna); border-radius: 26px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; transition: transform .15s; }
.figura-kartya .spr-i { width: 170px; height: 170px; }
.figura-kartya:hover { transform: translateY(-6px); }
.figura-kartya.valasztott { background: #fff3b0; box-shadow: 0 0 0 6px var(--sarga), var(--arnyek); transform: translateY(-8px) scale(1.04); }
.nev-mezo { font-family: var(--betu); font-size: 32px; font-weight: 700; border: 4px solid var(--barna); border-radius: 18px; padding: 6px 18px; width: 420px; text-align: center; color: var(--barna); }

/* ---------- Térképek ---------- */
.terkep { position: absolute; inset: 0; }
.allomas { position: absolute; width: 124px; margin-left: -62px; margin-top: -62px; display: flex; flex-direction: column; align-items: center; cursor: pointer; z-index: 5; }
.allomas .kor { width: 104px; height: 104px; border-radius: 50%; background: #fff; border: 5px solid var(--barna); box-shadow: 0 7px 0 rgba(74, 50, 34, .35); display: flex; align-items: center; justify-content: center; position: relative; transition: transform .15s; }
.allomas .kor .spr-i { width: 74px; height: 74px; }
.allomas:hover .kor { transform: scale(1.08); }
.allomas .szam { position: absolute; top: -10px; left: -10px; width: 38px; height: 38px; border-radius: 50%; background: var(--piros); color: #fff; border: 3px solid var(--barna); font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.allomas .nev { margin-top: 6px; font-size: 19px; font-weight: 800; background: rgba(255, 255, 255, .92); border: 2px solid var(--barna); border-radius: 12px; padding: 0 10px; white-space: nowrap; }
.allomas .csillagok { display: flex; gap: 2px; margin-top: 2px; }
.allomas .csillagok .spr-i { width: 26px; height: 26px; }
.allomas.zarva .kor { background: #ddd; filter: grayscale(.7); }
.allomas.zarva .kor::after { content: ''; position: absolute; inset: 0; }
.allomas.aktualis .kor { animation: pulzal 1.6s ease-in-out infinite; background: #fff3b0; }
.allomas.boss .kor { width: 124px; height: 124px; background: #ffe0e0; }
.bokor-akadaly { position: absolute; width: 90px; height: 90px; margin: -45px 0 0 -45px; z-index: 4; pointer-events: none; }
.bokor-akadaly.eltunik { animation: eltunik .8s forwards; }
.jatekos { position: absolute; width: 96px; height: 96px; margin: -92px 0 0 -48px; z-index: 8; pointer-events: none; transition: none; }
.jatekos .spr-i { width: 96px; height: 96px; position: absolute; }
.jatekos.setal .spr-i:first-child { animation: setal .35s ease-in-out infinite; }
.terkep-gombok { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 14px; z-index: 20; }
.terkep-gombok .gomb { display: flex; align-items: center; gap: 8px; }
.terkep-gombok .spr-i { width: 38px; height: 38px; }
.napi { position: absolute; left: 18px; bottom: 18px; z-index: 20; background: rgba(255, 255, 255, .94); border: 3px solid var(--barna); border-radius: 20px; padding: 8px 16px; width: 270px; font-size: 18px; font-weight: 700; box-shadow: var(--arnyek); }
.napi b { font-size: 20px; }
.napi .csik { height: 16px; background: #eee; border-radius: 8px; border: 2px solid var(--barna); margin-top: 4px; overflow: hidden; }
.napi .csik i { display: block; height: 100%; background: linear-gradient(90deg, #7ed957, #ffd23f); }
.terkep-dekor { position: absolute; pointer-events: none; }
.terkep-dekor.lebeg { animation: lebeg 3s ease-in-out infinite; }
.varju-terkep { position: absolute; width: 110px; height: 110px; z-index: 6; animation: lebeg 2.5s ease-in-out infinite; pointer-events: none; }

.tajegyseg { position: absolute; display: flex; flex-direction: column; align-items: center; cursor: pointer; z-index: 5; }
.tajegyseg .tabla { background: #fff; border: 4px solid var(--barna); border-radius: 20px; padding: 4px 22px; font-size: 32px; font-weight: 800; box-shadow: var(--arnyek); transition: transform .15s; white-space: nowrap; }
.tajegyseg:hover .tabla { transform: scale(1.06); }
.tajegyseg small { display: block; font-size: 18px; text-align: center; margin-top: -4px; }
.tajegyseg .lakat-ikon { width: 70px; height: 70px; margin-bottom: -10px; z-index: 2; }
.tajegyseg.zarva .tabla { background: #f1ece2; }
.premium-szalag { background: #9b59b6; color: #fff; font-weight: 800; font-size: 16px; border-radius: 10px; padding: 0 10px; margin-top: 6px; border: 2px solid var(--barna); }

/* ---------- Mogyi buborék ---------- */
.mogyi-sarok { position: absolute; left: 10px; bottom: 6px; width: 150px; height: 150px; z-index: 15; pointer-events: none; }
.mogyi-sarok .spr-i { width: 150px; height: 150px; }
.mogyi-sarok.orul .spr-i { animation: ugrik .6s; }
.mogyi-sarok.gondol .spr-i { animation: billeg .8s; }
.buborek-szoveg { position: absolute; left: 150px; bottom: 90px; max-width: 360px; background: #fff; border: 3px solid var(--barna); border-radius: 22px; padding: 8px 18px; font-size: 21px; font-weight: 700; z-index: 16; box-shadow: var(--arnyek); animation: pop .35s; }
.buborek-szoveg::before { content: ''; position: absolute; left: -16px; bottom: 18px; border: 10px solid transparent; border-right: 14px solid var(--barna); }
.buborek-szoveg:empty { display: none; }
.ertesites { position: absolute; left: 0; right: 0; top: 84px; margin: 0 auto; width: fit-content; z-index: 90; background: #fff3b0; border: 3px solid var(--barna); border-radius: 22px; padding: 6px 24px; font-size: 28px; font-weight: 800; box-shadow: var(--arnyek); animation: pop .4s; pointer-events: none; }

/* ---------- Lecke ---------- */
.lecke-hatter { position: absolute; inset: 0; background: linear-gradient(#bfe8ff 0, #e8f8d8 60%, #9fd86b 100%); }
.jelenet { position: absolute; left: 36px; top: 92px; width: 728px; height: 428px; border: 4px solid var(--barna); border-radius: 26px; overflow: hidden; box-shadow: 0 8px 0 rgba(74, 50, 34, .25); background: #fff; }
.jelenet-belso { position: absolute; inset: 0; overflow: hidden; }
.h-ret { background: linear-gradient(#cdefff 0, #eaf9ff 50%, #b8e986 50.2%, #9fd86b 100%); }
.h-eg { background: linear-gradient(#9fdcff, #e3f6ff 80%, #b8e986 80.2%); }
.h-fa { background: linear-gradient(#fff4dc, #ffe7b8); }
.lecke-panel { position: absolute; left: 790px; top: 92px; width: 454px; height: 428px; padding: 20px 24px; display: flex; flex-direction: column; }
.lecke-panel h2 { margin: 0 0 8px; font-size: 34px; line-height: 1.1; color: var(--zold-s); }
.lecke-panel .szoveg { font-size: 24px; line-height: 1.38; flex: 1; overflow: auto; }
.lecke-panel .szoveg b { color: var(--piros); }
.lecke-also { position: absolute; left: 36px; right: 36px; bottom: 26px; height: 150px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.lecke-pottyok { position: absolute; left: 250px; right: 520px; top: 548px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.lecke-pottyok i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--barna); background: #fff; }
.lecke-pottyok i.volt { background: var(--zold); } .lecke-pottyok i.most { background: var(--sarga); transform: scale(1.3); }
.lecke-pottyok i.proba { border-radius: 4px; }

/* Jelenet elemei */
.spr { position: absolute; }
.spr-i { display: inline-block; width: 100%; height: 100%; vertical-align: middle; }
.jfelirat { position: absolute; font-weight: 800; white-space: nowrap; text-align: center; color: var(--barna); }
.tabla-szoveg { background: #2f6b46; color: #fff; border: 4px solid #8a5a33; border-radius: 14px; padding: 0 18px; box-shadow: 0 5px 0 rgba(0, 0, 0, .2); }
.kiemel { color: var(--piros); }
.jel-kor { position: absolute; width: 110px; height: 110px; border-radius: 50%; color: #fff; font-size: 84px; font-weight: 800; line-height: 104px; text-align: center; border: 5px solid var(--barna); box-shadow: 0 6px 0 rgba(0, 0, 0, .2); }
.jel-kicsi { position: absolute; font-size: 64px; font-weight: 800; color: var(--piros); width: 44px; text-align: center; }
.nagy-plusz { position: absolute; left: 400px; top: 110px; width: 140px; height: 140px; border-radius: 50%; background: var(--piros); color: #fff; font-size: 140px; line-height: 128px; text-align: center; font-weight: 800; border: 5px solid var(--barna); }
.oszlop { position: absolute; top: 60px; width: 18px; height: 340px; background: #8a5a33; border: 3px solid var(--barna); border-radius: 4px; }
.vezetek { position: absolute; left: 70px; right: 70px; top: 160px; height: 4px; background: #333; border-radius: 2px; }
.tizkeret { position: absolute; width: 272px; height: 116px; border: 4px solid var(--barna); border-radius: 10px; background: #fff;
  background-image: linear-gradient(90deg, transparent 51px, var(--barna) 51px, var(--barna) 53px, transparent 53px), linear-gradient(transparent 51px, var(--barna) 51px, var(--barna) 53px, transparent 53px); background-size: 52px 52px; background-position: 4px 4px; }
.korong { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--barna); }
.korong.piros { background: radial-gradient(circle at 35% 35%, #ff8a80, #e2453c); }
.korong.kek { background: radial-gradient(circle at 35% 35%, #9fd3ff, #3f8fe0); }
.lepkedoboz { position: absolute; width: 196px; height: 108px; border: 4px dashed var(--piros); border-radius: 14px; background: rgba(255, 255, 255, .5); }
.iskolatabla { position: absolute; left: 30px; top: 26px; width: 500px; bottom: 26px; background: #2f6b46; border: 10px solid #a0673a; border-radius: 14px; padding: 18px 24px; box-shadow: 0 6px 0 rgba(0, 0, 0, .2); }
.tabla-sor { color: #fff; font-size: 38px; font-weight: 800; line-height: 1.5; font-family: 'Comic Sans MS', var(--betu); }
.tabla-sor.tabla-kiemel { color: var(--sarga); }
.kaptar { position: absolute; left: 30px; top: 70px; width: 200px; height: 260px; }
.kaptar div { height: 56px; margin: 0 auto 4px; background: #f6b93b; border: 4px solid var(--barna); border-radius: 30px; }
.kaptar div:nth-child(1) { width: 120px; } .kaptar div:nth-child(2) { width: 170px; } .kaptar div:nth-child(3) { width: 196px; }
.kaptar span { position: absolute; left: 80px; top: 130px; width: 40px; height: 30px; border-radius: 20px 20px 0 0; background: var(--barna); }
.gep { position: absolute; left: 90px; top: 90px; width: 260px; height: 300px; }
.gep-tolcser { position: absolute; left: 30px; top: 0; width: 200px; height: 70px; background: #9aa5b1; border: 4px solid var(--barna); clip-path: polygon(0 0, 100% 0, 65% 100%, 35% 100%); }
.gep-test { position: absolute; left: 20px; top: 66px; width: 220px; height: 160px; background: linear-gradient(#ff9a3c, #e07b39); border: 5px solid var(--barna); border-radius: 22px; display: flex; align-items: center; justify-content: center; }
.gep-test span { font-size: 100px; font-weight: 800; color: #fff; text-shadow: 0 4px 0 var(--barna); }
.gep-lampa { position: absolute; right: 14px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: #7ed957; border: 3px solid var(--barna); animation: villog 1s infinite; }
.gep-fogas { position: absolute; left: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%; border: 6px dashed var(--barna); animation: forog 3s linear infinite; }
.gep-kifolyo { position: absolute; left: 100px; top: 222px; width: 60px; height: 40px; background: #9aa5b1; border: 4px solid var(--barna); border-top: 0; border-radius: 0 0 12px 12px; }
.labda { position: absolute; top: -10px; width: 74px; height: 74px; border-radius: 50%; background: var(--piros); color: #fff; font-size: 34px; font-weight: 800; line-height: 66px; text-align: center; border: 4px solid var(--barna); z-index: 3; }
.labda.nagy { width: 96px; height: 96px; font-size: 44px; line-height: 88px; top: 300px; }

/* ---------- Feladat ---------- */
.feladat-hatter { position: absolute; inset: 0; background: linear-gradient(#bfe8ff, #e8f8d8 55%, #a6dc72); }
.feladat-hely { position: absolute; left: 150px; right: 150px; top: 84px; bottom: 16px; display: flex; align-items: flex-start; justify-content: center; }
.feladat-kartya { width: 100%; max-height: 100%; background: var(--papir); border: 4px solid var(--barna); border-radius: 28px; box-shadow: 0 8px 0 rgba(74, 50, 34, .25); padding: 16px 26px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; animation: pop .35s; }
.f-kerdes { display: flex; gap: 12px; align-items: flex-start; font-size: 26px; font-weight: 700; line-height: 1.25; width: 100%; }
.f-kerdes b { color: var(--piros); }
.f-kerdes .kieg { font-size: 20px; font-weight: 600; color: #8a6d50; }
.hangszoro.szol { animation: pulzal .8s infinite; background: var(--sarga); }
.hangszoro { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--barna); background: #7fd3ff; font-size: 22px; padding: 0; }
.f-kep { display: flex; justify-content: center; max-width: 100%; }
.f-muvelet { font-size: 54px; font-weight: 800; letter-spacing: 1px; background: #2f6b46; color: #fff; border: 5px solid #a0673a; border-radius: 16px; padding: 0 30px; line-height: 1.35; }
.f-ter { display: flex; align-items: center; justify-content: center; gap: 30px; width: 100%; }
.f-visszajelzes { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 26px; font-weight: 800; text-align: center; }
.vj-jo { color: var(--zold-s); font-size: 34px; animation: ugrik .5s; }
.vj-tipp { color: #b26a00; background: #fff3c4; border: 2px solid #f2b705; border-radius: 14px; padding: 2px 16px; font-size: 22px; }
.vj-megoldas { background: #e3f6ff; border: 2px solid var(--kek); border-radius: 14px; padding: 2px 16px; font-size: 22px; font-weight: 700; }
.lezarva .f-ter { pointer-events: none; }

.kep-csoportok { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: nowrap; }
.kep-csoport { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; background: rgba(255, 255, 255, .7); border: 3px dashed #c9b28a; border-radius: 16px; padding: 6px; }
.kep-elem { flex: none; } .kep-elem.nagy { width: 76px; height: 76px; } .kep-elem.oriasi { width: 140px; height: 140px; }
.kep-jel { font-size: 46px; font-weight: 800; color: var(--piros); }
.erme-sor { display: flex; gap: 10px; align-items: center; }
.arcedula { display: flex; gap: 20px; align-items: center; } .arcedula > div { text-align: center; font-size: 26px; font-weight: 800; background: #fff; border: 3px solid var(--barna); border-radius: 16px; padding: 6px 14px; }
.arcedula b { font-size: 40px; color: var(--piros); }
.szoveges-kep { width: 110px; height: 110px; animation: lebeg 3s ease-in-out infinite; }
.mini-tizkeretek { display: flex; gap: 30px; }
.mini-tizkeret { display: grid; grid-template-columns: repeat(5, 40px); gap: 4px; background: #fff; border: 3px solid var(--barna); border-radius: 8px; padding: 4px; }
.mini-tizkeret i { width: 40px; height: 40px; border-radius: 6px; background: #f5f0e6; position: relative; }
.mini-tizkeret i.piros::after, .mini-tizkeret i.kek::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; border: 2px solid var(--barna); }
.mini-tizkeret i.piros::after { background: var(--piros); } .mini-tizkeret i.kek::after { background: var(--kek); }
.mini-gep { position: relative; width: 300px; height: 120px; }
.mini-gep b { position: absolute; top: 0; width: 60px; height: 60px; border-radius: 50%; background: var(--piros); color: #fff; font-size: 26px; line-height: 54px; text-align: center; border: 3px solid var(--barna); left: 70px; }
.mini-gep b.k { left: 170px; background: var(--kek); } .mini-gep b.e { top: 40px; left: 255px; background: var(--zold); }
.mini-gep .mg-test { position: absolute; left: 60px; top: 40px; width: 180px; height: 76px; background: #ff9a3c; border: 4px solid var(--barna); border-radius: 16px; font-size: 54px; color: #fff; font-weight: 800; text-align: center; line-height: 66px; z-index: -1; }

.beir-sor { display: flex; align-items: center; gap: 14px; font-size: 60px; font-weight: 800; }
.beir-muvelet { background: #2f6b46; color: #fff; border: 5px solid #a0673a; border-radius: 16px; padding: 0 24px; line-height: 1.35; white-space: nowrap; }
.beir-doboz { min-width: 130px; height: 92px; border: 5px solid var(--barna); border-radius: 18px; background: #fff; text-align: center; line-height: 84px; padding: 0 14px; color: var(--kek); }
.beir-doboz.ures { background: #fffbe0; animation: villog-keret 1.2s infinite; }
.beir-doboz.jo { background: #d6ffd0; color: var(--zold-s); border-color: var(--zold-s); }
.beir-doboz.megmutat { background: #e3f6ff; }
.szambill { display: grid; grid-template-columns: repeat(3, 66px); gap: 8px; }
.szamgomb { height: 60px; border: 3px solid var(--barna); border-radius: 16px; background: #fff; font-size: 32px; font-weight: 800; box-shadow: 0 4px 0 rgba(74, 50, 34, .25); padding: 0; }
.szamgomb:active { transform: translateY(3px); box-shadow: none; }
.szamgomb.ok { background: #7ed957; } .szamgomb.torol { background: #ffd0c8; }
.valasz-sor { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.valasz-gomb { min-width: 120px; height: 120px; border-radius: 50%; border: 5px solid var(--barna); font-size: 44px; font-weight: 800; box-shadow: var(--arnyek); padding: 0 14px; transition: transform .12s; }
.valasz-gomb:hover { transform: scale(1.08) rotate(-3deg); }
.szin0 { background: #ffd23f; } .szin1 { background: #7fd3ff; } .szin2 { background: #ff9ec7; } .szin3 { background: #b6e388; } .szin4 { background: #d1b3ff; }
.valasz-gomb.jo, .ih-gomb.jo, .huz-cel.jo { background: #7ed957 !important; box-shadow: 0 0 0 8px rgba(126, 217, 87, .5), var(--arnyek); animation: ugrik .5s; }
.valasz-gomb.rossz-ki { opacity: .35; }
.ih-gomb { width: 210px; height: 140px; border-radius: 30px; border: 5px solid var(--barna); font-size: 66px; font-weight: 800; box-shadow: var(--arnyek); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.ih-gomb small { font-size: 24px; margin-top: 6px; }
.ih-gomb.igaz { background: #c8f5b4; color: var(--zold-s); } .ih-gomb.hamis { background: #ffd0c8; color: var(--piros); }
.ih-gomb:disabled { opacity: .4; }
.huz-ter { display: flex; align-items: center; gap: 50px; }
.huz-cel { width: 170px; height: 170px; position: relative; border-radius: 30px; transition: transform .15s; }
.huz-cel.buborek { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #c9ecff 60%, #8fd0ff); border: 4px dashed var(--kek); }
.huz-cel.folotte { transform: scale(1.12); }
.huz-hely { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px; border-radius: 50%; border: 4px dashed var(--barna); background: rgba(255, 255, 255, .75); font-size: 44px; font-weight: 800; text-align: center; line-height: 84px; }
.huz-hely.tele { border-style: solid; background: #7ed957; animation: pop .4s; }
.huz-hely.megmutat { background: #9fd3ff; }
.huz-opciok { display: grid; grid-template-columns: repeat(3, 100px); gap: 16px; }
.huz-chip { width: 100px; height: 84px; border-radius: 26px; border: 4px solid var(--barna); font-size: 40px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: var(--arnyek); cursor: grab; touch-action: none; position: relative; }
.huz-chip.huzas { z-index: 50; cursor: grabbing; box-shadow: 0 14px 20px rgba(0, 0, 0, .25); transition: none; }
.par-ter { display: flex; gap: 120px; }
.par-oszlop { display: flex; flex-direction: column; gap: 12px; }
.par-gomb { min-width: 190px; height: 64px; border: 4px solid var(--barna); border-radius: 18px; background: #fff; font-size: 32px; font-weight: 800; box-shadow: 0 4px 0 rgba(74, 50, 34, .25); }
.par-gomb.eredmeny { min-width: 120px; background: #fff8e1; }
.par-gomb.kijelolt { background: var(--sarga); transform: scale(1.06); box-shadow: 0 0 0 5px rgba(255, 210, 63, .6); }
.par-gomb.kesz { opacity: .9; }
.sorrend-ter { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sorrend-cel { display: flex; gap: 10px; }
.sorrend-hely { width: 150px; height: 74px; border: 3px dashed var(--barna); border-radius: 16px; background: rgba(255, 255, 255, .6); font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; position: relative; flex-direction: column; line-height: 1.05; }
.sorrend-hely small { position: absolute; left: 6px; top: 2px; font-size: 16px; color: #8a6d50; }
.sorrend-hely i { font-style: normal; color: var(--zold-s); font-size: 20px; }
.sorrend-hely.tele { background: #d6ffd0; border-style: solid; animation: pop .3s; }
.sorrend-elemek { display: flex; gap: 14px; }
.sorrend-gomb { min-width: 130px; height: 70px; border: 4px solid var(--barna); border-radius: 20px; font-size: 30px; font-weight: 800; box-shadow: var(--arnyek); }
.sorrend-gomb.elhelyezve { visibility: hidden; }
.razkod { animation: razkod .45s; }
.szikra { position: absolute; width: 14px; height: 14px; border-radius: 50%; z-index: 99; pointer-events: none; animation: szikra .85s ease-out forwards; }

/* Feladatsor fejléc, haladás */
.halado-sav { position: absolute; top: 14px; left: 90px; right: 230px; height: 52px; display: flex; justify-content: center; align-items: center; gap: 6px; z-index: 21; }
.halado-sav .hely { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .6); border: 3px solid var(--barna); display: flex; align-items: center; justify-content: center; }
.halado-sav.suru .hely { width: 30px; height: 30px; border-width: 2px; }
.halado-sav .hely .spr-i { width: 90%; height: 90%; }
.halado-sav .hely.most { background: #fff3b0; transform: scale(1.15); }
.boss-fa { position: absolute; right: 0; top: 70px; width: 150px; bottom: 0; z-index: 3; pointer-events: none; }
.boss-fa .torzs { position: absolute; right: 50px; top: 0; bottom: 0; width: 46px; background: #8a5a33; border-left: 4px solid var(--barna); border-right: 4px solid var(--barna); }
.boss-fa .ag { position: absolute; right: 60px; width: 90px; height: 12px; background: #8a5a33; border: 3px solid var(--barna); border-radius: 6px; }
.boss-varju { position: absolute; right: 70px; width: 90px; height: 90px; transition: top .6s cubic-bezier(.5, -0.5, .5, 1.5); z-index: 4; }
.serleg-lent { position: absolute; right: 30px; bottom: 10px; width: 80px; height: 80px; z-index: 4; animation: lebeg 2s infinite; }

/* ---------- Modális ablakok ---------- */
.modal-reteg { position: absolute; inset: 0; background: rgba(30, 40, 20, .55); z-index: 100; display: flex; align-items: center; justify-content: center; animation: halvany .25s; }
.modal { background: var(--papir); border: 5px solid var(--barna); border-radius: 30px; padding: 26px 36px; min-width: 520px; max-width: 980px; max-height: 680px; overflow: auto; box-shadow: 0 12px 0 rgba(74, 50, 34, .3); text-align: center; animation: pop .35s; position: relative; }
.modal h2 { margin: 0 0 8px; font-size: 40px; color: var(--zold-s); line-height: 1.1; }
.modal p { font-size: 23px; line-height: 1.35; margin: 8px 0; }
.modal .gombsor { display: flex; gap: 16px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.modal .bezar { position: absolute; right: 14px; top: 12px; width: 46px; height: 46px; font-size: 24px; }
.modal.szulo { text-align: left; background: #fff; font-family: 'Segoe UI', Arial, sans-serif; color: #333; border-color: #555; max-width: 860px; }
.modal.szulo h2 { color: #333; font-family: 'Segoe UI', Arial, sans-serif; font-size: 30px; }
.modal.szulo p, .modal.szulo li { font-size: 18px; }
.modal.szulo .gomb { font-family: 'Segoe UI', Arial, sans-serif; font-size: 18px; border-width: 2px; box-shadow: none; border-radius: 10px; }
.kapu-kerdes { font-size: 26px !important; font-weight: 700; background: #f4f4f4; border-radius: 10px; padding: 10px 14px; }
.kapu-mezo { font-size: 26px; padding: 6px 12px; width: 220px; border: 2px solid #555; border-radius: 8px; }
.ajanlatok { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 12px; }
.ajanlat { border: 2px solid #ccc; border-radius: 14px; padding: 12px 16px; position: relative; }
.ajanlat h3 { margin: 0 0 4px; font-size: 20px; } .ajanlat .ar { font-size: 24px; font-weight: 800; color: #2e7d32; }
.ajanlat.kiemelt { border-color: #9b59b6; background: #faf3ff; }
.ajanlat .cimke { position: absolute; right: 10px; top: -12px; background: #9b59b6; color: #fff; font-size: 13px; font-weight: 700; border-radius: 8px; padding: 1px 8px; }
.ajanlat.megvan { opacity: .6; }
.proba-figy { background: #fff3c4; border: 1px solid #f2b705; border-radius: 8px; padding: 6px 12px; font-size: 15px !important; }

.eredmeny-csillagok { display: flex; justify-content: center; gap: 14px; margin: 10px 0; }
.eredmeny-csillagok .spr-i { width: 110px; height: 110px; }
.eredmeny-csillagok .spr-i.be { animation: csillagbe .6s backwards; }
.jutalom-sor { display: flex; justify-content: center; align-items: center; gap: 26px; font-size: 30px; font-weight: 800; }
.jutalom-sor .spr-i { width: 60px; height: 60px; vertical-align: middle; }
.kincs-nagy { width: 150px; height: 150px; margin: 0 auto; animation: kincsbe 1.2s; }

.kapcsolo-sor { display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 26px; font-weight: 700; padding: 8px 0; border-bottom: 2px dashed #e0d2b8; }
.kapcsolo { width: 90px; height: 46px; border-radius: 23px; border: 3px solid var(--barna); background: #ddd; position: relative; }
.kapcsolo::after { content: ''; position: absolute; left: 4px; top: 3px; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 3px solid var(--barna); transition: left .2s; }
.kapcsolo.be { background: #7ed957; } .kapcsolo.be::after { left: 44px; }

/* ---------- Odú ---------- */
.odu-hatter { position: absolute; inset: 0; background: radial-gradient(ellipse at 40% 45%, #f6d7a7 0, #e0b277 45%, #a8733f 70%, #6e4426 100%); }
.odu-ablak { position: absolute; left: 90px; top: 110px; width: 170px; height: 170px; border-radius: 50%; border: 10px solid #6e4426; background: linear-gradient(#9fdcff, #d8f3ff 70%, #9fd86b 70%); overflow: hidden; }
.odu-padlo { position: absolute; left: 0; right: 0; bottom: 0; height: 170px; background: linear-gradient(#b9814a, #8a5a33); border-top: 5px solid #6e4426; }
.odu-figura { position: absolute; left: 330px; top: 250px; width: 300px; height: 300px; }
.odu-figura .spr-i, .figura-reteg .spr-i { position: absolute; inset: 0; width: 100%; height: 100%; }
.figura-reteg { position: relative; }
.odu-polc { position: absolute; left: 70px; top: 330px; width: 250px; padding: 10px; background: rgba(110, 68, 38, .25); border: 4px solid #6e4426; border-radius: 16px; }
.odu-polc h3 { margin: 0 0 6px; font-size: 22px; text-align: center; color: #fff; text-shadow: 0 2px 0 var(--barna); }
.kincs-racs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.kincs-racs div { aspect-ratio: 1; background: rgba(255, 255, 255, .5); border-radius: 12px; border: 2px solid #6e4426; padding: 4px; }
.kincs-racs div.hianyzik .spr-i { filter: brightness(0) opacity(.25); }
.kincs-racs .spr-i { width: 100%; height: 100%; }
.odu-disz { position: absolute; pointer-events: none; }
.odu-disz.felbukkan { animation: pop .5s; }
.odu-bolt { position: absolute; right: 24px; top: 84px; width: 520px; bottom: 24px; background: var(--papir); border: 4px solid var(--barna); border-radius: 26px; padding: 12px 16px; display: flex; flex-direction: column; box-shadow: var(--arnyek); }
.bolt-fulek { display: flex; gap: 8px; margin-bottom: 10px; }
.bolt-ful { flex: 1; font-size: 21px; font-weight: 800; border: 3px solid var(--barna); border-radius: 14px; background: #fff; padding: 4px 0; }
.bolt-ful.aktiv { background: var(--sarga); }
.bolt-racs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; overflow: auto; padding: 4px; }
.bolt-elem { border: 3px solid var(--barna); border-radius: 18px; background: #fff; padding: 6px; display: flex; flex-direction: column; align-items: center; font-size: 17px; font-weight: 700; position: relative; }
.bolt-elem .kep { width: 90px; height: 90px; }
.bolt-elem .ar { display: flex; align-items: center; gap: 2px; font-size: 22px; font-weight: 800; }
.bolt-elem .ar .spr-i { width: 26px; height: 26px; }
.bolt-elem.van { background: #eaffdf; } .bolt-elem.visel { box-shadow: 0 0 0 4px var(--zold); }
.bolt-elem.draga .ar { color: #b0a090; }
.bolt-elem.figura-elem .kep { width: 100px; height: 100px; }

/* ---------- Villámkör ---------- */
.ora { position: absolute; right: 24px; top: 84px; width: 120px; height: 120px; z-index: 22; }
.ora-szam { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 42px; font-weight: 800; }
.ora.siet .ora-szam { color: var(--piros); animation: pulzal .5s infinite; }
.villam-pont { position: absolute; left: 24px; top: 92px; z-index: 22; background: #fff; border: 3px solid var(--barna); border-radius: 18px; padding: 4px 18px; font-size: 28px; font-weight: 800; box-shadow: var(--arnyek); }

/* ---------- Hamarosan (prémium tájegység) ---------- */
.hamarosan { position: absolute; left: 180px; right: 180px; top: 120px; padding: 30px 40px; text-align: center; }
.hamarosan h2 { margin: 0; font-size: 46px; color: var(--zold-s); }
.hamarosan ul { text-align: left; font-size: 24px; line-height: 1.5; display: inline-block; margin: 10px 0; }

/* ---------- Animációk ---------- */
.a-pop { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) backwards; }
.a-esik { animation: esik .7s cubic-bezier(.3, 1.4, .5, 1) backwards; }
.a-repul { animation: repul 1.4s ease-out backwards; }
.a-kosarba { animation: kosarba .9s ease-in backwards; }
.a-at { animation: at 1s ease-in-out forwards; }
.a-lebeg { animation: pop .5s backwards, lebeg 3s ease-in-out .5s infinite; }
.a-bedob { animation: bedob 1.3s ease-in forwards; }
.a-kijon { animation: kijon 1s cubic-bezier(.3, 1.4, .5, 1) backwards; }
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes esik { from { transform: translateY(-420px); opacity: 0; } 30% { opacity: 1; } to { transform: none; } }
@keyframes repul { from { transform: translate(var(--dx), var(--dy)) rotate(-10deg); opacity: 0; } 20% { opacity: 1; } to { transform: none; } }
@keyframes kosarba { from { transform: translateY(-260px); opacity: 0; } 20% { opacity: 1; } 80% { transform: translateY(0); opacity: 1; } to { transform: translateY(20px); opacity: 0; } }
@keyframes at { 0% { transform: none; } 40% { transform: translateY(-40px); } 100% { transform: translate(var(--mx), var(--my)); } }
@keyframes bedob { 0% { transform: translateY(-120px); opacity: 0; } 15% { opacity: 1; } 60% { transform: translateY(80px); opacity: 1; } 100% { transform: translateY(150px) scale(.3); opacity: 0; } }
@keyframes kijon { from { transform: translateY(-80px) scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lebeg { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes integet { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }
@keyframes ugrik { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-22px) scale(1.06); } }
@keyframes billeg { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-8deg); } 70% { transform: rotate(8deg); } }
@keyframes setal { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(4deg); } }
@keyframes pulzal { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes razkod { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-12px); } 40% { transform: translateX(10px); } 60% { transform: translateX(-8px); } 80% { transform: translateX(6px); } }
@keyframes szikra { from { transform: translate(-50%, -50%); opacity: 1; } to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.2); opacity: 0; } }
@keyframes halvany { from { opacity: 0; } }
@keyframes eltunik { 40% { transform: scale(1.2) rotate(-10deg); } to { transform: scale(0) rotate(40deg); opacity: 0; } }
@keyframes csillagbe { from { transform: scale(0) rotate(-180deg); opacity: 0; } 70% { transform: scale(1.3) rotate(10deg); } to { transform: none; opacity: 1; } }
@keyframes kincsbe { 0% { transform: scale(0) rotate(-30deg); } 60% { transform: scale(1.3) rotate(10deg); } 100% { transform: none; } }
@keyframes villog { 50% { background: #ffd23f; } }
@keyframes villog-keret { 50% { border-color: var(--kek); } }
@keyframes forog { to { transform: rotate(360deg); } }
@keyframes felho { from { transform: translateX(-300px); } to { transform: translateX(1500px); } }
@keyframes lepke-ut { 0% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(80px, -40px) rotate(10deg); } 50% { transform: translate(160px, 10px) rotate(-5deg); } 75% { transform: translate(80px, 40px) rotate(8deg); } 100% { transform: translate(0, 0) rotate(0); } }
@keyframes szarny { 50% { transform: scaleX(.6); } }
@media (prefers-reduced-motion: reduce) { .a-lebeg, .cim-logo h1, .kezdo-mogyi, .terkep-dekor.lebeg, .varju-terkep { animation: none !important; } }

/* ---------- Kivonás-patak ---------- */
@keyframes elvesz { to { opacity: .22; filter: grayscale(1); transform: scale(.82) rotate(-8deg); } }
@keyframes elrepul { to { transform: translate(var(--dx), var(--dy)) scaleX(-1); opacity: 0; } }
@keyframes lepes-vil { to { background: #ffd23f; transform: scale(1.08); } }
.nyil-fel { position: absolute; width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-bottom: 34px solid var(--piros); }
.szamtabla { position: absolute; left: 60px; top: 110px; width: 600px; display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.sz-cella { height: 56px; border: 3px solid var(--barna); border-radius: 8px; background: #fff; font-size: 28px; font-weight: 800; text-align: center; line-height: 50px; }
.sz-cella.start { background: #7fd3ff; } .sz-cella.cel { background: #7ed957; box-shadow: 0 0 0 4px #e2453c; }
.kep-elem.athuzott { position: relative; opacity: .45; filter: grayscale(.6); }
.kep-elem.athuzott::after { content: ''; position: absolute; inset: 8%; background: linear-gradient(45deg, transparent 44%, #e2453c 44%, #e2453c 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, #e2453c 44%, #e2453c 56%, transparent 56%); }
.f-kiir { display: inline-block; font-size: 52px; font-weight: 800; background: #2f6b46; color: #fff; border: 4px solid #8a5a33; border-radius: 14px; padding: 0 22px; }
.huz-cel.teglalap { border-radius: 18px; background: #fff; border: 4px dashed var(--barna); width: 190px; height: 130px; }
.huz-cel.teglalap .huz-hely { border-radius: 12px; width: 120px; }
.huz-cel.teglalap .huz-hely { margin-left: -60px; }
.boss-fa.gat .torzs { display: none; }
.boss-fa.gat .ag { right: 10px; width: 140px; height: 34px; border-radius: 17px; background: linear-gradient(#b07a48, #8a5a33); }
.boss-fa.gat .ag::before { content: ''; position: absolute; left: 6px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #d9a066; border: 2px solid var(--barna); }
.boss-fa.gat .viz { position: absolute; left: -40px; right: 0; bottom: 0; height: 90px; background: linear-gradient(#7fd3ff, #3f8fe0); border-top: 4px solid #fff; opacity: .85; }
.hod-terkep { position: absolute; width: 110px; height: 110px; z-index: 6; animation: lebeg 2.5s ease-in-out infinite; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hod-terkep { animation: none !important; } }
.mini-tizkeret i.athuz::after { opacity: .35; }
.mini-tizkeret i.athuz::before { content: ''; position: absolute; inset: 2px; z-index: 1; background: linear-gradient(45deg, transparent 42%, #4a3222 42%, #4a3222 58%, transparent 58%); }
.kn-sor { position: absolute; left: 0; right: 0; top: 140px; display: flex; justify-content: center; align-items: flex-start; gap: 10px; }
.kn-oszlop { display: flex; flex-direction: column; align-items: center; width: 190px; }
.kn-szam, .kn-jel { font-size: 66px; font-weight: 800; line-height: 1.15; }
.kn-szam { background: #2f6b46; color: #fff; border: 4px solid #8a5a33; border-radius: 14px; min-width: 110px; text-align: center; box-shadow: 0 5px 0 rgba(0, 0, 0, .2); }
.kn-jel { color: var(--barna); padding-top: 4px; }
.kn-oszlop .nyil-fel { position: static; margin-top: 14px; }
.kn-nev { font-size: 28px; font-weight: 800; color: var(--piros); }
@keyframes lepes-cel { to { background: #7ed957; box-shadow: 0 0 0 4px #e2453c; transform: scale(1.15); } }

/* ---------- Szorzás-erdő ---------- */
.h-erdo { background: linear-gradient(#d7f2c4 0, #eefbe4 55%, #9ccc65 55.2%, #7cb342 100%); }
.csop-keret { position: absolute; border: 3px dashed #6d4c41; border-radius: 16px; background: rgba(255, 255, 255, .6); }
.szorzo-oszlop { position: absolute; right: 30px; top: 14px; width: 270px; background: #fff; border: 4px solid var(--barna); border-radius: 14px; padding: 4px 12px; font-size: 27px; font-weight: 800; line-height: 37.5px; text-align: center; }
.szorzo-oszlop b { color: var(--piros); }
.szorzotabla { position: absolute; left: 60px; top: 10px; display: grid; grid-template-columns: repeat(11, 38px); gap: 2px; }
.szorzotabla div { height: 34px; line-height: 34px; text-align: center; font-size: 18px; font-weight: 800; background: #fff; border: 1px solid #c9b48f; border-radius: 4px; }
.szorzotabla div.fej { background: #ffcdd2; color: #c62828; }
@keyframes tabla-vil { to { background: #ffd23f; transform: scale(1.06); } }
@keyframes tabla-cel { to { background: #7ed957; transform: scale(1.35); box-shadow: 0 0 0 3px #e2453c; position: relative; z-index: 2; } }
.valasz-sor.szoveges .valasz-gomb { width: auto; min-width: 150px; height: 74px; border-radius: 22px; padding: 0 18px; font-size: 32px; }
.tobb-ter { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
.tobb-ter .valasz-gomb.kijelolve { background: #7ed957 !important; }
.kuka-ter { display: flex; gap: 30px; align-items: center; justify-content: center; }
.kuka-ter .huz-cel { width: 150px; height: 150px; }
.kuka-ter .huz-opciok { display: flex; flex-direction: column; gap: 10px; }
.kuka-ter .huz-chip { width: auto; padding: 0 18px; font-size: 30px; }
.kuka-ter .huz-chip.kukaban { visibility: hidden; }
.bagoly-terkep { position: absolute; width: 110px; height: 110px; z-index: 6; animation: lebeg 2.5s ease-in-out infinite; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .bagoly-terkep { animation: none !important; } }

/* ---------- Osztás-hegy ---------- */
.h-hegy { background: linear-gradient(#cfe8ff 0, #eef6ff 60%, #cfd8dc 60.2%, #b0bec5 100%); }
.boss-fa.szikla .ag { background: linear-gradient(#b0bec5, #78909c); }
.boss-fa.szikla .ag::before { background: #eceff1; }
.boss-fa.szikla .viz { background: linear-gradient(#fff, #e3f2fd); border-top-color: #b0bec5; }
.kecske-terkep { position: absolute; width: 110px; height: 110px; z-index: 6; animation: lebeg 2.5s ease-in-out infinite; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .kecske-terkep { animation: none !important; } }
.odu-polc { width: 330px; left: 40px; top: 300px; }
.kincs-racs { grid-template-columns: repeat(7, 1fr); gap: 4px; }
.kincs-racs div { padding: 2px; border-radius: 8px; }

/* ---------- Tantaki arculat ---------- */
:root { --tantaki: #00A89D; --tantaki-s: #1B7D88; --tantaki-v: #66cccc; }
.tantaki-logo { display: block; height: 100%; width: auto; }
.kezdo-tantaki { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); height: 46px; background: #fff; border: 4px solid var(--tantaki-s); border-radius: 20px; padding: 4px 12px; box-shadow: var(--arnyek); box-sizing: content-box; }
.tantaki-jel { height: 40px; background: #fff; border: 3px solid var(--tantaki-s); border-radius: 14px; padding: 4px 10px; box-shadow: var(--arnyek); box-sizing: content-box; pointer-events: none; }
.szulo-link { border-color: var(--tantaki-s); color: var(--tantaki-s); font-weight: 700; }
.modal.szulo { border-color: var(--tantaki-s); }
.modal.szulo .szulo-fej { height: 46px; margin: 0 0 10px; }
.modal.szulo h2 { color: var(--tantaki-s); }
.modal.szulo .gomb-zold { background: var(--tantaki); color: #fff; border-color: var(--tantaki-s); }

/* ---------- Tantaki színek: türkiz + narancs ---------- */
:root { --narancs: #E2632A; --narancs-s: #C04E1B; }
html, body { background: #135F67; }
#keret { background: radial-gradient(circle at 50% 40%, #1B7D88, #0f4b52); }
#szinpad { box-shadow: 0 0 0 8px var(--narancs), 0 0 0 12px #fff, 0 14px 50px rgba(0, 0, 0, .45); }
.gomb-zold { background: var(--tantaki-v); }
.gomb-nagy.gomb-zold, #indit { background: var(--narancs); color: #fff; border-color: var(--narancs-s); text-shadow: 0 2px 0 rgba(0, 0, 0, .2); }
.premium-szalag { background: var(--narancs); }
.modal { border-color: var(--tantaki-s); }
.modal h2 { color: var(--tantaki-s); }
.lecke-panel h2 { color: var(--tantaki-s); }
.tantaki-jel, .kezdo-tantaki { border-color: var(--narancs); }
.cim-logo p { border: 3px solid var(--tantaki); }
.kov-taj { font-size: 26px; font-weight: 800; color: var(--narancs-s); margin: 10px 0 0; }
.felolvas-gomb { width: 46px; height: 46px; font-size: 22px; vertical-align: middle; margin-left: 8px; }

/* ---------- Nyitóoldal: nyugodtabb, Tantaki-színű ---------- */
.cim-logo h1 { color: #fff; text-shadow: 0 5px 0 var(--tantaki-s), 0 9px 0 #0f4b52, 0 14px 22px rgba(15, 75, 82, .35); }
.cim-logo h1 span { color: var(--narancs); text-shadow: 0 5px 0 #fff, 0 9px 0 var(--tantaki-s), 0 14px 22px rgba(15, 75, 82, .3); }
.cim-logo p { background: rgba(255, 255, 255, .92); color: var(--tantaki-s); border: none; box-shadow: 0 3px 0 rgba(27, 125, 136, .25); }
.kezdo-tantaki { border: 3px solid #fff; box-shadow: 0 4px 14px rgba(15, 75, 82, .25); }

/* ---------- Világos türkiz háttér a játék körül ---------- */
html, body { background: #c9ecea; }
#keret { background: radial-gradient(circle at 50% 40%, #e6f7f6, #b3e3e0); }
#szinpad { box-shadow: 0 0 0 8px var(--narancs), 0 0 0 12px #fff, 0 12px 36px rgba(15, 75, 82, .25); }
.ajanlat.kivalasztott { outline: 4px solid var(--narancs); outline-offset: 2px; }
.ajanlat.kiemelt { background: #fff4ec; border-color: var(--narancs); }
.ajanlat .cimke { background: var(--narancs); color: #fff; }
.ajanlat .ar { color: var(--tantaki-s); }
/* haladásjelző: a jobb oldali számlálók és a Tantaki-logó miatt keskenyebb sáv */
.halado-sav { right: 505px; }
.halado-sav.suru { gap: 4px; }
.halado-sav.suru .hely { width: 26px; height: 26px; }
