:root{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}html{-webkit-touch-callout:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}input:not(:disabled),textarea:not(:disabled),select:not(:disabled),[contenteditable=true]{-webkit-touch-callout:default}img{-webkit-user-drag:none}*{box-sizing:border-box}html,body{height:100%}body{margin:4px;background-color:#737476}#app{margin:0}.card-flight.svelte-17ewhk1{position:fixed;z-index:2500;pointer-events:none;box-sizing:border-box;transform:translate(-50%,-50%) translate(0) scale(1);will-change:transform}.card-flight-face.svelte-17ewhk1{box-sizing:border-box;width:100%;height:100%;display:flex;flex-direction:column;padding:.55rem;border-radius:.9rem;background:linear-gradient(160deg,#bebebefa,#c8c8c8f0),silver;border:1px solid rgba(255,255,255,.76);box-shadow:0 12px 12px #11182747,0 8px 10px #1118272e,0 1px 5px #11182733;color:#111827;overflow:hidden}.card-flight-title.svelte-17ewhk1{margin:0;font-size:.68rem;line-height:1.1;letter-spacing:-.02em;flex-shrink:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}.card-flight-icon-wrap.svelte-17ewhk1{flex:1 1 auto;display:flex;align-items:center;justify-content:center;min-height:0;margin:.2rem 0}.card-flight-icon.svelte-17ewhk1{width:42%;height:42%;max-width:2.2rem;max-height:2.2rem;object-fit:contain;flex-shrink:0}@keyframes svelte-1syrvrj-card-selected-shimmer{0%{background-position:0% 50%}to{background-position:200% 50%}}.card-readonly.svelte-1syrvrj{cursor:default;margin:0}.card.svelte-1syrvrj{display:flex;flex-direction:column;height:100%;min-height:0;min-width:0;padding:.8rem;border-radius:.9rem;background:linear-gradient(160deg,#bebebefa,#c8c8c8f0),silver;border:1px solid rgba(255,255,255,.76);box-shadow:0 12px 12px #11182747,0 8px 10px #1118272e,0 1px 5px #11182733;color:#111827;text-align:left;font:inherit;cursor:default;-moz-appearance:none;appearance:none;-webkit-appearance:none}.card-interactive.svelte-1syrvrj{cursor:pointer}.card-interactive.svelte-1syrvrj:hover:not(:disabled){border-color:#38bdf88c;box-shadow:0 12px 12px #11182747,0 8px 10px #1118272e,0 0 0 2px #38bdf833,0 1px 5px #11182733}.card-interactive.svelte-1syrvrj:active:not(:disabled){transform:translateY(1px)}.card-disabled.svelte-1syrvrj,.card.svelte-1syrvrj:disabled{cursor:not-allowed;opacity:.52;filter:grayscale(.42) brightness(.97);box-shadow:0 6px 8px #1118271f,0 2px 4px #11182714;border-color:#94a3b88c}.card-disabled.svelte-1syrvrj .card-description:where(.svelte-1syrvrj),.card.svelte-1syrvrj:disabled .card-description:where(.svelte-1syrvrj){color:#6b7280}.card-selected.card-disabled.svelte-1syrvrj,.card-selected.svelte-1syrvrj:disabled{animation:none;background:linear-gradient(160deg,#aaaaaaeb,#b6b6b6e0),#a8a8a8;background-size:auto;border-color:#94a3b8a6}.card-selected.svelte-1syrvrj{background:linear-gradient(95deg,#fde04759,#fbbf2473,#fde04759,#22d3ee40,#fde04759),linear-gradient(160deg,#bebebefa,#c8c8c8f0),silver;background-size:200% 100%,auto,auto;animation:svelte-1syrvrj-card-selected-shimmer 2.4s linear infinite;border-color:#facc15bf}.card-title.svelte-1syrvrj{flex-shrink:0;margin:0;font-size:1rem;line-height:1.2;letter-spacing:-.02em;min-width:0}.card-icon-wrap.svelte-1syrvrj{flex:0 0 auto;display:flex;align-items:center;justify-content:center;margin:.35rem 0;width:100%;min-height:2.85rem;overflow:hidden}.card-icon.svelte-1syrvrj{display:block;width:2.85rem;height:2.85rem;max-width:min(2.85rem,100%);object-fit:contain;flex-shrink:0}.card-description.svelte-1syrvrj{flex:1 1 auto;margin:0;min-height:0;min-width:0;overflow-y:auto;font-size:1rem;line-height:1.4;color:#4b5563}@media(max-width:900px){.card.svelte-1syrvrj{padding:.5rem;border-radius:.65rem}.card-icon-wrap.svelte-1syrvrj{margin:.2rem 0;min-height:2rem}.card-icon.svelte-1syrvrj{width:2rem;height:2rem;max-width:min(2rem,100%)}}.cards-group.svelte-18y630o{position:relative;box-sizing:border-box;width:100%;max-width:100%;--cards-group-border-w: 1px;padding:1.25rem 1rem 1.05rem;border-radius:.85rem;border-width:var(--cards-group-border-w);border-style:solid;border-color:#64748b8c;background:transparent;box-shadow:0 1px #ffffff47,inset 0 1px #ffffff1f}.cards-group-title.svelte-18y630o{position:absolute;top:calc(-.5 * var(--cards-group-border-w));left:.85rem;margin:0;padding:0;transform:translateY(-50%);z-index:1;line-height:1.2;text-align:left;pointer-events:none}.cards-group-title-text.svelte-18y630o{display:inline-block;padding:0 .28rem;font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#334155;background-color:#9ca3af}.cards-group-grid.svelte-18y630o{display:grid;grid-template-columns:repeat(2,minmax(8rem,1fr));grid-auto-rows:minmax(9rem,auto);gap:.8rem;align-content:start;min-height:0}.cards-group-grid--empty.svelte-18y630o{min-height:2.5rem}@media(max-width:900px){.cards-group-grid.svelte-18y630o{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:.45rem}}@container board-stack (min-width: 0px){.cards-group.svelte-18y630o{padding:4cqi;border-radius:1.2cqi}.cards-group-title.svelte-18y630o{left:1.25cqi}.cards-group-title-text.svelte-18y630o{padding:0 .45cqi;font-size:1.5cqi}.cards-group-grid--empty.svelte-18y630o{min-height:3.5cqi}}.square.svelte-1ojizfo{-moz-appearance:none;appearance:none;-webkit-appearance:none;box-sizing:border-box;min-height:0;min-width:0;cursor:default;padding:0;margin:0;border:none;font:inherit;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;touch-action:none}.square.grabCell.svelte-1ojizfo{cursor:grab}.square.pending-move-source.svelte-1ojizfo{box-shadow:inset 0 0 0 6px #0ea5e9eb,inset 0 0 16px #38bdf847;z-index:1}.square.selected-move-source-blocked.svelte-1ojizfo{box-shadow:inset 0 0 0 6px #dc2626f0,inset 0 0 16px #f8717147;z-index:1}.square.pending-move-dest-hover.svelte-1ojizfo{outline:4px dashed rgba(14,165,233,.9);outline-offset:-4px;box-shadow:inset 0 0 14px #38bdf83d;z-index:1}.square.premove-move-source.svelte-1ojizfo{box-shadow:inset 0 0 0 6px #16a34aeb,inset 0 0 16px #22c55e47;z-index:2}.square.premove-move-dest.svelte-1ojizfo{outline:4px dashed rgba(22,163,74,.9);outline-offset:-4px;box-shadow:inset 0 0 14px #22c55e3d;z-index:2}.light.svelte-1ojizfo{background-color:#f0d9b5}.dark.svelte-1ojizfo{background-color:#b58864}.square.last-moved-from.svelte-1ojizfo:after,.square.last-moved-to.svelte-1ojizfo:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:1}.square.portal-transit-dim.svelte-1ojizfo:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:7;background:#000c}.square.last-moved-from.svelte-1ojizfo:after{background:#ffff0080}.square.last-moved-to.svelte-1ojizfo:after{background:#ffff0080}.piece.svelte-1ojizfo{width:82%;height:82%;object-fit:contain;cursor:inherit;pointer-events:auto;position:relative;z-index:5;touch-action:none}.square-card-sigil.svelte-1ojizfo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:82%;height:82%;object-fit:contain;pointer-events:none;z-index:2;filter:drop-shadow(0 1px 2px rgba(15,23,42,.35))}.square-card-sigil-hue-rotate.svelte-1ojizfo{filter:hue-rotate(var(--card-sigil-hue-rotate)) drop-shadow(0 1px 2px rgba(15,23,42,.35))}.square-card-preview-sigil.svelte-1ojizfo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:82%;height:82%;object-fit:contain;pointer-events:none;z-index:8;opacity:.45;filter:drop-shadow(0 1px 2px rgba(15,23,42,.35))}.card-icons.svelte-1nfnet{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px;max-width:min(160px,28cqi)}.icon-chip.svelte-1nfnet{display:flex;align-items:center;justify-content:center;width:1.65rem;height:1.65rem;padding:0;border:1px solid rgba(15,23,42,.18);border-radius:6px;background:#ffffffb8;cursor:default;flex-shrink:0}.icon-chip.svelte-1nfnet:focus-visible{outline:2px solid rgba(56,189,248,.75);outline-offset:1px}.icon-img.svelte-1nfnet{display:block;width:1.35rem;height:1.35rem;object-fit:contain}.card-hover-root.svelte-1nfnet{position:fixed;z-index:3000;pointer-events:none;transform:translate(10px,10px)}.card-hover-surface.svelte-1nfnet{width:min(11rem,40vw);max-height:min(22rem,55vh);overflow:hidden;border-radius:.75rem;box-shadow:0 14px 22px #0f172a33,0 6px 10px #0f172a1f}.card-hover-surface.svelte-1nfnet .card{height:100%;min-height:0}@container board-stack (min-width: 0px){.card-icons.svelte-1nfnet{gap:.5cqi;max-width:28cqi}.icon-chip.svelte-1nfnet{width:3.2cqi;height:3.2cqi;border-radius:.9cqi;border-width:.2cqi}.icon-img.svelte-1nfnet{width:2.5cqi;height:2.5cqi}}.timer-bar.svelte-uqno5x{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;width:100%;max-width:100%;box-sizing:border-box;min-height:40px;padding:8px 14px;border:2px solid transparent;border-radius:12px;background:transparent;box-shadow:none}.timer-bar--turn.svelte-uqno5x{border:2px solid var(--timer-outline-outer)}.timer-bar--turn.svelte-uqno5x:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;box-sizing:border-box;border-radius:10px;border:2px solid var(--timer-outline-inner);pointer-events:none}.timer-bar--turn.svelte-uqno5x:after{content:"";position:absolute;top:2px;right:2px;bottom:2px;left:2px;z-index:0;box-sizing:border-box;border-radius:8px;border:2px solid var(--timer-outline-outer);pointer-events:none}.timer-bar-left.svelte-uqno5x{position:relative;z-index:1;display:flex;align-items:center;gap:6px;min-width:0;justify-self:start}.timer-bar-center.svelte-uqno5x{position:relative;z-index:1;justify-self:center;max-width:100%}.timer-bar-arrow-wrap.svelte-uqno5x{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem}.timer-bar-arrow-svg.svelte-uqno5x{display:block;width:100%;height:100%}.timer-bar-arrow--inactive.svelte-uqno5x{visibility:hidden}.timer-bar-name.svelte-uqno5x{min-width:0;font-weight:800;font-size:.84rem;letter-spacing:.02em;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timer-bar-time.svelte-uqno5x{position:relative;z-index:1;flex-shrink:0;justify-self:end;font-variant-numeric:tabular-nums;font-weight:800;font-size:.95rem;letter-spacing:.04em;color:#1e293b}@container board-stack (min-width: 0px){.timer-bar.svelte-uqno5x{gap:1.875cqi;min-height:6.25cqi;padding:1.25cqi 2.1875cqi;border-width:.3125cqi;border-radius:1.875cqi}.timer-bar--turn.svelte-uqno5x:before{border-width:.3125cqi;border-radius:1.5625cqi}.timer-bar--turn.svelte-uqno5x:after{top:.3125cqi;right:.3125cqi;bottom:.3125cqi;left:.3125cqi;border-width:.3125cqi;border-radius:1.25cqi}.timer-bar-left.svelte-uqno5x{gap:.9375cqi}.timer-bar-arrow-wrap.svelte-uqno5x{width:3.1cqi;height:3.1cqi}}.board-with-timers.svelte-5j3dtt{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%;max-width:100%;box-sizing:border-box}.board-shell.svelte-5j3dtt{width:100%;max-width:100%;box-sizing:border-box;margin:0}.board.svelte-5j3dtt{display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr);aspect-ratio:1;width:100%;-webkit-user-select:none;user-select:none;contain:layout style}.drag-preview.svelte-5j3dtt{position:fixed;pointer-events:none;z-index:1000;object-fit:contain;opacity:.94;filter:drop-shadow(0 10px 10px rgba(15,23,42,.22))}.controls-bar.svelte-tl5ff0{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;align-content:center;column-gap:12px;padding:0;width:100%;max-width:100%;box-sizing:border-box}.captured-tray.svelte-tl5ff0{display:flex;flex-wrap:wrap;align-items:center;column-gap:0;row-gap:1px;min-height:44px;min-width:0}.captured-tray-white.svelte-tl5ff0{justify-self:start;justify-content:flex-start}.captured-tray-black.svelte-tl5ff0{justify-self:end;justify-content:flex-end}.captured-group.svelte-tl5ff0{position:relative;display:block;width:36px;height:36px;flex-shrink:0;margin:0}.captured-piece-icon.svelte-tl5ff0{display:block;width:36px;height:36px;object-fit:contain}.captured-count.svelte-tl5ff0{position:absolute;right:-2px;bottom:-3px;font-size:.82rem;font-weight:800;color:#0f172a;line-height:1;pointer-events:none;-webkit-text-stroke:1.5px #ffffff;paint-order:stroke fill}.controls-center.svelte-tl5ff0{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px;justify-self:center;max-width:100%;box-sizing:border-box}.pending-behavior-sigil.svelte-tl5ff0{width:36px;height:36px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 2px 4px rgba(15,23,42,.25))}.controls-icons.svelte-tl5ff0{display:flex;align-items:center;justify-content:center;gap:20px;flex-shrink:0}.controls-action-button.svelte-tl5ff0{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:52px;height:48px;padding:0 16px;border:1px solid rgba(15,23,42,.12);border-radius:14px;background:linear-gradient(165deg,#fff,#f1f5f9 42%,#e2e8f0);box-shadow:0 1px #fffffff2 inset,0 4px 14px #0f172a1f,0 2px 4px #0f172a14;color:#111827;cursor:pointer;font:inherit;flex-shrink:0;transition:transform 90ms ease,box-shadow 90ms ease,filter 90ms ease}.controls-action-button.svelte-tl5ff0:hover:not(:disabled){filter:brightness(1.02);box-shadow:0 1px #fffffff2 inset,0 6px 18px #0f172a24,0 2px 6px #0f172a1a}.controls-action-button.svelte-tl5ff0:active:not(:disabled){transform:translateY(1px);box-shadow:0 1px #ffffffb3 inset,0 2px 8px #0f172a1a,0 1px 2px #0f172a14}.controls-action-button.svelte-tl5ff0:disabled{cursor:default;opacity:.88;filter:saturate(.92)}.controls-offer-draw-button.svelte-tl5ff0{min-width:unset;padding:0 14px 0 12px}.controls-pending-offer.svelte-tl5ff0{display:inline-flex;align-items:center;gap:10px}.controls-offer-pending-label.svelte-tl5ff0{font-size:.82rem;font-weight:800;letter-spacing:.01em;color:#1e293b;white-space:nowrap}.controls-glyph.svelte-tl5ff0{display:block;font-size:1.45rem;font-weight:800;line-height:1}.controls-resign-flag-icon.svelte-tl5ff0{display:block;width:1.45rem;height:1.45rem;flex-shrink:0}.controls-spinner.svelte-tl5ff0{width:20px;height:20px;border:2px solid rgba(17,24,39,.2);border-top-color:#111827;border-radius:50%;animation:svelte-tl5ff0-spin .65s linear infinite}@keyframes svelte-tl5ff0-spin{to{transform:rotate(360deg)}}.controls-draw-response.svelte-tl5ff0{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;gap:10px;height:48px;padding:0 14px 0 12px;border:1px solid rgba(15,23,42,.12);border-radius:14px;background:linear-gradient(165deg,#fff,#f1f5f9 42%,#e2e8f0);box-shadow:0 1px #fffffff2 inset,0 4px 14px #0f172a1f,0 2px 4px #0f172a14;flex-shrink:0}.controls-mini.svelte-tl5ff0{width:32px;height:32px;border-radius:999px;border:none;font-size:1rem;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;line-height:1}.controls-accept.svelte-tl5ff0{background:#16a34a;color:#fff}.controls-reject.svelte-tl5ff0{background:#dc2626;color:#fff}.controls-draw-text.svelte-tl5ff0{font-size:.82rem;font-weight:800;letter-spacing:.01em;color:#1e293b;white-space:nowrap}@container board-stack (min-width: 0px){.controls-bar.svelte-tl5ff0{column-gap:1.875cqi;padding:0}.captured-tray.svelte-tl5ff0{min-height:6.875cqi}.captured-group.svelte-tl5ff0,.captured-piece-icon.svelte-tl5ff0{width:5.625cqi;height:5.625cqi}.captured-count.svelte-tl5ff0{right:-.3125cqi;bottom:-.46875cqi;font-size:2.05cqi;-webkit-text-stroke:.23cqi #ffffff}.controls-center.svelte-tl5ff0{gap:2.5cqi}.pending-behavior-sigil.svelte-tl5ff0{width:5.625cqi;height:5.625cqi;filter:drop-shadow(0 .3125cqi .625cqi rgba(15,23,42,.25))}.controls-icons.svelte-tl5ff0{gap:3.125cqi}.controls-action-button.svelte-tl5ff0{min-width:max(32px,8.125cqi);height:max(32px,7.5cqi);padding:0 2.5cqi;border-radius:2.1875cqi;box-shadow:0 .15625cqi #fffffff2 inset,0 .625cqi 2.1875cqi #0f172a1f,0 .3125cqi .625cqi #0f172a14}.controls-action-button.svelte-tl5ff0:hover:not(:disabled){box-shadow:0 .15625cqi #fffffff2 inset,0 .9375cqi 2.8125cqi #0f172a24,0 .3125cqi .9375cqi #0f172a1a}.controls-action-button.svelte-tl5ff0:active:not(:disabled){box-shadow:0 .15625cqi #ffffffb3 inset,0 .3125cqi 1.25cqi #0f172a1a,0 .15625cqi .3125cqi #0f172a14}.controls-offer-draw-button.svelte-tl5ff0{padding:0 2.1875cqi 0 1.875cqi}.controls-pending-offer.svelte-tl5ff0{gap:1.5625cqi}.controls-offer-pending-label.svelte-tl5ff0{font-size:max(.82rem,2.05cqi)}.controls-glyph.svelte-tl5ff0{font-size:max(1.2rem,3.6cqi)}.controls-resign-flag-icon.svelte-tl5ff0{width:max(1.2rem,3.6cqi);height:max(1.2rem,3.6cqi)}.controls-spinner.svelte-tl5ff0{width:3.125cqi;height:3.125cqi;border-width:.3125cqi}.controls-draw-response.svelte-tl5ff0{gap:1.5625cqi;height:max(32px,7.5cqi);padding:0 2.1875cqi 0 1.875cqi;border-radius:2.1875cqi;box-shadow:0 .15625cqi #fffffff2 inset,0 .625cqi 2.1875cqi #0f172a1f,0 .3125cqi .625cqi #0f172a14}.controls-mini.svelte-tl5ff0{width:max(22px,5cqi);height:max(22px,5cqi);font-size:max(.82rem,1.5625cqi)}.controls-draw-text.svelte-tl5ff0{font-size:max(.82rem,2.05cqi)}}.connect-shell.svelte-1vmdfq9{width:100%;display:flex;justify-content:center;align-items:center;padding:16px;box-sizing:border-box}.connect-card.svelte-1vmdfq9{width:min(420px,100%);padding:24px;border-radius:16px;background:linear-gradient(165deg,#1f2937,#111827 55%,#0f172a);color:#f3f4f6;box-shadow:0 24px 48px #00000059,inset 0 1px #ffffff0f;border:1px solid rgba(255,255,255,.08)}.connect-lead.svelte-1vmdfq9{margin:0 0 18px;font-size:.98rem;line-height:1.45;color:#cbd5f5}.field.svelte-1vmdfq9{display:flex;flex-direction:column;gap:8px}.field-label.svelte-1vmdfq9{font-size:.82rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:#94a3b8}.field-row.svelte-1vmdfq9{display:flex;gap:10px;align-items:stretch;flex-wrap:wrap}.game-id-input.svelte-1vmdfq9{flex:1;min-width:160px;padding:11px 14px;border-radius:10px;border:1px solid rgba(148,163,184,.35);background:#0f172ad9;color:#f8fafc;font-size:1rem;outline:none;transition:border-color .12s ease,box-shadow .12s ease}.game-id-input.svelte-1vmdfq9:focus-visible{border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf838}.game-id-input.svelte-1vmdfq9:disabled{opacity:.55;cursor:not-allowed}.connect-button.svelte-1vmdfq9{padding:11px 18px;border-radius:10px;border:none;cursor:pointer;font-weight:700;font-size:.95rem;letter-spacing:.02em;color:#0f172a;background:linear-gradient(135deg,#fbbf24,#f59e0b);box-shadow:0 12px 22px #f59e0b59,inset 0 1px #ffffff59;transition:transform 80ms ease,filter .12s ease,box-shadow .12s ease;white-space:nowrap}.connect-button.svelte-1vmdfq9:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px)}.connect-button.svelte-1vmdfq9:active:not(:disabled){transform:translateY(0);filter:brightness(.98)}.connect-button.svelte-1vmdfq9:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.error-text.svelte-1vmdfq9{margin:14px 0 0;padding:10px 12px;border-radius:8px;background:#f871711f;border:1px solid rgba(248,113,113,.35);color:#fecaca;font-size:.92rem;line-height:1.35}.waiting-row.svelte-1vmdfq9{display:flex;flex-direction:column;align-items:center;gap:12px;margin:14px 0 0}.waiting-text.svelte-1vmdfq9{margin:0;font-size:.92rem;color:#93c5fd;text-align:center}.waiting-cancel.svelte-1vmdfq9{padding:8px 16px;border-radius:10px;border:1px solid rgba(148,163,184,.45);cursor:pointer;font-weight:600;font-size:.88rem;letter-spacing:.02em;color:#e2e8f0;background:#0f172a99;transition:background .12s ease,border-color .12s ease}.waiting-cancel.svelte-1vmdfq9:hover{background:#1e293bd9;border-color:#94a3b8a6}.waiting-cancel.svelte-1vmdfq9:active{background:#0f172af2}.debug-panel.svelte-stkjnw{position:fixed;right:10px;bottom:10px;left:auto;width:max-content;max-width:min(100vw - 20px,100%);box-sizing:border-box;z-index:40;overflow:hidden;border:1px solid rgba(148,163,184,.35);border-radius:12px;background:#020617e0;color:#e5e7eb;box-shadow:0 16px 36px #00000061;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.68rem}.debug-panel-expanded.svelte-stkjnw{left:10px;right:10px;width:auto;max-width:none}.debug-header.svelte-stkjnw{display:flex;align-items:center;gap:6px;padding:5px 8px;color:#93c5fd;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.debug-chevron.svelte-stkjnw{border:0;background:none;padding:2px;cursor:pointer;color:#93c5fd;display:flex;align-items:center;flex-shrink:0}.debug-chevron-icon.svelte-stkjnw{width:14px;height:14px;transition:transform .18s ease}.debug-chevron-open.svelte-stkjnw{transform:rotate(180deg)}.debug-panel-expanded.svelte-stkjnw .debug-header-actions:where(.svelte-stkjnw){margin-left:auto}.debug-header-actions.svelte-stkjnw{display:flex;align-items:center;gap:6px}.debug-copy.svelte-stkjnw{border:0;background:none;padding:2px;cursor:pointer;color:#93c5fd;display:flex;align-items:center}.debug-copy.svelte-stkjnw svg:where(.svelte-stkjnw){width:14px;height:14px}.debug-bug.svelte-stkjnw,.debug-icon-button.svelte-stkjnw{border:0;background:none;padding:2px;cursor:pointer;color:#93c5fd;display:flex;align-items:center;border-radius:4px}.debug-bug.svelte-stkjnw img:where(.svelte-stkjnw),.debug-icon-button.svelte-stkjnw img:where(.svelte-stkjnw){width:14px;height:14px;display:block}.debug-bug-active.svelte-stkjnw{color:#fbbf24;background:#fbbf241f}.debug-clear.svelte-stkjnw{border:0;border-radius:999px;padding:2px 8px;color:#0f172a;background:#93c5fd;cursor:pointer;font:inherit;font-weight:800}.debug-resize-handle.svelte-stkjnw{height:8px;width:100%;cursor:ns-resize;background:#94a3b82e;border-bottom:1px solid rgba(148,163,184,.18);touch-action:none;position:relative}.debug-resize-handle.svelte-stkjnw:after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:36px;height:2px;border-radius:999px;background:#93c5fd8c}.debug-resize-handle.svelte-stkjnw:hover,.debug-resize-handle-active.svelte-stkjnw{background:#94a3b852}.debug-lines.svelte-stkjnw{overflow:auto;padding:4px 8px 8px;border-top:1px solid rgba(148,163,184,.18)}.debug-lines.svelte-stkjnw p:where(.svelte-stkjnw){margin:2px 0;line-height:1.35;white-space:pre-wrap;overflow-wrap:anywhere}.backdrop[data-variant=confirm].svelte-y5rtng{position:fixed;top:0;right:0;bottom:0;left:0;z-index:55;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at 50% 40%,rgba(220,38,38,.14),transparent 32%),#020617bf;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.backdrop[data-variant=game-over].svelte-y5rtng{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at 50% 38%,rgba(251,191,36,.2),transparent 30%),#020617b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.shell[data-variant=confirm].svelte-y5rtng{width:min(400px,100%);padding:36px 28px 30px;border-radius:24px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(165deg,#1e293bfa,#0f172afa);box-shadow:0 28px 70px #00000073;color:#f8fafc;text-align:center}.shell[data-variant=game-over].svelte-y5rtng{position:relative;isolation:isolate;width:min(430px,100%);padding:44px 36px 36px;overflow:hidden;text-align:center;color:#f8fafc;border:1px solid rgba(255,255,255,.16);border-radius:28px;background:linear-gradient(160deg,#1e293bf5,#0f172afa),radial-gradient(circle at 50% 0%,rgba(251,191,36,.26),transparent 45%);box-shadow:0 36px 90px #00000080,inset 0 1px #ffffff24}.slot-clip[data-variant=game-over].svelte-y5rtng{overflow:visible;position:relative}.slot-clip.svelte-y5rtng .resign-title{margin:0 0 10px;font-size:clamp(1.35rem,5vw,1.85rem);font-weight:900;letter-spacing:-.02em}.slot-clip.svelte-y5rtng .resign-copy{margin:0 0 26px;color:#e2e8f0e0;font-size:.95rem;line-height:1.45}.slot-clip.svelte-y5rtng .resign-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.slot-clip.svelte-y5rtng .resign-cancel{min-width:118px;padding:12px 20px;border-radius:999px;border:1px solid rgba(148,163,184,.5);background:transparent;color:#e2e8f0;font-weight:800;cursor:pointer}.slot-clip.svelte-y5rtng .resign-yes{min-width:118px;padding:12px 20px;border-radius:999px;border:none;background:linear-gradient(135deg,#fca5a5,#dc2626);color:#0f172a;font-weight:900;cursor:pointer;box-shadow:0 12px 28px #dc262659}.slot-clip.svelte-y5rtng .winner-glow{position:absolute;inset:-90px 50px auto;z-index:-1;height:180px;border-radius:999px;background:#fbbf2470;filter:blur(42px)}.slot-clip.svelte-y5rtng .winner-eyebrow{margin:0 0 10px;font-size:.78rem;font-weight:800;letter-spacing:.18em;color:#fcd34d;text-transform:uppercase}.slot-clip.svelte-y5rtng .winner-title{margin:0 0 28px;font-size:clamp(2.5rem,8vw,4.4rem);line-height:.95;letter-spacing:-.06em;text-shadow:0 8px 24px rgba(0,0,0,.35)}.slot-clip.svelte-y5rtng .game-over-actions{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;align-items:center}.slot-clip.svelte-y5rtng .rematch-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:170px;padding:14px 28px;border:none;border-radius:999px;cursor:pointer;color:#111827;background:linear-gradient(135deg,#fde68a,#f59e0b);box-shadow:0 16px 30px #f59e0b59,inset 0 1px #ffffff8c;font-size:1rem;font-weight:900;letter-spacing:.03em;transition:transform .12s ease,filter .12s ease,box-shadow .12s ease}.slot-clip.svelte-y5rtng .rematch-button:disabled{cursor:not-allowed;opacity:.72;transform:none;filter:saturate(.85);box-shadow:0 10px 20px #0f172a33,inset 0 1px #ffffff59}.slot-clip.svelte-y5rtng .rematch-button:hover:not(:disabled){filter:brightness(1.05);transform:translateY(-2px);box-shadow:0 20px 36px #f59e0b6b,inset 0 1px #fff9}.slot-clip.svelte-y5rtng .rematch-button:active:not(:disabled){transform:translateY(0);filter:brightness(.98)}.slot-clip.svelte-y5rtng .exit-game-button{min-width:150px;padding:14px 24px;border-radius:999px;border:1px solid rgba(248,250,252,.35);background:#1e293b99;color:#f8fafc;font-size:1rem;font-weight:800;letter-spacing:.03em;cursor:pointer;transition:transform .12s ease,background .12s ease}.slot-clip.svelte-y5rtng .exit-game-button:hover{background:#334155bf;transform:translateY(-2px)}.slot-clip.svelte-y5rtng .button-spinner{width:17px;height:17px;border:2px solid rgba(17,24,39,.2);border-top-color:#111827;border-radius:50%;animation:svelte-y5rtng-modal-button-spin .65s linear infinite}@keyframes svelte-y5rtng-modal-button-spin{to{transform:rotate(360deg)}}.slot-clip.svelte-y5rtng .button-lead-icon{font-size:.95rem;font-weight:900;line-height:1}.main.svelte-1qosc7k{display:flex;flex-direction:column;align-items:stretch;width:100%;box-sizing:border-box;min-height:100vh;padding-bottom:132px;position:relative}.board-panel.svelte-1qosc7k{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;order:1}.board-stack.svelte-1qosc7k{container-type:inline-size;container-name:board-stack;width:var(--play-column-width);max-width:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;gap:10px}.connect-slot.svelte-1qosc7k{flex:1;display:flex;justify-content:center;align-items:center;width:100%}.connect-slot-rematch-handshake.svelte-1qosc7k{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0;flex:unset;pointer-events:none}.game-layout.svelte-1qosc7k{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;justify-items:center;justify-content:center;gap:16px;width:100%;box-sizing:border-box;container-type:inline-size;container-name:game-layout;--play-column-width: min(100cqw, 640px);--chess-board-top-inset: 0px}.cards-side-panel.svelte-1qosc7k{width:var(--play-column-width);max-width:100%;box-sizing:border-box;min-width:0}.last-turn-cards-panel.svelte-1qosc7k{order:2}.hand-cards-panel.svelte-1qosc7k{order:3}@keyframes svelte-1qosc7k-transport-pulse-soft{0%{opacity:.7;box-shadow:0 0 #fbbf2499,0 10px 30px #02061773;transform:scale(1)}50%{opacity:1;box-shadow:0 0 0 10px #fbbf2400,0 14px 40px #02061780;transform:scale(1.05)}to{opacity:.7;box-shadow:0 0 #fbbf2400,0 10px 30px #02061773;transform:scale(1)}}.transport-recover-chip.svelte-1qosc7k{position:fixed;top:calc(14px + env(safe-area-inset-top));left:50%;transform:translate(-50%);z-index:35;display:flex;align-items:center;gap:12px;padding:12px 22px 12px 18px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:linear-gradient(155deg,#38bdf840,#0f172aeb 40%,#fbbf2429);box-shadow:0 20px 50px #0006,inset 0 1px #ffffff2e;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);pointer-events:none;width:max-content;max-width:min(420px,calc(100% - 32px))}.transport-recover-lines.svelte-1qosc7k{display:flex;flex-direction:column;gap:2px;min-width:0}.transport-recover-strong.svelte-1qosc7k{font-weight:900;font-size:.95rem;letter-spacing:.015em;color:#f8fafc;text-shadow:0 2px 8px rgba(0,0,0,.25);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.transport-recover-soft.svelte-1qosc7k{font-size:.72rem;font-weight:600;letter-spacing:.035em;text-transform:uppercase;color:#e2e8f0c7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.transport-recover-pulse-dot.svelte-1qosc7k{flex-shrink:0;width:13px;height:13px;border-radius:50%;background:radial-gradient(circle at 36% 32%,#fde68a,#fb923ceb);animation:svelte-1qosc7k-transport-pulse-soft 1.5s ease-in-out infinite}@media(max-width:900px){.board-panel.svelte-1qosc7k{width:100%;justify-content:center}}@media(min-width:1120px){.game-layout.svelte-1qosc7k{grid-template-columns:minmax(0,1fr) var(--play-column-width) minmax(0,1fr);align-items:start;justify-items:stretch;justify-content:stretch;gap:12px;--play-column-width: min(640px, 42vw)}.board-panel.svelte-1qosc7k{grid-column:2;order:0;justify-content:flex-start}.last-turn-cards-panel.svelte-1qosc7k{grid-column:1;order:0;width:100%;max-width:none;justify-self:stretch;margin-top:var(--chess-board-top-inset)}.hand-cards-panel.svelte-1qosc7k{grid-column:3;order:0;width:100%;max-width:none;justify-self:stretch;margin-top:var(--chess-board-top-inset)}}
