*,:before,:after{box-sizing:border-box;-webkit-tap-highlight-color:transparent;margin:0;padding:0}html,body{touch-action:none;-webkit-user-select:none;user-select:none;background:#0d0628;width:100%;height:100%;font-family:Segoe UI,system-ui,-apple-system,sans-serif;overflow:hidden}.hidden{display:none!important}#splash-screen{z-index:9999;background:#0d0628;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}#splash-bg{background:radial-gradient(#1a0a3e 0%,#0d0628 70%);position:absolute;inset:0}#splash-logo-wrap{z-index:1;flex-direction:column;align-items:center;gap:0;width:80%;max-width:320px;display:flex;position:relative}#logo-top{opacity:0;will-change:transform, opacity;filter:drop-shadow(0 4px 20px #4263eb80);width:100%;transform:translateY(-120vh)}#logo-bottom{opacity:0;will-change:transform, opacity;filter:drop-shadow(0 -4px 20px #4263eb80);width:80%;transform:translateY(120vh)}#logo-top.slide-in,#logo-bottom.slide-in{opacity:1;transition:transform 1.4s cubic-bezier(.34,1.56,.64,1),opacity .7s;transform:translateY(0)}#splash-screen.flash{animation:.4s forwards splashFlash}@keyframes splashFlash{0%{background:#0d0628}40%{background:#3a2a80}to{background:#0d0628}}#app{flex-direction:column;align-items:center;width:100%;height:100%;display:flex;position:relative;overflow:hidden}#bg-image{z-index:0;opacity:.5;pointer-events:none;background:url(./bg_cosmic-DkunFala.jpg) 50%/cover no-repeat;position:absolute;inset:0}#bg-blur{z-index:1;-webkit-backdrop-filter:blur(4px);pointer-events:none;background:#0d062859;position:absolute;inset:0}#hud,#game-wrapper,#game-over,#main-menu{z-index:2;position:relative}#game-container{z-index:2;transform-origin:top;flex-direction:column;flex-shrink:0;align-items:center;width:420px;height:800px;display:flex;position:relative}#hud{z-index:10;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:10px 16px;display:flex}#score-box,#best-box{background:url(./watermelon-merge-hud-info-BfownGjQ.png) 50%/100% 100% no-repeat;border:none;flex-direction:column;justify-content:center;align-items:center;min-width:95px;min-height:65px;padding:18px 18px 6px;display:flex}#next-box{background:0 0;border:none;flex-direction:column;justify-content:center;align-items:center;min-width:70px;padding:6px 12px;display:flex}.label{letter-spacing:1px;color:#fff;text-transform:uppercase;text-shadow:0 2px 4px #000c,0 1px 2px #0009;font-size:11px;font-weight:800}#score,#best-score{color:#fff;text-shadow:0 3px 6px #000c,0 0 4px #00000080;font-size:24px;font-weight:900;line-height:1.2}#next-fruit{filter:drop-shadow(0 3px 4px #0009);font-size:32px;line-height:1.2}.icon-btn{width:48px;height:48px;min-width:unset;box-shadow:none;cursor:pointer;color:#fff;text-shadow:0 2px 4px #0009;background:url(./watermelon-merge-circle-button-CXwGFaKc.png) 50%/contain no-repeat;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;font-size:22px;transition:transform .1s;display:flex}.icon-btn:active{transform:scale(.9)}.settings-float{z-index:201;width:60px;height:60px;font-size:28px;position:absolute;top:20px;right:20px}.rate-float{z-index:201;width:60px;height:60px;font-size:28px;animation:1.2s ease-in-out infinite alternate pulse-star;position:absolute;top:20px;left:20px}@keyframes pulse-star{0%{transform:scale(1)}to{transform:scale(1.15)}}#game-wrapper{flex:1;justify-content:center;align-items:flex-start;width:100%;display:flex;position:relative;overflow:hidden}#game-canvas{touch-action:none;object-fit:contain;background:0 0;border-radius:12px;max-width:100%;max-height:100%;display:block}#drop-indicator{pointer-events:none;background:#ffffff4d;border-radius:1px;width:2px;transition:left 50ms;display:none;position:absolute;top:0}#game-over{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:100;background:#000000bf;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.go-panel{text-align:center;box-shadow:none;background:url(./settings-modal-CIh9Q0Mi.png) 50%/100% 100% no-repeat;border:none;border-radius:0;flex-direction:column;justify-content:center;width:90%;max-width:320px;padding:65px 35px 35px;display:flex;position:relative}.go-panel h1{color:#fff;text-shadow:0 3px 6px #000c;text-align:center;width:100%;margin:0;font-size:22px;position:absolute;top:15px;left:0}.go-score-label,.go-best-label{color:#fff;text-shadow:0 2px 4px #000c;letter-spacing:1px;text-transform:uppercase;margin-top:8px;font-size:13px;font-weight:700}.go-score{color:#f7dc6f;font-size:52px;font-weight:900;line-height:1.1}.go-best{color:#a29bfe;margin-bottom:24px;font-size:28px;font-weight:700;line-height:1.2}#loading-screen{-webkit-backdrop-filter:blur(8px);z-index:300;background:#0d0628d9;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.loading-content{flex-direction:column;align-items:center;gap:24px;display:flex}.loading-icon{filter:drop-shadow(0 0 12px #a29bfe99);width:80px;height:80px;animation:1.5s cubic-bezier(.4,0,.2,1) infinite spin-pulse}.loading-bar{background:#ffffff1a;border-radius:4px;width:150px;height:6px;position:relative;overflow:hidden}.loading-progress{background:linear-gradient(90deg,#6c5ce7,#a29bfe);border-radius:4px;width:0%;height:100%;animation:1.5s ease-out forwards load-bar}@keyframes spin-pulse{0%{opacity:.8;transform:scale(.9)rotate(0)}50%{opacity:1;transform:scale(1.1)rotate(180deg)}to{opacity:.8;transform:scale(.9)rotate(360deg)}}@keyframes load-bar{0%{width:0%}to{width:100%}}#main-menu{-webkit-backdrop-filter:blur(4px);z-index:200;background:#0d062873;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.menu-panel{text-align:center;padding:40px 32px}.menu-mascot-logo{filter:drop-shadow(0 8px 16px #00000080);width:50%;max-width:160px;height:auto;margin:0 auto 12px;animation:3.5s ease-in-out infinite float;display:block}.menu-text-logo{filter:drop-shadow(0 8px 16px #0006);width:90%;max-width:300px;height:auto;margin:0 auto 24px;display:block}.menu-desc{color:#fff;text-shadow:0 2px 4px #0009;margin-bottom:36px;font-size:16px;font-weight:500}button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#6c5ce7,#a29bfe);border:none;border-radius:50px;justify-content:center;align-items:center;gap:8px;min-width:180px;padding:14px 40px;font-size:18px;font-weight:700;transition:transform .1s,box-shadow .1s;display:inline-flex;box-shadow:0 4px 20px #6c5ce766}button:active{transform:scale(.96);box-shadow:0 2px 10px #6c5ce74d}#start-btn{box-shadow:none;letter-spacing:2px;text-shadow:0 4px 8px #000c,0 0 15px #ffffff4d;background:url(./button-CVE74FrD.png) 50%/100% 100% no-repeat;border-radius:0;justify-content:center;align-items:center;gap:12px;width:280px;height:90px;margin:0 auto;padding:0;font-size:36px;font-weight:900;display:flex}#start-btn:active{box-shadow:none;transform:scale(.94)}.modal-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:500;background:#000000b3;justify-content:center;align-items:center;animation:.2s fadeIn;display:flex;position:fixed;inset:0}.modal-panel{width:90%;max-width:320px;box-shadow:none;background:url(./settings-modal-CIh9Q0Mi.png) 50%/100% 100% no-repeat;border:none;border-radius:0;flex-direction:column;justify-content:center;padding:65px 35px 35px;animation:.3s cubic-bezier(.34,1.56,.64,1) popIn;display:flex;position:relative}.modal-title{color:#fff;text-shadow:0 3px 6px #000c;text-align:center;width:100%;margin:0;font-size:22px;font-weight:800;position:absolute;top:15px;left:0}.settings-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.settings-label{color:#fff;text-shadow:0 2px 4px #000c,0 0 10px #000;flex-shrink:0;font-size:15px;font-weight:600}.lang-carousel{flex:1;justify-content:flex-end;align-items:center;gap:1px;display:flex}.lang-arrow{width:34px;height:34px;min-width:unset;color:#fff;text-shadow:0 2px 4px #000c;cursor:pointer;background:#fff6;border:1px solid #fff6;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:22px;font-weight:600;line-height:1;transition:background .15s,transform .1s;display:flex;box-shadow:0 2px 6px #0006}.lang-arrow:active{background:#ffffff4d;transform:scale(.9)}.lang-display{flex-direction:column;align-items:center;gap:2px;min-width:90px;transition:opacity .2s;display:flex}.lang-display.lang-slide{opacity:0;transform:scale(.9)}#lang-flag{color:#fff;text-shadow:0 2px 4px #000c;font-size:28px;line-height:1}#lang-name-label{color:#fff;text-shadow:0 2px 4px #000c;letter-spacing:.3px;font-size:12px;font-weight:600}.toggle-wrap{align-items:center;gap:10px;display:flex}.toggle-btn{width:50px;height:28px;min-width:unset;cursor:pointer;box-shadow:none;background:#ffffff26;border:none;border-radius:14px;padding:0;transition:background .2s;position:relative}.toggle-btn.active{background:linear-gradient(135deg,#6c5ce7,#a29bfe)}.toggle-knob{background:#fff;border-radius:50%;width:22px;height:22px;transition:transform .2s cubic-bezier(.34,1.56,.64,1);position:absolute;top:3px;left:3px;box-shadow:0 2px 6px #0000004d}.toggle-btn.active .toggle-knob{transform:translate(22px)}.toggle-label{color:#fff;text-shadow:0 2px 4px #000c;min-width:40px;font-size:13px;font-weight:700}.close-btn,#restart-btn{box-shadow:none;letter-spacing:1px;text-shadow:0 3px 6px #000c,0 0 10px #fff3;color:#fff;background:url(./button-CVE74FrD.png) 50%/100% 100% no-repeat;border:none;border-radius:0;justify-content:center;align-items:center;width:200px;height:65px;margin:15px auto 0;padding:0;font-size:21px;font-weight:900;display:flex}.close-btn:active,#restart-btn:active{background-color:#0000;transform:scale(.94)}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-12px)}}@keyframes popIn{0%{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fade-in{animation:.4s forwards fadeIn}.modal-x-btn{color:#fff;cursor:pointer;text-shadow:0 2px 4px #000c;z-index:10;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:50px;height:50px;font-size:28px;font-weight:900;transition:transform .15s;display:flex;position:absolute;top:24px;right:-55px}.modal-x-btn:active{transform:scale(.85)}
