.cm-chessboard .board.input-enabled .square{cursor:pointer}.cm-chessboard .coordinates,.cm-chessboard .markers-layer,.cm-chessboard .pieces-layer,.cm-chessboard .markers-top-layer{pointer-events:none}.cm-chessboard-content .list-inline{padding-left:0;list-style:none}.cm-chessboard-content .list-inline-item{display:inline-block}.cm-chessboard-content .list-inline-item:not(:last-child){margin-right:1rem}.cm-chessboard-accessibility.visually-hidden{width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cm-chessboard.default .board .square.white{fill:#ecdab9}.cm-chessboard.default .board .square.black{fill:#c5a076}.cm-chessboard.default.border-type-thin .board .border{stroke:#c5a076;stroke-width:.7%;fill:#c5a076}.cm-chessboard.default.border-type-none .board .border{stroke:#c5a076;stroke-width:0;fill:#c5a076}.cm-chessboard.default.border-type-frame .board .border{fill:#ecdab9;stroke:none}.cm-chessboard.default.border-type-frame .board .border-inner{fill:#c5a076;stroke:#c5a076;stroke-width:.7%}.cm-chessboard.default .coordinates{pointer-events:none;-webkit-user-select:none;user-select:none}.cm-chessboard.default .coordinates .coordinate{fill:#b5936d;font-size:7px;cursor:default}.cm-chessboard.default .coordinates .coordinate.black{fill:#eeddbf}.cm-chessboard.default .coordinates .coordinate.white{fill:#b5936d}.cm-chessboard.default-contrast .board .square.white{fill:#ecdab9}.cm-chessboard.default-contrast .board .square.black{fill:#c5a076}.cm-chessboard.default-contrast.border-type-thin .board .border{stroke:#c5a076;stroke-width:.7%;fill:#c5a076}.cm-chessboard.default-contrast.border-type-none .board .border{stroke:#c5a076;stroke-width:0;fill:#c5a076}.cm-chessboard.default-contrast.border-type-frame .board .border{fill:#ecdab9;stroke:none}.cm-chessboard.default-contrast.border-type-frame .board .border-inner{fill:#c5a076;stroke:#c5a076;stroke-width:.7%}.cm-chessboard.default-contrast .coordinates{pointer-events:none;-webkit-user-select:none;user-select:none}.cm-chessboard.default-contrast .coordinates .coordinate{fill:#b5936d;font-size:7px;cursor:default}.cm-chessboard.default-contrast .coordinates .coordinate.black,.cm-chessboard.default-contrast .coordinates .coordinate.white{fill:#333}.cm-chessboard.green .board .square.white{fill:#e0ddcc}.cm-chessboard.green .board .square.black{fill:#4c946a}.cm-chessboard.green.border-type-thin .board .border{stroke:#4c946a;stroke-width:.7%;fill:#4c946a}.cm-chessboard.green.border-type-none .board .border{stroke:#4c946a;stroke-width:0;fill:#4c946a}.cm-chessboard.green.border-type-frame .board .border{fill:#e0ddcc;stroke:none}.cm-chessboard.green.border-type-frame .board .border-inner{fill:#4c946a;stroke:#4c946a;stroke-width:.7%}.cm-chessboard.green .coordinates{pointer-events:none;-webkit-user-select:none;user-select:none}.cm-chessboard.green .coordinates .coordinate{fill:#468862;font-size:7px;cursor:default}.cm-chessboard.green .coordinates .coordinate.black{fill:#e2e0d0}.cm-chessboard.green .coordinates .coordinate.white{fill:#468862}.cm-chessboard.blue .board .square.white{fill:#d8ecfb}.cm-chessboard.blue .board .square.black{fill:#86afcf}.cm-chessboard.blue.border-type-thin .board .border{stroke:#86afcf;stroke-width:.7%;fill:#86afcf}.cm-chessboard.blue.border-type-none .board .border{stroke:#86afcf;stroke-width:0;fill:#86afcf}.cm-chessboard.blue.border-type-frame .board .border{fill:#d8ecfb;stroke:none}.cm-chessboard.blue.border-type-frame .board .border-inner{fill:#86afcf;stroke:#86afcf;stroke-width:.7%}.cm-chessboard.blue .coordinates{pointer-events:none;-webkit-user-select:none;user-select:none}.cm-chessboard.blue .coordinates .coordinate{fill:#7ba1be;font-size:7px;cursor:default}.cm-chessboard.blue .coordinates .coordinate.black{fill:#dbeefb}.cm-chessboard.blue .coordinates .coordinate.white{fill:#7ba1be}.cm-chessboard.chess-club .board .square.white{fill:#e6d3b1}.cm-chessboard.chess-club .board .square.black{fill:#af6b3f}.cm-chessboard.chess-club.border-type-thin .board .border{stroke:#692e2b;stroke-width:.7%;fill:#af6b3f}.cm-chessboard.chess-club.border-type-none .board .border{stroke:#692e2b;stroke-width:0;fill:#af6b3f}.cm-chessboard.chess-club.border-type-frame .board .border{fill:#692e2b;stroke:none}.cm-chessboard.chess-club.border-type-frame .board .border-inner{fill:#af6b3f;stroke:#692e2b;stroke-width:.7%}.cm-chessboard.chess-club .coordinates{pointer-events:none;-webkit-user-select:none;user-select:none}.cm-chessboard.chess-club .coordinates .coordinate{fill:#e6d3b1;font-size:7px;cursor:default}.cm-chessboard.chess-club .coordinates .coordinate.black{fill:#e6d3b1}.cm-chessboard.chess-club .coordinates .coordinate.white{fill:#af6b3f}.cm-chessboard.chessboard-js .board .square.white{fill:#f0d9b5}.cm-chessboard.chessboard-js .board .square.black{fill:#b58863}.cm-chessboard.chessboard-js.border-type-thin .board .border{stroke:#404040;stroke-width:.7%;fill:#b58863}.cm-chessboard.chessboard-js.border-type-none .board .border{stroke:#404040;stroke-width:0;fill:#b58863}.cm-chessboard.chessboard-js.border-type-frame .board .border{fill:#f0d9b5;stroke:none}.cm-chessboard.chessboard-js.border-type-frame .board .border-inner{fill:#b58863;stroke:#404040;stroke-width:.7%}.cm-chessboard.chessboard-js .coordinates{pointer-events:none;-webkit-user-select:none;user-select:none}.cm-chessboard.chessboard-js .coordinates .coordinate{fill:#404040;font-size:7px;cursor:default}.cm-chessboard.chessboard-js .coordinates .coordinate.black{fill:#f0d9b5}.cm-chessboard.chessboard-js .coordinates .coordinate.white{fill:#b58863}.cm-chessboard.black-and-white .board .square.white{fill:#fff}.cm-chessboard.black-and-white .board .square.black{fill:#9c9c9c}.cm-chessboard.black-and-white.border-type-thin .board .border{stroke:#9c9c9c;stroke-width:.7%;fill:#9c9c9c}.cm-chessboard.black-and-white.border-type-none .board .border{stroke:#9c9c9c;stroke-width:0;fill:#9c9c9c}.cm-chessboard.black-and-white.border-type-frame .board .border{fill:#fff;stroke:none}.cm-chessboard.black-and-white.border-type-frame .board .border-inner{fill:#9c9c9c;stroke:#9c9c9c;stroke-width:.7%}.cm-chessboard.black-and-white .coordinates{pointer-events:none;-webkit-user-select:none;user-select:none}.cm-chessboard.black-and-white .coordinates .coordinate{fill:#909090;font-size:7px;cursor:default}.cm-chessboard.black-and-white .coordinates .coordinate.black{fill:#fff}.cm-chessboard.black-and-white .coordinates .coordinate.white{fill:#909090}.cm-chessboard .markers{pointer-events:none}.cm-chessboard .markers .marker.marker-frame{stroke:#000;stroke-width:1.8px;opacity:.5}.cm-chessboard .markers .marker.marker-frame-primary,.cm-chessboard .markers .marker.marker-frame-info{stroke:#00f;stroke-width:1.8px;opacity:.4}.cm-chessboard .markers .marker.marker-frame-danger{stroke:red;stroke-width:1.8px;opacity:.4}.cm-chessboard .markers .marker.marker-frame-warning{stroke:orange;stroke-width:1.8px;opacity:.4}.cm-chessboard .markers .marker.marker-circle{stroke:#000;stroke-width:3px;opacity:.3}.cm-chessboard .markers .marker.marker-circle-primary,.cm-chessboard .markers .marker.marker-circle-info{stroke:#00f;stroke-width:3px;opacity:.4}.cm-chessboard .markers .marker.marker-circle-info-filled{stroke:#00f;fill:#00f;stroke-width:3px;opacity:.4}.cm-chessboard .markers .marker.marker-circle-danger{stroke:red;stroke-width:3px;opacity:.4}.cm-chessboard .markers .marker.marker-circle-danger-filled{stroke:red;fill:red;stroke-width:3px;opacity:.4}.cm-chessboard .markers .marker.marker-circle-warning{stroke:orange;stroke-width:3px;opacity:.4}.cm-chessboard .markers .marker.marker-circle-warning-filled{stroke:orange;fill:orange;stroke-width:3px;opacity:.4}.cm-chessboard .markers .marker.marker-circle-success{stroke:green;stroke-width:3px;opacity:.4}.cm-chessboard .markers .marker.marker-circle-success-filled{stroke:green;fill:green;stroke-width:3px;opacity:.4}.cm-chessboard .markers .marker.marker-square{fill:#000;opacity:.11}.cm-chessboard .markers .marker.marker-dot,.cm-chessboard .markers .marker.marker-bevel{fill:#000;opacity:.2}*{margin:0;padding:0;box-sizing:border-box}html{touch-action:manipulation;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body,.header,.nav-link,.game-info,.instructions,.moves-section{touch-action:manipulation;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chess-board,.chess-board *{touch-action:auto;-webkit-user-select:none;user-select:none}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background:#0a0a0a;background-image:linear-gradient(rgba(0,150,255,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(0,150,255,.1) 1px,transparent 1px);background-size:20px 20px;min-height:100vh;color:#e0e0e0;position:relative}.header{padding:2rem 1rem;background:#101010e6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:2px solid rgba(0,150,255,.3);box-shadow:0 2px 20px #0096ff1a}.header-content{display:flex;align-items:center;justify-content:space-between;max-width:1400px;margin:0 auto}.header-main{text-align:center;flex:1}.header-logo{display:flex;align-items:center;justify-content:center;gap:1rem}.logo{height:60px;width:auto;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2))}.header-text{display:flex;flex-direction:column;align-items:flex-start;text-align:left;position:relative}.beta-pill{font-size:.5rem;font-weight:600;padding:.2rem .4rem;background:#ffc10726;color:#f57c00;border:1px solid rgba(255,193,7,.3);border-radius:8px;text-transform:uppercase;letter-spacing:.5px;position:absolute;top:-.5rem;right:-1rem;box-shadow:0 1px 3px #0000001a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.header h1{font-size:2.5rem;font-weight:700;color:#fff;margin-bottom:.5rem;text-shadow:0 0 10px rgba(0,150,255,.5)}.subtitle{font-size:1.1rem;color:#0096ffe6;font-weight:300;text-shadow:0 0 5px rgba(0,150,255,.3)}.header-right{display:flex;align-items:center;gap:1.5rem}.header-nav{display:flex;align-items:center;gap:1rem}.nav-link{color:#0096ffe6;text-decoration:none;font-weight:500;padding:.5rem 1rem;border-radius:6px;transition:all .2s ease;font-size:.9rem;border:1px solid rgba(0,150,255,.3);background:#0096ff1a;box-shadow:0 0 10px #0096ff1a}.nav-link:hover{background:#0096ff33;color:#fff;border-color:#0096ff80;box-shadow:0 0 15px #0096ff4d}.team-info{display:flex;align-items:center;gap:1rem;background:#ffffff1a;padding:.5rem 1rem;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.team-badge{display:flex;align-items:center;gap:.5rem;font-weight:600;color:#fff}.team-icon{font-size:1.2rem}.team-name{font-size:.9rem}.team-counts{display:flex;gap:.75rem;font-size:.85rem}.team-count{display:flex;align-items:center;gap:.25rem;color:#fffc;font-weight:500}.white-count,.black-count{color:#fff}.team-indicator{margin-top:1rem;display:flex;justify-content:center}.team-indicator-content{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:8px;font-size:.9rem;font-weight:500;color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.team-indicator-icon{font-size:1.2rem;filter:drop-shadow(0 0 4px rgba(255,255,255,.3))}.team-indicator-text{letter-spacing:.5px}.main-content{max-width:1400px;margin:2rem auto;padding:0 1rem}.game-container{display:grid;grid-template-columns:1fr 400px;gap:2rem;align-items:start}@media (max-width: 768px){.game-container{grid-template-columns:1fr;gap:1rem}}.board-section{background:#202020e6;border-radius:12px;padding:1.5rem;box-shadow:0 8px 32px #0096ff33;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(0,150,255,.3)}.chess-board{margin:0 auto 1.5rem;max-width:500px}.chess-board .cm-chessboard{border-radius:8px;overflow:hidden;box-shadow:0 4px 16px #0003}.chess-board .marker.suggestion{background-color:#2196f399;border:2px solid #1976d2;border-radius:50%;animation:pulse-suggestion 2s infinite}@keyframes pulse-suggestion{0%{opacity:.6;transform:scale(1)}50%{opacity:.8;transform:scale(1.1)}to{opacity:.6;transform:scale(1)}}.chess-board .marker-frame,.chess-board .marker.marker-frame,.chess-board marker.marker-frame,.chess-board svg .marker-frame{stroke:#ff9800!important}.chess-board .markers .marker-frame{stroke:#ff9800!important}.chess-board .marker-frame-green,.chess-board .marker.marker-frame-green,.chess-board marker.marker-frame-green,.chess-board svg .marker-frame-green{stroke:#4caf50!important}.chess-board .markers .marker-frame-green{stroke:#4caf50!important}.chess-board .marker-frame-check,.chess-board .marker.marker-frame-check,.chess-board marker.marker-frame-check,.chess-board svg .marker-frame-check{stroke:#f44336!important;stroke-width:3px!important}.chess-board .markers .marker-frame-check{stroke:#f44336!important;stroke-width:3px!important}@keyframes pulse-pending{0%{opacity:.6;transform:scale(.95)}50%{opacity:1;transform:scale(1.05)}to{opacity:.6;transform:scale(.95)}}.promotion-popup{position:fixed;top:0;left:0;width:100%;height:100%;background:#000c;display:flex;justify-content:center;align-items:center;z-index:1000;animation:fadeIn .3s ease-in-out}.promotion-content{background:#fff;border-radius:16px;padding:2rem;text-align:center;box-shadow:0 8px 32px #0000004d;max-width:400px;width:90%}.promotion-content h3{margin:0 0 1rem;color:#333;font-size:1.5rem}.promotion-content p{margin:0 0 2rem;color:#666;font-size:1rem}.promotion-pieces{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.promotion-piece{display:flex;flex-direction:column;align-items:center;padding:1.5rem 1rem;background:#f8f9fa;border:2px solid #e9ecef;border-radius:12px;cursor:pointer;transition:all .2s ease;font-family:inherit}.promotion-piece:hover{background:#e9ecef;border-color:#2196f3;transform:translateY(-2px);box-shadow:0 4px 12px #2196f333}.promotion-piece:active{transform:translateY(0)}.piece-symbol{font-size:2.5rem;margin-bottom:.5rem;color:#333}.piece-name{font-size:1rem;font-weight:500;color:#555}@keyframes fadeIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.board-controls{text-align:center}.move-status{background:#4caf501a;color:#2e7d32;padding:12px 24px;font-size:1rem;font-weight:600;border-radius:8px;text-align:center;margin-bottom:1rem;border:2px solid rgba(76,175,80,.2);transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:.75rem}.move-status .king-icon{width:28px;height:28px;margin-right:.5rem;display:inline-block;vertical-align:middle;filter:drop-shadow(0 1px 3px rgba(0,0,0,.3))}.move-status .king-icon svg{width:100%;height:100%}.move-status .player-indicator{font-size:.9rem;font-weight:600;padding:.35rem .75rem;border-radius:6px;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 2px 4px #0000001a}.move-status.move-suggested{background:#2196f31a;color:#1565c0;border-color:#2196f333;position:relative}.move-status.move-suggested:before{content:"👁️ ";font-size:.9em}.move-status.game-over{background:#ff98001a;color:#e65100;border-color:#ff980033}.move-status.invalid-move{background:#f443361a;color:#c62828;border-color:#f4433633;animation:shake .5s ease-in-out}@keyframes shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-5px)}20%,40%,60%,80%{transform:translate(5px)}}.turn-timer{max-width:400px;margin:0 auto;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border:1px solid #dee2e6;border-radius:12px;padding:1rem;box-shadow:0 4px 12px #0000001a;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.timer-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.timer-title{display:flex;align-items:center;gap:.5rem;font-weight:600;color:#495057;font-size:.95rem}.timer-icon{font-size:1.1rem;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.05)}}.suggestion-counter{display:flex;align-items:baseline;gap:.25rem;background:#007bff;color:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.85rem;font-weight:600;box-shadow:0 2px 4px #007bff33;transition:all .3s ease}.suggestion-counter.has-suggestions{background:#28a745;animation:counterPulse .5s ease-out}@keyframes counterPulse{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}#suggestion-count{font-size:1rem;font-weight:700}.suggestion-label{font-size:.8rem;opacity:.9}.timer-bar{width:100%;height:10px;background:#00000014;border-radius:6px;overflow:hidden;margin-bottom:.75rem;box-shadow:inset 0 2px 4px #0000001a}.timer-fill{height:100%;background:linear-gradient(90deg,#28a745,#ffc107 70%,#dc3545);border-radius:6px;transition:width .1s linear;box-shadow:0 2px 4px #0000001a}.timer-text{font-size:.9rem;color:#6c757d;font-weight:500;text-align:center;display:flex;align-items:center;justify-content:center;gap:.25rem}#timer-seconds{font-weight:700;color:#495057;font-size:1rem}.info-section{display:flex;flex-direction:column;gap:1.5rem}.game-info,.moves-section,.instructions{background:#202020e6;border-radius:12px;padding:1.5rem;box-shadow:0 4px 16px #0096ff33;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(0,150,255,.3)}.game-info h3{font-size:1.4rem;margin-bottom:1rem;color:#fff;text-shadow:0 0 5px rgba(0,150,255,.3)}.game-status{font-size:1rem;font-weight:600;margin-bottom:.5rem;padding:8px 12px;border-radius:6px;transition:all .3s ease;background:#0096ff33;color:#0096ff;border:1px solid rgba(0,150,255,.3);box-shadow:0 0 10px #0096ff1a}.game-status.status-connected{background:#4caf5033;color:#4caf50;border-color:#4caf504d;box-shadow:0 0 10px #4caf501a}.game-status.status-disconnected{background:#f4433633;color:#f44336;border-color:#f443364d;box-shadow:0 0 10px #f443361a}.game-status.status-connecting{background:#ff980033;color:#ff9800;border-color:#ff98004d;box-shadow:0 0 10px #ff98001a;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.turn-info{font-size:.9rem;color:#0096ffcc}.connection-count{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:#fff9;margin-top:.5rem;padding:4px 8px;background:#0003;border-radius:4px;border:1px solid rgba(255,255,255,.1)}.connection-icon{font-size:.9rem}#connection-count-text{font-weight:500}.moves-section h4,.instructions h4{font-size:1.2rem;margin-bottom:1rem;color:#fff;text-shadow:0 0 5px rgba(0,150,255,.3)}.moves-list{max-height:500px;overflow-y:auto;overflow-x:auto;padding:1rem;background:#f8f9fa;border-radius:12px;border:1px solid #e8eaed;scrollbar-width:thin;scrollbar-color:#dadce0 transparent}.moves-list::-webkit-scrollbar{width:6px;height:6px}.moves-list::-webkit-scrollbar-track{background:transparent}.moves-list::-webkit-scrollbar-thumb{background-color:#dadce0;border-radius:3px}.moves-list::-webkit-scrollbar-thumb:hover{background-color:#bdc1c6}.moves-list::-webkit-scrollbar-corner{background:transparent}.moves-grid{display:flex;flex-direction:column;gap:.75rem}.move-tile{background:#181818cc;border:1px solid rgba(0,150,255,.3);border-radius:8px;padding:.75rem;transition:all .2s ease;box-shadow:0 1px 3px #0096ff33}.move-tile:hover{border-color:#0096ff80;box-shadow:0 2px 8px #0096ff4d;background:#202020e6}.move-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.move-number{font-weight:600;color:#0096ffe6;font-size:.9rem;min-width:1.5rem}.move-notation{font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,monospace;font-size:.9rem;font-weight:600;background:#f8f9fa;padding:.2rem .4rem;border-radius:4px;border:1px solid #e8eaed}.move-stats{display:flex;gap:1rem}.stat-item{display:flex;flex-direction:column;align-items:center;gap:.2rem}.stat-label{font-size:.7rem;color:#5f6368;text-transform:uppercase;letter-spacing:.3px;font-weight:500}.stat-value{font-size:.9rem;font-weight:600;color:#1a73e8}.stat-item:last-child .stat-value{color:#137333}.player-indicator{display:inline-block;padding:.2rem .4rem;border-radius:3px;font-size:.7rem;font-weight:500;text-transform:uppercase;letter-spacing:.2px}.white-player{background:#f8f9fa;color:#202124;border:1px solid #e8eaed}.black-player{background:#202124;color:#fff;border:1px solid #5f6368}.move-notation{font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,monospace;font-size:.9rem;font-weight:600;color:#fff;background:#0096ff33;padding:.25rem .5rem;border-radius:4px;border:1px solid rgba(0,150,255,.3)}.no-moves{text-align:center;color:#0096ffb3;font-style:italic;padding:2rem 1rem;font-size:.9rem;background:#fff;border-radius:8px;border:1px dashed #e8eaed}@media (max-width: 1024px){.game-container{grid-template-columns:1fr 380px}}@media (max-width: 768px){.game-container{grid-template-columns:1fr}.move-tile{padding:.6rem}.move-header{gap:.4rem}.move-stats{gap:.75rem}}@media (max-width: 480px){.header-content{flex-direction:column;gap:1rem;align-items:center}.header-logo{flex-direction:column;gap:.5rem;text-align:center}.header-text{align-items:center;text-align:center}.beta-pill{top:-.3rem;right:-.5rem;font-size:.45rem}.logo{height:40px}.header-nav{justify-content:center;width:100%}.nav-link{font-size:.9rem;padding:.75rem 1.5rem;background:#101010e6;border:1px solid rgba(0,150,255,.3);border-radius:8px;text-align:center;min-width:120px}.move-tile{padding:.5rem}.move-number,.move-notation{font-size:.8rem}.stat-label{font-size:.65rem}.stat-value{font-size:.8rem}.player-indicator{font-size:.65rem;padding:.15rem .3rem}}.instructions ul{list-style:none;padding-left:0}.instructions li{margin-bottom:.5rem;padding-left:1.5rem;position:relative}.instructions li:before{content:"•";color:#667eea;font-weight:700;position:absolute;left:0}.game-over-banner{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;border-radius:12px;padding:2rem;box-shadow:0 16px 64px #0000004d;text-align:center;z-index:1000;min-width:300px}.banner-content h2{color:#333;margin-bottom:1rem;font-size:1.8rem}.banner-content p{color:#666;margin-bottom:.5rem;font-size:1.1rem}.statistics-section{margin-bottom:20px;background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 16px #0000001a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.statistics-section h4{font-size:1.2rem;margin-bottom:1rem;color:#333}.move-stats{border:1px solid #eee;border-radius:6px;padding:.5rem;background:#fafafa}.no-stats{color:#666;font-style:italic;text-align:center;padding:1rem}.stats-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-bottom:1px solid #eee;transition:background-color .2s ease}.stats-item:last-child{border-bottom:none}.stats-item:hover{background-color:#f0f0f0}.stats-label{font-weight:500;color:#555}.stats-value{font-weight:700;color:#2196f3;font-size:1.1em}.stats-highlight{background:linear-gradient(135deg,#e8f5e8,#f0f8f0);border-left:4px solid #4caf50}.loading{opacity:.6;pointer-events:none}@keyframes pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.pulse{animation:pulse 1.5s infinite}.game-end-modal{position:fixed;top:0;left:0;width:100%;height:100%;z-index:2000;display:flex;align-items:center;justify-content:center;animation:modalFadeIn .3s ease-out}.modal-backdrop{position:absolute;top:0;left:0;width:100%;height:100%;background:#000c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{position:relative;background:linear-gradient(135deg,#fff,#f8f9fa);border-radius:16px;box-shadow:0 20px 80px #0000004d;max-width:600px;width:90%;max-height:80vh;overflow-y:auto;animation:modalSlideIn .3s ease-out}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem 2rem;border-bottom:1px solid #e8eaed}.modal-header-right{display:flex;align-items:center;gap:1rem}.auto-close-countdown{font-size:.875rem;color:#666;background:#0000000d;padding:.25rem .75rem;border-radius:12px;font-weight:500;transition:all .3s ease}.modal-title{font-size:1.5rem;font-weight:700;color:#333;margin:0}.modal-close{background:none;border:none;font-size:2rem;color:#5f6368;cursor:pointer;padding:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease}.modal-close:hover{background:#0000001a;color:#333}.modal-body{padding:2rem}.game-result{text-align:center;margin-bottom:2rem;padding:1.5rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:12px;border:1px solid #dee2e6}.result-icon{font-size:3rem;margin-bottom:.5rem;animation:bounce .6s ease-out}@keyframes bounce{0%,20%,50%,80%,to{transform:translateY(0)}40%{transform:translateY(-10px)}60%{transform:translateY(-5px)}}.result-text{font-size:1.5rem;font-weight:700;color:#333;margin-bottom:.25rem}.result-reason{font-size:1rem;color:#5f6368;text-transform:capitalize}.game-stats{margin-bottom:2rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1rem;margin-bottom:2rem}.stat-card{background:#fff;border:1px solid #e8eaed;border-radius:8px;padding:1rem;text-align:center;transition:all .2s ease}.stat-card:hover{border-color:#dadce0;box-shadow:0 2px 8px #0000001a}.stat-label{font-size:.8rem;color:#5f6368;text-transform:uppercase;letter-spacing:.5px;font-weight:500;margin-bottom:.5rem}.stat-value{font-size:1.5rem;font-weight:700;color:#1a73e8}.modal-actions{display:flex;gap:1rem;justify-content:center;padding-top:1rem;border-top:1px solid #e8eaed}.btn{padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.btn-primary{background:linear-gradient(135deg,#1a73e8,#4285f4);color:#fff;box-shadow:0 2px 8px #1a73e84d}.btn-primary:hover{background:linear-gradient(135deg,#1557b0,#3367d6);box-shadow:0 4px 16px #1a73e866;transform:translateY(-1px)}.btn-secondary{background:#fff;color:#5f6368;border:1px solid #dadce0}.btn-secondary:hover{background:#f8f9fa;border-color:#bdc1c6;color:#333}@media (max-width: 480px){.modal-content{width:95%;margin:1rem}.modal-header,.modal-body{padding:1rem}.stats-grid{grid-template-columns:repeat(2,1fr);gap:.75rem}.modal-actions{flex-direction:column}.result-icon{font-size:2.5rem}.result-text{font-size:1.25rem}}
