.jgr-root,.jgr-setup{--jg-ink:#1e2a4a;--jg-sub:#5b6478;--jg-line:#f1e3c4;--jg-card:#fff;--jg-blue:#2563eb;--jg-yellow:#facc15;--jg-green:#22c55e;color:var(--jg-ink);flex-direction:column;gap:12px;min-width:0;display:flex}.jgr-root{background:#fffaf0;border-radius:16px;padding:10px;position:relative}.jgr-root:-webkit-full-screen{border-radius:0;padding:12px;overflow:auto}.jgr-root:fullscreen{border-radius:0;padding:12px;overflow:auto}.jgr-card{background:var(--jg-card);border:1px solid var(--jg-line);border-radius:14px;min-width:0;padding:12px;box-shadow:0 4px 14px #785a1e0f}.jgr-card-title{margin:0 0 8px;font-size:15px;font-weight:800}.jgr-btn{color:var(--jg-ink);cursor:pointer;background:#fff;border:1px solid #d8dde8;border-radius:10px;min-height:40px;padding:9px 14px;font-weight:700}.jgr-btn:hover{border-color:var(--jg-blue)}.jgr-btn.primary{background:var(--jg-yellow);border-color:#eab308}.jgr-btn.wide{width:100%}.jgr-btn.big{padding:12px 28px;font-size:17px}.jgr-btn:disabled{opacity:.5;cursor:default}.jgr-ibtn{width:42px;height:42px;color:var(--jg-ink);cursor:pointer;background:#fff;border:1px solid #e6e1d4;border-radius:10px;place-items:center;display:inline-grid}.jgr-ibtn:hover{border-color:var(--jg-blue)}.jgr-ibtn.is-on{color:#fff;background:#7c3aed;border-color:#7c3aed}.jgr-row-btns{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.jgr-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.jgr-logo{background:var(--jg-blue);color:#fff;border-radius:10px;place-items:center;width:42px;height:42px;font-size:14px;font-weight:800;display:grid}.jgr-title{white-space:nowrap;text-overflow:ellipsis;flex:160px;margin:0;font-size:max(17px,min(2.2vw,26px));font-weight:800;overflow:hidden}.jgr-stats{flex:100%;order:3;gap:8px;display:flex}.jgr-stat{text-align:center;border:1px solid var(--jg-line);background:#fff;border-radius:10px;flex:1;padding:4px 8px}.jgr-stat span{color:var(--jg-sub);font-size:11px;font-weight:700;display:block}.jgr-stat b{color:var(--jg-blue);font-variant-numeric:tabular-nums;font-size:20px}.jgr-tools{gap:6px;display:flex}@media (min-width:992px){.jgr-stats{flex:0 auto;order:0}.jgr-stat{min-width:130px}}.jgr-frame-grid{gap:12px;display:grid}@media (min-width:992px){.jgr-frame-grid{grid-template-columns:minmax(0,1fr) 300px}}.jgr-board-wrap{background:#fff3cf;border-radius:10px;place-items:center;padding:8px;display:grid;position:relative}.jgr-board{touch-action:none;height:auto;display:block;overflow:visible}.jgr-board-bg{fill:#fffaf0}.jgr-slot{fill:#0000;stroke:#8b8f99;stroke-width:1.4px;cursor:pointer}.jgr-slot:hover{fill:#2563eb14}.jgr-slot.is-hint{stroke:#f59e0b;stroke-width:4px;fill:#facc154d;animation:.7s ease-in-out infinite alternate jgr-pulse}.jgr-piece{filter:drop-shadow(0 2px 3px #0f172a40)}.jgr-piece-edge{fill:none;stroke:#ffffffd9;stroke-width:1.4px}.jgr-piece.is-glow .jgr-piece-edge{stroke:#facc15;stroke-width:4px;animation:.6s ease-in-out infinite alternate jgr-pulse}.jgr-progress{flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px;font-size:14px;display:flex}.jgr-bar{background:#e5e7eb;border-radius:99px;flex:120px;height:10px;overflow:hidden}.jgr-bar i{background:var(--jg-green);border-radius:inherit;height:100%;transition:width .3s;display:block}.jgr-side{align-content:start;gap:12px;display:grid}@media (min-width:576px) and (max-width:991px){.jgr-side{grid-template-columns:1fr 1fr}}.jgr-sample{border-radius:10px;width:100%;margin-bottom:8px;display:block}.jgr-actions{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.jgr-actions .jgr-btn{padding:9px 6px}.jgr-tray-head{color:var(--jg-sub);justify-content:space-between;align-items:baseline;font-size:13px;font-weight:700;display:flex}.jgr-tray{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;max-height:210px;padding:2px;display:grid;overflow-y:auto}.jgr-tray-piece{cursor:grab;touch-action:none;background:#fff;border:1px solid #dbe4f5;border-radius:10px;place-items:center;height:76px;padding:4px;display:grid}.jgr-tray-piece svg{width:100%;height:100%;overflow:visible}.jgr-tray-piece.is-sel{border:2px solid var(--jg-blue);background:#eff6ff}.jgr-tray-piece.is-hint{background:#fef9c3;border:2px solid #f59e0b}.jgr-tray-piece.is-shake{border-color:#ef4444;animation:.45s jgr-shake}.jgr-tray-piece.is-dragging{opacity:.3}.jgr-floating{z-index:1000;pointer-events:none;filter:drop-shadow(0 8px 14px #0000004d);position:fixed;overflow:visible}.jgr-root.is-free{background:#4a7fa6}.jgr-root.is-free .jgr-head{background:#fff;border-radius:12px;padding:8px}.jgr-table-wrap{height:max(420px, calc(var(--app-h,100vh) * 74 / 100));background:radial-gradient(circle at 1px 1px,#ffffff24 1px,#0000 0) 0 0/22px 22px,#4f86ad;border-radius:12px;position:relative;overflow:hidden}.jgr-root:-webkit-full-screen .jgr-table-wrap{height:calc(var(--app-h,100vh) - 110px)}.jgr-root:fullscreen .jgr-table-wrap{height:calc(var(--app-h,100vh) - 110px)}.jgr-table{touch-action:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.jgr-target{fill:#ffffff0d;stroke:#ffffff59;stroke-width:1.5px;stroke-dasharray:8 6}.jgr-group{cursor:grab}.jgr-group.is-drag{cursor:grabbing}.jgr-group.is-drag .jgr-piece{filter:drop-shadow(0 6px 10px #00000059)}.jgr-chips{z-index:2;gap:6px;display:flex;position:absolute;top:8px;left:8px}.jgr-chip{background:#fff;border-radius:10px;padding:6px 10px;font-size:13px;font-weight:800}.jgr-chip.accent{color:#7c3aed}.jgr-float-sample{z-index:2;border:3px solid #fff;border-radius:10px;width:min(260px,40%);position:absolute;top:48px;left:8px;box-shadow:0 6px 16px #00000040}.jgr-free-foot{pointer-events:none;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex;position:absolute;bottom:8px;left:8px;right:8px}.jgr-free-foot>*{pointer-events:auto}.jgr-joined{color:#fff;text-shadow:0 1px 2px #0006;font-size:13px;font-weight:700}.jgr-free-foot .jgr-btn{color:#fff;background:#1e3a5fd9;border-color:#0000}.jgr-free-foot .jgr-btn.primary{background:var(--jg-yellow);color:var(--jg-ink)}.jgr-cover{border-radius:inherit;background:#e8ecf3;position:absolute;top:0;bottom:0;left:0;right:0}.jgr-veil{z-index:50;border-radius:inherit;background:#0f172a73;place-items:center;padding:16px;display:grid;position:absolute;top:0;bottom:0;left:0;right:0}.jgr-modal{text-align:center;background:#fff;border-radius:16px;gap:10px;width:min(440px,100%);padding:20px;display:grid;box-shadow:0 20px 40px #00000040}.jgr-modal h3{margin:0;font-size:20px}.jgr-help{text-align:left;gap:6px;margin:0;padding-left:20px;line-height:1.45;display:grid}.jgr-res-row{border-bottom:1px dashed #e5e7eb;justify-content:space-between;padding:4px 0;display:flex}.jgr-stars{justify-content:center;gap:6px;display:flex}.jgr-stars svg{fill:#e5e7eb;width:40px;height:40px}.jgr-stars svg.on{fill:#facc15}.jgr-best-new{color:#16a34a;margin:0;font-weight:800}.jgr-setup-head{padding-right:60px;position:relative}.jgr-setup-x.kit-close{border-width:3px;width:44px;height:44px;padding:10px;top:0;right:0}.jgr-setup-head h2{margin:0;font-size:max(22px,min(3vw,30px))}.jgr-setup-head p{color:var(--jg-sub);margin:4px 0 0}.jgr-pics{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;display:grid}.jgr-pic{cursor:pointer;text-align:center;color:var(--jg-ink);background:#fff;border:2px solid #e5e7eb;border-radius:12px;gap:4px;padding:6px;font-size:13px;font-weight:700;display:grid}.jgr-pic img{aspect-ratio:16/10;object-fit:cover;border-radius:8px;width:100%}.jgr-pic.is-on{border-color:var(--jg-blue);background:#eff6ff}.jgr-upload{min-height:110px;color:var(--jg-sub);border-style:dashed;align-content:center;place-items:center}.jgr-upload input{opacity:0;width:1px;height:1px;position:absolute}.jgr-setup-grid{gap:12px;display:grid}@media (min-width:768px){.jgr-setup-grid{grid-template-columns:1fr 1fr}}.jgr-modes{gap:8px;display:grid}.jgr-mode{text-align:left;cursor:pointer;color:var(--jg-ink);background:#fff;border:2px solid #e5e7eb;border-radius:12px;gap:2px;padding:10px 12px;display:grid}.jgr-mode span{color:var(--jg-sub);font-size:13px}.jgr-mode.is-on{border-color:var(--jg-blue);background:#eff6ff}.jgr-opts{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.jgr-opt{cursor:pointer;color:var(--jg-ink);background:#fff;border:1px solid #d8dde8;border-radius:99px;padding:7px 12px;font-weight:700}.jgr-opt.is-on{background:var(--jg-blue);border-color:var(--jg-blue);color:#fff}.jgr-check{cursor:pointer;align-items:center;gap:8px;font-weight:600;display:flex}.jgr-setup-foot{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.jgr-setup-foot p{color:var(--jg-sub);margin:0}.jgr-error{font-weight:700;color:#dc2626!important}.jgr-best{font-weight:700;color:#16a34a!important}@keyframes jgr-pulse{0%{opacity:1}to{opacity:.45}}@keyframes jgr-shake{0%,to{transform:translate(0)}25%{transform:translate(-6px)}75%{transform:translate(6px)}}@media (prefers-reduced-motion:reduce){.jgr-slot.is-hint,.jgr-piece.is-glow .jgr-piece-edge,.jgr-tray-piece.is-shake{animation:none}}@media (orientation:landscape) and (max-height:520px){.jgr-root{gap:6px;padding:6px}.jgr-table-wrap{height:max(220px, calc(var(--app-h,100dvh) - 80px))}.jgr-root:-webkit-full-screen .jgr-table-wrap{height:max(220px, calc(var(--app-h,100dvh) - 80px))}.jgr-root:fullscreen .jgr-table-wrap{height:max(220px, calc(var(--app-h,100dvh) - 80px))}}@supports not (height:1dvh){@media (orientation:landscape) and (max-height:520px){.jgr-table-wrap{height:max(220px, calc(var(--app-h,100vh) - 80px))}.jgr-root:-webkit-full-screen .jgr-table-wrap{height:max(220px, calc(var(--app-h,100vh) - 80px))}.jgr-root:fullscreen .jgr-table-wrap{height:max(220px, calc(var(--app-h,100vh) - 80px))}}}
