*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;color:var(--text-color, #333);background-color:var(--bg-color, #fff)}button{font-family:inherit;font-size:inherit;line-height:inherit;cursor:pointer;border:none;background:none}img,svg{display:block;max-width:100%}*:focus-visible{outline:2px solid var(--focus-color, #0066ff);outline-offset:2px}:root[data-theme=classic]{--light-square: #f0d9b5;--dark-square: #b58863;--light-piece: #ffffff;--dark-piece: #000000;--highlight: rgba(255, 255, 0, .4);--check: #ff0000;--last-move: rgba(181, 136, 99, .4);--legal-move: rgba(0, 128, 0, .5);--glass-opacity: .05;--glass-blur: 5px;--shadow-intensity: .3}:root[data-theme=classic-dark]{--light-square: #8b7355;--dark-square: #3d2817;--light-piece: #f5f5dc;--dark-piece: #1a1a1a;--highlight: rgba(255, 215, 0, .35);--check: #ff4444;--last-move: rgba(139, 115, 85, .45);--legal-move: rgba(144, 238, 144, .5);--glass-opacity: .08;--glass-blur: 6px;--shadow-intensity: .4}:root[data-theme=neon-nights]{--light-square: #1a1a2e;--dark-square: #0f0f1e;--light-piece: #00d9ff;--dark-piece: #b721ff;--highlight: rgba(0, 217, 255, .4);--check: #ff0055;--last-move: rgba(183, 33, 255, .3);--legal-move: rgba(0, 217, 255, .6);--glass-opacity: .15;--glass-blur: 20px;--shadow-intensity: .8}:root[data-theme=sunset-gradient]{--light-square: #ff9068;--dark-square: #ff6b9d;--light-piece: #ffd700;--dark-piece: #ff4500;--highlight: rgba(255, 215, 0, .5);--check: #ff0040;--last-move: rgba(255, 107, 157, .4);--legal-move: rgba(255, 215, 0, .7);--glass-opacity: .2;--glass-blur: 15px;--shadow-intensity: .6}:root[data-theme=cyber-matrix]{--light-square: #1a1a1a;--dark-square: #0a0a0a;--light-piece: #00ff41;--dark-piece: #00cc33;--highlight: rgba(0, 255, 65, .3);--check: #ff0033;--last-move: rgba(0, 204, 51, .25);--legal-move: rgba(0, 255, 65, .6);--glass-opacity: .1;--glass-blur: 25px;--shadow-intensity: .9}:root[data-theme=ocean-depths]{--light-square: #1e3a5f;--dark-square: #0d1f36;--light-piece: #00ffff;--dark-piece: #0dcbdb;--highlight: rgba(0, 255, 255, .35);--check: #ff6b35;--last-move: rgba(13, 203, 219, .3);--legal-move: rgba(0, 255, 255, .65);--glass-opacity: .18;--glass-blur: 18px;--shadow-intensity: .7}:root[data-theme=royal-amethyst]{--light-square: #7c3aed;--dark-square: #4c1d95;--light-piece: #fbbf24;--dark-piece: #f59e0b;--highlight: rgba(251, 191, 36, .4);--check: #dc2626;--last-move: rgba(124, 58, 237, .35);--legal-move: rgba(251, 191, 36, .7);--glass-opacity: .22;--glass-blur: 16px;--shadow-intensity: .75}:root{--light-square: #f0d9b5;--dark-square: #b58863;--light-piece: #ffffff;--dark-piece: #000000;--highlight: rgba(255, 255, 0, .4);--check: #ff0000;--last-move: rgba(181, 136, 99, .4);--legal-move: rgba(0, 128, 0, .5);--glass-opacity: .05;--glass-blur: 5px;--shadow-intensity: .3}*{transition:background-color .3s ease,color .3s ease,border-color .3s ease}.glass-effect{background:rgba(255,255,255,var(--glass-opacity));backdrop-filter:blur(var(--glass-blur));-webkit-backdrop-filter:blur(var(--glass-blur));box-shadow:0 8px 32px rgba(0,0,0,var(--shadow-intensity));border:1px solid rgba(255,255,255,.18)}.glass-dark{background:rgba(0,0,0,var(--glass-opacity));backdrop-filter:blur(var(--glass-blur));-webkit-backdrop-filter:blur(var(--glass-blur));box-shadow:0 8px 32px rgba(0,0,0,var(--shadow-intensity));border:1px solid rgba(255,255,255,.1)}.light-square{background-color:var(--light-square)}.dark-square{background-color:var(--dark-square)}.highlight{background-color:var(--highlight)}.check-glow{box-shadow:0 0 20px var(--check);background-color:var(--check);opacity:.3}.last-move-highlight{background-color:var(--last-move)}:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:dark;color:#ffffffde;background:linear-gradient(135deg,#0f0f1e,#1a1a2e);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(135deg,#0f0f1e,#1a1a2e);background-attachment:fixed}#root{width:100%;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}._errorContainer_2nevm_5{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem;background:linear-gradient(135deg,#0f0f1e,#1a1a2e);color:#fff}._errorCard_2nevm_15{max-width:600px;width:100%;background:#ffffff0d;backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:3rem;text-align:center;box-shadow:0 8px 32px #0000004d}._errorIcon_2nevm_27{display:inline-flex;align-items:center;justify-content:center;width:96px;height:96px;margin-bottom:1.5rem;border-radius:50%;background:#ff6b6b1a;color:#ff6b6b}._errorTitle_2nevm_39{margin:0 0 1rem;font-size:1.75rem;font-weight:700}._errorMessage_2nevm_45{margin:0 0 2rem;font-size:1rem;line-height:1.6;opacity:.9}._errorDetails_2nevm_52{margin:2rem 0;text-align:left;background:#0000004d;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:1rem}._errorDetails_2nevm_52 summary{cursor:pointer;font-weight:600;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:.5rem}._errorDetails_2nevm_52 summary:hover{opacity:.8}._errorStack_2nevm_72{margin-top:1rem;padding:1rem;background:#0000004d;border-radius:4px;font-family:Courier New,monospace;font-size:.875rem;overflow-x:auto}._errorStack_2nevm_72 strong{display:block;margin-bottom:.5rem;color:#ff6b6b}._errorStack_2nevm_72 pre{margin:0;white-space:pre-wrap;word-break:break-word;font-size:.8rem;opacity:.8}._errorActions_2nevm_96{display:flex;gap:1rem;justify-content:center;margin-bottom:1.5rem}._primaryButton_2nevm_103,._secondaryButton_2nevm_104{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.875rem 1.5rem;border:none;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;text-transform:uppercase;letter-spacing:.05em}._primaryButton_2nevm_103{background:linear-gradient(135deg,#ff6b6b,#ee5a6f);color:#fff}._primaryButton_2nevm_103:hover{box-shadow:0 4px 16px #ff6b6b66;transform:translateY(-2px)}._secondaryButton_2nevm_104{background:#ffffff26;color:#fff;border:1px solid rgba(255,255,255,.3)}._secondaryButton_2nevm_104:hover{background:#ffffff40;border-color:#fff6;transform:translateY(-2px)}._primaryButton_2nevm_103:focus,._secondaryButton_2nevm_104:focus{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}._primaryButton_2nevm_103:active,._secondaryButton_2nevm_104:active{transform:translateY(0)}._errorHint_2nevm_153{margin:0;font-size:.875rem;opacity:.7;font-style:italic}@media(max-width:768px){._errorCard_2nevm_15{padding:2rem 1.5rem}._errorTitle_2nevm_39{font-size:1.5rem}._errorMessage_2nevm_45{font-size:.95rem}._errorActions_2nevm_96{flex-direction:column}._primaryButton_2nevm_103,._secondaryButton_2nevm_104{width:100%}}._piece_1pruu_5{display:block;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:transform .3s ease,filter .2s ease;filter:drop-shadow(0 0 1px rgba(0,0,0,.5)) drop-shadow(0 0 2px rgba(0,0,0,.3))}._piece_1pruu_5 path,._piece_1pruu_5 circle,._piece_1pruu_5 rect{transition:fill .2s ease,stroke .2s ease}._rotated_1pruu_21{transform:rotate(180deg);filter:drop-shadow(0 0 1px white) drop-shadow(0 0 2px white)}._legalMove_r8t0w_5{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%;background-color:var(--legal-move);pointer-events:none}._emptySquare_r8t0w_15{width:25%;height:25%}._capture_r8t0w_20{width:90%;height:90%;background-color:transparent;border:3px solid var(--legal-move)}._square_1yux6_5{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}._light_1yux6_16{background-color:var(--light-square)}._dark_1yux6_20{background-color:var(--dark-square)}._selected_1yux6_24{background-color:var(--highlight)!important}._lastMove_1yux6_28{background-color:var(--last-move)!important}._check_1yux6_32{background-color:var(--check)!important}._dragOver_1yux6_36{background-color:#667eea66!important;box-shadow:inset 0 0 0 3px #667eea99}._piece_1yux6_41{width:85%;height:85%;display:flex;align-items:center;justify-content:center;cursor:grab}._piece_1yux6_41:active{cursor:grabbing}._backdrop_13iqt_1{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;background:#000c;backdrop-filter:blur(8px);animation:_fadeIn_13iqt_1 .2s ease-out}@keyframes _fadeIn_13iqt_1{0%{opacity:0}to{opacity:1}}._dialog_13iqt_24{background:#0f0f1ef2;backdrop-filter:blur(20px);border:2px solid rgba(255,255,255,.3);border-radius:16px;padding:2rem;max-width:400px;width:90%;animation:_slideUp_13iqt_1 .3s ease-out}@keyframes _slideUp_13iqt_1{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}._title_13iqt_47{margin:0 0 1.5rem;text-align:center;font-size:1.5rem;color:#fff}._pieces_13iqt_54{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:1.5rem}._pieceButton_13iqt_61{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1rem;background:#ffffff1a;border:2px solid rgba(255,255,255,.2);border-radius:12px;cursor:pointer;transition:all .2s ease}._pieceButton_13iqt_61:hover{background:#fff3;border-color:#fff6;transform:scale(1.05)}._pieceButton_13iqt_61:active{transform:scale(.95)}._pieceLabel_13iqt_86{color:#fff;font-weight:600;font-size:.875rem}._cancelButton_13iqt_92{width:100%;padding:.75rem;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:8px;color:#fff;font-weight:600;cursor:pointer;transition:all .2s ease}._cancelButton_13iqt_92:hover{background:#ffffff26}@media(max-width:768px){._dialog_13iqt_24{padding:1.5rem}._pieces_13iqt_54{gap:.75rem}._pieceButton_13iqt_61{padding:.75rem}}._board_ncb0m_5{display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr);width:min(90vw,90vh);height:min(90vw,90vh);max-width:600px;max-height:600px;margin:0 auto;border:2px solid var(--dark-square);box-shadow:0 4px 20px #0000004d}@media(min-width:1024px){._board_ncb0m_5{max-width:650px;max-height:650px}}@media(min-width:1600px){._board_ncb0m_5{max-width:700px;max-height:700px}}@media(min-width:1920px){._board_ncb0m_5{max-width:750px;max-height:750px}}._coordinates_ncb0m_42{position:relative;aspect-ratio:1/1;width:100%;height:100%}._rank_ncb0m_49,._file_ncb0m_50{position:absolute;font-size:.7rem;font-weight:600;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._rank_ncb0m_49{left:4px;top:4px}._file_ncb0m_50{right:4px;bottom:4px}._lightSquare_ncb0m_68{color:var(--dark-square)}._darkSquare_ncb0m_72{color:var(--light-square)}[data-fullscreen=true] ._board_ncb0m_5{width:min(100vw,100vh - 20rem);height:min(100vw,100vh - 20rem);max-width:none;max-height:none;margin:0}@media(max-width:768px){[data-fullscreen=true] ._board_ncb0m_5{width:100vw;height:100vw;max-width:100vw;max-height:calc(100vh - 15rem)}}._timer_8nwcq_5{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1rem 1.5rem;min-width:120px;border-radius:12px;transition:all .3s ease;background:rgba(255,255,255,calc(var(--glass-opacity, .1) * 1.5));backdrop-filter:blur(calc(var(--glass-blur, 10px) * 1.5));border:1px solid rgba(255,255,255,.2);box-shadow:0 4px 12px #0000001a;opacity:.6}._timer_8nwcq_5._active_8nwcq_25{opacity:1;border-color:#fff6;box-shadow:0 6px 16px #00000026}._label_8nwcq_31{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.25rem;opacity:.8}._time_8nwcq_5{font-family:Courier New,monospace;font-size:2rem;font-weight:700;line-height:1;letter-spacing:.05em}._timer_8nwcq_5._warning_8nwcq_50{background:#ffc80033;border-color:#ffc80066}._timer_8nwcq_5._warning_8nwcq_50 ._time_8nwcq_5{color:#ffc800}._timer_8nwcq_5._warning_8nwcq_50._active_8nwcq_25{animation:_pulse-warning_8nwcq_1 1s ease-in-out infinite}._timer_8nwcq_5._critical_8nwcq_64{background:#f003;border-color:#ff000080}._timer_8nwcq_5._critical_8nwcq_64 ._time_8nwcq_5{color:red}._timer_8nwcq_5._critical_8nwcq_64._active_8nwcq_25{animation:_pulse-critical_8nwcq_1 .5s ease-in-out infinite}@keyframes _pulse-warning_8nwcq_1{0%,to{box-shadow:0 6px 16px #ffc80033;border-color:#ffc80066}50%{box-shadow:0 8px 24px #ffc80066;border-color:#ffc80099}}@keyframes _pulse-critical_8nwcq_1{0%,to{box-shadow:0 6px 16px #ff00004d;border-color:#ff000080}50%{box-shadow:0 8px 24px #f009;border-color:#f00c}}@media(max-width:768px){._timer_8nwcq_5{padding:.75rem 1rem;min-width:100px}._time_8nwcq_5{font-size:1.5rem}._label_8nwcq_31{font-size:.65rem}}[data-fullscreen=true] ._timer_8nwcq_5{padding:.5rem 1rem;min-width:100px}@media(max-width:768px){[data-fullscreen=true] ._timer_8nwcq_5{padding:.5rem .75rem;min-width:80px}[data-fullscreen=true] ._time_8nwcq_5{font-size:1.25rem}[data-fullscreen=true] ._label_8nwcq_31{font-size:.6rem}}._chessClock_1h55k_5{display:flex;flex-direction:column;gap:1.5rem;padding:1.5rem;border-radius:16px;max-width:400px;margin:0 auto;background:rgba(255,255,255,calc(var(--glass-opacity, .1) * 2));backdrop-filter:blur(calc(var(--glass-blur, 10px) * 2));border:1px solid rgba(255,255,255,.25);box-shadow:0 8px 32px #0000001f}._clockHeader_1h55k_21{display:flex;justify-content:space-between;align-items:center;padding-bottom:.5rem;border-bottom:1px solid rgba(255,255,255,.2)}._title_1h55k_29{font-size:1.25rem;font-weight:700;margin:0}._increment_1h55k_35{font-size:.875rem;font-weight:600;color:#fffc;background:#ffffff1a;padding:.25rem .75rem;border-radius:12px}._timersContainer_1h55k_44{display:flex;flex-direction:column;gap:1rem}._timerWrapper_1h55k_50{display:flex;justify-content:center}._controls_1h55k_55{display:flex;gap:.75rem;justify-content:center;padding-top:.5rem;border-top:1px solid rgba(255,255,255,.2)}._button_1h55k_63{padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;text-transform:uppercase;letter-spacing:.05em}._button_1h55k_63:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0003}._button_1h55k_63:active{transform:translateY(0)}._button_1h55k_63:disabled{opacity:.5;cursor:not-allowed;transform:none}._button_1h55k_63._primary_1h55k_90{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}._button_1h55k_63._primary_1h55k_90:hover{box-shadow:0 4px 12px #667eea66}._button_1h55k_63._secondary_1h55k_99{background:#ffffff26;color:#fff;border:1px solid rgba(255,255,255,.3)}._button_1h55k_63._secondary_1h55k_99:hover{background:#ffffff40;border-color:#fff6}@media(max-width:768px){._chessClock_1h55k_5{display:contents}._clockHeader_1h55k_21{display:none}._timersContainer_1h55k_44{display:contents;width:100%}._timerWrapper_1h55k_50{width:100%}._timerWrapper_1h55k_50:first-child{grid-row:1;margin-bottom:.5rem}._timerWrapper_1h55k_50:last-child{grid-row:3;margin-top:.5rem}._controls_1h55k_55{grid-row:4;flex-direction:row;justify-content:center;padding:.75rem 0 0;gap:.5rem;border-top:none;margin-top:0}._button_1h55k_63{padding:.5rem 1rem;font-size:.75rem;flex:1;max-width:120px}}[data-fullscreen=true] ._chessClock_1h55k_5{padding:.75rem;gap:.75rem;max-width:none;width:100%;background:#ffffff0d;border:none;box-shadow:none}[data-fullscreen=true] ._clockHeader_1h55k_21{padding-bottom:.25rem}[data-fullscreen=true] ._timersContainer_1h55k_44{gap:.5rem}@media(max-width:768px){[data-fullscreen=true] ._timerWrapper_1h55k_50:first-child{margin-bottom:0}[data-fullscreen=true] ._timerWrapper_1h55k_50:last-child{margin-top:0}[data-fullscreen=true] ._controls_1h55k_55{padding-top:.5rem}}._backdrop_2wxd5_5{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem;background:#0009;backdrop-filter:blur(8px);animation:_fadeIn_2wxd5_1 .2s ease-out}@keyframes _fadeIn_2wxd5_1{0%{opacity:0}to{opacity:1}}._modal_2wxd5_34{position:relative;max-width:600px;max-height:90vh;width:100%;display:flex;flex-direction:column;border-radius:16px;overflow:hidden;background:rgba(255,255,255,calc(var(--glass-opacity, .1) * 3));backdrop-filter:blur(calc(var(--glass-blur, 10px) * 3));border:1px solid rgba(255,255,255,.3);box-shadow:0 20px 60px #0000004d;animation:_slideUp_2wxd5_1 .3s ease-out}@keyframes _slideUp_2wxd5_1{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}._header_2wxd5_65{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid rgba(255,255,255,.2)}._title_2wxd5_73{margin:0;font-size:1.5rem;font-weight:700}._closeButton_2wxd5_79{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:none;background:#ffffff1a;border-radius:8px;cursor:pointer;transition:all .2s ease;color:currentColor}._closeButton_2wxd5_79:hover{background:#fff3;transform:scale(1.1)}._closeButton_2wxd5_79:focus{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}._closeButton_2wxd5_79:active{transform:scale(.95)}._content_2wxd5_108{flex:1;padding:1.5rem;overflow-y:auto}._content_2wxd5_108::-webkit-scrollbar{width:8px}._content_2wxd5_108::-webkit-scrollbar-track{background:#ffffff0d;border-radius:4px}._content_2wxd5_108::-webkit-scrollbar-thumb{background:#fff3;border-radius:4px}._content_2wxd5_108::-webkit-scrollbar-thumb:hover{background:#ffffff4d}@media(max-width:768px){._backdrop_2wxd5_5{padding:0}._modal_2wxd5_34{max-height:100vh;border-radius:0;animation:_slideUpMobile_2wxd5_1 .3s ease-out}@keyframes _slideUpMobile_2wxd5_1{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}._header_2wxd5_65,._content_2wxd5_108{padding:1rem}._title_2wxd5_73{font-size:1.25rem}}._gameEndModal_fmmup_5{position:relative;display:flex;flex-direction:column;gap:2rem;min-height:200px}._result_fmmup_13{text-align:center;padding:2rem 0}._message_fmmup_18{font-size:2rem;font-weight:700;margin:0;line-height:1.2}._actions_fmmup_25{display:flex;flex-direction:column;gap:.75rem}._button_fmmup_31{width:100%;padding:1rem 1.5rem;border:none;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;text-transform:uppercase;letter-spacing:.05em;display:flex;align-items:center;justify-content:center;gap:.5rem}._button_fmmup_31:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0003}._button_fmmup_31:active{transform:translateY(0)}._button_fmmup_31:focus{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}._button_fmmup_31._primary_fmmup_62{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:1rem;padding:1.25rem 1.5rem}._button_fmmup_31._primary_fmmup_62:hover{box-shadow:0 4px 16px #667eea66}._button_fmmup_31._secondary_fmmup_73{background:#ffffff26;color:#fff;border:1px solid rgba(255,255,255,.3)}._button_fmmup_31._secondary_fmmup_73:hover{background:#ffffff40;border-color:#fff6}._shortcut_fmmup_84{font-size:.75rem;opacity:.7;font-weight:400}._confetti_fmmup_91{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:1}._confetti_fmmup_91:before,._confetti_fmmup_91:after{content:"";position:absolute;width:10px;height:10px;background:linear-gradient(135deg,gold,#ff6b6b,#4ecdc4,#45b7d1,#f06292);animation:_confettiFall_fmmup_1 4s ease-out infinite}._confetti_fmmup_91:before{left:20%;animation-delay:0s}._confetti_fmmup_91:after{left:80%;animation-delay:.5s}@keyframes _confettiFall_fmmup_1{0%{top:-10%;opacity:1;transform:translate(0) rotate(0)}to{top:110%;opacity:0;transform:translate(100px) rotate(720deg)}}._confetti_fmmup_91:before{box-shadow:40px 40px gold,80px 10px #ff6b6b,120px 60px #4ecdc4,160px 30px #45b7d1,200px 70px #f06292,-40px 50px gold,-80px 20px #ff6b6b,-120px 80px #4ecdc4}._confetti_fmmup_91:after{box-shadow:-30px 30px gold,-60px 60px #ff6b6b,-90px 15px #4ecdc4,-120px 45px #45b7d1,30px 50px #f06292,60px 25px gold,90px 65px #ff6b6b,120px 35px #4ecdc4}@media(max-width:768px){._message_fmmup_18{font-size:1.5rem}._button_fmmup_31{padding:.875rem 1rem}._button_fmmup_31._primary_fmmup_62{padding:1rem}._shortcut_fmmup_84{display:none}}._themeSelector_wdhy8_5{width:100%}._title_wdhy8_9{font-size:1.25rem;font-weight:700;margin:0 0 .5rem}._description_wdhy8_15{font-size:.875rem;opacity:.8;margin:0 0 1.5rem}._themesGrid_wdhy8_21{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}@media(min-width:640px){._themesGrid_wdhy8_21{grid-template-columns:repeat(3,1fr)}}@media(min-width:1024px){._themesGrid_wdhy8_21{grid-template-columns:repeat(4,1fr)}}._themeCard_wdhy8_41{position:relative;display:flex;flex-direction:column;gap:.75rem;padding:1rem;border:2px solid rgba(255,255,255,.2);border-radius:12px;background:#ffffff0d;cursor:pointer;transition:all .3s ease;text-align:left}._themeCard_wdhy8_41:hover{background:#ffffff1a;border-color:#ffffff4d;transform:translateY(-4px);box-shadow:0 8px 20px #0003}._themeCard_wdhy8_41:focus{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}._themeCard_wdhy8_41._selected_wdhy8_67{border-color:#667eeacc;background:#667eea26;box-shadow:0 4px 16px #667eea4d}._themeCard_wdhy8_41._selected_wdhy8_67:hover{border-color:#667eea;background:#667eea33}._checkmark_wdhy8_78{position:absolute;top:.5rem;right:.5rem;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;color:#fff;z-index:1}._previewBoard_wdhy8_93{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr);aspect-ratio:1;border-radius:8px;overflow:hidden;border:2px solid rgba(0,0,0,.2);transition:border-color .3s ease}._themeCard_wdhy8_41:hover ._previewBoard_wdhy8_93{border-color:#0000004d}._previewSquare_wdhy8_108{width:100%;height:100%;transition:background-color .3s ease}._themeInfo_wdhy8_114{display:flex;flex-direction:column;gap:.25rem}._themeName_wdhy8_120{font-size:.875rem;font-weight:700;margin:0;line-height:1.2}._themeDescription_wdhy8_127{font-size:.75rem;opacity:.7;margin:0;line-height:1.3}@media(max-width:640px){._themesGrid_wdhy8_21{gap:.75rem}._themeCard_wdhy8_41{padding:.75rem;gap:.5rem}._title_wdhy8_9{font-size:1.1rem}._description_wdhy8_15,._themeName_wdhy8_120{font-size:.8rem}._themeDescription_wdhy8_127{font-size:.7rem}._checkmark_wdhy8_78{width:24px;height:24px;top:.375rem;right:.375rem}._checkmark_wdhy8_78 svg{width:16px;height:16px}}._button_j6oze_5{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;text-transform:uppercase;letter-spacing:.05em;font-family:inherit;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none}._button_j6oze_5:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}._button_j6oze_5:focus{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}._button_j6oze_5:active{transform:scale(.98)}._button_j6oze_5:after{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#ffffff4d;transform:translate(-50%,-50%);transition:width .6s,height .6s}._button_j6oze_5:active:after{width:200px;height:200px}._button_j6oze_5._primary_j6oze_58{background:#00d9ff;color:#0f0f1e}._button_j6oze_5._primary_j6oze_58:hover:not(:disabled){background:#00f0ff;box-shadow:0 4px 16px #00d9ff80;transform:translateY(-2px)}._button_j6oze_5._secondary_j6oze_69{background:#ffffff26;color:#fff;border:1px solid rgba(255,255,255,.3)}._button_j6oze_5._secondary_j6oze_69:hover:not(:disabled){background:#ffffff40;border-color:#fff6;transform:translateY(-2px);box-shadow:0 4px 12px #0003}._button_j6oze_5._danger_j6oze_82{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff}._button_j6oze_5._danger_j6oze_82:hover:not(:disabled){box-shadow:0 4px 16px #f5576c66;transform:translateY(-2px)}._button_j6oze_5._sm_j6oze_93{padding:.5rem 1rem;font-size:.75rem}._button_j6oze_5._md_j6oze_98{padding:.75rem 1.5rem;font-size:.875rem}._button_j6oze_5._lg_j6oze_103{padding:1rem 2rem;font-size:1rem}._button_j6oze_5._loading_j6oze_109{position:relative}._spinnerWrapper_j6oze_113{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center}._spinner_j6oze_113{animation:_spin_j6oze_113 1s linear infinite}@keyframes _spin_j6oze_113{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._contentHidden_j6oze_136{opacity:0}@media(max-width:768px){._button_j6oze_5._sm_j6oze_93{padding:.5rem .875rem;font-size:.7rem}._button_j6oze_5._md_j6oze_98{padding:.625rem 1.25rem;font-size:.8rem}._button_j6oze_5._lg_j6oze_103{padding:.875rem 1.75rem;font-size:.9rem}}._backdrop_ut38c_5{position:fixed;inset:0;z-index:999;background:#0009;backdrop-filter:blur(8px);animation:_fadeIn_ut38c_1 .3s ease-out}@keyframes _fadeIn_ut38c_1{0%{opacity:0}to{opacity:1}}._drawer_ut38c_26{position:fixed;top:0;right:0;bottom:0;width:90%;max-width:500px;z-index:1000;display:flex;flex-direction:column;background:#0f0f1ef2;backdrop-filter:blur(20px);border-left:1px solid rgba(255,255,255,.2);box-shadow:-4px 0 24px #0000004d;animation:_slideInRight_ut38c_1 .3s ease-out}@keyframes _slideInRight_ut38c_1{0%{transform:translate(100%)}to{transform:translate(0)}}._header_ut38c_52{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid rgba(255,255,255,.2)}._title_ut38c_60{margin:0;font-size:1.5rem;font-weight:700}._closeButton_ut38c_66{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:none;background:#ffffff1a;border-radius:8px;cursor:pointer;transition:all .2s ease;color:currentColor}._closeButton_ut38c_66:hover{background:#fff3;transform:scale(1.1)}._closeButton_ut38c_66:focus{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}._content_ut38c_91{flex:1;overflow-y:auto;padding:1.5rem;display:flex;flex-direction:column;gap:2rem}._content_ut38c_91::-webkit-scrollbar{width:8px}._content_ut38c_91::-webkit-scrollbar-track{background:#ffffff0d;border-radius:4px}._content_ut38c_91::-webkit-scrollbar-thumb{background:#fff3;border-radius:4px}._content_ut38c_91::-webkit-scrollbar-thumb:hover{background:#ffffff4d}._section_ut38c_119{display:flex;flex-direction:column;gap:1rem}._sectionTitle_ut38c_125{margin:0;font-size:1.1rem;font-weight:700}._presetsGrid_ut38c_132{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}._presetButton_ut38c_138{padding:.875rem;border:2px solid rgba(255,255,255,.2);border-radius:8px;background:#ffffff0d;color:#fff;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}._presetButton_ut38c_138:hover{background:#ffffff1a;border-color:#ffffff4d;transform:translateY(-2px)}._presetButton_ut38c_138._active_ut38c_156{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eeacc}._presetButton_ut38c_138:focus{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}._customTime_ut38c_167{display:flex;flex-direction:column;gap:.5rem}._label_ut38c_173{font-size:.875rem;font-weight:600;opacity:.8}._customInputs_ut38c_179{display:flex;align-items:center;gap:.5rem}._input_ut38c_185{flex:1;padding:.75rem;border:2px solid rgba(255,255,255,.2);border-radius:8px;background:#ffffff0d;color:#fff;font-size:.875rem;font-family:inherit}._input_ut38c_185:focus{outline:none;border-color:#667eeacc;background:#ffffff1a}._input_ut38c_185::-moz-placeholder{color:#fff6}._input_ut38c_185::placeholder{color:#fff6}._toggleRow_ut38c_207{display:flex;justify-content:space-between;align-items:center;gap:1rem}._toggleDescription_ut38c_214{margin:.25rem 0 0;font-size:.875rem;opacity:.7}._toggle_ut38c_207{position:relative;width:56px;height:32px;padding:0;border:none;border-radius:16px;background:#fff3;cursor:pointer;transition:background-color .3s ease;flex-shrink:0}._toggle_ut38c_207:focus{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}._toggle_ut38c_207._toggleOn_ut38c_239{background:linear-gradient(135deg,#667eea,#764ba2)}._toggleSlider_ut38c_243{position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:12px;background:#fff;transition:transform .3s ease}._toggle_ut38c_207._toggleOn_ut38c_239 ._toggleSlider_ut38c_243{transform:translate(24px)}@media(max-width:768px){._drawer_ut38c_26{inset:auto 0 0;width:100%;max-width:none;max-height:85vh;border-left:none;border-top:1px solid rgba(255,255,255,.2);border-radius:16px 16px 0 0;animation:_slideInBottom_ut38c_1 .3s ease-out}@keyframes _slideInBottom_ut38c_1{0%{transform:translateY(100%)}to{transform:translateY(0)}}._header_ut38c_52,._content_ut38c_91{padding:1rem}._title_ut38c_60{font-size:1.25rem}._presetsGrid_ut38c_132{grid-template-columns:1fr}}._tutorial_4cg5o_5{display:flex;flex-direction:column;gap:2rem;padding:1rem 0;min-height:300px}._stepIndicator_4cg5o_14{display:flex;justify-content:center;gap:.5rem}._stepDot_4cg5o_20{width:10px;height:10px;border-radius:50%;background:#fff3;transition:all .3s ease}._stepDot_4cg5o_20._active_4cg5o_28{background:linear-gradient(135deg,#667eea,#764ba2);transform:scale(1.2)}._stepDot_4cg5o_20._completed_4cg5o_33{background:#667eea80}._stepContent_4cg5o_38{text-align:center;padding:1rem 0;animation:_fadeIn_4cg5o_1 .5s ease-out}@keyframes _fadeIn_4cg5o_1{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}._stepIcon_4cg5o_55{font-size:4rem;margin-bottom:1rem;animation:_bounceIn_4cg5o_1 .6s ease-out}@keyframes _bounceIn_4cg5o_1{0%{transform:scale(0)}50%{transform:scale(1.1)}to{transform:scale(1)}}._stepTitle_4cg5o_73{margin:0 0 1rem;font-size:1.5rem;font-weight:700}._stepDescription_4cg5o_79{font-size:1rem;line-height:1.6;opacity:.9;max-width:500px;margin:0 auto}._navigation_4cg5o_89{display:flex;justify-content:space-between;gap:1rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1)}._navLeft_4cg5o_97,._navRight_4cg5o_98{display:flex;gap:.75rem}._navLeft_4cg5o_97{flex:1}._navRight_4cg5o_98{flex:1;justify-content:flex-end}._checkbox_4cg5o_113{display:flex;align-items:center;gap:.5rem;justify-content:center;font-size:.875rem;opacity:.8;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}._checkbox_4cg5o_113 input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#667eea}._checkbox_4cg5o_113:hover{opacity:1}@media(max-width:768px){._tutorial_4cg5o_5{gap:1.5rem}._stepIcon_4cg5o_55{font-size:3rem}._stepTitle_4cg5o_73{font-size:1.25rem}._stepDescription_4cg5o_79{font-size:.95rem}._navigation_4cg5o_89{flex-direction:column}._navLeft_4cg5o_97,._navRight_4cg5o_98{width:100%}._navRight_4cg5o_98{flex-direction:column-reverse}}._banner_19zfq_5{position:fixed;bottom:0;left:0;right:0;z-index:900;padding:1rem;background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 -4px 20px #0000004d;animation:_slideUp_19zfq_1 .4s ease-out}@keyframes _slideUp_19zfq_1{0%{transform:translateY(100%)}to{transform:translateY(0)}}._content_19zfq_26{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:1rem;color:#fff}._icon_19zfq_35{font-size:2rem;flex-shrink:0}._text_19zfq_40{flex:1;min-width:0}._title_19zfq_45{margin:0 0 .25rem;font-size:1rem;font-weight:700}._description_19zfq_51{margin:0;font-size:.875rem;opacity:.95}._actions_19zfq_57{display:flex;gap:.75rem;align-items:center;flex-shrink:0}._dismissButton_19zfq_64{padding:.5rem 1rem;border:none;background:#fff3;color:#fff;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}._dismissButton_19zfq_64:hover{background:#ffffff4d}._dismissButton_19zfq_64:focus{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}._instructions_19zfq_86{margin:.5rem 0 0;padding-left:1.25rem;font-size:.875rem;line-height:1.6}._instructions_19zfq_86 li{margin-bottom:.25rem}._shareIcon_19zfq_97{display:inline-block;font-size:1rem;margin:0 .25rem}._closeButton_19zfq_103{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;background:#fff3;color:#fff;border-radius:6px;font-size:1.25rem;cursor:pointer;transition:all .2s ease;flex-shrink:0}._closeButton_19zfq_103:hover{background:#ffffff4d}._closeButton_19zfq_103:focus{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}@media(max-width:768px){._banner_19zfq_5{padding:.75rem}._content_19zfq_26{flex-direction:column;align-items:flex-start;gap:.75rem}._icon_19zfq_35{font-size:1.5rem}._title_19zfq_45{font-size:.95rem}._description_19zfq_51{font-size:.8rem}._actions_19zfq_57{width:100%}._actions_19zfq_57 button{flex:1}._content_19zfq_26:has(._instructions_19zfq_86){position:relative}._closeButton_19zfq_103{position:absolute;top:0;right:0}}._indicator_1nydm_5{position:fixed;top:1rem;right:1rem;z-index:1100;animation:_slideInDown_1nydm_1 .3s ease-out}@keyframes _slideInDown_1nydm_1{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}._content_1nydm_24{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#ff6b6bf2;backdrop-filter:blur(10px);border-radius:8px;color:#fff;box-shadow:0 4px 12px #0003;font-size:.875rem;font-weight:600}._icon_1nydm_38{flex-shrink:0}._text_1nydm_42{white-space:nowrap}@media(max-width:768px){._indicator_1nydm_5{top:.75rem;right:.75rem}._content_1nydm_24{padding:.625rem .875rem;font-size:.8rem}._icon_1nydm_38{width:14px;height:14px}}._exitButton_u268q_1{position:fixed;top:1rem;right:1rem;z-index:9999;display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;border:none;border-radius:12px;background:#000000b3;backdrop-filter:blur(10px);color:#fff;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #0000004d}._exitButton_u268q_1:hover{background:#000000d9;transform:scale(1.05)}._exitButton_u268q_1:active{transform:scale(.95)}._exitButton_u268q_1._hidden_u268q_34{opacity:0;pointer-events:none}._label_u268q_39{font-size:.875rem;font-weight:600;letter-spacing:.05em}@media(max-width:768px){._exitButton_u268q_1{padding:1rem 1.25rem}}._app_10aaj_6{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#0f0f1e,#1a1a2e);color:#fff}._header_10aaj_15{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background:#ffffff0d;backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.1)}._title_10aaj_25{margin:0;font-size:1.75rem;font-weight:700;color:#00d9ff}._titleDomain_10aaj_32{color:#fff6}._headerButtons_10aaj_36{display:flex;gap:1rem;align-items:center}._settingsButton_10aaj_42{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:none;background:#ffffff1a;border-radius:8px;cursor:pointer;transition:all .2s ease;color:#fff}._settingsButton_10aaj_42:hover{background:#fff3;transform:scale(1.05)}._settingsButton_10aaj_42:focus{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}._main_10aaj_68{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem;overflow-y:auto}._gameContainer_10aaj_77{display:flex;gap:2rem;align-items:flex-start;justify-content:center;width:100%;max-width:1600px}@media(min-width:1024px){._gameContainer_10aaj_77{gap:2.5rem}}@media(min-width:1600px){._gameContainer_10aaj_77{gap:3rem}}@media(min-width:1920px){._gameContainer_10aaj_77{gap:3.5rem}}._boardArea_10aaj_107{display:flex;flex-direction:row;gap:2rem;align-items:flex-start;flex-shrink:0}._boardContainer_10aaj_115{flex-shrink:0}._clockContainer_10aaj_119{flex-shrink:0;order:2}._sidebar_10aaj_124{display:flex;flex-direction:column;gap:1.5rem;min-width:250px;flex-shrink:0}@media(min-width:1024px){._sidebar_10aaj_124{min-width:320px}}@media(min-width:1600px){._sidebar_10aaj_124{min-width:380px}}@media(min-width:1920px){._sidebar_10aaj_124{min-width:420px}}._statusCard_10aaj_154{background:#ffffff0d;backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:1.5rem}._statusTitle_10aaj_162{margin:0 0 1rem;font-size:1.1rem;font-weight:700}._statusInfo_10aaj_168{display:flex;flex-direction:column;gap:.75rem}._statusRow_10aaj_174{display:flex;justify-content:space-between;align-items:center;font-size:.95rem}._statusRow_10aaj_174 span:first-child{opacity:.7}._statusValue_10aaj_185{font-weight:600;text-transform:capitalize}._actions_10aaj_191{display:flex;flex-direction:column;gap:.75rem}._confirmOverlay_10aaj_198{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;background:#000000b3;backdrop-filter:blur(8px);animation:_fadeIn_10aaj_1 .2s ease-out}@keyframes _fadeIn_10aaj_1{0%{opacity:0}to{opacity:1}}._confirmDialog_10aaj_222{background:#0f0f1ef2;backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.2);border-radius:16px;padding:2rem;max-width:400px;width:90%;animation:_slideUp_10aaj_1 .3s ease-out}@keyframes _slideUp_10aaj_1{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}._confirmDialog_10aaj_222 h3{margin:0 0 .5rem;font-size:1.25rem}._confirmDialog_10aaj_222 p{margin:0 0 1.5rem;opacity:.8}._confirmActions_10aaj_254{display:flex;gap:.75rem}@media(max-width:1200px){._gameContainer_10aaj_77{flex-direction:column;align-items:center}._sidebar_10aaj_124{width:100%;max-width:600px}}@media(max-width:768px){._header_10aaj_15{padding:1rem}._title_10aaj_25{font-size:1.25rem}._main_10aaj_68{padding:1rem}._gameContainer_10aaj_77{gap:1rem;flex-direction:column;align-items:center}._boardArea_10aaj_107{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr auto auto;gap:0;width:100%;max-width:min(100vw - 2rem,600px)}._clockContainer_10aaj_119{display:contents}._boardContainer_10aaj_115{grid-row:2;width:100%}._sidebar_10aaj_124{width:100%}._confirmDialog_10aaj_222{padding:1.5rem}._confirmActions_10aaj_254{flex-direction:column}}._app_10aaj_6[data-fullscreen=true]{position:fixed;inset:0;width:100vw;height:100vh;overflow:hidden;background:linear-gradient(135deg,#0f0f1e,#1a1a2e)}._app_10aaj_6[data-fullscreen=true] ._header_10aaj_15,._app_10aaj_6[data-fullscreen=true] ._sidebar_10aaj_124{display:none}._app_10aaj_6[data-fullscreen=true] ._main_10aaj_68{padding:0;margin:0;width:100%;height:100%}._app_10aaj_6[data-fullscreen=true] ._gameContainer_10aaj_77{height:100%;width:100%;max-width:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}._app_10aaj_6[data-fullscreen=true] ._boardArea_10aaj_107{flex:1;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:0}._app_10aaj_6[data-fullscreen=true] ._boardContainer_10aaj_115{flex:1;display:flex;align-items:center;justify-content:center;width:100%;height:100%;max-height:none;padding:0;margin:0}._app_10aaj_6[data-fullscreen=true] ._clockContainer_10aaj_119{width:100%;max-width:min(100vw,600px)}@media(max-width:768px){._app_10aaj_6[data-fullscreen=true] ._boardArea_10aaj_107{display:grid;grid-template-rows:auto 1fr auto;padding:0;gap:0}._app_10aaj_6[data-fullscreen=true] ._boardContainer_10aaj_115{max-height:none;height:100%;padding:0}}
