:root{font-family:Arial,sans-serif;color:#243d34;background:#f7f5eb;font-size:20px}*{box-sizing:border-box}body{margin:0}header,footer{max-width:1150px;margin:auto;padding:18px 26px;display:flex;justify-content:space-between;align-items:center;gap:20px}header{border-bottom:1px solid #d8ddcd}.brand{font-size:14px;letter-spacing:2px;color:#335448;text-decoration:none;font-weight:bold}button,a{touch-action:manipulation}button{font:inherit;font-weight:700;border:2px solid #426a58;border-radius:16px;background:#fffdf6;color:#243d34;padding:14px 24px;cursor:pointer;min-height:56px}button:hover:enabled{background:#edf2dc}button:focus-visible,a:focus-visible{outline:4px solid #b65916;outline-offset:5px}button:disabled{cursor:default}.primary{background:#315a47;color:white}.primary:hover:enabled{background:#244637}main{max-width:1100px;margin:auto;padding:24px}h1{font-family:Georgia,serif;font-size:clamp(32px,4.5vw,52px);line-height:1.12;margin:10px 0 18px}h2{font-size:clamp(25px,3vw,36px);line-height:1.25;margin:14px 0}p{line-height:1.5}.eyebrow{font-size:15px;font-weight:bold;letter-spacing:1.5px;color:#546c53}.home{text-align:center}.intro{max-width:760px;margin:10px auto 24px}.house{width:min(660px,100%);margin:65px auto 18px;padding:28px 34px 24px;position:relative;background:#e8cba0;border:8px solid #a7764d;border-radius:12px;box-shadow:0 18px 0 #dbe3bf}.house:before{content:'';position:absolute;left:-10%;top:-65px;width:120%;height:75px;background:#86533e;clip-path:polygon(50% 0,100% 100%,0 100%)}.windows{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.window{padding:8px;min-height:112px;border:5px solid #76563e;border-radius:30px 30px 5px 5px;background:repeating-linear-gradient(90deg,#b38660 0 18px,#a27450 19px 21px);color:#fff}.window:first-child{grid-column:2}.window:nth-child(2){grid-column:1}.window.active{background:#fff4b5;color:#243d34;outline:5px solid #a34d16;outline-offset:3px}.window.done{background:#fffdf5;color:#243d34}.window:disabled:not(.done){color:#fff}.window .animal{height:84px}.window small{font-size:14px;display:block}.door{background:#775c44;width:74px;height:65px;border-radius:30px 30px 0 0;margin:22px auto -24px}.toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center}.progress{font-size:16px}.task{background:#fffdf8;border:1px solid #d4dacb;border-radius:28px;padding:28px;margin-top:20px;box-shadow:0 8px 28px #304b3010}.question-head{display:grid;grid-template-columns:230px 1fr;gap:28px;align-items:center}.animal{background-image:url('assets/gyvunai.png');background-repeat:no-repeat;background-size:300% 200%;height:210px;border-radius:18px;background-color:#faf8ee}.a0{background-position:0 0}.a1{background-position:50% 0}.a2{background-position:100% 0}.a3{background-position:0 100%}.a4{background-position:50% 100%}.a5{background-position:100% 100%}.choices{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:24px}.choices.three{grid-template-columns:repeat(3,1fr)}.choice{padding:16px;display:flex;flex-direction:column;align-items:center;gap:12px;min-height:185px;border-color:#9aab93;font-size:22px}.choice .animal{width:100%;height:130px}.choice svg{width:130px;height:112px}.choice.correct{border:4px solid #315a47;background:#e9f2d9}.choice.wrong{border:3px dashed #9b5b25}.choice:disabled{color:#243d34;opacity:1}.feedback{padding:14px 18px;border-radius:14px;background:#f1efdf;min-height:60px;margin:22px 0 15px;line-height:1.45}.feedback.good{background:#e6efd7}.actions{display:flex;justify-content:flex-end;gap:16px}.summary{max-width:720px;margin:auto;text-align:center}.summary .animal{height:250px;max-width:430px;margin:auto}.pill{display:inline-block;border-radius:40px;background:#e6ebd7;padding:8px 18px;font-size:16px}.pair-status{font-weight:bold}footer{font-size:13px;line-height:1.6;flex-wrap:wrap;color:#53634f}footer a{color:#335448}dialog{max-width:650px;border:2px solid #426a58;border-radius:24px;padding:30px;background:#fffdf6}dialog::backdrop{background:#162c23aa}.legal{max-width:820px}.legal p,.legal li{line-height:1.6}.hidden{display:none}@media(max-width:600px){:root{font-size:18px}header,footer{padding:16px}header button{font-size:15px;padding:10px}main{padding:18px 12px}.task{padding:18px 14px}.question-head{grid-template-columns:1fr;gap:8px}.question-head>.animal{height:150px;width:230px;margin:auto}.choices,.choices.three{grid-template-columns:repeat(2,1fr);gap:12px}.choice{font-size:18px;padding:10px;min-height:160px}.choice svg{width:100px;height:95px}.choice .animal{height:100px}.house{padding:20px 16px;border-width:6px}.windows{gap:12px}.window{min-height:95px;padding:4px}.window .animal{height:62px}.window small{font-size:12px}.toolbar button{font-size:16px;padding:10px}.summary .animal{height:190px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
/* Atskirti atlaso langeliai rodomi išlaikant natūralias proporcijas. */
.animal{background-size:contain;background-position:center!important}.a0{background-image:url('assets/gyvunas-0.png')}.a1{background-image:url('assets/gyvunas-1.png')}.a2{background-image:url('assets/gyvunas-2.png')}.a3{background-image:url('assets/gyvunas-3.png')}.a4{background-image:url('assets/gyvunas-4.png')}.a5{background-image:url('assets/gyvunas-5.png')}
h1:focus,h2:focus{outline:none}.detail{width:100%;height:130px;object-fit:contain;border-radius:12px}@media(max-width:600px){.house:before{left:-2%;width:104%}.detail{height:100px}}
.house:before{left:-2%;width:104%}
.choice .detail,.choice .animal{height:170px}@media(max-width:600px){.choice .detail,.choice .animal{height:130px}}
