:root{--ink:#344a50;--muted:#879b9f;--orange:#f69c55;--line:#dce7e8;--surface:#ffffffb8;font-family:"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);background:#eef5f6;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 51% 44%,#fbfbf3 0%,#f0f6f5 49%,#eaf2f6 100%)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #719ba9;outline-offset:4px}button:disabled{cursor:default;opacity:.48}button{transition:background .2s,transform .2s}button:active:not(:disabled){transform:scale(.96)}.app{max-width:1440px;padding:0 5.4%;margin:auto;position:relative}.ambient{position:fixed;border-radius:50%;pointer-events:none;border:1px solid #d5e5e780}.ambient-one{width:440px;height:440px;left:-340px;top:390px}.ambient-two{width:340px;height:340px;right:-250px;top:90px}.topbar{height:109px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--ink);font-size:25px;font-weight:800;letter-spacing:-1px}.brand-icon{display:block;width:43px;height:43px;border-radius:15px 17px 14px 17px;background:#ffbc61;color:#fff;font-size:42px;line-height:32px;text-align:center;box-shadow:inset 0 3px 2px #ffffff8c,0 4px 0 #efac4c55;transform:rotate(-8deg)}.brand-icon span{font-size:28px}.brand-sub{display:block;font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:400;margin-top:4px}.header-actions{display:flex;gap:12px;align-items:center}.saved{font-size:11px;color:#90a6a4;margin-right:14px}.icon-button{position:relative;border:1px solid #dce7e8;background:#ffffff80;border-radius:50%;width:37px;height:37px;font-size:18px}.mute-slash{position:absolute;width:20px;height:1px;background:#7d9398;transform:rotate(-45deg);top:18px;left:8px}.sound-on .mute-slash{display:none}.intro{text-align:center;padding:36px 0 33px}.eyebrow{font-size:10px;letter-spacing:3px;color:#809a9e;display:flex;justify-content:center;align-items:center;gap:9px}.eyebrow span{width:6px;height:6px;border-radius:50%;background:#f5b169}.intro h1{font-size:38px;font-weight:750;letter-spacing:1px;margin:15px 0 12px;position:relative;display:inline-block}.intro h1 span{color:#ed9c60}.intro h1 svg{position:absolute;right:-51px;top:-9px;width:44px;fill:none;stroke:#eab174;stroke-width:3;stroke-linecap:round}.intro p{font-size:13px;color:var(--muted);letter-spacing:1px;margin:0}.game-layout{display:grid;grid-template-columns:210px minmax(340px,530px) 210px;gap:38px;justify-content:center;align-items:start}.left-panel{padding-top:24px}.tiny{font-size:9px;letter-spacing:1.8px;color:#99aaac}.level-label h2{font-size:20px;letter-spacing:1px;margin:12px 0}.level-label h2 span{font-size:13px;font-weight:500;background:#ddebed;padding:4px 7px;border-radius:6px;margin-left:8px;vertical-align:middle}.level-tag{font-size:10px;color:#8ba1a3}.score-card{background:var(--surface);padding:20px;border:1px solid #fff;border-radius:20px;margin-top:23px;box-shadow:0 9px 25px #789aa107}.card-top{display:flex;justify-content:space-between;font-size:12px;color:#82989e}.little-star{color:#efbb70}.score-card>strong{display:block;font-size:43px;letter-spacing:-2px;margin:8px 0 17px;font-weight:650;font-variant-numeric:tabular-nums}.target-line{display:flex;justify-content:space-between;font-size:10px;color:#97a7a8}.target-line b{font-weight:500;color:#799094}.progress-track{height:7px;background:#e9eff0;border-radius:10px;margin-top:10px;overflow:hidden}#progress{height:100%;width:0;background:linear-gradient(90deg,#f7c57f,#f5a463);border-radius:10px;transition:width .5s}.stars{display:flex;justify-content:space-between;color:#dce5e6;padding-top:10px;font-size:18px}.stars .earned{color:#f5af53}.moves-card{display:flex;align-items:center;padding:21px 0;gap:12px}.moves-icon{background:#e0ecef;border-radius:13px;width:43px;height:47px;display:grid;place-items:center;font-size:28px;color:#86a6ad}.moves-card div>span{display:block;font-size:10px;color:var(--muted)}.moves-card strong{display:block;font-size:28px;font-weight:650;line-height:1.25}.moves-note{margin-left:auto;color:#9aaeb0;font-size:9px;line-height:1.9}.best-row{border-top:1px dashed #d6e2e4;padding:17px 0;display:flex;justify-content:space-between;font-size:10px;color:#93a4a6}.best-row b{font-weight:600;color:#6d888e}.restart{border:1px solid #d5e3e5;background:transparent;width:100%;border-radius:12px;height:41px;color:#82999e;font-size:17px}.restart span{font-size:11px;margin-left:7px}.board-section{min-width:0}.board-top{display:flex;justify-content:space-between;align-items:center;padding:5px 12px 15px;font-size:10px;color:#8aa0a5;letter-spacing:1px}.board-top i{display:inline-block;width:6px;height:6px;background:#a9c8c4;border-radius:50%;margin-right:6px}#combo-label{font-size:9px;letter-spacing:2px}.board-wrap{position:relative;background:#e2edf0;padding:13px;border:2px solid #fdfefe;border-radius:27px;box-shadow:0 12px 0 #cedde147,0 24px 48px #789aa115,inset 0 2px 6px #a2bdc32b}#board{display:grid;grid-template-columns:repeat(8,1fr);gap:5px;position:relative;touch-action:none;user-select:none;-webkit-user-select:none;background:repeating-conic-gradient(#d6e4e74a 0 25%,transparent 0 50%) 50% / 25% 25%;border-radius:15px}.cell{aspect-ratio:1;border:0;border-radius:13px;background:#f5faf94a;position:relative;padding:5px;display:grid;place-items:center;min-width:0;touch-action:none}.cell:hover{background:#ffffffa6}.jelly{width:100%;height:91%;border-radius:36% 39% 32% 35%;position:relative;box-shadow:inset 0 3px 3px #ffffffe0,inset 0 -5px 3px var(--dark),inset 3px 0 5px #ffffff4a,0 3px 2px #718d9524;background:radial-gradient(ellipse at 35% 22%,var(--light) 0%,var(--color) 65%);transform:rotate(var(--tilt,-3deg));transition:filter .2s;pointer-events:none}.jelly:before{content:"";position:absolute;top:10%;left:16%;width:35%;height:17%;border-radius:50%;background:#ffffff9c;transform:rotate(-14deg)}.jelly:after{content:"";position:absolute;right:13%;top:27%;width:8%;height:8%;border-radius:50%;background:#ffffff75}.t0{--color:#ffa7b7;--light:#ffd8df;--dark:#e7809b75;--tilt:-4deg}.t1{--color:#ffbd4d;--light:#ffe398;--dark:#e997327d;--tilt:4deg;border-radius:41% 40% 34% 37%}.t2{--color:#a6cdd9;--light:#dcf0f5;--dark:#7fb1c17d;--tilt:-3deg;border-radius:36% 35% 43% 35%}.t3{--color:#b5a6db;--light:#e1d8f6;--dark:#9681c17d;--tilt:5deg;border-radius:40% 32% 38% 34%}.t4{--color:#a7cead;--light:#dbeed9;--dark:#7da7837d;--tilt:-5deg;border-radius:33% 41% 35% 39%}.t5{--color:#ff916c;--light:#ffc69b;--dark:#e9704e7d;--tilt:3deg;border-radius:40% 36% 35% 32%}.face{position:absolute;left:22%;right:22%;top:48%;height:26%;display:flex;justify-content:space-between}.eye{width:4px;height:5px;border-radius:50%;background:#52606b9e}.mouth{position:absolute;width:7px;height:4px;border:1.5px solid #52606b8c;border-top:0;border-radius:0 0 8px 8px;left:50%;top:6px;transform:translateX(-50%)}.cheek{position:absolute;width:7px;height:3px;border-radius:50%;top:6px;background:#f3808545;left:-4px}.cheek.right{left:auto;right:-4px}.special-mark{position:absolute;font-size:18px;color:#fffdf4;right:-3px;top:-5px;filter:drop-shadow(0 1px 2px #9b725a80)}.selected{background:#fff8e5!important;box-shadow:inset 0 0 0 2px #f1b66d}.selected .jelly{animation:wobble .9s infinite}.hint .jelly{animation:hint .85s infinite}.popping .jelly{animation:pop .36s forwards}.fall .jelly{animation:drop .42s both}.shake{animation:shake .35s}.board-bottom{display:flex;align-items:center;justify-content:center;gap:8px;padding:22px 0 0;font-size:10px;color:#8ca1a5;min-height:42px}.status-dot{width:5px;height:5px;border-radius:50%;background:#a1bdb8;flex-shrink:0}#effects{position:absolute;inset:0;pointer-events:none;overflow:visible}.score-float{position:absolute;left:50%;top:42%;font-size:33px;font-weight:800;color:#e69a4e;text-shadow:0 2px #fff;animation:float 1s forwards;white-space:nowrap;z-index:5}.particle{position:absolute;left:var(--x);top:var(--y);width:8px;height:9px;border-radius:40%;background:var(--pcolor);animation:splash .55s forwards}.right-panel{padding-top:36px}.mini-jelly{width:54px;height:49px;border-radius:38% 42% 35% 40%;background:radial-gradient(at 35% 10%,#ffdda0,#ffb953);box-shadow:inset 0 3px 2px #fff9,inset 0 -4px #eda24766,0 5px 0 #dbe6e4;transform:rotate(8deg);position:relative;margin:0 0 21px 4px}.mini-jelly:before{content:"";position:absolute;left:10px;top:5px;width:20px;height:7px;border-radius:50%;background:#fff9}.mini-jelly:after{content:"• ᴗ •";position:absolute;top:22px;left:12px;font-size:13px;color:#86693f}.right-panel h2{font-size:24px;line-height:1.6;letter-spacing:1px;font-weight:650;margin:0}.side-copy{font-size:11px;line-height:1.9;color:#94a5a6;margin:12px 0 25px}.tools{display:grid;gap:10px}.tool{display:flex;align-items:center;gap:10px;width:100%;padding:13px 10px;background:#ffffff90;border:1px solid #fff;border-radius:13px;text-align:left}.tool:hover{background:#fff}.tool-icon{display:grid;place-items:center;width:31px;height:33px;border-radius:10px;background:#fbefdb;color:#d9a45f;font-size:23px}.tool:nth-child(2) .tool-icon{background:#e8eef4;color:#91a7b9}.tool b{font-size:11px;font-weight:600}.tool small{display:block;font-size:8px;color:#9aabad;margin-top:5px}.tool-count{margin-left:auto;border-radius:50%;background:#edf3f3;min-width:20px;height:20px;display:grid;place-items:center;font-size:10px;color:#8ba2a5}.howto{border-top:1px dashed #d5e1e2;margin-top:22px;padding-top:19px}.howto p{font-size:10px;line-height:2;color:#8ca0a4;margin:10px 0 14px}.howto b{font-weight:500;color:#6a858b}.gesture{font-size:18px;color:#8da5a9}.gesture span{font-size:9px;vertical-align:middle;margin-left:5px}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:43px;padding:22px 0;font-size:9px;letter-spacing:1.6px;color:#9badae}footer i{font-style:normal;color:#e6b67e;margin-left:12px}dialog{border:1px solid #fff;border-radius:28px;padding:38px;max-width:390px;width:calc(100% - 32px);text-align:center;background:#f5f9f7;color:var(--ink);box-shadow:0 30px 100px #627c8833}dialog::backdrop{background:#455e6860;backdrop-filter:blur(6px)}.modal-close{position:absolute;top:12px;right:16px;background:transparent;border:0;font-size:25px;color:#8a9ea2}#modal-icon{font-size:45px;color:#efb056}dialog h2{font-size:25px;margin:13px 0}dialog p{white-space:pre-line;font-size:13px;line-height:2;color:#81969a}.primary{border:0;border-radius:13px;background:#f5b15f;padding:13px 30px;color:#6d4d2d;margin-top:14px;min-width:180px;font-weight:600}@keyframes wobble{0%,100%{transform:scale(1) rotate(-4deg)}25%{transform:scale(1.08,.9) rotate(4deg)}60%{transform:scale(.94,1.07) rotate(-3deg)}}@keyframes pop{0%{transform:scale(1)}30%{transform:scale(1.2,.72)}65%{transform:scale(.8,1.23)}100%{transform:scale(0);opacity:0}}@keyframes drop{0%{transform:translateY(-55px) scale(.82,1.15);opacity:.25}65%{transform:translateY(3px) scale(1.13,.83)}85%{transform:translateY(-2px) scale(.96,1.06)}100%{transform:translateY(0) scale(1)}}@keyframes hint{50%{filter:brightness(1.2);transform:scale(1.1,.91)}}@keyframes float{0%{transform:translate(-50%,20px) scale(.7);opacity:0}20%{opacity:1;transform:translate(-50%,0) scale(1.1)}100%{transform:translate(-50%,-70px);opacity:0}}@keyframes splash{to{transform:translate(var(--dx),var(--dy)) rotate(150deg) scale(.2);opacity:0}}@keyframes shake{25%{transform:translateX(-5px)}70%{transform:translateX(5px)}}
@media(min-width:1450px){.app{padding-top:10px}.intro{padding:50px 0 45px}.game-layout{gap:48px}footer{margin-top:55px}}@media(max-width:1100px){.app{padding:0 4%}.game-layout{grid-template-columns:175px minmax(320px,500px);gap:26px}.right-panel{grid-column:1/-1;display:flex;align-items:center;gap:20px;padding:8px 0}.right-panel .mini-jelly,.side-copy,.howto{display:none}.right-panel h2{font-size:16px;min-width:175px}.tools{display:flex;flex:1}.tool{flex:1}.intro{padding-top:28px}footer{margin-top:25px}}@media(max-width:650px){.app{padding:0 16px}.topbar{height:78px}.brand{font-size:21px;gap:10px}.brand-icon{width:36px;height:36px;font-size:35px;line-height:27px}.brand-sub{font-size:8px;letter-spacing:1px}.saved{display:none}.header-actions{gap:7px}.icon-button{width:33px;height:33px}.intro{padding:25px 0 24px}.eyebrow{font-size:8px;letter-spacing:2px}.intro h1{font-size:27px;margin:13px 0 10px}.intro h1 svg{right:-31px;width:29px}.intro p{font-size:10px;letter-spacing:.5px}.game-layout{display:flex;flex-direction:column;gap:16px;max-width:480px;margin:auto}.left-panel{display:grid;grid-template-columns:1fr 80px;gap:10px;width:100%;padding:0;position:relative}.level-label{grid-column:1/-1;display:flex;align-items:center;gap:12px}.level-label .tiny{display:none}.level-label h2{font-size:13px;margin:0}.level-label h2 span{font-size:10px;margin-left:4px;padding:3px 5px}.level-tag{font-size:9px}.score-card{margin:0;padding:12px 15px;border-radius:14px;display:grid;grid-template-columns:1fr 1fr;gap:3px 10px;align-items:center}.card-top{font-size:10px}.little-star{display:none}.score-card>strong{font-size:28px;grid-column:1;grid-row:2/4;margin:0;letter-spacing:-1px}.target-line{font-size:9px;grid-column:2;grid-row:1/3}.progress-track{margin:0;grid-column:2;grid-row:3;height:6px}.stars{display:none}.moves-card{padding:10px;background:#e2edef80;border:1px solid #fff;border-radius:14px;justify-content:center;text-align:center}.moves-icon,.moves-note,.best-row{display:none}.moves-card div>span{font-size:9px}.moves-card strong{font-size:27px}.restart{position:absolute;right:0;top:-5px;width:32px;height:28px;border:0}.restart span{display:none}.board-section{width:100%}.board-top{padding:2px 8px 11px;font-size:9px}.board-wrap{padding:8px;border-radius:21px}#board{gap:3px}.cell{padding:3px;border-radius:9px}.jelly{box-shadow:inset 0 2px 2px #ffffffe0,inset 0 -3px 2px var(--dark),0 2px 2px #718d951f}.eye{width:3px;height:4px}.mouth{width:5px;height:3px;top:5px;border-width:1px}.cheek{width:5px;height:2px}.board-bottom{padding-top:19px;font-size:9px}.right-panel{width:100%;padding:0;display:block}.right-panel h2{display:none}.tools{gap:9px}.tool{padding:11px 10px}.tool small{font-size:8px}.tool-icon{width:29px;height:29px}.tool b{font-size:10px}.tool-count{min-width:18px;height:18px}footer{font-size:7px;letter-spacing:.7px;padding:18px 0;margin-top:26px}footer i{margin-left:3px}.special-mark{font-size:14px;top:-4px}}
@media(max-width:360px){.intro h1 svg{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}dialog::backdrop{backdrop-filter:none}}
