.promotion-modal-overlay{position:fixed;inset:0;background:#000000b3;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.promotion-modal{background:#fff;border-radius:16px;box-shadow:0 8px 32px #0000004d;padding:0;max-width:400px;width:300px;animation:modalSlideIn .3s ease-out;position:absolute}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.promotion-content{padding:2rem;text-align:center}.promotion-content h3{margin:0 0 .5rem;color:#2c3e50;font-size:1.4rem;font-weight:700}.promotion-info{margin:0 0 1.5rem;color:#666;font-size:.95rem}.promotion-pieces{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:1.5rem}.promotion-piece-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem 1rem;border:2px solid #e9ecef;border-radius:12px;background:#f8f9fa;cursor:pointer;transition:all .2s ease;min-height:80px}.promotion-piece-btn:hover{border-color:#007bff;background:#e3f2fd;transform:translateY(-2px);box-shadow:0 4px 12px #007bff33}.promotion-piece-btn:active{transform:translateY(0)}.piece-symbol{font-size:2.5rem;margin-bottom:.5rem;display:block}.piece-name{font-size:.9rem;font-weight:600;color:#495057;text-transform:uppercase;letter-spacing:.5px}.cancel-btn{padding:.75rem 2rem;border:2px solid #dc3545;background:#dc3545;color:#fff;border-radius:8px;cursor:pointer;font-weight:600;transition:all .2s ease}.cancel-btn:hover{background:#c82333;border-color:#c82333;transform:translateY(-1px)}.cancel-btn:active{transform:translateY(0)}@media(max-width:480px){.promotion-modal{width:95%;margin:1rem}.promotion-content{padding:1.5rem}.promotion-pieces{grid-template-columns:1fr;gap:.75rem}.promotion-piece-btn{padding:1rem;min-height:60px}.piece-symbol{font-size:2rem}}.promotion-dropdown-overlay{position:fixed;inset:0;background:#0000004d;z-index:1000}.promotion-dropdown{background:#fff;border-radius:8px;box-shadow:0 4px 16px #0000004d;padding:8px;width:200px;animation:dropdownSlideIn .2s ease-out;position:absolute;border:1px solid #e0e0e0}@keyframes dropdownSlideIn{0%{opacity:0;transform:translateY(-10px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.promotion-dropdown-content{display:flex;flex-direction:column;gap:4px}.promotion-piece-option{display:flex;align-items:center;justify-content:center;padding:12px 16px;border:none;border-radius:6px;background:#f8f9fa;cursor:pointer;transition:all .15s ease;font-size:1.5rem;min-height:50px}.promotion-piece-option:hover{background:#e3f2fd;transform:translateY(-1px);box-shadow:0 2px 8px #007bff33}.promotion-piece-option:active{transform:translateY(0)}.promotion-piece-option .piece-symbol{font-size:2rem;display:block}.promotion-dropdown.centered{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:min(280px,calc(100vw - 2rem));padding:12px;z-index:1001}.promotion-title{margin:0 0 8px;text-align:center;font-size:.95rem;font-weight:700;color:#333}.promotion-piece-option .piece-name{margin-left:10px;font-size:.95rem;font-weight:600;color:#333}@media(max-width:480px){.promotion-dropdown{width:180px;padding:6px}.promotion-dropdown.centered{width:min(300px,calc(100vw - 1.5rem))}.promotion-piece-option{padding:10px 12px;min-height:52px}.promotion-piece-option .piece-symbol{font-size:1.8rem}}.game-result-modal-overlay{position:fixed;inset:0;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.game-result-modal{background:linear-gradient(135deg,#2c3e50,#34495e);border-radius:20px;padding:30px;max-width:400px;width:90%;box-shadow:0 20px 40px #0000004d;border:2px solid #3498db;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-50px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}.game-result-content{text-align:center;color:#fff}.game-result-icon{font-size:4rem;margin-bottom:20px;animation:iconBounce .6s ease-out}@keyframes iconBounce{0%,20%,50%,80%,to{transform:translateY(0)}40%{transform:translateY(-20px)}60%{transform:translateY(-10px)}}.game-result-title{font-size:2.5rem;margin:0 0 15px;color:#f39c12;text-shadow:2px 2px 4px rgba(0,0,0,.5);font-weight:700}.game-result-text{font-size:1.2rem;margin:0 0 30px;color:#ecf0f1;line-height:1.5}.game-result-actions{display:flex;gap:15px;justify-content:center;flex-wrap:wrap}.btn-new-game,.btn-close{padding:12px 24px;border:none;border-radius:25px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;text-transform:uppercase;letter-spacing:1px}.btn-new-game{background:linear-gradient(135deg,#27ae60,#2ecc71);color:#fff;box-shadow:0 4px 15px #27ae6066}.btn-new-game:hover{background:linear-gradient(135deg,#229954,#27ae60);transform:translateY(-2px);box-shadow:0 6px 20px #27ae6099}.btn-close{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff;box-shadow:0 4px 15px #e74c3c66}.btn-close:hover{background:linear-gradient(135deg,#c0392b,#a93226);transform:translateY(-2px);box-shadow:0 6px 20px #e74c3c99}@media(max-width:480px){.game-result-modal{padding:20px;margin:20px}.game-result-title{font-size:2rem}.game-result-text{font-size:1rem}.game-result-actions{flex-direction:column;align-items:center}.btn-new-game,.btn-close{width:100%;max-width:200px}}.mainline-variations{background:linear-gradient(135deg,#2c3e50,#34495e);border-radius:12px;padding:20px;margin:16px 0;border:2px solid #34495e;min-width:0;width:100%;max-width:100%;box-sizing:border-box;box-shadow:0 4px 12px #0003;overflow-x:hidden}.section-title{color:#ecf0f1;font-size:20px;font-weight:700;margin:0 0 12px;text-align:center;text-transform:uppercase;letter-spacing:1px;background:linear-gradient(135deg,#3498db4d,#2980b94d);padding:12px 20px;border-radius:8px;border:1px solid rgba(52,152,219,.2)}.eval-legend{margin:0 0 16px;text-align:center;color:#bdc3c7;font-size:12px}.mainline-container{display:flex;flex-direction:column;gap:12px;width:100%;max-width:400px;position:relative;box-sizing:border-box}.mainline-move{background:linear-gradient(135deg,#34495e,#2c3e50);border-radius:8px;padding:16px;border:1px solid #4a5f7a;transition:all .3s ease;width:100%;margin-bottom:16px;position:relative;overflow:hidden;box-shadow:0 2px 6px #0000001a}.mainline-move:last-child{margin-bottom:0}.mainline-move.current{border-color:#3498db;background:linear-gradient(135deg,#2c3e50,#34495e);box-shadow:0 0 12px #3498db66,0 4px 8px #0003;border-width:2px}.move-header{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding:8px 12px;background:#34495e4d;border-radius:6px;border:1px solid rgba(255,255,255,.05)}.move-number{color:#bdc3c7;font-weight:700;font-size:16px;min-width:45px;background:#95a5a633;padding:4px 8px;border-radius:4px;text-align:center;border:1px solid rgba(149,165,166,.3)}.mainline-move-white,.mainline-move-black{color:#ecf0f1;font-weight:600;font-size:18px;cursor:pointer;padding:6px 12px;border-radius:4px;transition:all .2s ease}.mainline-move-white:hover,.mainline-move-black:hover{background:linear-gradient(135deg,#4a5f7a,#34495e);transform:translate(3px);box-shadow:0 2px 6px #0003;border-radius:6px}.mainline-move-white{color:#fff}.mainline-move-black{color:#bdc3c7}.variations-container{margin-top:8px;padding-left:16px;border-left:2px solid #4a5f7a;width:100%}.variation{margin:10px 0;background:linear-gradient(135deg,#2c3e50,#34495e);border-radius:8px;border:1px solid #34495e;width:100%;position:relative;box-shadow:0 2px 4px #0000001a}.variation:first-child{margin-top:0}.variation:last-child{margin-bottom:0}.variation+.variation{margin-top:8px}.variation-header{display:flex;align-items:center;gap:10px;padding:10px 14px;cursor:pointer;transition:all .2s ease;background:#2c3e5099;border-radius:4px}.variation-header:hover{background:#34495ecc;transform:translate(2px);box-shadow:0 2px 6px #0003}.expand-button{background:linear-gradient(135deg,#3498db,#2980b9);color:#fff;border:none;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-weight:700;font-size:16px;transition:all .2s ease;box-shadow:0 2px 4px #0003;border:1px solid rgba(255,255,255,.1)}.expand-button:hover{background:linear-gradient(135deg,#2980b9,#1f5f8b);transform:scale(1.15);box-shadow:0 4px 8px #0000004d}.variation-moves{display:flex;gap:6px;flex:1;flex-wrap:wrap;align-items:center}.variation-move{color:#ecf0f1;font-weight:600;font-size:16px;background:linear-gradient(135deg,#34495ecc,#2c3e50cc);padding:3px 8px;border-radius:4px;border:1px solid rgba(255,255,255,.15);box-shadow:0 1px 3px #0003;transition:all .2s ease;position:relative;overflow:hidden}.variation-move:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.1),transparent);transition:left .5s ease}.variation-move:hover:before{left:100%}.variation-move:hover{background:linear-gradient(135deg,#34495e,#2c3e50);transform:translateY(-1px);box-shadow:0 2px 6px #0000004d}.clickable{cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;animation:subtle-pulse 2s ease-in-out infinite}@keyframes subtle-pulse{0%,to{box-shadow:0 1px 3px #0003}50%{box-shadow:0 2px 6px #3498db4d}}.clickable:hover{transform:translateY(-1px);box-shadow:0 2px 6px #0000004d}.clickable:after{content:"👆";position:absolute;top:-8px;right:-8px;font-size:10px;opacity:0;transition:opacity .2s ease}.clickable:hover:after{opacity:1}.clickable.clicked{animation:click-feedback .6s ease-out;transform:scale(.95)}@keyframes click-feedback{0%{transform:scale(1)}50%{transform:scale(.9);background:linear-gradient(135deg,#3498dbe6,#2980b9e6)}to{transform:scale(.95)}}.variation-move.clickable:hover{background:linear-gradient(135deg,#3498dbcc,#2980b9cc);border-color:#3498db80;transform:translateY(-2px) scale(1.05)}.variation-move-detailed.clickable:hover{background:linear-gradient(135deg,#3498db99,#2980b999);border-color:#3498db66;transform:translate(3px)}.variation-evaluation{padding:4px 8px;border-radius:6px;font-size:13px;font-weight:700;min-width:45px;text-align:center;box-shadow:0 2px 4px #0003;border:1px solid rgba(255,255,255,.1);text-shadow:0 1px 2px rgba(0,0,0,.3)}.variation-content{padding:16px;background:linear-gradient(135deg,#34495e,#2c3e50);border-top:1px solid #4a5f7a;border-radius:0 0 6px 6px}.variation-comment{color:#bdc3c7;font-style:italic;font-size:13px;margin-bottom:12px;line-height:1.5;background:#bdc3c71a;padding:8px 12px;border-radius:6px;border-left:3px solid #bdc3c7}.variation-moves-detailed{display:flex;flex-direction:column;gap:6px}.variation-move-detailed{display:flex;justify-content:space-between;align-items:center;padding:6px 10px;background:linear-gradient(135deg,#2c3e50,#34495e);border-radius:6px;border:1px solid rgba(255,255,255,.05);transition:all .2s ease}.variation-move-detailed:hover{background:linear-gradient(135deg,#34495e,#4a5f7a);transform:translate(2px);box-shadow:0 2px 4px #0003}.move-san{color:#ecf0f1;font-weight:600;font-size:14px;background:#34495e99;padding:3px 8px;border-radius:4px;border:1px solid rgba(255,255,255,.1)}.move-evaluation{padding:3px 6px;border-radius:4px;font-size:11px;font-weight:600;min-width:32px;text-align:center;box-shadow:0 1px 3px #0003;border:1px solid rgba(255,255,255,.1)}.evaluation-positive{background:linear-gradient(135deg,#27ae60,#2ecc71);color:#fff;border-color:#229954}.evaluation-negative{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff;border-color:#c0392b}.evaluation-neutral{background:linear-gradient(135deg,#95a5a6,#7f8c8d);color:#fff;border-color:#7f8c8d}.alternatives-container{margin-top:12px;border-left:3px solid #4a5f7a;width:100%;position:relative;background:linear-gradient(135deg,#34495e66,#2c3e504d);border-radius:8px;margin-left:0;box-sizing:border-box;box-shadow:inset 0 2px 4px #0000001a}.alternatives-header{font-weight:700;color:#ecf0f1;margin-bottom:12px;font-size:15px;text-transform:uppercase;letter-spacing:.8px;background:#3498db33;padding:8px 12px;border-radius:6px;border-left:4px solid #3498db;text-align:center}.move-header.compact{margin-bottom:8px}.played-move-block{margin-top:8px}.played-move-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 10px;background:#34495e59;border-radius:8px;border:1px solid rgba(255,255,255,.06)}.played-san{background:transparent;border:none;font-weight:700;font-size:17px;cursor:pointer;padding:4px 8px;border-radius:4px}.played-san:hover{background:#3498db40}.played-san.mover-white,.alt-san.mover-white{color:#fff}.played-san.mover-black,.alt-san.mover-black{color:#7f9cbf}.played-evaluation{font-weight:700;font-size:14px;padding:4px 10px;border-radius:6px;min-width:52px;text-align:center}.alts-toggle{margin-left:auto;background:linear-gradient(135deg,#3498db,#2980b9);color:#fff;border:none;border-radius:6px;padding:6px 10px;font-size:12px;font-weight:600;cursor:pointer}.alts-toggle.open{background:linear-gradient(135deg,#7f8c8d,#636e72)}.alts-panel{margin-top:8px;padding:10px;border-radius:8px;background:#0000002e;border:1px solid rgba(52,152,219,.25)}.alts-label{font-size:12px;color:#bdc3c7;margin-bottom:8px}.alts-list{display:flex;flex-direction:column;gap:6px}.alt-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:8px 10px;border-radius:6px;border:1px solid rgba(255,255,255,.08);background:#2c3e50b3;color:#ecf0f1;cursor:pointer}.alt-row:hover,.alt-row.clicked{border-color:#3498db;background:#3498db33}.alt-san{font-weight:600;color:#ecf0f1}.alt-evaluation{font-weight:700;font-size:13px;padding:2px 8px;border-radius:4px}@media(max-width:768px){.mainline-variations{padding:16px;margin:12px 0}.move-header{flex-wrap:wrap;gap:8px}.variations-container{padding-left:12px}.variation-header{padding:8px 10px}.variation-content{padding:12px}.section-title{font-size:18px;padding:10px 16px}.alts-toggle{margin-left:0;width:100%}}@media(max-width:420px){.mainline-variations{padding:10px;margin:8px 0}.mainline-container{width:100%;max-width:none}.mainline-move{padding:10px;margin-bottom:10px}.section-title{font-size:15px;padding:8px 12px}.played-san{font-size:15px}.played-evaluation{font-size:13px;padding:3px 8px;min-width:44px}.played-move-row{gap:6px;padding:6px 8px}}.chess-viewer{display:flex;flex-direction:column;gap:1rem;max-width:1200px;width:100%;min-width:0;margin:0 auto;padding:1rem;background:#faf8f5;border-radius:12px;box-shadow:0 4px 20px #00000026;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:0;overflow:visible;box-sizing:border-box}.chess-viewer-main{--board-size: min(600px, 100%, calc(100dvh - 12.5rem) );display:flex;flex-direction:column;align-items:center;gap:.65rem;width:min(100%,var(--board-size));flex:1 1 auto;min-width:0;min-height:0}.chess-board-container{width:100%;max-width:100%;min-width:0;aspect-ratio:1 / 1;height:auto;position:relative;box-shadow:0 4px 15px #0003;border-radius:8px;overflow:hidden;flex:0 0 auto;container-type:inline-size}.variation-mode-indicator{position:absolute;top:-40px;left:0;right:0;background:linear-gradient(135deg,#28a745,#20c997);color:#fff;padding:8px 16px;border-radius:8px;text-align:center;font-weight:700;font-size:.9rem;z-index:100;box-shadow:0 2px 8px #28a7454d;animation:slideDown .3s ease-out}@keyframes slideDown{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}.chess-board{width:100%;height:100%;position:relative;background:#5c4a3a;border:3px solid #5c4a3a;border-radius:6px;box-sizing:border-box;overflow:hidden}.board-coordinates{position:absolute;z-index:10;pointer-events:none}.board-coordinates.files{bottom:1px;left:0;right:0;height:16px;display:grid;grid-template-columns:repeat(8,minmax(0,1fr))}.board-coordinates.ranks{top:0;bottom:0;left:1px;width:14px;display:grid;grid-template-rows:repeat(8,minmax(0,1fr))}.coordinate{display:flex;font-size:11px;font-weight:700;line-height:1;min-width:0}.board-coordinates.files .coordinate{align-items:flex-end;justify-content:flex-end;padding:0 4px 2px 0}.board-coordinates.files .coordinate:nth-child(odd){color:#f0d9b5}.board-coordinates.files .coordinate:nth-child(2n){color:#b58863}.board-coordinates.ranks .coordinate{align-items:flex-start;justify-content:flex-start;padding:2px 0 0 3px}.board-coordinates.ranks .coordinate:nth-child(odd){color:#b58863}.board-coordinates.ranks .coordinate:nth-child(2n){color:#f0d9b5}.board-squares{position:absolute;inset:0;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:repeat(8,minmax(0,1fr))}.square{width:100%;height:100%;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer;overflow:hidden;transition:background-color .15s ease,box-shadow .15s ease}.square.light{background-color:#f0d9b5}.square.dark{background-color:#b58863}.square.selected{background-color:#cdd26a!important;box-shadow:inset 0 0 0 3px #8a9a2a}.square.last-move.light{background-color:#f6f669!important}.square.last-move.dark{background-color:#baca2b!important}.square.hint-from,.square.hint-to{box-shadow:inset 0 0 0 4px #2b8cff!important;z-index:2}.square.hint-to:after{content:"";position:absolute;width:28%;height:28%;border-radius:50%;background:#2b8cff8c;pointer-events:none}.square.dragging{opacity:.7}.square:hover{cursor:pointer;box-shadow:inset 0 0 0 2px #5c4a3a8c}.piece{width:85%;height:85%;max-width:100%;max-height:100%;display:flex;align-items:center;justify-content:center;font-size:clamp(1.1rem,10cqw,2.5rem);font-weight:700;line-height:1;-webkit-user-select:none;user-select:none;pointer-events:none;transition:transform .2s ease;border-radius:50%;background:transparent;overflow:hidden}.piece.white{color:#fff;text-shadow:1px 1px 2px rgba(0,0,0,.55);filter:drop-shadow(1px 1px 1px rgba(0,0,0,.35));background:transparent}.piece.black{color:#111;text-shadow:none;filter:drop-shadow(1px 1px 1px rgba(0,0,0,.25));background:transparent}.player-info{display:flex;align-items:center;gap:.5rem;height:36px;padding:0 .75rem;background:#2a2e35;border-radius:8px;min-width:0;width:100%;max-width:600px;justify-content:flex-start;color:#eef1f5;box-shadow:0 2px 8px #0000001f;border:1px solid rgba(255,255,255,.1);box-sizing:border-box}.player-info.top{order:-1}.player-info.bottom{order:1}.player-info.active-turn{border-color:#2ecc718c;box-shadow:0 0 0 1px #2ecc7140}.player-name{font-weight:700;color:#eef1f5;font-size:.95rem;flex-shrink:0}.captured-pieces{display:flex;align-items:center;flex-wrap:wrap;gap:1px;min-height:1.25rem;flex:1;min-width:0}.captured-piece{font-size:1.15rem;line-height:1;opacity:.95}.captured-piece.white-cap{color:#f5f5f5;text-shadow:0 1px 1px rgba(0,0,0,.45)}.captured-piece.black-cap{color:#1a1a1a;text-shadow:0 0 1px rgba(255,255,255,.35);filter:drop-shadow(0 0 .5px rgba(255,255,255,.5))}.material-advantage{font-weight:700;font-size:.9rem;color:#f1c40f;background:#00000040;padding:2px 8px;border-radius:10px;flex-shrink:0}.turn-indicator.compact{margin-left:auto;font-size:.7rem;font-weight:600;padding:0 8px;height:20px;min-height:20px;line-height:20px;border-radius:10px;border-width:1px}.player-title{color:#eef1f5bf;font-size:.9em}.player-rating{color:gold;font-weight:700;background:#0003;padding:2px 8px;border-radius:12px;font-size:.9em}.turn-indicator{color:#fff;font-weight:600;background:#ffffff2e;padding:0 8px;border-radius:10px;font-size:.7rem;margin-left:auto;border:1px solid rgba(255,255,255,.25);height:20px;min-height:20px;line-height:20px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}.game-status.check{font-size:.7rem;padding:0 8px;height:20px;min-height:20px;line-height:20px;margin-left:0}.chess-moves-container{width:100%;max-width:100%;min-width:0;max-height:670px;border:2px solid #e9ecef;border-radius:8px;background:#f8f9fa;box-shadow:0 2px 10px #0000001a;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}.moves-header{padding:.75rem 1rem;background:#2a2e35;border-bottom:1px solid rgba(255,255,255,.1);border-radius:6px 6px 0 0}.moves-header h3{margin:0;font-size:1.1rem;color:#eef1f5;font-weight:700}.moves-content{padding:.75rem;display:flex;flex-wrap:wrap;gap:.5rem;flex:1;overflow-y:auto;min-height:0}.move-item{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border-radius:6px;cursor:pointer;transition:all .2s ease;font-size:.95rem;background:#fff;border:1px solid #e9ecef;box-shadow:0 1px 3px #0000001a}.move-item:hover{background-color:#e3f2fd;transform:translateY(-1px);box-shadow:0 2px 6px #00000026}.move-item.current{background:linear-gradient(135deg,#2196f3,#1976d2);color:#fff;border-color:#1976d2;box-shadow:0 2px 8px #2196f34d}.move-number{font-weight:700;color:#666;min-width:20px}.move-item.current .move-number{color:#fff}.move-san{font-weight:600;min-width:30px}.no-moves{padding:2rem;text-align:center;color:#666;font-style:italic;background:#f8f9fa}.chess-controls{display:flex;gap:.75rem;justify-content:center;padding:.75rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-top:1px solid #e9ecef;border-radius:0 0 6px 6px;margin-top:auto}.control-btn{padding:.75rem 1rem;border:2px solid #dee2e6;background:#fff;border-radius:6px;cursor:pointer;font-size:1.1rem;transition:all .2s ease;min-width:50px;box-shadow:0 2px 4px #0000001a}.control-btn.hint-btn{min-width:4.5rem;font-size:.9rem;font-weight:700;color:#1a5fb4;border-color:#2b8cff;background:#2b8cff14}.control-btn.hint-btn:hover:not(:disabled){background:#2b8cff2e;border-color:#1a6fd4}.control-btn:hover:not(:disabled){background:#e9ecef;border-color:#adb5bd;transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.control-btn:disabled{opacity:.4;cursor:not-allowed;transform:none;background:#f8f9fa;border-color:#dee2e6;color:#6c757d;box-shadow:none}.control-btn:disabled:hover{background:#f8f9fa;border-color:#dee2e6;transform:none;box-shadow:none}.control-btn.active{background:linear-gradient(135deg,#007bff,#0056b3);color:#fff;border-color:#0056b3;box-shadow:0 2px 8px #007bff4d}.error-message{padding:2rem;text-align:center;color:#721c24;background-color:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;font-weight:500}@media(min-width:1100px){.chess-viewer{flex-direction:row;align-items:flex-start;justify-content:flex-start;gap:1.5rem;min-height:0}.chess-viewer-main{flex:0 1 auto;min-width:0;width:min(100%,var(--board-size));max-width:min(600px,100%)}.chess-moves-container{flex:1 1 0;width:100%;min-width:0;max-width:420px;max-height:min(670px,calc(100dvh - 8rem));margin-left:auto;margin-right:auto}.chess-controls{flex-direction:row;justify-content:center}}@media(min-width:1100px)and (max-height:860px){.chess-viewer-main{--board-size: min(520px, 100%, calc(100dvh - 11rem) )}}@media(min-width:1100px)and (max-height:740px){.chess-viewer-main{--board-size: min(440px, 100%, calc(100dvh - 9.5rem) )}.player-info{height:32px}}.initial-position-btn{cursor:pointer;margin:10px;border:2px solid #007bff;border-radius:4px;padding:8px;background-color:#f8f9fa;color:#333;text-align:center;font-weight:700;display:flex;justify-content:center;align-items:center;width:calc(100% - 20px);box-sizing:border-box}.initial-position-btn.current{background-color:#343a40;color:#fff}@media(max-width:1099px){.chess-viewer{flex-direction:column;align-items:stretch;padding:.75rem;min-height:auto;overflow-x:hidden;gap:1rem}.chess-viewer-main{min-width:0;max-width:100%;width:100%}.chess-viewer-main{--board-size: min(560px, 100%, calc(100dvh - 14rem) );width:min(100%,var(--board-size));margin:0 auto}.chess-board-container{width:100%;max-width:100%;min-width:0;margin:0 auto}.piece{font-size:clamp(1rem,10cqw,2rem)}.chess-moves-container{max-height:none;max-width:100%;min-width:0;width:100%;overflow-x:hidden}.moves-content{max-height:320px;max-width:100%;overflow-x:hidden}.initial-position-btn{margin:8px;width:calc(100% - 16px);padding:8px 6px;font-size:.9rem}.move-item{padding:.4rem .6rem;font-size:.9rem}.player-info{height:34px;padding:0 .6rem;min-width:0;width:100%}.control-btn{padding:.5rem;font-size:1rem}}@media(max-width:420px){.chess-viewer{padding:.35rem;gap:.6rem}.player-info{height:32px;padding:0 .5rem;min-width:0;width:100%;padding:.4rem .5rem}.moves-header{padding:.5rem .75rem}.moves-header h3{font-size:1rem}.chess-controls{gap:.4rem;padding:.5rem}.control-btn{min-width:40px;padding:.4rem;font-size:.9rem}}.square.in-check{background-color:red!important;border:4px solid #cc0000!important;box-shadow:0 0 15px #f00c!important;animation:pulse 1s infinite;z-index:10}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}.game-status{font-weight:600;margin-left:0;padding:0 8px;border-radius:10px;height:20px;min-height:20px;line-height:20px;font-size:.7rem;box-sizing:border-box;display:inline-flex;align-items:center}.game-status.check{background-color:#f44;color:#fff;animation:none}.moves-list{display:flex;flex-direction:column;gap:0;max-height:400px;overflow-y:auto;padding:10px;background:#343a40;border-radius:8px;border:1px solid #495057}.move-row{display:flex;align-items:center;gap:0;padding:8px 12px;background:#343a40;border-bottom:1px solid #495057;transition:all .2s ease;min-height:40px}.move-row:last-of-type{border-bottom:none}.move-row:hover{background:#495057}.move-number{font-weight:700;color:#fff;min-width:40px;text-align:left;font-size:.9rem;padding-right:15px;border-right:1px solid #6c757d}.move-item{padding:6px 12px;border-radius:4px;cursor:pointer;transition:all .2s ease;font-family:Courier New,monospace;font-weight:500;min-width:60px;text-align:center;margin:0 5px;position:relative;color:#fff}.move-item.white-move,.move-item.black-move{background:transparent;color:#fff;border:1px solid transparent}.move-item:hover{background:#6c757d;transform:translateY(-1px);box-shadow:0 2px 4px #0000004d}.move-item.current{background:#6c757d!important;color:#fff!important;border:1px solid #007bff!important;box-shadow:0 2px 8px #007bff4d}.move-item.current.white-move,.move-item.current.black-move{background:#6c757d!important;color:#fff!important}.move-with-symbol{display:flex;align-items:center;gap:2px}.white-move-container,.black-move-container{display:flex;flex-direction:column;gap:2px;align-items:center}.variations{display:flex;flex-direction:column;gap:1px;margin-top:2px}.variation-move{font-size:.75rem;color:#adb5bd;cursor:pointer;padding:2px 6px;border-radius:3px;transition:all .2s ease;font-family:Courier New,monospace;background:transparent;border:1px solid transparent}.variation-move:hover{background:#495057;color:#fff;border-color:#6c757d;transform:translateY(-1px)}.variation-move:active{transform:translateY(0)}.moves-list{display:flex;flex-direction:column;gap:8px;padding:16px;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a}.move-group{display:flex;flex-direction:column;gap:4px}.main-move-line{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#f8f9fa;border-radius:6px;border:1px solid #e9ecef}.move-number{font-weight:600;color:#181f26;min-width:24px}.main-move{padding:4px 8px;border-radius:4px;cursor:pointer;transition:all .2s ease;font-weight:500}.main-move:hover{background:#e9ecef;transform:translateY(-1px)}.main-move.current{background:#007bff;color:#fff}.white-move{color:#495057}.black-move{color:#6c757d}.variation-tree{margin-left:24px;display:flex;flex-direction:column;gap:4px}.variation-tree-node{display:flex;flex-direction:column;border-left:2px solid #e9ecef;margin-left:8px}.variation-header{display:flex;align-items:center;gap:8px;padding:6px 10px;background:#fff3cd;border-radius:4px;border-left:3px solid #ffc107;cursor:pointer;transition:all .2s ease}.variation-header:hover{background:#ffeaa7;transform:translate(2px)}.expand-button{width:16px;height:16px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:10px;color:#856404;-webkit-user-select:none;user-select:none;transition:transform .2s ease}.expand-button.expanded{transform:rotate(0)}.expand-button.collapsed{transform:rotate(-90deg)}.variation-move{color:#856404;font-weight:500;font-size:.9em;flex:1;cursor:pointer}.variation-move.current{background:#007bff;color:#fff;padding:2px 6px;border-radius:3px}.variation-evaluation{color:#856404;font-size:.8em;font-weight:700;background:#ffc10733;padding:2px 6px;border-radius:3px}.variation-content{margin-left:16px;padding-left:12px;border-left:1px solid #dee2e6}.sub-variations{display:flex;flex-direction:column;gap:2px;margin-top:4px}.sub-variation{display:flex;justify-content:space-between;align-items:center;padding:4px 8px;background:#f8f9fa;border-radius:3px;font-size:.85em;cursor:pointer;transition:background-color .2s}.sub-variation:hover{background:#e9ecef}.sub-move{color:#6c757d;font-weight:500}.sub-evaluation{color:#6c757d;font-size:.8em;font-weight:700}.alternative-moves-section{margin-top:20px;padding:15px;background:#495057;border-radius:8px;border:1px solid #6c757d}.alternative-moves-section h4{margin:0 0 15px;color:#fff;font-size:1rem;font-weight:600;text-align:center}.alternative-moves-list{display:flex;flex-direction:column;gap:8px}.alternative-move{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#343a40;border-radius:6px;cursor:pointer;transition:all .2s ease;border:1px solid transparent}.alternative-move:hover{background:#6c757d;transform:translateY(-1px);box-shadow:0 2px 4px #0000004d}.alternative-move.best-move{border-color:gold;background:linear-gradient(135deg,#343a40,#495057)}.move-san{font-family:Courier New,monospace;font-weight:600;color:#fff;font-size:.9rem}.move-evaluation{font-family:Courier New,monospace;font-weight:600;font-size:.85rem;padding:2px 6px;border-radius:4px;min-width:40px;text-align:center}.evaluation-positive{color:#28a745;background:#28a74533}.evaluation-negative{color:#dc3545;background:#dc354533}.evaluation-neutral{color:#6c757d;background:#6c757d33}.best-move-indicator{color:gold;font-size:1.1rem;margin-left:8px;animation:pulse 2s infinite}.piece-symbol{font-size:1.1rem;line-height:1}.move-text{font-size:.9rem}.moves-list::-webkit-scrollbar{width:8px}.moves-list::-webkit-scrollbar-track{background:#495057;border-radius:4px}.moves-list::-webkit-scrollbar-thumb{background:#6c757d;border-radius:4px}.moves-list::-webkit-scrollbar-thumb:hover{background:#adb5bd}@media(max-width:768px){.move-row{flex-direction:column;align-items:flex-start;gap:6px;padding:10px}.move-number{align-self:flex-start;border-right:none;border-bottom:1px solid #6c757d;padding-bottom:5px;margin-bottom:5px}.move-item{width:100%;text-align:left;margin:2px 0}}.current-position-alternatives{margin-top:20px;padding:16px;background:#2a2e35;border-radius:8px;border:1px solid rgba(255,255,255,.1)}.current-position-alternatives h4{margin:0 0 12px;color:#eef1f5;font-size:14px;font-weight:600}.alternatives-list{display:flex;flex-direction:column;gap:8px}.alternative-move{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#34495e;border:1px solid #4a5f7a;border-radius:6px;cursor:pointer;transition:all .2s ease}.alternative-move:hover{background:#4a5f7a;border-color:#3498db;transform:translate(4px);box-shadow:0 2px 8px #3498db4d}.alternative-move .move-san{font-weight:600;color:#ecf0f1;font-size:14px}.alternative-move .move-evaluation{font-size:.85em;padding:4px 8px;border-radius:4px;font-weight:500;min-width:40px;text-align:center}html,body{overscroll-behavior-y:none}#root{min-height:100dvh;min-height:100svh}.chess-board,.chess-board .square{touch-action:none;-webkit-user-select:none;user-select:none}.chess-board .square{-webkit-tap-highlight-color:transparent}@media(max-width:768px){.App{padding:.35rem;padding-bottom:max(.5rem,env(safe-area-inset-bottom));padding-left:max(.35rem,env(safe-area-inset-left));padding-right:max(.35rem,env(safe-area-inset-right))}.App-header{position:sticky;top:0;z-index:40;margin-bottom:.5rem;padding-top:max(.55rem,env(safe-area-inset-top));gap:.45rem}.App-header h1{font-size:1.2rem}.header-controls{gap:.4rem}.new-game-btn,.sound-toggle-btn{min-height:40px;padding:.45rem .7rem;font-size:.8rem}.chess-viewer{padding:.4rem;gap:.55rem}.chess-viewer-main{--board-size: min( 100%, calc(100dvh - 11.5rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)) );width:min(100%,var(--board-size));gap:.4rem}.App:has(.online-waiting-bar) .chess-viewer-main{--board-size: min( 100%, calc(100dvh - 15.5rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)) )}.player-info{height:auto!important;min-height:40px;padding:.35rem .55rem!important;gap:.35rem;flex-wrap:nowrap}.player-name{font-size:.82rem;max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-clock{font-size:1.15rem;min-width:3.6rem}.online-waiting-bar{flex-direction:column;align-items:stretch;gap:.55rem;margin-bottom:.55rem;padding:.65rem .75rem}.online-waiting-actions{width:100%;display:flex;flex-wrap:wrap;gap:.4rem}.online-waiting-actions button{flex:1 1 auto;min-height:42px;font-size:.85rem}.chess-moves-container{margin-top:.15rem}.moves-content{max-height:min(240px,32dvh)!important}.control-btn,.hint-btn,.initial-position-btn{min-height:44px}.alternative-move{min-height:44px;padding:12px 14px}.alternative-move:hover{transform:none}}@media(max-width:420px){.App-header h1{font-size:1.1rem}.chess-viewer-main{--board-size: min( 100%, calc(100dvh - 10.5rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)) )}.App:has(.online-waiting-bar) .chess-viewer-main{--board-size: min( 100%, calc(100dvh - 14.5rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)) )}.player-clock{font-size:1.05rem}.turn-indicator.compact{display:none}}@media(max-width:900px)and (max-height:480px)and (orientation:landscape){.App-header{position:static;padding:.35rem .5rem;margin-bottom:.35rem}.App-header h1{display:none}.chess-viewer{padding:.25rem}.chess-viewer-main{--board-size: min(100%, calc(100dvh - 5.5rem) )}.chess-moves-container{display:none}}.online-lobby{display:flex;justify-content:center;padding:1.5rem .5rem 2rem}.online-lobby-panel{width:min(420px,100%);text-align:left;background:#ffffff0f;border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:1.35rem 1.4rem 1.5rem;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 12px 40px #00000040}.online-lobby-panel h2{margin:0 0 .35rem;color:#eef1f5;font-size:1.45rem}.online-lobby-sub{margin:0 0 1.15rem;color:#eef1f5b8;font-size:.92rem;line-height:1.4}.online-phone-hint{margin:-.35rem 0 1rem;padding:.65rem .75rem;border-radius:8px;border:1px solid rgba(255,193,7,.35);background:#ffc1071f;color:#ffe8a3;font-size:.82rem;line-height:1.4}.online-phone-hint code{font-size:.78rem;word-break:break-all}.online-field{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.85rem;color:#eef1f5d9;font-size:.82rem;font-weight:600}.online-field input,.online-field select{appearance:none;border:1px solid rgba(255,255,255,.22);background:#00000040;color:#eef1f5;border-radius:8px;padding:.7rem .75rem;font-size:16px;font-weight:500;min-height:44px}.online-field input:focus,.online-field select:focus{outline:none;border-color:#6eb4ffb3}.online-actions{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.25rem}.online-primary,.online-secondary,.online-ghost{appearance:none;border-radius:8px;padding:.65rem 1rem;min-height:44px;font-size:.95rem;font-weight:700;cursor:pointer}@media(max-width:480px){.online-lobby{padding:.75rem .25rem 1.25rem}.online-lobby-panel{padding:1.1rem 1rem 1.25rem;border-radius:12px}.online-actions{flex-direction:column}.online-primary,.online-secondary,.online-ghost{width:100%}}.online-primary{border:1px solid rgba(46,204,113,.55);background:#2ecc7138;color:#eef1f5}.online-primary:hover:not(:disabled){background:#2ecc7157}.online-secondary{border:1px solid rgba(110,180,255,.5);background:#6eb4ff2e;color:#eef1f5}.online-secondary:hover:not(:disabled){background:#6eb4ff47}.online-ghost{border:1px solid rgba(255,255,255,.22);background:transparent;color:#eef1f5d9}.online-primary:disabled,.online-secondary:disabled,.online-ghost:disabled{opacity:.5;cursor:not-allowed}.online-divider{display:flex;align-items:center;gap:.75rem;margin:1.1rem 0 .9rem;color:#eef1f573;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em}.online-divider:before,.online-divider:after{content:"";flex:1;height:1px;background:#ffffff1f}.online-error{margin:.9rem 0 0;color:#ff8e8e;font-size:.88rem}.online-waiting-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.65rem;margin-bottom:.85rem;padding:.7rem .95rem;border-radius:10px;background:#ffffff0f;border:1px solid rgba(255,255,255,.12);color:#eef1f5;text-align:left}.online-waiting-bar strong{letter-spacing:.12em;font-size:1.15rem}.online-waiting-actions{display:flex;flex-wrap:wrap;gap:.45rem}.online-waiting-actions button{appearance:none;border-radius:8px;padding:.4rem .75rem;font-size:.82rem;font-weight:700;cursor:pointer;border:1px solid rgba(255,255,255,.25);background:#ffffff1a;color:#eef1f5}.online-waiting-actions button.danger{border-color:#e74c3c80;background:#e74c3c2e}.online-waiting-actions button.online-new-room-btn{border-color:#2ecc718c;background:#2ecc7147;font-weight:800}.online-resume{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.65rem;margin-bottom:1rem;padding:.75rem .85rem;border-radius:10px;border:1px solid rgba(110,180,255,.35);background:#6eb4ff1f;color:#eef1f5}.online-resume p{margin:0;font-size:.9rem}.player-clock{margin-left:auto;font-variant-numeric:tabular-nums;font-weight:700;font-size:1.05rem;letter-spacing:.04em;min-width:3.4rem;text-align:right;color:#eef1f5e0}.player-clock.low{color:#ff8e8e}.player-clock.active-clock{color:#7dffa3}.player-info .player-clock{flex-shrink:0}.App{text-align:center;min-height:100dvh;background:radial-gradient(ellipse at 20% 0%,rgba(120,140,160,.12),transparent 45%),radial-gradient(ellipse at 80% 100%,rgba(60,70,85,.25),transparent 50%),linear-gradient(165deg,#3a3f4a,#2a2e35,#1e2128);padding:.75rem 1rem 1rem;box-sizing:border-box;overflow-x:hidden}.App-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.65rem 1rem;background:#ffffff0d;padding:.85rem 1.25rem;border-radius:12px;margin-bottom:1rem;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.1);box-sizing:border-box}.App-header h1{color:#eef1f5;margin:0;font-size:clamp(1.35rem,2.6vw,2.25rem);font-weight:700;letter-spacing:.02em;text-shadow:0 2px 8px rgba(0,0,0,.35);flex:0 1 auto;min-width:0;line-height:1.15}.header-controls{position:static;transform:none;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.55rem .7rem;flex:1 1 auto;min-width:0}.new-game-btn{appearance:none;border:1px solid rgba(255,255,255,.28);background:#2ecc712e;color:#eef1f5;border-radius:8px;padding:.4rem .85rem;font-size:.85rem;font-weight:700;cursor:pointer;white-space:nowrap;transition:background .15s ease,border-color .15s ease}.new-game-btn:hover{background:#2ecc714d;border-color:#2ecc71}.new-game-btn:active{background:#2ecc7166}.sound-toggle-btn{appearance:none;border:1px solid rgba(255,255,255,.28);background:#ffffff1a;color:#eef1f5;border-radius:8px;padding:.4rem .75rem;font-size:.85rem;font-weight:700;cursor:pointer;white-space:nowrap;transition:background .15s ease,border-color .15s ease,opacity .15s ease}.sound-toggle-btn.on{background:#3498db38;border-color:#3498db8c}.sound-toggle-btn.off{opacity:.65}.sound-toggle-btn:hover{background:#3498db52;border-color:#3498db}.play-computer-toggle{display:inline-flex;align-items:center;gap:.55rem;cursor:pointer;-webkit-user-select:none;user-select:none;color:#eef1f5;font-size:.9rem;font-weight:600}.difficulty-select{display:inline-flex;align-items:center;gap:.4rem;color:#eef1f5;font-size:.85rem;font-weight:600}.difficulty-select .difficulty-label{white-space:nowrap;opacity:.9}.difficulty-select select{appearance:none;background:#ffffff1f;color:#eef1f5;border:1px solid rgba(255,255,255,.25);border-radius:8px;padding:.35rem 1.75rem .35rem .65rem;font-size:.85rem;font-weight:600;cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,#eef1f5 50%),linear-gradient(135deg,#eef1f5 50%,transparent 50%);background-position:calc(100% - 14px) calc(50% - 2px),calc(100% - 9px) calc(50% - 2px);background-size:5px 5px,5px 5px;background-repeat:no-repeat}.difficulty-select select:focus{outline:none;border-color:#2ecc71}.difficulty-select select option{color:#1e2128;background:#fff}.play-computer-toggle input{position:absolute;opacity:0;width:0;height:0}.play-computer-toggle .toggle-track{width:42px;height:24px;border-radius:999px;background:#ffffff2e;border:1px solid rgba(255,255,255,.25);position:relative;flex-shrink:0;transition:background .2s ease}.play-computer-toggle .toggle-track:after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .2s ease}.play-computer-toggle input:checked+.toggle-track{background:#2ecc71;border-color:#27ae60}.play-computer-toggle input:checked+.toggle-track:after{transform:translate(18px)}.play-computer-toggle .toggle-label{white-space:nowrap}.App-header p{color:#eef1f5cc;margin:0;font-size:1.1rem}main{max-width:1400px;width:100%;min-width:0;margin:0 auto;box-sizing:border-box}.viewer-container{background:#faf8f5;border-radius:12px;box-shadow:0 8px 32px #00000047;overflow:hidden;max-width:100%;box-sizing:border-box}@media(max-width:1280px){.App-header{flex-direction:column;align-items:stretch;padding:.75rem 1rem}.App-header h1{text-align:center;width:100%}.header-controls{justify-content:center}.play-computer-toggle .toggle-label-full{display:none}.play-computer-toggle .toggle-label-short{display:inline}}.play-computer-toggle .toggle-label-short{display:none}@media(max-width:768px){.App{padding:.5rem}.App-header{gap:.6rem;padding:.7rem .75rem;margin-bottom:.75rem}.play-computer-toggle{font-size:.85rem}.difficulty-select{font-size:.8rem}.new-game-btn,.sound-toggle-btn{padding:.35rem .65rem;font-size:.8rem}}@media(max-width:420px){.App{padding:.35rem}.App-header{padding:.6rem;margin-bottom:.6rem}.App-header p{font-size:.9rem}.play-computer-toggle .toggle-label{font-size:.8rem}.difficulty-select .difficulty-label{display:none}}*,*:before,*:after{box-sizing:border-box}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#fffffff2;background-color:transparent;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}a{font-weight:500;color:#c4a574;text-decoration:inherit}a:hover{color:#a88855}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid rgba(255,255,255,.3);padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#ffffffe6;color:#2c3e50;cursor:pointer;transition:all .25s ease}button:hover{border-color:#c4a574;background-color:#fff;transform:translateY(-1px)}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#2c3e50;background-color:transparent}a:hover{color:#c4a574}button{background-color:#ffffffe6;color:#2c3e50;border:1px solid rgba(255,255,255,.3)}}#root{width:100%;min-height:100vh;margin:0;padding:0;text-align:center}.card{padding:2em}.read-the-docs{color:#888}
