.gb{color:#23443d;touch-action:none;-webkit-user-select:none;user-select:none;background:radial-gradient(circle at 12% 0,#f6fffc 0,#0000 45%),linear-gradient(#dcf3ec,#c3e8de);font-family:Source Han Sans SC,Source Han Sans CN,Noto Sans SC,Noto Sans CJK SC,Microsoft YaHei,PingFang SC,system-ui,sans-serif;font-size:32px;position:absolute;inset:0;overflow:hidden}.gb,.gb *{box-sizing:border-box;-webkit-tap-highlight-color:transparent}.gb *{margin:0;padding:0}.gb button{font:inherit;cursor:pointer;color:inherit;touch-action:none;border:0;font-weight:900}.gb{--e-pop:cubic-bezier(.34, 1.56, .64, 1);--e-out:cubic-bezier(.2, .8, .3, 1);--e-in:cubic-bezier(.5, 0, .9, .4);--t-quick:.15s;--t-std:.3s;--t-slow:.5s}.gb .top{z-index:20;align-items:center;gap:14px;height:120px;padding:0 34px;display:flex;position:absolute;top:0;left:0;right:0}.gb .title{color:#1f8a73;letter-spacing:2px;white-space:nowrap;background:#fff;border:6px solid #3fb39a;border-radius:30px;flex:none;align-items:center;gap:12px;height:88px;padding:0 30px 0 16px;font-size:42px;font-weight:900;display:flex;box-shadow:0 8px #145a4626}.gb .modes{background:#ffffffeb;border-radius:30px;flex:none;gap:6px;padding:8px;display:flex;box-shadow:0 8px #145a461f}.gb .modes button{color:#5b8a7e;white-space:nowrap;background:0 0;border-radius:22px;height:72px;padding:0 26px;font-size:32px}.gb .top .sp{flex:1}.gb .tb{color:#2f6a5d;white-space:nowrap;background:#fff;border-radius:28px;flex:none;align-items:center;gap:8px;height:88px;padding:0 22px;font-size:30px;display:flex;box-shadow:0 8px #145a4629}.gb .tb svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:36px;height:36px}.gb .tb.on{box-shadow:0 0 0 5px #ffc02e,0 8px #145a4629}.gb.fit1 .top{gap:8px;padding:0 18px}.gb.fit1 .title{letter-spacing:0;padding:0 18px 0 10px;font-size:34px}.gb.fit1 .modes button{padding:0 16px;font-size:28px}.gb.fit1 .tb{gap:6px;padding:0 14px;font-size:26px}.gb.fit1 .tb svg{width:30px;height:30px}.gb.fit2 .tb span{display:none}.gb.fit2 .tb{padding:0 20px}.gb.fit3 .title{gap:0;padding:0 10px;font-size:0}.gb button{transition:transform .26s var(--e-pop)}.gb button.dn{transition:transform 60ms ease-out;transform:translateY(4px)scale(.94)}.gb .main{gap:22px;display:flex;position:absolute;inset:136px 30px 156px}.gb .scene{background:#fff;border:8px solid #a8dccd;border-radius:44px;flex:2.5 1 0;min-width:0;position:relative;overflow:hidden;box-shadow:0 10px #145a4624}.gb .scene>svg{touch-action:none;width:100%;height:100%;position:absolute;inset:0}.gb .cell{fill:#0000;stroke:#d6ece5;stroke-width:1.5px}.gb .cell.on{fill:#ffc42e8c}.gb .shape{stroke:#1f6f5d;stroke-width:4px;stroke-linejoin:round}.gb .piece.dragging{cursor:grabbing}.gb .dash{stroke:#e5484d;stroke-width:4px;stroke-dasharray:12 9;fill:none}.gb .lab{fill:#1f6f5d;dominant-baseline:central;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:8px;font-size:30px;font-weight:900}.gb .lab.red{fill:#e5484d}.gb .cnt{color:#8a5a00;z-index:3;background:#fff5d6;border-radius:999px;align-items:center;gap:12px;height:60px;padding:0 22px;font-size:28px;font-weight:900;display:flex;position:absolute;top:16px;left:20px}.gb .cnt button{color:#8a5a00;background:#fff;border-radius:16px;height:46px;padding:0 16px;font-size:22px;box-shadow:0 4px #f1d58a}.gb .tip{color:#fff;white-space:nowrap;pointer-events:none;z-index:3;background:#23443db8;border-radius:999px;padding:8px 28px;font-size:28px;font-weight:900;position:absolute;bottom:18px;left:calc(50% - 82px);translate:-50%}.gb .card{background:#fff;border:8px solid #a8dccd;border-radius:44px;flex-direction:column;flex:1 1 0;min-width:0;padding:20px 26px;display:flex;overflow:hidden;box-shadow:0 10px #145a4624}.gb .card h3{color:#1f8a73;flex:none;justify-content:space-between;align-items:center;font-size:34px;display:flex}.gb .card h3 em{color:#8bb3a8;font-size:26px;font-style:normal}.gb .lines{flex-direction:column;flex:1;gap:14px;min-height:0;margin-top:14px;display:flex;overflow:hidden}.gb .ln{font-size:var(--fs,38px);color:#23443d;animation:gb-rise .3s var(--e-out);font-weight:900;line-height:1.35}.gb .ln small{color:#7fa89d;font-size:.62em;display:block}@keyframes gb-rise{0%{opacity:0;translate:0 14px}}.gb .steps{flex:none;gap:12px;margin-top:12px;display:flex}.gb .steps .btn{flex:1}.gb .btn{color:#7a3d00;white-space:nowrap;background:linear-gradient(#ffcf5a,#ffab2e);border-radius:30px;justify-content:center;align-items:center;height:96px;padding:0 24px;font-size:34px;display:flex;box-shadow:0 8px #d9820f}.gb .btn.white{color:#2f6a5d;background:#fff;border:4px solid #cbe8df;box-shadow:0 8px #145a4629}.gb .ctrl{background:#ffffffeb;border-radius:36px;align-items:center;gap:12px;height:112px;padding:10px 16px;display:flex;position:absolute;bottom:26px;left:30px;right:30px;box-shadow:0 8px #145a461f}.gb .ctrl .lab2{color:#2f6a5d;white-space:nowrap;font-size:28px;font-weight:900}.gb .ctrl .sp{flex:1}.gb .ex{background:#e9f7f2;border-radius:26px;gap:6px;padding:6px;display:flex}.gb .ex button{color:#4f8578;white-space:nowrap;background:0 0;border-radius:20px;height:80px;padding:0 16px;font-size:28px}.gb .step{align-items:center;gap:6px;display:flex}.gb .step b{color:#2f6a5d;white-space:nowrap;margin-right:2px;font-size:26px}.gb .step button{color:#1f8a73;background:#e9f7f2;border-radius:20px;justify-content:center;align-items:center;width:60px;height:72px;font-size:40px;line-height:1;display:inline-flex;box-shadow:0 6px #bfe3d7}.gb .step span{text-align:center;min-width:46px;font-size:40px;font-weight:900}.gb.cfit1 .ctrl{gap:8px;padding:10px}.gb.cfit1 .ex button{padding:0 10px;font-size:24px}.gb.cfit1 .step button{width:50px}.gb.cfit2 .ctrl .lab2{display:none}.gb.cfit2 .step b{font-size:22px}.gb.cfit3 .step span{min-width:34px;font-size:34px}.gb.cfit3 .ex button{padding:0 6px;font-size:22px}.gb .banner{color:#1f8a73;white-space:nowrap;pointer-events:none;z-index:70;background:#fff;border:8px solid #3fb39a;border-radius:40px;padding:10px 46px;font-size:40px;font-weight:900;position:absolute;top:150px;left:50%;translate:-50%;box-shadow:0 10px #00000024}.gb .tools{z-index:4;background:#f0faf6f5;border-radius:30px;flex-direction:column;gap:10px;width:150px;padding:10px;display:flex;position:absolute;top:14px;bottom:14px;right:14px;overflow:hidden;box-shadow:0 6px #145a461f}.gb .tools button{color:#2f6a5d;white-space:nowrap;background:#fff;border-radius:22px;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:4px;min-height:0;max-height:108px;font-size:22px;display:flex;box-shadow:0 5px #cbe8df}.gb .tools button svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:40px;height:40px}.gb .tools button.on{color:#fff;background:#2fa88d;box-shadow:0 5px #1f7d68}.gb .tools button.off{opacity:.38}.gb .tools .sw{flex-wrap:wrap;flex:none;justify-content:center;gap:6px;display:flex}.gb .tools .sw i{cursor:pointer;border:4px solid #fff;border-radius:12px;width:40px;height:40px;box-shadow:0 0 0 2px #cbe8df}.gb .tools .tg{flex-direction:row;flex:none;gap:6px;height:54px;max-height:none;font-size:22px;box-shadow:0 4px #cbe8df}.gb .tools .sep{background:#cbe8df;flex:none;height:2px;margin:2px 6px}.gb .fbar{z-index:4;transition:opacity .2s, translate .26s var(--e-out);background:#fffffff7;border-radius:28px;gap:8px;padding:8px;display:flex;position:absolute;bottom:16px;left:calc(50% - 82px);translate:-50%;box-shadow:0 0 0 3px #cbe8df,0 8px #145a4624}.gb .fbar.hide{opacity:0;pointer-events:none;translate:-50% 30px}.gb .fbar button{color:#2f6a5d;white-space:nowrap;background:#eef8f4;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:96px;height:84px;font-size:20px;display:flex;box-shadow:0 4px #cbe8df}.gb .fbar button svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:36px;height:36px}.gb .fbar button.red{color:#d63c41;background:#fff0f0;box-shadow:0 4px #f6caca}.gb .fbar.hide~.tip,.gb .tip{transition:bottom .26s var(--e-out)}.gb .scene.barup .tip{bottom:126px}.gb svg.nobg .cell{stroke:#0000}.gb .hline{stroke:#e5484d;stroke-width:4px;stroke-dasharray:12 8}.gb .hext{stroke:#8bb3a8;stroke-width:3px;stroke-dasharray:8 7}.gb .hmark{fill:none;stroke:#e5484d;stroke-width:3px}.gb .hlab{fill:#e5484d;dominant-baseline:central;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:7px;pointer-events:none;font-size:28px;font-weight:900}.gb .hdrag{stroke:#e5484d;stroke-width:4px}.gb .ghost{fill:#3b82e614;stroke:#3b82e6;stroke-width:4px;stroke-dasharray:12 8;pointer-events:none}.gb .vhint{fill:#e5484d;opacity:.7;pointer-events:none}.gb .piece{cursor:grab}.gb .piece.sel>polygon{stroke:#ff8a00;stroke-width:6px}.gb .vx{fill:#fff;stroke:#ff8a00;stroke-width:4px;cursor:pointer}.gb .rot{fill:#ff8a00;stroke:#fff;stroke-width:4px;cursor:grab}.gb .rotline{stroke:#ff8a00;stroke-width:3px;stroke-dasharray:6 5}.gb .cutline{stroke:#e5484d;stroke-width:5px;stroke-dasharray:14 8}.gb .inner{stroke:#145a4673;stroke-width:2px}.gb .area{fill:#fff;dominant-baseline:central;text-anchor:middle;paint-order:stroke;stroke:#144637bf;stroke-width:7px;pointer-events:none;font-size:30px;font-weight:900}.gb .seal{dominant-baseline:central;text-anchor:middle;pointer-events:none;font-size:30px;font-weight:900}.gb .total{z-index:3;color:#1f6f5d;background:#e9f7f2;border-radius:999px;align-items:center;height:56px;padding:0 20px;font-size:26px;font-weight:900;display:flex;position:absolute;top:84px;left:20px}.gb .shape{stroke-width:7px}.gb .piece.sel>polygon{stroke-width:9px}.gb .area{stroke-width:10px;font-size:54px}.gb .lab{font-size:var(--lf,50px);stroke-width:12px}.gb .dash,.gb .hline{stroke-width:6px}.gb .hmark{stroke-width:5px}.gb .hext{stroke-width:4px}.gb .hlab{font-size:var(--lf,50px);stroke-width:12px}.gb .seal{font-size:calc(var(--lf,50px) * .9)}.gb .cutline{stroke-width:7px}.gb .total{color:#17604f;background:#e3f5ef;height:84px;padding:0 30px;font-size:48px;top:16px}.gb .total b{color:#e5484d;margin:0 8px;font-size:64px}.gb .cnt{height:72px;padding:0 26px;font-size:40px;top:112px}.gb .cnt b{margin:0 6px;font-size:52px}.gb .cnt button{color:#b08a3a;height:52px;box-shadow:none;background:#fffaf0;border:2px solid #f1d58a;font-size:24px}.gb .card h3{font-size:42px}.gb .ln{line-height:1.3}.gb .ln small{color:#4f8578;font-size:.72em}.gb .ln{color:#8aa9a0}.gb .ln .hl{color:#e9a0a2}.gb .ln.cur{font-size:calc(var(--fs,40px) * 1.3);color:#1d3b34}.gb .ln.cur .hl{color:#e5484d}.gb .ln.cur small{color:#2f6a5d}.gb .ln.formula{font-size:max(76px, calc(var(--fs,40px) * 2));color:#1f8a73}.gb .scene{flex-grow:2.1}.gb .title{border-width:4px;height:76px;font-size:34px;box-shadow:0 5px #145a461f}.gb .modes{background:#ffffffeb;box-shadow:0 5px #145a461a}.gb .modes button{color:#4f8578;height:64px;font-size:28px}.gb .modes button.on{color:#fff;background:#2fa88d;box-shadow:0 5px #1f7d68}.gb .tb{color:#2f6a5d;background:#fff;border:2px solid #cbe8df;height:72px;font-size:24px;box-shadow:0 5px #cbe8df}.gb .tb svg{width:30px;height:30px}.gb .tb.off{opacity:.4}.gb .tools{background:#e9f7f2f2;box-shadow:inset 0 0 0 2px #cbe8df}.gb .tools button{color:#2f6a5d;background:#fff;border:2px solid #cbe8df;font-size:20px;box-shadow:0 4px #cbe8df}.gb .tools button svg{width:34px;height:34px}.gb .tools button.on{color:#fff;background:#2fa88d;border-color:#2fa88d;box-shadow:0 4px #1f7d68}.gb .tools .tg svg{width:24px;height:24px}.gb .fbar{background:#fff;box-shadow:0 0 0 3px #a8dccd,0 8px #145a4624}.gb .fbar button{color:#2f6a5d;background:#fff;border:2px solid #cbe8df;box-shadow:0 4px #cbe8df}.gb .fbar button.red{color:#d63c41;background:#fff;border-color:#f6caca;box-shadow:0 4px #f6caca}.gb .tip{background:#23443d9e;font-size:24px}.gb .steps .btn{height:80px;font-size:30px}.gb .btn.green{color:#fff;background:linear-gradient(#4cc7a8,#2a9e84);box-shadow:0 6px #1f7663}.gb .btn.white{color:#2f6a5d;border:3px solid #cbe8df;box-shadow:0 6px #cbe8df}.gb .btn.off{opacity:.4}.gb .ctrl{background:#ffffffe6;box-shadow:0 5px #145a461a}.gb .ctrl .lab2,.gb .step b,.gb .ex button{color:#4f8578}.gb .ex button.on{color:#fff;background:#2fa88d;box-shadow:0 4px #1f7d68}.gb .step button{color:#1f8a73;background:#fff;border:2px solid #cbe8df;box-shadow:0 4px #cbe8df}.gb .step span{color:#2f6a5d;font-size:34px}.gb.narrow .fbar{gap:6px;padding:6px}.gb.narrow .fbar button{width:82px;height:78px;font-size:19px}.gb.narrow .fbar button svg{width:32px;height:32px}
