/* gameapp - (c) 2026 Fumaneri Marco - tutti i diritti riservati. Vietata la copia. */
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;height:100%;overflow:hidden}body{position:fixed;top:0;right:0;bottom:0;left:0;font:700 16px/1.3 ui-rounded,"SF Pro Rounded",-apple-system,"Segoe UI",Roboto,Arial,sans-serif;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:none;-webkit-text-size-adjust:100%}button{font:inherit;color:inherit;cursor:pointer}img{-webkit-user-drag:none;pointer-events:none}#palco{position:absolute;left:0;top:0;width:1000px;height:600px;-webkit-transform-origin:0 0;transform-origin:0 0;overflow:hidden}.strato{position:absolute;left:0;top:0;width:1000px;height:600px}.nascosto{display:none!important}.tasto{border:0;border-radius:22px;padding:12px 22px;font-size:22px;font-weight:800;background:#ffd23a;color:#4a3a30;box-shadow:0 5px 0 rgba(0,0,0,.18)}.tasto.sec{background:#fff}.tondo{width:64px;height:64px;border-radius:50%;border:0;background:#fffaf0;box-shadow:0 4px 0 rgba(0,0,0,.15);font-size:28px;padding:0;position:absolute}.tondo img{width:70%;height:70%;display:block;margin:0 auto}.stellina{position:absolute;width:0;height:0;z-index:50;pointer-events:none}.stellina::after{content:'';position:absolute;left:-10px;top:-10px;width:20px;height:20px;background:#ffd23a;-webkit-clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);-webkit-animation:stellina .8s ease-out forwards;animation:stellina .8s ease-out forwards}@-webkit-keyframes stellina{to{-webkit-transform:translateY(-80px) scale(.3);opacity:0}}@keyframes stellina{to{transform:translateY(-80px) scale(.3);opacity:0}}.livelli{display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-justify-content:center;justify-content:center}.liv{width:130px;height:150px;margin:6px;border:0;border-radius:20px;background:#fff;box-shadow:0 5px 0 rgba(0,0,0,.12);position:relative;padding:4px}.liv img{width:84px;height:108px;display:block;margin:0 auto}.liv b{position:absolute;left:8px;top:6px;background:#ff8a65;color:#fff;border-radius:12px;padding:0 9px;font-size:16px}.liv i{display:block;font-style:normal;font-size:16px;color:#f2b33a;letter-spacing:2px}.liv.chiuso{opacity:.45}.liv.chiuso::after{content:'🔒';position:absolute;right:8px;top:6px;font-size:20px}.finestra{position:absolute;left:0;top:0;width:1000px;height:600px;background:rgba(40,30,20,.45);z-index:40;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center}.finestra .sc{background:#fffaf0;border-radius:30px;padding:26px 34px;text-align:center;box-shadow:0 10px 0 rgba(0,0,0,.15);max-width:640px;color:#4a3a30}.finestra h2{margin:0 0 6px;font-size:34px}.finestra .stelle{font-size:54px;letter-spacing:6px;color:#f2b33a;margin:4px 0 10px}.finestra .tasto{margin:6px}#gira{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:none;text-align:center;font-size:22px;padding:30px;background:#7ec8b8;color:#4a3a30;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;-webkit-flex-direction:column;flex-direction:column}body.verticale #gira{display:-webkit-flex;display:flex}#gira div{font-size:70px;-webkit-animation:giratel 2s ease-in-out infinite;animation:giratel 2s ease-in-out infinite}@-webkit-keyframes giratel{50%{-webkit-transform:rotate(90deg)}}@keyframes giratel{50%{transform:rotate(90deg)}}@-webkit-keyframes pulsa{50%{-webkit-transform:scale(1.14)}}@keyframes pulsa{50%{transform:scale(1.14)}}@-webkit-keyframes saltino{30%{-webkit-transform:translateY(-24px)}60%{-webkit-transform:translateY(0)}}@keyframes saltino{30%{transform:translateY(-24px)}60%{transform:translateY(0)}}@-webkit-keyframes scuoti{25%{-webkit-transform:rotate(-8deg)}75%{-webkit-transform:rotate(8deg)}}@keyframes scuoti{25%{transform:rotate(-8deg)}75%{transform:rotate(8deg)}}.casa{position:absolute;left:14px;top:14px;z-index:30;border:3px solid #fff;border-radius:26px;padding:9px 18px 9px 12px;background:#ffd23a;color:#4a3a30;font-size:20px;font-weight:800;box-shadow:0 5px 0 rgba(0,0,0,.2)}
