.Jigsaw-module__EcPx5W__game{--surface:#fff;--ink:#0f172a;--muted:#475569;--line:#cbd5e1;--tray:#f1f5f9;isolation:isolate;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:1.5rem;padding:clamp(.65rem,2vw,1rem);scroll-margin-top:5rem;position:relative}.dark .Jigsaw-module__EcPx5W__game{--surface:#101725;--ink:#f1f5f9;--muted:#b5c3d6;--line:#35445c;--tray:#162237;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.Jigsaw-module__EcPx5W__heading,.Jigsaw-module__EcPx5W__heading h2,.Jigsaw-module__EcPx5W__actions,.Jigsaw-module__EcPx5W__badge,.Jigsaw-module__EcPx5W__toolbar{align-items:center;gap:.45rem;display:flex}.Jigsaw-module__EcPx5W__heading{border-bottom:1px solid var(--line);justify-content:space-between;padding-bottom:.4rem}.Jigsaw-module__EcPx5W__game[data-playing=true]:not(.Jigsaw-module__EcPx5W__expanded){z-index:41}.Jigsaw-module__EcPx5W__heading h2{font-weight:900}.Jigsaw-module__EcPx5W__heading h2 svg{color:#3b82f6}.Jigsaw-module__EcPx5W__badge{font-variant-numeric:tabular-nums;font-size:.8rem;font-weight:700}.Jigsaw-module__EcPx5W__badge svg{color:#ca8a04}.Jigsaw-module__EcPx5W__game button,.Jigsaw-module__EcPx5W__game select,.Jigsaw-module__EcPx5W__victoryShare a{border:1px solid var(--line);background:var(--surface);min-height:2.15rem;color:var(--ink);border-radius:.6rem;padding:.35rem .55rem;font-size:.8rem}.Jigsaw-module__EcPx5W__game button,.Jigsaw-module__EcPx5W__victoryShare a{cursor:pointer}.Jigsaw-module__EcPx5W__game button:hover:not(:disabled),.Jigsaw-module__EcPx5W__victoryShare a:hover{background:var(--tray)}.Jigsaw-module__EcPx5W__game :is(button,select,a,.Jigsaw-module__EcPx5W__board):focus-visible{outline-offset:2px;outline:2px solid #38bdf8}.Jigsaw-module__EcPx5W__game button:disabled{opacity:.5;cursor:not-allowed}.Jigsaw-module__EcPx5W__setup{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.6fr);align-items:end;gap:.5rem;padding-block:.55rem;display:grid}.Jigsaw-module__EcPx5W__setup label{min-width:0;color:var(--muted);gap:.18rem;font-size:.75rem;font-weight:600;display:grid;position:relative}.Jigsaw-module__EcPx5W__setup label:after{content:"";pointer-events:none;border:1.5px solid;border-width:0 1.5px 1.5px 0;width:.42rem;height:.42rem;position:absolute;inset-block-end:.95rem;inset-inline-end:.8rem;transform:rotate(45deg)}.Jigsaw-module__EcPx5W__setup select{appearance:none;width:100%;padding-inline-end:1.9rem}.Jigsaw-module__EcPx5W__game .Jigsaw-module__EcPx5W__primary{color:#fff;background:#2563eb;border-color:#2563eb;font-weight:700}.Jigsaw-module__EcPx5W__game .Jigsaw-module__EcPx5W__primary:hover:not(:disabled){background:#1d4ed8}.Jigsaw-module__EcPx5W__notice{background:var(--tray);border-radius:.6rem;padding:.45rem .65rem;font-size:.8rem}.Jigsaw-module__EcPx5W__toolbar{flex-wrap:wrap;justify-content:flex-start}.Jigsaw-module__EcPx5W__toolbar button{align-items:center;gap:.35rem;display:inline-flex}.Jigsaw-module__EcPx5W__toolbar .Jigsaw-module__EcPx5W__actions{flex-wrap:wrap;margin-inline-start:auto}.Jigsaw-module__EcPx5W__progress{background:var(--line);border-radius:1rem;height:4px;margin-block:.4rem;overflow:hidden}.Jigsaw-module__EcPx5W__progress span{background:#10b981;height:100%;transition:width .2s;display:block}.Jigsaw-module__EcPx5W__workspace{grid-template-columns:minmax(0,1fr) clamp(9rem,22%,17rem);gap:.65rem;height:max(180px,100dvh - 16rem);display:grid}.Jigsaw-module__EcPx5W__boardSlot{place-items:start center;min-height:0;display:grid;container-type:size}.Jigsaw-module__EcPx5W__board{width:min(100%, calc(100cqh * var(--board-ratio)));touch-action:manipulation;background-color:#18263a;background-image:linear-gradient(90deg,#63758b 1px,#0000 1px),linear-gradient(#63758b 1px,#0000 1px);background-size:calc(100% / var(--columns)) calc(100% / var(--rows));border-radius:.35rem;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #63758b}.Jigsaw-module__EcPx5W__boardCanvas{pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.Jigsaw-module__EcPx5W__cellFocus,.Jigsaw-module__EcPx5W__snapFlash{pointer-events:none;width:calc(100% / var(--columns));height:calc(100% / var(--rows));position:absolute}.Jigsaw-module__EcPx5W__cellFocus{box-shadow:inset 0 0 0 2px #facc15}.Jigsaw-module__EcPx5W__snapFlash{animation:.4s ease-out both Jigsaw-module__EcPx5W__snap}@keyframes Jigsaw-module__EcPx5W__snap{0%{box-shadow:inset 0 0 22px #6ee7b7}to{box-shadow:none}}.Jigsaw-module__EcPx5W__tray{border:1px solid var(--line);background:var(--tray);border-radius:.65rem;flex-direction:column;min-height:0;display:flex;overflow:hidden}.Jigsaw-module__EcPx5W__tray h3{text-align:center;padding:.35rem;font-size:.8rem;font-weight:700}.Jigsaw-module__EcPx5W__tiles{overscroll-behavior:contain;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:12px;min-height:0;padding:.35rem;display:grid;overflow-y:auto}.Jigsaw-module__EcPx5W__game .Jigsaw-module__EcPx5W__tiles button,.Jigsaw-module__EcPx5W__game .Jigsaw-module__EcPx5W__tiles button:hover{aspect-ratio:1;touch-action:pan-y;cursor:grab;background:0 0;border:0;align-self:start;width:100%;min-width:0;min-height:0;padding:0;display:block;position:relative}.Jigsaw-module__EcPx5W__tiles button canvas{width:100%;height:100%;position:absolute;inset:0}.Jigsaw-module__EcPx5W__tiles button[aria-pressed=true] canvas{filter:drop-shadow(0 0 3px #d97706)drop-shadow(0 0 2px #d97706)}.Jigsaw-module__EcPx5W__tiles button[data-dragging=true] canvas{opacity:0}.Jigsaw-module__EcPx5W__tiles canvas{display:block}.Jigsaw-module__EcPx5W__ghost canvas{width:100%;height:auto;display:block}.Jigsaw-module__EcPx5W__ghost{z-index:5;pointer-events:none;filter:drop-shadow(0 4px 5px #0007);position:fixed}.Jigsaw-module__EcPx5W__ranking{gap:.5rem;margin-top:.75rem;display:grid}.Jigsaw-module__EcPx5W__ranking li{border-bottom:1px solid var(--line);justify-content:space-between;gap:.75rem;padding:.55rem;display:flex}.Jigsaw-module__EcPx5W__ranking time{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700}.Jigsaw-module__EcPx5W__expanded{z-index:2147483646;overscroll-behavior:contain;width:100%;height:100dvh;padding:max(.65rem, env(safe-area-inset-top)) max(.65rem, env(safe-area-inset-right)) max(.65rem, env(safe-area-inset-bottom)) max(.65rem, env(safe-area-inset-left));border-radius:0;position:fixed;inset:0;overflow:auto}.Jigsaw-module__EcPx5W__expanded .Jigsaw-module__EcPx5W__workspace{height:max(180px,100dvh - 10rem)}.Jigsaw-module__EcPx5W__dialog{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:1rem;width:min(94vw,630px);max-height:90dvh;margin:auto;padding:1rem;overflow:auto;box-shadow:0 24px 80px #0008}.Jigsaw-module__EcPx5W__dialog::backdrop{background:#020617bb}.Jigsaw-module__EcPx5W__dialogHead{justify-content:space-between;align-items:center;margin-bottom:.55rem;font-weight:900;display:flex}.Jigsaw-module__EcPx5W__options{flex-wrap:wrap;gap:.4rem;margin-top:.6rem;display:flex}.Jigsaw-module__EcPx5W__options p{flex-basis:100%}.Jigsaw-module__EcPx5W__preview{object-fit:contain;width:100%;max-height:65dvh}.Jigsaw-module__EcPx5W__victoryDialog{width:min(94vw,580px);max-height:min(92dvh,860px)}.Jigsaw-module__EcPx5W__victoryDialog .Jigsaw-module__EcPx5W__dialogHead{justify-content:flex-end;margin-bottom:0}.Jigsaw-module__EcPx5W__victoryDialog .Jigsaw-module__EcPx5W__dialogHead button{place-items:center;display:grid}.Jigsaw-module__EcPx5W__victoryEntrance{animation:.34s ease-out both Jigsaw-module__EcPx5W__victoryFade}.Jigsaw-module__EcPx5W__victoryImage{border-radius:.85rem;width:auto;max-width:100%;height:auto;max-height:33dvh;display:block}.Jigsaw-module__EcPx5W__celebration{text-align:center;justify-items:center;gap:.5rem;display:grid}.Jigsaw-module__EcPx5W__celebration h2{font-size:clamp(1.2rem,4vw,1.5rem);font-weight:900}.Jigsaw-module__EcPx5W__victoryTrophy{aspect-ratio:1;color:#f59e0b;background:#f59e0b20;border-radius:50%;place-items:center;width:3rem;display:grid}.Jigsaw-module__EcPx5W__victoryRecord{color:#047857;background:#10b98122;border-radius:2rem;padding:.2rem .7rem;font-size:.78rem}.dark .Jigsaw-module__EcPx5W__game .Jigsaw-module__EcPx5W__victoryRecord{color:#86efac}.Jigsaw-module__EcPx5W__victoryPlace{display:grid}.Jigsaw-module__EcPx5W__victoryPlace span,.Jigsaw-module__EcPx5W__victoryShare p{color:var(--muted);font-size:.8rem}.Jigsaw-module__EcPx5W__result{grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem;width:100%;font-size:.78rem;display:grid}.Jigsaw-module__EcPx5W__result>div{background:var(--tray);border-radius:.65rem;align-content:center;justify-items:center;gap:.13rem;min-height:4rem;padding:.4rem;display:grid}.Jigsaw-module__EcPx5W__result svg{color:var(--muted)}.Jigsaw-module__EcPx5W__result dd{font-variant-numeric:tabular-nums;grid-row:2;font-size:1rem;font-weight:800}.Jigsaw-module__EcPx5W__result dt{color:var(--muted);grid-row:3}.Jigsaw-module__EcPx5W__victoryActions{gap:.45rem;margin-block:.7rem;display:grid}.Jigsaw-module__EcPx5W__victoryActions>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;display:grid}.Jigsaw-module__EcPx5W__victoryActions button,.Jigsaw-module__EcPx5W__victoryShare :is(button,a){justify-content:center;align-items:center;gap:.4rem;min-height:2.6rem;display:inline-flex}.Jigsaw-module__EcPx5W__victoryShare{border-top:1px solid var(--line);text-align:center;gap:.42rem;padding-top:.65rem;display:grid}.Jigsaw-module__EcPx5W__victoryShare h3{font-weight:800}.Jigsaw-module__EcPx5W__socialButtons{grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem;display:grid}.Jigsaw-module__EcPx5W__socialButtons :is(button,a){flex-direction:column;min-height:3.35rem;padding:.35rem .15rem;font-size:.72rem;line-height:1.1}.Jigsaw-module__EcPx5W__socialButtons svg{color:#2563eb;width:1rem;height:1rem}.Jigsaw-module__EcPx5W__socialButtons>:first-child svg{color:#db2777}.Jigsaw-module__EcPx5W__socialButtons>:nth-child(2) svg{color:#059669}.Jigsaw-module__EcPx5W__formatButtons{flex-wrap:wrap;justify-content:center;gap:.35rem;display:flex}.Jigsaw-module__EcPx5W__formatButtons [aria-pressed=true]{color:#fff;background:#2563eb;border-color:#2563eb}.Jigsaw-module__EcPx5W__sharePanel{background:var(--tray);border-radius:.65rem;gap:.45rem;padding:.55rem;display:grid}.Jigsaw-module__EcPx5W__cardDownload{width:100%}.Jigsaw-module__EcPx5W__confetti{z-index:10;pointer-events:none;animation:5s linear both Jigsaw-module__EcPx5W__confettiFade;position:fixed;inset:0;overflow:hidden}.Jigsaw-module__EcPx5W__confetti i{left:var(--x);background:var(--color);width:var(--piece-width);height:var(--piece-height);animation:Jigsaw-module__EcPx5W__confettiFall var(--fall) cubic-bezier(.2,.35,.6,1) var(--delay) both;border-radius:2px;position:absolute;top:-24px}.Jigsaw-module__EcPx5W__confetti i:nth-child(4n){border-inline-start:3px solid var(--color);background:0 0;border-radius:55% 35%}.Jigsaw-module__EcPx5W__celebrating .Jigsaw-module__EcPx5W__victoryTrophy{animation:.6s ease-out both Jigsaw-module__EcPx5W__victoryTrophy}.Jigsaw-module__EcPx5W__celebrating h2,.Jigsaw-module__EcPx5W__celebrating .Jigsaw-module__EcPx5W__victoryRecord{animation:.35s ease-out .15s both Jigsaw-module__EcPx5W__victoryFade}@keyframes Jigsaw-module__EcPx5W__victoryFade{0%{opacity:0}to{opacity:1}}@keyframes Jigsaw-module__EcPx5W__victoryTrophy{0%{opacity:0;transform:scale(.75)}65%{filter:drop-shadow(0 0 12px #fbbf24);transform:scale(1.08)}to{opacity:1;transform:scale(1)}}@keyframes Jigsaw-module__EcPx5W__confettiFall{0%{transform:translateY(-10px)}to{transform:translate3d(var(--drift), calc(100dvh + 42px), 0) rotate(var(--turn))}}@keyframes Jigsaw-module__EcPx5W__confettiFade{0%,74%{opacity:1}to{opacity:0;visibility:hidden}}@media (max-width:700px){.Jigsaw-module__EcPx5W__setup{grid-template-columns:repeat(3,minmax(0,1fr))}.Jigsaw-module__EcPx5W__workspace,.Jigsaw-module__EcPx5W__expanded .Jigsaw-module__EcPx5W__workspace{grid-template-columns:minmax(0,1fr);height:auto}.Jigsaw-module__EcPx5W__boardSlot{display:block;container-type:normal}.Jigsaw-module__EcPx5W__board{width:100%}.Jigsaw-module__EcPx5W__tiles{grid-template-columns:none;grid-auto-columns:64px;grid-auto-flow:column;overflow:auto hidden}.Jigsaw-module__EcPx5W__game .Jigsaw-module__EcPx5W__tiles button,.Jigsaw-module__EcPx5W__game .Jigsaw-module__EcPx5W__tiles button:hover{touch-action:pan-x}.Jigsaw-module__EcPx5W__toolbar .Jigsaw-module__EcPx5W__actions{margin-inline-start:0}}@media (prefers-reduced-motion:reduce){.Jigsaw-module__EcPx5W__game *{transition:none!important;animation:none!important}.Jigsaw-module__EcPx5W__confetti{display:none}}
