*{box-sizing:border-box}body{margin:0;background:linear-gradient(#a5e9ff,#efffe8);font-family:'Trebuchet MS',Arial,sans-serif;color:#18324d}.shell{max-width:1160px;margin:auto;padding:14px}header{text-align:center}h1{font-size:clamp(32px,5vw,54px);margin:8px;color:#287b44}header p{font-weight:700;margin:8px 0 18px}.game{position:relative;overflow:hidden;border:5px solid #fff;border-radius:22px;box-shadow:0 10px 35px #31534b30;background:#bceeff}.hud{position:absolute;z-index:2;top:12px;left:15px;right:15px;display:flex;justify-content:space-between;gap:8px;pointer-events:none}.hud span{background:#ffffffd9;border-radius:14px;padding:8px 12px;font-weight:900;font-size:clamp(12px,2.3vw,20px)}canvas{display:block;width:100%;height:auto;touch-action:manipulation}.overlay{position:absolute;inset:0;z-index:4;display:flex;align-items:center;justify-content:center;background:#123b4e77;padding:12px}.overlay[hidden]{display:none}.panel{background:#fffef3;border:5px solid white;border-radius:24px;box-shadow:0 12px 35px #0004;text-align:center;padding:16px;width:min(750px,100%);max-height:95%;overflow:auto}.panel h2{margin:0 0 5px;font-size:clamp(23px,3vw,34px)}.panel p{margin:5px 0 12px;font-weight:700}.choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.choices button{border:3px solid #8ed6a6;border-radius:15px;background:#e9ffe8;cursor:pointer;font-weight:900;padding:6px;color:#234}.choices button:hover{background:#d1f9c7;transform:translateY(-3px)}.choices img{display:block;width:100%;height:110px;object-fit:contain;object-position:center;padding:5px}.choices span{display:block;font-size:13px}.controls{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:17px 0}.controls button,#restart{border:0;border-radius:18px;padding:15px 25px;font-size:19px;font-weight:900;background:#ffcf42;color:#283248;box-shadow:0 5px 0 #bb9b3e;cursor:pointer;touch-action:manipulation}.controls button:active,#restart:active{transform:translateY(4px);box-shadow:none}#jump{background:#5dd878;box-shadow:0 5px 0 #399b54;font-size:25px;min-width:175px}#restart{background:#5dd878;margin-top:12px}.hint,footer{text-align:center;font-weight:700}footer{opacity:.7;margin:22px}@media(max-width:600px){.choices{grid-template-columns:repeat(2,minmax(0,1fr))}.choices img{height:75px}.panel{padding:8px}.hud span{padding:5px}.controls button{font-size:15px;padding:12px}}
