@import url(https://fonts.googleapis.com/css2?family=Inter:wght@800&display=swap);body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root{padding:1px}#chessboard,#root{background-color:#000}#chessboard{aspect-ratio:1/1;display:grid;flex:0 0 auto;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr);margin:5vh;position:relative;width:min(92vmin,800px)}.board-layout{align-items:center;align-self:stretch;display:flex;flex-direction:row;flex-wrap:nowrap;gap:16px;justify-content:center}.timer-panel{display:flex;flex-direction:column;gap:12px;margin:0;min-width:120px;width:120px}.timer-block{background:#ffffff0f;border:1px solid #333;border-radius:8px;color:#fff;padding:10px;text-align:center}.timer-block.active{border-color:#2f66ff;box-shadow:0 0 0 2px #2f66ff26}.timer-label{font-size:12px;margin-bottom:6px;opacity:.8}.timer-value{font-size:22px;font-weight:800;letter-spacing:.5px}#pawn-promotion-modal>.modal-body{background-color:blue;display:flex;height:150;justify-content:space-between;left:calc(72% - 150px);margin:5px;padding:10px;position:absolute;top:calc(50% - 150px);width:605px}#pawn-promotion-modal:before{color:#fff;left:-30px;margin:4vh;position:absolute;top:-50px}#pawn-promotion-modal>.modal-body>img{border:10px;height:150px;margin:1px}#pawn-promotion-modal>.modal-body>:hover{background-color:#fff;border-radius:5px}#pawn-promotion-modal{height:100%;position:absolute;width:100%}#pawn-promotion-modal.hidden{display:none}@media (max-width:900px){.board-layout{align-items:center;flex-direction:column;gap:12px}.timer-panel{flex-direction:row;min-width:0;width:auto}#chessboard{width:min(96vmin,92vw)}}.tile{aspect-ratio:1/1;display:grid;height:100%;overflow:visible;place-items:center;position:relative;width:100%}.tile.clickable{cursor:pointer}.b_tile{background-color:#b88b4a}.w_tile{background-color:#e3c16f}.tile .chess-piece{display:block;height:auto;object-fit:contain;position:relative;width:85%;z-index:1}.tile .chess-piece:hover{cursor:grab}.move-indicator{background-color:#0009;height:clamp(12px,3.5vmin,24px);left:50%;top:50%;transform:translate(-50%,-50%);width:clamp(12px,3.5vmin,24px)}.capture-indicator,.move-indicator{border-radius:50%;pointer-events:none;position:absolute;z-index:2}.capture-indicator{background-color:#dc143cd9;border:2px solid #fff;height:clamp(12px,2.2vmin,16px);right:clamp(4px,.8vmin,6px);top:clamp(4px,.8vmin,6px);width:clamp(12px,2.2vmin,16px)}.tile-highlight:before{background-color:#000000b3;border-radius:100%;content:" ";height:20px;position:relative;width:20px}#component{background-color:#000;height:100vh;justify-content:center;margin:0}#component,.app-header{align-items:center;display:flex}.app-header{justify-content:space-between;left:0;padding:8px 16px;position:absolute;right:0;top:0}.brand:hover{color:#2f66ff}.brand{color:#fff;cursor:pointer;font-size:24px;font-weight:800;letter-spacing:-3px}.center-stage{flex-direction:column;gap:8px;padding-top:80px}#online-controls,.center-stage{align-items:center;display:flex}#online-controls{gap:12px;padding:10px 12px}#online-controls .hint{color:#fff;margin-left:10px}.status-badge{align-items:center;background:#ffffff14;border-radius:8px;display:inline-flex;font-size:14px;gap:8px;padding:8px 10px}.copy-btn{-webkit-appearance:none;appearance:none;background:#0000;border:1px solid #2f66ff;border-radius:6px;color:#bcd2ff;cursor:pointer;padding:6px 10px}.copy-btn:hover{background:#2f66ff26}.btn{-webkit-appearance:none;appearance:none;border:none;border-radius:8px;cursor:pointer;font-weight:700;letter-spacing:.2px;padding:10px 14px;transition:transform .05s ease,box-shadow .2s ease,background-color .2s ease;-webkit-user-select:none;user-select:none}.btn:disabled{cursor:not-allowed;opacity:.6}.btn-primary{background:#0000;border:1px solid #fff;color:#fff}.btn-primary:hover:not(:disabled){box-shadow:0 6px 16px #2f66ffe6;transform:translateY(-1px)}.btn-secondary{background:#fff;color:#000}.btn-secondary:hover:not(:disabled){box-shadow:0 6px 200px #f80;transform:translateY(-1px)}.room-input{background:#0e0e0e;border:2px solid #333;border-radius:8px;color:#f2f2f2;min-width:220px;outline:none;padding:10px 12px}.room-input:focus{border-color:#2f66ff;box-shadow:0 0 0 2px #2f66ff40}.board-wrapper{position:relative}.board-wrapper.is-blurred{filter:blur(4px) brightness(.6);pointer-events:none}.game-container{align-items:flex-start;align-self:stretch;display:flex;flex-direction:row;gap:12px;justify-content:center}.game-container .board-wrapper{height:100%;width:100%}.time-select{align-items:stretch;display:flex;flex-direction:column;gap:8px;height:800px;justify-content:center;margin:5vh 0}.time-btn{background:#0000;border:1px solid #fff;color:#fff;flex:1 1}.time-btn:hover{box-shadow:0 6px 16px #2f66ffe6;transform:translateY(-1px)}.time-btn:focus{box-shadow:0 6px 16px #00ff00e6;transform:translateY(-1px)}.join-overlay{bottom:0;left:0;overflow:hidden;pointer-events:none;position:fixed;right:0;top:0;z-index:9999}.join-circle{animation:joinPulse 1.8s ease-out forwards;background:#ff880080;border-radius:50%;height:10px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:10px}@keyframes joinPulse{0%{box-shadow:0 0 0 0 #f80;height:10px;opacity:1;width:10px}70%{box-shadow:0 0 120px 60px #ff880059;height:600px;opacity:.35;width:600px}to{box-shadow:0 0 0 0 #f800;height:1400px;opacity:0;width:1400px}}@media (max-width:900px){#online-controls{flex-wrap:wrap}.game-container{align-items:center;flex-direction:column}.time-select{flex-direction:row;height:auto;margin:8px 0 16px;width:min(92vw,800px)}}body{animation:gradient-background 7s infinite alternate;background-color:#222;background-repeat:no-repeat;background-size:400%;font-family:Inter;font-size:55px;height:100vh;margin:0;padding:0}@keyframes gradient-background{0%{background-position:0}to{background-position:100%}}h1{margin:0 0 0 6px}@keyframes title-animate{0%{opacity:0}72%{opacity:0}78%{opacity:1}}hr{opacity:.5}.div_input{background-color:#ddd;border-radius:4px;font-size:18px;font-weight:700;height:3vh;justify-self:center;letter-spacing:-.1em;margin-top:10px;text-align:center;width:520px}#container{align-content:center;background-color:#000;border:3px solid #fff;border-radius:17px;box-shadow:0 30px 50px hsla(0,0%,100%,.376),0 6px 6px #ffffff8a;height:790px;justify-content:center;margin:50px;overflow:hidden;width:37vw}#div_button{background-color:#fcfbf4;color:inherit;font-family:Inter,arial;font-size:90px;font-weight:500;height:14vh;justify-self:center;margin-bottom:-10px;margin-top:60px;width:28vw}#div_button:active{background-color:#000;color:#fcfbf4;filter:blur(.8);outline:1px solid #fff}@media (max-width:600px){body{animation:gradient-background 3s infinite alternate;background-repeat:repeat;background-size:.5%}#container{height:600px;width:400px}#title{margin-left:-22px}.div_input{left:16%}#div_button{left:99px}}.form{display:grid;margin-left:30px;margin-right:30px;margin-top:50px;padding:50px}.form,.title{justify-content:center}.title{display:flex}#title{border:none;color:#fff;font-family:Inter;font-size:200px;letter-spacing:-.4rem;margin-bottom:-22px;margin-left:-12px}
/*# sourceMappingURL=main.83f7f8a0.css.map*/