.tkp{max-width:560px;margin:20px auto;background:#102e48;color:#fff;border-radius:28px;overflow:hidden;font:600 18px/1.4 system-ui,sans-serif;box-shadow:0 15px 50px #102e4840;text-align:center}.tkp *{box-sizing:border-box}.tkp .tk-head{padding:18px;background:#102e48;color:#ffe4a0;display:flex;justify-content:space-between;font-size:15px}.tkp .tk-art{width:100%;display:block;max-height:300px;object-fit:cover}.tkp .tk-body{padding:20px;background:linear-gradient(145deg,#173e5a,#102e48)}.tkp h2,.tkp h3{color:#ffe4a0;margin:0 0 12px;font-weight:800}.tkp p{color:#e1edf6;margin:8px 0 16px}.tkp button{display:block;width:100%;margin:10px 0;padding:14px 8px;border:1px solid #ffffff44;border-radius:15px;background:#287e69;color:white;font:700 18px system-ui;box-shadow:0 4px 0 #0004;cursor:pointer}.tkp button:nth-of-type(3n+2){background:#7052a8}.tkp button:nth-of-type(3n){background:#a96b24}.tkp button:disabled{opacity:.55;cursor:default}.tkp .tk-question{background:#fff3d5;color:#18354c;padding:22px;border-radius:18px;font-size:26px;margin:15px 0}.tkp .tk-track{height:10px;background:#ffffff33;border-radius:20px;overflow:hidden}.tkp .tk-track i{display:block;height:100%;background:#ffcf61}.tkp .tk-good{background:#168348!important}.tkp .tk-bad{background:#a93e48!important}.tkp .tk-small{font-size:14px;color:#c4d6e5}.tkp button:focus-visible{outline:3px solid #ffe58a}
html:has(body.tk-standalone),body.tk-standalone{margin:0;min-height:100%;background:#102e48}body.tk-standalone{background:radial-gradient(ellipse at top,#387b70,#102e48 75%);min-height:100dvh}.tk-standalone .tkp{margin:0 auto;min-height:100dvh;max-width:620px;border-radius:0}.tkp .tk-question,.tkp .tk-result{background:#fff3d5;color:#18354c;padding:18px;border:0;border-radius:18px;font-size:30px;font-weight:800;margin:12px 0}.tkp .tk-question:before,.tkp .tk-question:after{content:none!important}.tkp .tk-quiz .tk-art,.tkp.tk-quiz .tk-art{height:clamp(100px,20vh,180px);object-fit:contain;background:#7bc5a2}.tkp .tk-good:disabled,.tkp .tk-bad:disabled{opacity:1}.tkp button:disabled{color:#fff}.tkp .tk-body{padding:14px 18px}.tkp .tk-head{justify-content:center;padding:12px}.tkp button{min-height:48px;margin:8px 0}.tkp h2{font-size:clamp(23px,5vw,32px)}
body.tk-standalone{background:radial-gradient(ellipse at top,#a3e8c1,#288a83 65%,#145b70)}.tkp{background:#e9f9d4;color:#214b38}.tkp .tk-head{background:linear-gradient(90deg,#176c55,#299d68);color:#fff3b1}.tkp .tk-body{background:linear-gradient(160deg,#fff8d8,#d5f5c2);color:#214b38}.tkp h2{color:#235c43;text-shadow:0 2px #fff;font-weight:900}.tkp p,.tkp .tk-small{color:#28553e}.tkp button{background:linear-gradient(#47c65e,#168e46);border:2px solid #ffffff99;box-shadow:0 4px 0 #145b3e80;text-shadow:0 1px 2px #0005}.tkp button:nth-of-type(3n+2){background:linear-gradient(#a77aef,#7445bc)}.tkp button:nth-of-type(3n){background:linear-gradient(#ffbd43,#d67a17)}.tkp .tk-art{max-height:260px;object-fit:cover}.tkp.tk-quiz .tk-art{height:clamp(75px,15dvh,145px);object-fit:cover;object-position:center 45%}.tkp .tk-track{background:#b4d7a5}.tkp .tk-track i{background:linear-gradient(90deg,#ff9b27,#ffe75a)}.tkp .tk-question{background:white;border:2px solid #e6b84e;box-shadow:0 3px 0 #d9b86655;color:#234d50;margin:8px 0;padding:12px;font-size:clamp(19px,5vw,28px)}.tkp .tk-answers{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tkp .tk-answers button{margin:0;min-height:54px}.tkp .tk-feedback{min-height:44px;margin:6px 0;display:grid;place-items:center;font-size:16px}.tkp .tk-next{background:linear-gradient(#ffbc38,#e28a15)!important;margin:4px 0}.tkp .tk-back{background:#527d68!important;font-size:13px;min-height:36px;margin:8px 0 0;padding:5px}.tkp .tk-map{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px;border-radius:22px;background:linear-gradient(135deg,#a4e39a,#f8e9a1);border:3px solid #fff}.tkp .tk-map button{margin:0;min-height:64px}.tkp .tk-map button:disabled{background:#657c70;opacity:.8}.tkp .tk-good:disabled{background:#168348!important}.tkp .tk-bad:disabled{background:#a93e48!important}.tkp.tk-quiz .tk-body{padding:10px 14px}.tkp.tk-quiz h2{margin-bottom:6px}.tkp button:active:not(:disabled){transform:translateY(2px);box-shadow:none}@media(max-height:650px){.tkp.tk-quiz .tk-art{height:65px}.tkp.tk-quiz .tk-head{padding:5px}.tkp.tk-quiz .tk-answers button{min-height:42px;padding:6px}.tkp.tk-quiz .tk-feedback{min-height:28px}.tkp.tk-quiz .tk-question{padding:7px}.tkp.tk-quiz .tk-next{min-height:40px;padding:6px}}
.tkp{position:relative}.tkp .tk-accessory{position:absolute;top:65px;left:42%;font-size:clamp(28px,8vw,60px);filter:drop-shadow(0 3px 3px #0005);pointer-events:none}.tkp .tk-spark{position:absolute;z-index:10;top:48%;left:50%;color:#ffc629;font-size:30px;text-shadow:0 2px #b66b00;pointer-events:none;animation:tkburst .85s ease-out forwards}@keyframes tkburst{to{transform:translate(var(--dx),var(--dy)) rotate(220deg);opacity:0}}.tkp .tk-map{display:grid;grid-template-columns:1fr 1fr;gap:14px 28px;background:radial-gradient(ellipse at 20% 20%,#fff5b0 0 8%,transparent 9%),radial-gradient(ellipse at 80% 75%,#9ee3ed 0 14%,transparent 15%),linear-gradient(145deg,#c9ef9a,#67b985);position:relative}.tkp .tk-map:before{content:'';position:absolute;left:48%;top:10px;bottom:10px;width:10px;border-radius:20px;background:#f8df99;box-shadow:0 0 0 3px #d4ad63;transform:rotate(3deg)}.tkp .tk-map button{position:relative;border-radius:24px;min-height:54px;font-size:15px}.tkp .tk-map button:nth-child(4n+2),.tkp .tk-map button:nth-child(4n+3){transform:translateY(5px)}.tkp[data-world="1"] .tk-map{background:linear-gradient(135deg,#e9d4ff,#a6a0e8)}.tkp[data-world="2"] .tk-map{background:linear-gradient(135deg,#a1e9ed,#ffe1a0)}.tkp[data-world="1"] .tk-body{background:linear-gradient(150deg,#fff1fc,#e2d5ff)}.tkp[data-world="2"] .tk-body{background:linear-gradient(150deg,#fff6cb,#b8f1ec)}.tkp .tk-result{color:#8a5900;background:linear-gradient(#fff9d6,#ffe7a0)}.tkp[data-screen="Induljon a kaland!"] .tk-body{display:grid;grid-template-columns:1fr 1fr;gap:7px}.tkp[data-screen="Induljon a kaland!"] .tk-body h2,.tkp[data-screen="Induljon a kaland!"] .tk-body p,.tkp[data-screen="Induljon a kaland!"] .tk-body button:nth-of-type(-n+3){grid-column:1/-1}.tkp[data-screen="Induljon a kaland!"] button{margin:0;min-height:44px;padding:8px;font-size:15px}.tkp[data-screen="Induljon a kaland!"] .tk-art{height:clamp(110px,26dvh,250px)}.tkp[data-screen="Induljon a kaland!"] p{margin:0 0 5px}@media(prefers-reduced-motion:reduce){.tkp .tk-spark{animation:none;display:none}}
.tkp .tk-cup{font-size:clamp(44px,9vh,80px);margin:0;animation:tkcup .65s cubic-bezier(.2,1.5,.5,1) both;line-height:1.1}@keyframes tkcup{from{transform:scale(.2) rotate(-20deg);opacity:0}to{transform:scale(1);opacity:1}}.tkp .tk-map{background-image:url('trail.svg'),linear-gradient(145deg,#c9ef9a,#67b985);background-size:100% 100%;gap:12px 40px}.tkp .tk-map:before{display:none}.tkp .tk-map button:nth-child(4n+1),.tkp .tk-map button:nth-child(4n+4){transform:translateY(8px)}.tkp .tk-map button{border:3px solid #fff6d0;box-shadow:0 4px 0 #75552a88}.tkp[data-world="1"] .tk-map{background-image:url('trail.svg'),linear-gradient(135deg,#e9d4ff,#a6a0e8)}.tkp[data-world="2"] .tk-map{background-image:url('trail.svg'),linear-gradient(135deg,#a1e9ed,#ffe1a0)}.tkp[data-screen="Induljon a kaland!"] .tk-body{padding:10px 14px;gap:6px}.tkp[data-screen="Induljon a kaland!"] button{min-height:42px}.tkp[data-screen="Induljon a kaland!"] .tk-art{height:clamp(90px,23dvh,230px)}@media(max-height:700px){.tkp[data-screen="Induljon a kaland!"] .tk-art{height:100px}.tkp[data-screen="Induljon a kaland!"] h2{margin:0}.tkp[data-screen="Induljon a kaland!"] p{font-size:13px}}@media(prefers-reduced-motion:reduce){.tkp .tk-cup{animation:none}}
.tkp:fullscreen{width:100%;max-width:none;height:100%;overflow:auto;background:#e8f6c8}.tkp:fullscreen .tk-body{max-width:560px;margin:auto}.tkp:fullscreen .tk-art{max-width:560px;margin:auto;display:block}.tkp .tk-cup{font-size:clamp(54px,10dvh,90px);filter:drop-shadow(0 5px 4px #a76b3055)}.tkp[data-screen="Kaland teljesítve!"] .tk-art{height:clamp(90px,22dvh,220px)}

/* 1.3.1: preserve the illustration instead of squeezing it into a strip. */
.tkp[data-screen="Induljon a kaland!"] .tk-art{height:clamp(230px,36vw,260px);max-height:none;object-fit:cover;object-position:center 45%}
.tkp[data-screen="Induljon a kaland!"] .tk-body{padding:14px;gap:8px}
.tkp[data-screen="Induljon a kaland!"] button{min-height:44px;font-size:15px}
.tkp[data-screen="Induljon a kaland!"] button:nth-of-type(-n+3){min-height:49px;font-size:17px}
.tkp[data-screen="Induljon a kaland!"] .tk-small{grid-column:1/-1}

/* 1.3.2: larger quiz illustration, including short viewports. */
.tkp.tk-quiz .tk-art{height:clamp(200px,36vw,230px);max-height:none;object-fit:cover;object-position:center 45%;flex-shrink:0}

.tkp .tk-portal-home{display:block;grid-column:1/-1;width:100%;box-sizing:border-box;margin:12px 0 6px;padding:13px 10px;border:2px solid #fff3a0;border-radius:15px;background:linear-gradient(180deg,#ffe477,#ffbd28);color:#24334a;text-align:center;text-decoration:none;font:800 16px/1.4 system-ui,sans-serif;box-shadow:0 4px 0 #a96b24;transition:transform .2s,box-shadow .2s}.tkp .tk-portal-home:hover{transform:translateY(-3px);box-shadow:0 7px 12px #a96b2455}.tkp .tk-portal-home:focus-visible{outline:3px solid #235c43;outline-offset:3px}@media(prefers-reduced-motion:reduce){.tkp .tk-portal-home{transition:none}.tkp .tk-portal-home:hover{transform:none}}
