.board-load-error.svelte-hgn0ua{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:2rem;text-align:center;color:#ffffffe6;z-index:2}.board-load-error.svelte-hgn0ua h2:where(.svelte-hgn0ua){margin:0;font-size:1.25rem;font-weight:600;font-family:var(--gfg-font-display, inherit)}.board-load-error.svelte-hgn0ua p:where(.svelte-hgn0ua){margin:0;max-width:28rem;font-size:.9375rem;line-height:1.45;color:#ffffffbf}.board-load-error.svelte-hgn0ua button:where(.svelte-hgn0ua){margin-top:.5rem;padding:.5rem 1.25rem;border-radius:.5rem;font-family:inherit;font-size:.9375rem;font-weight:600;background:linear-gradient(165deg,var(--gfg-accent),var(--gfg-accent-2));color:var(--gfg-accent-ink);border:none;cursor:pointer;box-shadow:0 .1875rem .5625rem #0000004d}.board-load-error.svelte-hgn0ua button:where(.svelte-hgn0ua):hover{filter:brightness(1.06)}.board-load-error.svelte-hgn0ua button:where(.svelte-hgn0ua):focus-visible{outline:.125rem solid var(--gfg-accent);outline-offset:.125rem}.popover.svelte-pxjmfa{position:absolute;top:calc(100% + .4375rem);right:0;z-index:120;min-width:17rem;max-width:min(22rem,calc(100vw - 2rem));width:max-content;max-height:calc(100dvh - var(--gfg-rail-h) - 1rem);overflow-y:auto;overscroll-behavior:contain;border-radius:.875rem;padding:.5rem;background:linear-gradient(180deg,var(--gfg-surface-cream),var(--gfg-surface-cream-2));border:.0625rem solid var(--gfg-surface-line);box-shadow:var(--gfg-surface-shadow);color:var(--gfg-surface-ink);font-size:.8125rem}.pop-title.svelte-pxjmfa{font-size:var(--gfg-text-2xs);letter-spacing:.16em;text-transform:uppercase;color:var(--gfg-surface-ink-dim);padding:.5rem .625rem .25rem;font-family:var(--gfg-font-display);font-weight:600}.pop-row.svelte-pxjmfa{display:flex;align-items:center;justify-content:space-between;padding:.5625rem .625rem;border-radius:.5625rem;gap:.5rem}.pop-row.svelte-pxjmfa:hover{background:var(--gfg-surface-hover)}.pop-link.svelte-pxjmfa{text-decoration:underline;text-underline-offset:.1875rem}.pop-link.svelte-pxjmfa:focus-visible{outline:.125rem solid var(--gfg-accent);outline-offset:-.125rem}.pop-row.svelte-pxjmfa span:where(.svelte-pxjmfa){font-size:.8125rem;color:var(--gfg-surface-ink)}.seg.svelte-pxjmfa{display:inline-flex;background:#163a2a14;border:.0625rem solid var(--gfg-surface-line);border-radius:.5rem;padding:.125rem}.seg.svelte-pxjmfa button:where(.svelte-pxjmfa){border:none;background:transparent;color:var(--gfg-surface-ink-dim);font-family:inherit;font-size:.75rem;font-weight:600;padding:.3125rem .6875rem;border-radius:.375rem;cursor:pointer;transition:background var(--gfg-dur-fast) var(--gfg-ease-out),color var(--gfg-dur-fast) var(--gfg-ease-out)}.seg.svelte-pxjmfa button:where(.svelte-pxjmfa):hover:not(.on){color:var(--gfg-surface-ink)}.seg.svelte-pxjmfa button:where(.svelte-pxjmfa):focus-visible{outline:.125rem solid var(--gfg-accent);outline-offset:.0625rem}.switch.svelte-pxjmfa:focus-visible{outline:.125rem solid var(--gfg-accent);outline-offset:.125rem}.seg.svelte-pxjmfa button.on:where(.svelte-pxjmfa){background:linear-gradient(165deg,var(--gfg-accent),var(--gfg-accent-2));color:var(--gfg-accent-ink);box-shadow:inset 0 .0625rem #fff6}.switch.svelte-pxjmfa{width:2.375rem;height:1.375rem;border-radius:1.375rem;background:#163a2a2e;position:relative;cursor:pointer;transition:background var(--gfg-dur-fast) var(--gfg-ease-out);border:none;flex-shrink:0}.switch.on.svelte-pxjmfa{background:var(--gfg-accent)}.switch.svelte-pxjmfa:after{content:"";position:absolute;top:.125rem;left:.125rem;width:1.125rem;height:1.125rem;border-radius:50%;background:var(--gfg-surface-cream);box-shadow:0 .0625rem .125rem #0000002e;transition:transform var(--gfg-dur-fast) var(--gfg-ease-out)}.switch.on.svelte-pxjmfa:after{transform:translate(1rem);background:#fff}@media(max-width:45rem){.popover.svelte-pxjmfa{font-size:.9375rem}.pop-row.svelte-pxjmfa{min-height:2.75rem}.pop-row.svelte-pxjmfa span:where(.svelte-pxjmfa){font-size:.9375rem}.seg.svelte-pxjmfa button:where(.svelte-pxjmfa){min-height:2.25rem;padding:.375rem .875rem;font-size:.8125rem}.switch.svelte-pxjmfa{width:2.875rem;height:1.625rem}.switch.svelte-pxjmfa:after{width:1.375rem;height:1.375rem}.switch.on.svelte-pxjmfa:after{transform:translate(1.25rem)}}.menu.svelte-19hsojn{position:absolute;z-index:130;min-width:12rem;padding:.375rem;border-radius:var(--gfg-radius-lg);background:linear-gradient(180deg,#fff,#f8f6ef);border:.0625rem solid var(--gfg-surface-line);box-shadow:var(--gfg-surface-shadow);color:var(--gfg-surface-ink)}.below-right.svelte-19hsojn{top:calc(100% + .375rem);right:0;min-width:13.5rem}.below-right.svelte-19hsojn .menu-item:where(.svelte-19hsojn){white-space:nowrap}.above-left.svelte-19hsojn{bottom:calc(100% + .5rem);left:0}.menu-head.svelte-19hsojn{font-size:var(--gfg-text-2xs);letter-spacing:.12em;text-transform:uppercase;color:var(--gfg-surface-ink-dim);padding:.5rem .625rem .25rem;font-family:var(--gfg-font-body);font-weight:700}.menu-item.svelte-19hsojn{display:flex;align-items:center;gap:.5rem;width:100%;border:none;background:transparent;color:var(--gfg-surface-ink);font-family:inherit;font-size:.875rem;font-weight:600;text-align:left;padding:.5rem .625rem;border-radius:var(--gfg-radius-md);cursor:pointer;transition:background var(--gfg-dur-fast) var(--gfg-ease-out),color var(--gfg-dur-fast) var(--gfg-ease-out)}.menu-item.svelte-19hsojn:hover{background:var(--gfg-surface-hover)}.menu-item.svelte-19hsojn:focus-visible{outline:.125rem solid var(--gfg-accent);outline-offset:-.0625rem}.menu-item.svelte-19hsojn:disabled{opacity:.4;cursor:not-allowed;color:var(--gfg-surface-ink-dim)}.menu-item.svelte-19hsojn:disabled:hover{background:transparent}.menu-icon.svelte-19hsojn{width:1.75rem;height:1rem;display:inline-flex;align-items:center;justify-content:center;color:var(--gfg-surface-ink-dim);flex:0 0 1.75rem}.menu-icon.svelte-19hsojn svg{width:.875rem;height:.875rem}.pips.svelte-19hsojn{gap:0}.pips.svelte-19hsojn svg{width:.625rem;height:.625rem}.pips.svelte-19hsojn svg+svg{margin-left:-.0625rem}.menu-sep.svelte-19hsojn{height:.0625rem;margin:.25rem .375rem;background:var(--gfg-surface-line)}.above-left.svelte-19hsojn .menu-item:where(.svelte-19hsojn){min-height:2.75rem;font-size:.9375rem}.rail.svelte-1n7861h{position:relative;z-index:30;height:var(--gfg-rail-h);flex:0 0 auto;display:grid;grid-template-columns:minmax(min-content,1fr) auto 1.5fr;align-items:center;gap:.875rem;padding:0 1.125rem;background:var(--gfg-chrome-bg);border-bottom:.0625rem solid var(--gfg-accent-hairline)}.rail-zone.svelte-1n7861h{display:flex;align-items:center;gap:.5625rem;min-width:0}.rail-zone.left.svelte-1n7861h{justify-self:start}.rail-zone.actions.svelte-1n7861h{justify-self:center;gap:.5rem}.rail-zone.right.svelte-1n7861h{justify-self:end;gap:.625rem}.settings-anchor.svelte-1n7861h{position:relative;display:inline-flex}.brand.svelte-1n7861h{display:flex;align-items:center;gap:.5625rem;padding-right:.25rem}.brand-mark.svelte-1n7861h{width:1.625rem;height:1.625rem;border-radius:.4375rem;display:grid;place-items:center;font-size:.875rem}.title-select.svelte-1n7861h{position:relative;display:inline-flex}.title-btn.svelte-1n7861h{display:inline-flex;align-items:center;gap:.375rem;background:none;border:none;cursor:pointer;padding:.25rem .375rem;border-radius:var(--gfg-radius-md);transition:background var(--gfg-dur-fast) var(--gfg-ease-out);color:inherit}.title-btn.svelte-1n7861h:hover{background:#ffffff14}.title-btn.svelte-1n7861h .caret:where(.svelte-1n7861h){display:inline-flex;width:.875rem;height:.875rem;color:var(--gfg-ink-dim);transition:transform var(--gfg-dur) var(--gfg-ease-out)}.title-btn.svelte-1n7861h .caret:where(.svelte-1n7861h) svg{width:100%;height:100%}.title-select.open.svelte-1n7861h .caret:where(.svelte-1n7861h){transform:rotate(180deg)}.title-select.open.svelte-1n7861h .title-btn:where(.svelte-1n7861h){background:#ffffff14}.game-title.svelte-1n7861h{font-family:var(--gfg-font-display);font-size:1.1875rem;font-weight:600;letter-spacing:.005em;color:var(--gfg-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;text-shadow:0 .0625rem .1875rem rgba(0,0,0,.45)}.segment.svelte-1n7861h{display:inline-flex;background:#00000038;border:.0625rem solid var(--gfg-chip-line);border-radius:.5625rem;padding:.125rem}.segment.svelte-1n7861h a:where(.svelte-1n7861h){text-decoration:none;border:none;background:transparent;color:var(--gfg-ink-dim);font-family:inherit;font-size:var(--gfg-text-xs);font-weight:600;padding:.3125rem .6875rem;border-radius:.375rem;cursor:pointer;transition:background var(--gfg-dur-fast) var(--gfg-ease-out),color var(--gfg-dur-fast) var(--gfg-ease-out);white-space:nowrap}.segment.svelte-1n7861h a:where(.svelte-1n7861h):hover:not(.on){color:var(--gfg-ink)}.segment.svelte-1n7861h a.on:where(.svelte-1n7861h){background:var(--gfg-accent);color:var(--gfg-accent-ink)}.segment.svelte-1n7861h a:where(.svelte-1n7861h):focus-visible{outline:.125rem solid var(--gfg-accent);outline-offset:.0625rem}.btn.svelte-1n7861h{padding:.4375rem .8125rem;transition:background var(--gfg-dur-fast) var(--gfg-ease-out),border-color var(--gfg-dur-fast) var(--gfg-ease-out),transform var(--gfg-dur-press) var(--gfg-ease-out),opacity var(--gfg-dur-fast) var(--gfg-ease-out);white-space:nowrap}.btn.svelte-1n7861h .ic:where(.svelte-1n7861h){display:inline-flex;width:1rem;height:1rem;opacity:.85;line-height:1}.btn.svelte-1n7861h .ic:where(.svelte-1n7861h) svg{width:100%;height:100%}.btn.svelte-1n7861h:hover:not(:disabled){background:#ffffff1f;border-color:#ffffff42}.btn.svelte-1n7861h:active:not(:disabled){transform:translateY(.0625rem)}.btn.svelte-1n7861h:disabled{opacity:.36;cursor:not-allowed}.btn.svelte-1n7861h:focus-visible{outline:.125rem solid var(--gfg-accent);outline-offset:.125rem}.btn.primary.svelte-1n7861h{background:linear-gradient(165deg,var(--gfg-accent),var(--gfg-accent-2));border-color:transparent;color:var(--gfg-accent-ink);font-weight:700;box-shadow:inset 0 .0625rem #fff6,0 .1875rem .5625rem #00000047}.btn.primary.svelte-1n7861h:hover:not(:disabled){filter:brightness(1.06);background:linear-gradient(165deg,var(--gfg-accent),var(--gfg-accent-2))}.btn.key.svelte-1n7861h{color:#fff;border:.0625rem solid transparent;font-weight:700;box-shadow:inset 0 .0625rem #ffffff4d,0 .1875rem .5rem #0000004d}.btn.key.svelte-1n7861h .ic:where(.svelte-1n7861h){opacity:1}.btn.key.svelte-1n7861h:not(.hint){background:linear-gradient(180deg,var(--gfg-undo-1),var(--gfg-undo-2))}.btn.key.svelte-1n7861h:not(.hint):hover:not(:disabled){background:linear-gradient(180deg,var(--gfg-undo-hover-1),var(--gfg-undo-hover-2))}.btn.key.hint.svelte-1n7861h{background:linear-gradient(180deg,var(--gfg-hint-1),var(--gfg-hint-2));color:var(--gfg-hint-ink)}.btn.key.hint.svelte-1n7861h:hover:not(:disabled){background:linear-gradient(180deg,var(--gfg-hint-hover-1),var(--gfg-hint-hover-2))}.btn.key.hint.pending.svelte-1n7861h{background:linear-gradient(180deg,var(--gfg-hint-1),var(--gfg-hint-2));color:var(--gfg-hint-ink);animation:svelte-1n7861h-hint-pending-pulse 1s ease-in-out infinite}@keyframes svelte-1n7861h-hint-pending-pulse{50%{opacity:.55}}@media(prefers-reduced-motion:reduce){.btn.key.hint.pending.svelte-1n7861h{animation:none;opacity:.7}}.btn.key.svelte-1n7861h:active:not(:disabled){transform:translateY(.0625rem)}.btn.key.svelte-1n7861h:focus-visible{outline:.1875rem solid #ffffff;outline-offset:.125rem}.btn.key.svelte-1n7861h:disabled{opacity:1;background:#ffffff14;color:var(--gfg-ink-dim);box-shadow:none;transform:none}.btn.key.svelte-1n7861h:disabled .ic:where(.svelte-1n7861h){opacity:.6}.btn.ghost.svelte-1n7861h{background:transparent}.btn.ghost.svelte-1n7861h:hover:not(:disabled){background:#ffffff14}.newgame.svelte-1n7861h{position:relative;display:inline-flex;border-radius:.5rem;background:linear-gradient(165deg,var(--gfg-accent),var(--gfg-accent-2));color:var(--gfg-accent-ink);box-shadow:inset 0 .0625rem #fff6,0 .1875rem .5625rem #00000047;transition:filter var(--gfg-dur-fast) var(--gfg-ease-out),box-shadow var(--gfg-dur-fast) var(--gfg-ease-out)}.newgame.svelte-1n7861h:hover{filter:brightness(1.06)}.newgame.svelte-1n7861h .btn.primary:where(.svelte-1n7861h){background:none;border-color:transparent;box-shadow:none;border-radius:.5rem}.newgame.svelte-1n7861h .btn.primary:where(.svelte-1n7861h):hover:not(:disabled){filter:none;background:none}.newgame-trigger.svelte-1n7861h .caret:where(.svelte-1n7861h){display:inline-flex;width:.75rem;height:.75rem;line-height:1;transition:transform var(--gfg-dur) var(--gfg-ease-out)}.newgame-trigger.svelte-1n7861h .caret:where(.svelte-1n7861h) svg{width:100%;height:100%}.newgame.open.svelte-1n7861h .caret:where(.svelte-1n7861h){transform:rotate(180deg)}.menu.svelte-1n7861h{position:absolute;top:calc(100% + .375rem);left:0;z-index:130;min-width:12rem;padding:.375rem;border-radius:var(--gfg-radius-lg);background:linear-gradient(180deg,#fff,#f8f6ef);border:.0625rem solid var(--gfg-surface-line);box-shadow:var(--gfg-surface-shadow);color:var(--gfg-surface-ink);max-height:calc(100dvh - var(--gfg-rail-h) - 1rem);overflow-y:auto;overscroll-behavior:contain}.menu-head.svelte-1n7861h{font-size:var(--gfg-text-2xs);letter-spacing:.12em;text-transform:uppercase;color:var(--gfg-surface-ink-dim);padding:.5rem .625rem .25rem;font-family:var(--gfg-font-body);font-weight:700}.menu-item.svelte-1n7861h{text-decoration:none;display:flex;align-items:center;gap:.5rem;width:100%;border:none;background:transparent;color:var(--gfg-surface-ink);font-family:inherit;font-size:.875rem;font-weight:600;text-align:left;padding:.5rem .625rem;border-radius:.5rem;cursor:pointer;transition:background var(--gfg-dur-fast) var(--gfg-ease-out),color var(--gfg-dur-fast) var(--gfg-ease-out)}.menu-item.svelte-1n7861h:hover{background:var(--gfg-surface-hover)}.menu-item.on.svelte-1n7861h{color:var(--gfg-accent-ink);background:color-mix(in srgb,var(--gfg-accent) 28%,transparent)}.menu-item.svelte-1n7861h:focus-visible{outline:.125rem solid var(--gfg-accent);outline-offset:-.0625rem}.menu-check.svelte-1n7861h{width:.9375rem;height:.75rem;display:inline-flex;align-items:center;justify-content:center;color:var(--gfg-accent-ink)}.menu-check.svelte-1n7861h svg{width:.75rem;height:.75rem}.menu-variant.svelte-1n7861h{display:none;padding-left:1.75rem;color:var(--gfg-surface-ink-dim)}@media(max-width:65rem){.segment.svelte-1n7861h{display:none}.menu-variant.svelte-1n7861h{display:flex}}@media(max-width:56rem){.btn-label.svelte-1n7861h{display:none}.btn.svelte-1n7861h{padding:.5625rem .75rem}}@media(max-width:56.25rem){.rail.svelte-1n7861h{grid-template-columns:minmax(min-content,1fr) auto 1fr}}@media(max-width:45rem){.rail.svelte-1n7861h{grid-template-columns:minmax(0,1fr) auto;gap:.5rem;padding:0 .375rem 0 .5rem}.brand.svelte-1n7861h,.newgame.svelte-1n7861h,.rail-zone.actions.svelte-1n7861h{display:none}.rail-zone.left.svelte-1n7861h{min-width:0}.title-select.svelte-1n7861h{min-width:0;max-width:100%}.title-btn.svelte-1n7861h{min-width:0;min-height:2.75rem;padding:0 .625rem}.game-title.svelte-1n7861h{font-size:1.25rem}.rail-zone.right.svelte-1n7861h .btn:where(.svelte-1n7861h){width:2.75rem;height:2.75rem;justify-content:center;padding:0;border-color:transparent}.rail-zone.right.svelte-1n7861h .btn:where(.svelte-1n7861h) .ic:where(.svelte-1n7861h){width:1.375rem;height:1.375rem}.menu.svelte-1n7861h{min-width:min(16rem,calc(100vw - 1rem))}.menu-item.svelte-1n7861h{min-height:2.75rem;font-size:.9375rem}}.statline.svelte-1piydef{position:relative;z-index:20;flex:0 0 auto;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.25rem 1.375rem;padding:.3125rem 1.125rem;background:none;border:none}.statline.has-dbg-toggle.svelte-1piydef{padding-inline:3.25rem}.stat-rest.svelte-1piydef{display:contents}@media not (max-width:45rem){.statline.svelte-1piydef{display:grid;grid-template-columns:1fr 1fr}.stat-time.svelte-1piydef{justify-self:end}.stat-rest.svelte-1piydef{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem 1.375rem;justify-self:start}}@media not (max-width:56.25rem){.statline.svelte-1piydef,.statline.has-dbg-toggle.svelte-1piydef{padding-right:calc(20% + 1.125rem);padding-left:1.125rem}}.dbg-toggle.svelte-1piydef{position:absolute;right:1.125rem;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:1.875rem;height:1.875rem;padding:0;font-size:1rem;line-height:1;background:#ffffff14;border:.0625rem solid rgba(255,255,255,.18);border-radius:.375rem;cursor:pointer}.dbg-toggle.svelte-1piydef:hover{background:#ffffff29}.pause-btn.svelte-1piydef{display:inline-flex;align-items:center;justify-content:center;width:1.875rem;height:1.875rem;padding:0;color:inherit;background:transparent;border:none;border-radius:var(--gfg-radius-sm);cursor:pointer;transition:background var(--gfg-dur-fast) var(--gfg-ease-out)}.pause-btn.svelte-1piydef:hover:not(:disabled){background:#ffffff1a}.pause-btn.svelte-1piydef:disabled{opacity:.45;cursor:default}.pause-btn.svelte-1piydef:focus-visible{outline:.125rem solid var(--gfg-accent);outline-offset:.125rem}.pause-btn.svelte-1piydef svg{width:1.125rem;height:1.125rem}.board-action.svelte-1piydef{display:inline-flex;align-items:center;padding:.375rem .875rem;font-family:inherit;font-size:.8125rem;letter-spacing:.04em;line-height:1;color:inherit;background:#ffffff14;border:.0625rem solid rgba(255,255,255,.18);border-radius:.375rem;cursor:pointer}.board-action.svelte-1piydef:hover:not(:disabled){background:#ffffff29}.board-action.svelte-1piydef:disabled{opacity:.45;cursor:default}.dbg-toggle[aria-pressed=true].svelte-1piydef{background:#6ee7a838;border-color:#6ee7a880}.stat-readout.svelte-1piydef{display:inline-flex;align-items:center;gap:.4375rem;font-family:inherit;line-height:1;text-shadow:0 .0625rem .1875rem rgba(0,0,0,.45)}.stat-k.svelte-1piydef{font-size:var(--gfg-text-xs);letter-spacing:.08em;text-transform:uppercase;color:var(--gfg-ink-dim)}.stat-v.svelte-1piydef{font-family:var(--gfg-font-mono);font-size:1rem;font-weight:700;font-variant-numeric:tabular-nums;color:var(--gfg-ink);min-width:.75em}.stat-won.svelte-1piydef .stat-v:where(.svelte-1piydef){color:var(--gfg-accent)}@media(max-width:45rem){.statline.svelte-1piydef{justify-content:center;padding-top:.375rem;padding-bottom:.125rem;background:var(--gfg-chrome-bg);border-top:.0625rem solid var(--gfg-accent-hairline)}.pause-btn.svelte-1piydef{width:2.5rem;height:2.5rem;margin:-.375rem 0}.pause-btn.svelte-1piydef:hover:not(:disabled){background:transparent}}@media(max-width:32.5rem){.statline.svelte-1piydef{gap:.25rem .75rem;padding:.25rem .75rem}.stat-v.svelte-1piydef{font-size:.9375rem}.stat-k.svelte-1piydef{font-size:.6875rem}}.toolbar.svelte-qtgoxd{display:none}@media(max-width:45rem){.toolbar.svelte-qtgoxd{position:relative;z-index:30;flex:0 0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 .25rem max(.25rem,env(safe-area-inset-bottom));background:var(--gfg-chrome-bg);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.toolbar.three.svelte-qtgoxd{grid-template-columns:repeat(3,minmax(0,1fr))}}.slot.svelte-qtgoxd{position:relative;display:flex;min-width:0}.tool.svelte-qtgoxd{flex:1;min-width:0;min-height:3.5rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;padding:.25rem .125rem;border:none;border-radius:.75rem;background:transparent;color:var(--gfg-ink);font-family:inherit;cursor:pointer;touch-action:manipulation}.tool.svelte-qtgoxd:focus-visible{outline:.125rem solid var(--gfg-accent);outline-offset:-.125rem}.chip.svelte-qtgoxd{display:inline-flex;align-items:center;justify-content:center;width:3.25rem;height:1.875rem;border-radius:.9375rem;background:var(--gfg-chip-bg);box-shadow:inset 0 .0625rem #ffffff40;transition:transform var(--gfg-dur-press) var(--gfg-ease-out),filter var(--gfg-dur-fast) var(--gfg-ease-out),background var(--gfg-dur-fast) var(--gfg-ease-out)}.chip.svelte-qtgoxd svg{width:1.25rem;height:1.25rem}.label.svelte-qtgoxd{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.6875rem;font-weight:600;letter-spacing:.01em;line-height:1.2}.new.svelte-qtgoxd .chip:where(.svelte-qtgoxd){background:linear-gradient(165deg,var(--gfg-accent),var(--gfg-accent-2));color:var(--gfg-accent-ink)}.new[aria-expanded=true].svelte-qtgoxd .chip:where(.svelte-qtgoxd){filter:brightness(1.08)}.undo.svelte-qtgoxd .chip:where(.svelte-qtgoxd){background:linear-gradient(180deg,var(--gfg-undo-1),var(--gfg-undo-2));color:#fff}.hint.svelte-qtgoxd .chip:where(.svelte-qtgoxd){background:linear-gradient(180deg,var(--gfg-hint-1),var(--gfg-hint-2));color:var(--gfg-hint-ink)}.rules.svelte-qtgoxd .chip:where(.svelte-qtgoxd){background:#ffffff1f;color:var(--gfg-ink)}.tool.svelte-qtgoxd:active:not(:disabled) .chip:where(.svelte-qtgoxd){transform:scale(.94)}@media(hover:hover){.tool.svelte-qtgoxd:hover:not(:disabled) .chip:where(.svelte-qtgoxd){filter:brightness(1.1)}}.tool.svelte-qtgoxd:disabled{cursor:not-allowed}.tool.svelte-qtgoxd:disabled .chip:where(.svelte-qtgoxd){background:#ffffff14;color:var(--gfg-ink-dim);box-shadow:none}.tool.svelte-qtgoxd:disabled .label:where(.svelte-qtgoxd){color:var(--gfg-ink-dim)}.hint.pending.svelte-qtgoxd .chip:where(.svelte-qtgoxd){background:linear-gradient(180deg,var(--gfg-hint-1),var(--gfg-hint-2));color:var(--gfg-hint-ink);animation:svelte-qtgoxd-hint-pending-pulse 1s ease-in-out infinite}@keyframes svelte-qtgoxd-hint-pending-pulse{50%{opacity:.55}}@media(prefers-reduced-motion:reduce){.hint.pending.svelte-qtgoxd .chip:where(.svelte-qtgoxd){animation:none;opacity:.7}}.no-hint-toast.svelte-1pdd6ns{position:absolute;left:50%;bottom:3rem;transform:translate(-50%);padding:.625rem 1rem;background:var(--gfg-toast-bg);border:.0625rem solid rgba(212,175,55,.7);border-radius:.375rem;color:#fff;font-size:.875rem;box-shadow:0 .25rem .75rem #0000004d;z-index:11;max-width:90%;text-align:center;pointer-events:none}.win-modal.svelte-ge01wp{padding:0;border:none;background:none;color:var(--gfg-ink);width:26.25rem;max-width:90%;border-radius:1.125rem;max-height:calc(100dvh - 1.5rem);overflow-y:auto;overscroll-behavior:contain;margin:auto}.win-modal.svelte-ge01wp::backdrop{background:var(--gfg-scrim)}.win-modal-body.svelte-ge01wp{padding:2.75rem 2rem 1.75rem;border-radius:var(--gfg-radius-xl);background:linear-gradient(180deg,var(--gfg-dialog-top),var(--gfg-dialog-bottom));border:.0625rem solid rgba(255,255,255,.1);box-shadow:0 1.5rem 3.75rem #00000080;text-align:center}.win-modal-body.gfg-anim-rise.svelte-ge01wp{animation-duration:var(--gfg-dur-slow)}.win-hero.svelte-ge01wp{position:relative;width:4rem;height:4rem;margin:0 auto 1rem}.modal-badge.svelte-ge01wp{position:relative;z-index:1;width:4rem;height:4rem;border-radius:1rem;display:grid;place-items:center;animation:svelte-ge01wp-win-badge-in var(--gfg-dur-slow) var(--gfg-ease-spring) calc(var(--gfg-stagger) * 2) both}.modal-badge.svelte-ge01wp svg{width:2rem;height:2rem}@keyframes svelte-ge01wp-win-badge-in{0%{opacity:0;transform:scale(.6)}}.win-fan.svelte-ge01wp{position:absolute;inset:0}.fan-card.svelte-ge01wp{position:absolute;left:50%;top:50%;width:2.25rem;height:3rem;margin:-1.5rem 0 0 -1.125rem;display:grid;place-items:start center;padding-top:.3125rem;font-size:.875rem;border-radius:var(--gfg-radius-sm);background:linear-gradient(180deg,var(--gfg-surface-cream),var(--gfg-surface-cream-2));box-shadow:0 0 0 .0625rem #00000014,0 .25rem .625rem #00000059;color:var(--gfg-suit-black);transform-origin:50% 160%;transform:rotate(var(--angle)) translateY(-1.5rem);animation:svelte-ge01wp-win-fan-out var(--gfg-dur-slow) var(--gfg-ease-spring) calc(var(--gfg-stagger) * (var(--i) + 3)) both}.fan-card.red.svelte-ge01wp{color:var(--gfg-suit-red)}@keyframes svelte-ge01wp-win-fan-out{0%{opacity:0;transform:rotate(0) translateY(0)}}.win-modal.svelte-ge01wp h2:where(.svelte-ge01wp){margin:0 0 .375rem;font-family:var(--gfg-font-display);font-size:1.875rem;font-weight:600;letter-spacing:.005em;color:var(--gfg-ink)}.win-modal.svelte-ge01wp p:where(.svelte-ge01wp){margin:0 0 1.25rem;color:var(--gfg-ink-dim);font-size:.875rem}.modal-stats.svelte-ge01wp{display:flex;justify-content:center;gap:1.625rem;margin-bottom:1.375rem}.modal-stat.svelte-ge01wp{display:flex;flex-direction:column;gap:.1875rem}.modal-stat.svelte-ge01wp b:where(.svelte-ge01wp){font-family:var(--gfg-font-mono);font-size:1.375rem;font-weight:700;font-variant-numeric:tabular-nums}.modal-stat.svelte-ge01wp span:where(.svelte-ge01wp){font-size:var(--gfg-text-2xs);letter-spacing:.14em;text-transform:uppercase;color:var(--gfg-ink-dim)}.modal-actions.svelte-ge01wp{display:flex;gap:.625rem;justify-content:center}.btn.svelte-ge01wp{padding:.5rem 1rem;transition:background var(--gfg-dur-fast) var(--gfg-ease-out),border-color var(--gfg-dur-fast) var(--gfg-ease-out),filter var(--gfg-dur-fast) var(--gfg-ease-out)}.btn.svelte-ge01wp:hover{background:#ffffff1f;border-color:#ffffff42}.btn.svelte-ge01wp:focus-visible{outline:.125rem solid var(--gfg-accent);outline-offset:.125rem}.btn.ghost.svelte-ge01wp{background:transparent}.btn.ghost.svelte-ge01wp:hover{background:#ffffff14}.btn.primary.svelte-ge01wp{background:linear-gradient(165deg,var(--gfg-accent),var(--gfg-accent-2));border-color:transparent;color:var(--gfg-accent-ink);font-weight:700;box-shadow:inset 0 .0625rem #fff6,0 .1875rem .5625rem #00000047}.btn.primary.svelte-ge01wp:hover{filter:brightness(1.06)}.paused-modal.svelte-o1ubwb{padding:0;border:none;background:none;color:var(--gfg-ink);width:24rem;max-width:90%;border-radius:1.125rem;max-height:calc(100dvh - 1.5rem);overflow-y:auto;overscroll-behavior:contain;margin:auto}.paused-modal.svelte-o1ubwb::backdrop{background:var(--gfg-scrim-strong);backdrop-filter:blur(.5rem);-webkit-backdrop-filter:blur(.5rem)}.paused-modal-body.svelte-o1ubwb{padding:2.125rem 2rem 1.75rem;border-radius:1.125rem;background:linear-gradient(180deg,var(--gfg-dialog-top),var(--gfg-dialog-bottom));border:.0625rem solid rgba(255,255,255,.1);box-shadow:0 1.5rem 3.75rem #00000080;text-align:center}.modal-badge.svelte-o1ubwb{width:4rem;height:4rem;margin:0 auto 1rem;border-radius:1rem;display:grid;place-items:center;color:var(--gfg-ink);background:#ffffff14;border:.0625rem solid rgba(255,255,255,.16)}.modal-badge.svelte-o1ubwb svg{width:2rem;height:2rem}.paused-modal.svelte-o1ubwb h2:where(.svelte-o1ubwb){margin:0 0 .375rem;font-family:var(--gfg-font-display);font-size:1.875rem;font-weight:600;letter-spacing:.005em;color:var(--gfg-ink)}.paused-modal.svelte-o1ubwb p:where(.svelte-o1ubwb){margin:0 0 1.25rem;color:var(--gfg-ink-dim);font-size:.875rem}.modal-stats.svelte-o1ubwb{display:flex;justify-content:center;gap:1.625rem;margin-bottom:1.375rem}.modal-stat.svelte-o1ubwb{display:flex;flex-direction:column;gap:.1875rem}.modal-stat.svelte-o1ubwb b:where(.svelte-o1ubwb){font-family:var(--gfg-font-mono);font-size:1.375rem;font-weight:700;font-variant-numeric:tabular-nums}.modal-stat.svelte-o1ubwb span:where(.svelte-o1ubwb){font-size:var(--gfg-text-2xs);letter-spacing:.14em;text-transform:uppercase;color:var(--gfg-ink-dim)}.modal-actions.svelte-o1ubwb{display:flex;justify-content:center}.btn.svelte-o1ubwb{justify-content:center;padding:.5rem 1.25rem;transition:background var(--gfg-dur-fast) var(--gfg-ease-out),border-color var(--gfg-dur-fast) var(--gfg-ease-out),filter var(--gfg-dur-fast) var(--gfg-ease-out)}.btn.svelte-o1ubwb:focus-visible{outline:.125rem solid var(--gfg-accent);outline-offset:.125rem}.btn.primary.svelte-o1ubwb{background:linear-gradient(165deg,var(--gfg-accent),var(--gfg-accent-2));border-color:transparent;color:var(--gfg-accent-ink);font-weight:700;box-shadow:inset 0 .0625rem #fff6,0 .1875rem .5625rem #00000047}.btn.primary.svelte-o1ubwb:hover{filter:brightness(1.06)}@media(prefers-reduced-motion:reduce){.btn.svelte-o1ubwb{transition:none}}.board-surface.svelte-6g5vyj{isolation:isolate;background-color:var(--gfg-board-felt);--board-lamp-x: 50%;--board-lamp-rx: 50%;--board-lamp-ry: 140%}@media not (max-width:56.25rem){.board-surface.svelte-6g5vyj{--board-lamp-x: 40%;--board-lamp-rx: 40%}}.board-surface.svelte-6g5vyj:after{content:"";position:absolute;inset:0;background-image:radial-gradient(var(--board-lamp-rx) var(--board-lamp-ry) at var(--board-lamp-x) top,rgba(255,255,255,.16) 0%,rgba(255,255,255,.1531) 12.5%,rgba(255,255,255,.135) 25%,rgba(255,255,255,.1094) 37.5%,rgba(255,255,255,.08) 50%,rgba(255,255,255,.0506) 62.5%,rgba(255,255,255,.025) 75%,rgba(255,255,255,.0069) 87.5%,rgba(255,255,255,0) 100%),radial-gradient(var(--board-lamp-rx) var(--board-lamp-ry) at var(--board-lamp-x) top,rgba(255,255,255,.08) 0%,rgba(255,255,255,.0766) 8%,rgba(255,255,255,.0675) 16%,rgba(255,255,255,.0547) 24%,rgba(255,255,255,.04) 32%,rgba(255,255,255,.0253) 40%,rgba(255,255,255,.0125) 48%,rgba(255,255,255,.0034) 56%,rgba(255,255,255,0) 64%),url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%3e%3cfilter%20id='d'%20x='0'%20y='0'%20width='100%25'%20height='100%25'%20color-interpolation-filters='sRGB'%3e%3cfeTurbulence%20type='fractalNoise'%20baseFrequency='0.9'%20numOctaves='1'%20stitchTiles='stitch'/%3e%3cfeColorMatrix%20values='0.06%200%200%200%200.47%200.06%200%200%200%200.47%200.06%200%200%200%200.47%200%200%200%200%201'/%3e%3c/filter%3e%3crect%20width='100%25'%20height='100%25'%20filter='url(%23d)'/%3e%3c/svg%3e");background-size:auto,auto,8rem 8rem;background-repeat:no-repeat,no-repeat,repeat;mix-blend-mode:overlay;pointer-events:none;z-index:-1}.board-surface.svelte-6g5vyj:before{content:"";position:absolute;inset:0;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCEtLQogIENhcmQtdGFibGUgZmVsdCB0ZXh0dXJlIOKAlCBpc290cm9waWMgZmlicmUgZ3JhaW4uCgogIGBmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlImAgKHNvZnQsIGNsb3VkLWxpa2U7IG5vIHByZWZlcnJlZAogIGRpcmVjdGlvbikuIGJhc2VGcmVxdWVuY3kgMC43IOKGkiByb3VnaGx5IDEuNCBsb2dpY2FsLXB4IG5vaXNlIGNlbGxzOgogIGZpbmUgZW5vdWdoIG5vdCB0byBsb29rIHJhdywgY29hcnNlIGVub3VnaCB0byBiZSBmZWx0IGFzIHRleHR1cmUuCiAgbnVtT2N0YXZlcyAxIGtlZXBzIHRoZSBncmFpbiBzbW9vdGggKG5vIGhpZ2gtZnJlcXVlbmN5IG92ZXJsYXkgdGhhdAogIHdvdWxkIHJlYWQgYXMgaGFyc2ggZGl0aGVyKS4gc3RpdGNoVGlsZXM9InN0aXRjaCIgbWFrZXMgdGhlIDMyMMOXMzIwCiAgdGlsZSByZXBlYXQgc2VhbWxlc3NseS4KCiAgTGl2ZXMgdW5kZXIgc3JjLyAobm90IHN0YXRpYy8pIG9uIHB1cnBvc2U6IEdhbWVQYWdlLnN2ZWx0ZSByZWZlcmVuY2VzIGl0CiAgd2l0aCBhIHJlbGF0aXZlIHVybCgpLCBzbyBWaXRlIGlubGluZXMgaXQgYXMgYSBkYXRhIFVSSSBpbnRvIHRoZSBDU1MgdGhhdAogIGlzIGl0c2VsZiBpbmxpbmVkIGludG8gdGhlIHByZXJlbmRlcmVkIEhUTUwuIFRoZSBib2FyZCBmZWx0IGlzIHRoZSBwYWdlJ3MKICBMYXJnZXN0IENvbnRlbnRmdWwgUGFpbnQsIGFuZCB0aGlzIHdheSBpdCBuZWVkcyBubyByZXF1ZXN0IGF0IGFsbC4KCiAgRG8gTk9UIG1pbmlmeSB0aGlzIGZpbGUgb3Igc3RyaXAgdGhpcyBjb21tZW50IHdpdGhvdXQgcmUtY2hlY2tpbmcgdGhlIExDUAogIGVsZW1lbnQgaW4gTGlnaHRob3VzZTogQ2hyb21lIGlnbm9yZXMgdmVyeSBsb3ctZW50cm9weSBpbWFnZXMgKGJ5dGVzIHBlcgogIGRpc3BsYXllZCBwaXhlbCkgYXMgTENQIGNhbmRpZGF0ZXMsIGFuZCB0aGlzIHRpbGUgc2l0cyBqdXN0IGFib3ZlIHRoYXQgbGluZS4KLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIwIiBoZWlnaHQ9IjMyMCIgdmlld0JveD0iMCAwIDMyMCAzMjAiPgogIDxmaWx0ZXIgaWQ9ImdyYWluIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIj4KICAgIDxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjciIG51bU9jdGF2ZXM9IjEiIHNlZWQ9IjciIHN0aXRjaFRpbGVzPSJzdGl0Y2giLz4KICAgIDxmZUNvbG9yTWF0cml4IHZhbHVlcz0iMCAwIDAgMCAwICAwIDAgMCAwIDAgIDAgMCAwIDAgMCAgMCAwIDAgMC43IDAiLz4KICA8L2ZpbHRlcj4KICA8cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCgjZ3JhaW4pIi8+Cjwvc3ZnPgo=);background-size:20rem 20rem;background-repeat:repeat;opacity:.55;mix-blend-mode:soft-light;pointer-events:none;z-index:0}
