.board-centered{width:100%;max-width:400px;margin-inline:auto}.board-centered>div{width:100%}.board-centered.small-board{width:200px;max-width:200px}.chessboard-controls{display:flex;justify-content:center;align-items:center;gap:.25rem;margin-top:.5rem}.btn-chessboard{--bs-btn-padding-x:0.75rem;--bs-btn-padding-y:0.35rem;touch-action:manipulation}.chessboard-pgn-selector{display:flex;justify-content:center;margin-top:.5rem}.chessboard-actions{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:.35rem;gap:.75rem}.chessboard-actions-left,.chessboard-actions-right{display:flex;align-items:center}.chessboard-actions-right{gap:.35rem}.chessboard-action{display:inline-flex;align-items:center;justify-content:center;border:0;background:0 0;padding:.25rem;color:inherit;cursor:pointer;line-height:1;opacity:.75;transition:opacity .15s ease}.chessboard-action:hover{opacity:1}.chessboard-action:focus-visible{outline:2px solid currentcolor;outline-offset:2px}.chessboard-action-switch{display:flex;align-items:center}.chessboard-action-switch .form-check{margin:0;min-height:0}.form-check-input.switch-with-text{position:relative;padding-left:2.5rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e")!important}.form-check-input.switch-with-text:checked{background-position:right center}.form-check-input.switch-with-text:not(:checked){background-position:left center}.form-check-input.switch-with-text:checked::before{content:attr(data-checked)}.form-check-input.switch-with-text:not(:checked)::after{content:attr(data-unchecked)}.form-check-input.switch-with-text:checked::before,.form-check-input.switch-with-text:not(:checked)::after{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#2c2c2c!important;font-size:.75rem;background:0 0!important;box-shadow:none!important;padding:0;border:0}.chessboard-merida-container{container-type:inline-size}.chessboard-merida{font-family:Merida,serif;font-size:min(40px, 10cqw);line-height:1;display:inline-block;white-space:nowrap}.chess-inline{font-family:"DejaVu Sans",sans-serif;font-size:.95em;letter-spacing:.01em;white-space:nowrap;font-weight:400}.chess-inline strong{font-weight:700}.chess-line{font-family:"DejaVu Sans",sans-serif;font-size:1.05em;line-height:1.8;text-align:center;margin:1.5rem 0;font-weight:400}.chess-line strong{font-weight:700}.chess-table table{margin:1.5rem auto;border-collapse:collapse;font-family:"DejaVu Sans",sans-serif;font-weight:400}.chess-table strong{font-weight:700}.chess-table td,.chess-table th{padding:.35rem .9rem;text-align:center}.chess-table th{border-bottom:2px solid currentcolor}.chess-table td{border-bottom:1px solid currentcolor}.chess-table td:first-child{opacity:.65}.theme-primary .white-1e1d7{background-color:#f8f8f2;color:#0083b3}.theme-primary .black-3c85d{background-color:#0083b3;color:#f8f8f2}.theme-primary .chessboard-merida{color:#0083b3}.theme-primary .btn-chessboard{--bs-btn-bg:#0083B3;--bs-btn-border-color:#F8F8F2;--bs-btn-color:#F8F8F2;--bs-btn-hover-bg:#0083B3;--bs-btn-hover-border-color:#F8F8F2;--bs-btn-hover-color:#F8F8F2;--bs-btn-active-bg:#F8F8F2;--bs-btn-active-border-color:#0083B3;--bs-btn-active-color:#0083B3}.theme-primary .highlight-1{background-color:#ff4030}.theme-primary .highlight-2{background-color:#ff8a80}.theme-primary .chessboard-action{color:#0083b3}.theme-primary .chessboard-action:hover{color:#d9d9d9}.theme-primary .switch-with-text{background-color:#4da6c6!important;border-color:#4da6c6!important}.theme-primary .switch-with-text:checked{background-color:#0083b3!important;border-color:#0083b3!important}.theme-primary .switch-with-text:focus{box-shadow:0 0 0 .25rem rgb(77 166 198 / 20%)!important}.theme-primary .switch-with-text:checked:focus{box-shadow:0 0 0 .25rem rgb(0 131 179 / 20%)!important}.theme-complementary .white-1e1d7{background-color:#f8f8f2;color:#ff4030}.theme-complementary .black-3c85d{background-color:#ff4030;color:#f8f8f2}.theme-complementary .chessboard-merida{color:#ff4030}.theme-complementary .btn-chessboard{--bs-btn-bg:#FF4030;--bs-btn-border-color:#F8F8F2;--bs-btn-color:#F8F8F2;--bs-btn-hover-bg:#FF4030;--bs-btn-hover-border-color:#F8F8F2;--bs-btn-hover-color:#F8F8F2;--bs-btn-active-bg:#F8F8F2;--bs-btn-active-border-color:#FF4030;--bs-btn-active-color:#FF4030}.theme-complementary .highlight-1{background-color:#0083b3}.theme-complementary .highlight-2{background-color:#99e4ff}.theme-complementary .chessboard-action{color:#ff4030}.theme-complementary .chessboard-action:hover{color:#d9d9d9}.theme-complementary .switch-with-text{background-color:#ff7a70!important;border-color:#ff7a70!important}.theme-complementary .switch-with-text:checked{background-color:#ff4030!important;border-color:#ff4030!important}.theme-complementary .switch-with-text:focus{box-shadow:0 0 0 .25rem rgb(255 122 112 / 20%)!important}.theme-complementary .switch-with-text:checked:focus{box-shadow:0 0 0 .25rem rgb(255 64 48 / 20%)!important}.theme-black-white .white-1e1d7{background-color:#f8f8f2;color:#2c2c2c}.theme-black-white .black-3c85d{background-color:#2c2c2c;color:#f8f8f2}.theme-black-white .chessboard-merida{color:#2c2c2c}.theme-black-white .btn-chessboard{--bs-btn-bg:#2C2C2C;--bs-btn-border-color:#F8F8F2;--bs-btn-color:#F8F8F2;--bs-btn-hover-bg:#2C2C2C;--bs-btn-hover-border-color:#F8F8F2;--bs-btn-hover-color:#F8F8F2;--bs-btn-active-bg:#F8F8F2;--bs-btn-active-border-color:#2C2C2C;--bs-btn-active-color:#2C2C2C}.theme-black-white .highlight-1{background-color:#707070}.theme-black-white .highlight-2{background-color:#d9d9d9}.theme-black-white .chessboard-action{color:#2c2c2c}.theme-black-white .chessboard-action:hover{color:#d9d9d9}.theme-black-white .switch-with-text{background-color:#a6a6a6!important;border-color:#a6a6a6!important}.theme-black-white .switch-with-text:checked{background-color:#5c5c5c!important;border-color:#5c5c5c!important}.theme-black-white .switch-with-text:focus{box-shadow:0 0 0 .25rem rgb(166 166 166 / 20%)!important}.theme-black-white .switch-with-text:checked:focus{box-shadow:0 0 0 .25rem rgb(92 92 92 / 20%)!important}.theme-chesscom-brown .white-1e1d7,.theme-default .white-1e1d7,.theme-lichess-brown .white-1e1d7{background-color:#f0d9b5;color:#b58863}.theme-chesscom-brown .black-3c85d,.theme-default .black-3c85d,.theme-lichess-brown .black-3c85d{background-color:#b58863;color:#f0d9b5}.theme-chesscom-brown .chessboard-merida,.theme-default .chessboard-merida,.theme-lichess-brown .chessboard-merida{color:#b58863}.theme-chesscom-brown .btn-chessboard,.theme-default .btn-chessboard,.theme-lichess-brown .btn-chessboard{--bs-btn-bg:#B58863;--bs-btn-border-color:#F0D9B5;--bs-btn-color:#F0D9B5;--bs-btn-hover-bg:#B58863;--bs-btn-hover-border-color:#F0D9B5;--bs-btn-hover-color:#F0D9B5;--bs-btn-active-bg:#F0D9B5;--bs-btn-active-border-color:#B58863;--bs-btn-active-color:#B58863}.theme-chesscom-brown .highlight-1,.theme-default .highlight-1,.theme-lichess-brown .highlight-1{background-color:#ff0}.theme-chesscom-brown .highlight-2,.theme-default .highlight-2,.theme-lichess-brown .highlight-2{background-color:#ffffb3}.theme-chesscom-brown .chessboard-action,.theme-default .chessboard-action,.theme-lichess-brown .chessboard-action{color:#b58863}.theme-chesscom-brown .chessboard-action:hover,.theme-default .chessboard-action:hover,.theme-lichess-brown .chessboard-action:hover{color:#f0d9b5}.theme-chesscom-brown .switch-with-text,.theme-default .switch-with-text,.theme-lichess-brown .switch-with-text{background-color:#f0d9b5!important;border-color:#f0d9b5!important}.theme-chesscom-brown .switch-with-text:checked,.theme-default .switch-with-text:checked,.theme-lichess-brown .switch-with-text:checked{background-color:#b58863!important;border-color:#b58863!important}.theme-chesscom-brown .switch-with-text:focus,.theme-default .switch-with-text:focus,.theme-lichess-brown .switch-with-text:focus{box-shadow:0 0 0 .25rem rgb(240 217 181 / 20%)!important}.theme-chesscom-brown .switch-with-text:checked:focus,.theme-default .switch-with-text:checked:focus,.theme-lichess-brown .switch-with-text:checked:focus{box-shadow:0 0 0 .25rem rgb(181 136 99 / 20%)!important}.theme-chesscom-green .white-1e1d7,.theme-green .white-1e1d7{background-color:#ebecd0;color:#739552}.theme-chesscom-green .black-3c85d,.theme-green .black-3c85d{background-color:#739552;color:#ebecd0}.theme-chesscom-green .chessboard-merida,.theme-green .chessboard-merida{color:#739552}.theme-chesscom-green .btn-chessboard,.theme-green .btn-chessboard{--bs-btn-bg:#739552;--bs-btn-border-color:#EBECD0;--bs-btn-color:#EBECD0;--bs-btn-hover-bg:#739552;--bs-btn-hover-border-color:#EBECD0;--bs-btn-hover-color:#EBECD0;--bs-btn-active-bg:#EBECD0;--bs-btn-active-border-color:#739552;--bs-btn-active-color:#739552}.theme-chesscom-green .highlight-1,.theme-green .highlight-1{background-color:#f50}.theme-chesscom-green .highlight-2,.theme-green .highlight-2{background-color:#fb9}.theme-chesscom-green .chessboard-action,.theme-green .chessboard-action{color:#739552}.theme-chesscom-green .chessboard-action:hover,.theme-green .chessboard-action:hover{color:#ebecd0}.theme-chesscom-green .switch-with-text,.theme-green .switch-with-text{background-color:#ebecd0!important;border-color:#ebecd0!important}.theme-chesscom-green .switch-with-text:checked,.theme-green .switch-with-text:checked{background-color:#739552!important;border-color:#739552!important}.theme-chesscom-green .switch-with-text:focus,.theme-green .switch-with-text:focus{box-shadow:0 0 0 .25rem rgb(235 236 208 / 20%)!important}.theme-chesscom-green .switch-with-text:checked:focus,.theme-green .switch-with-text:checked:focus{box-shadow:0 0 0 .25rem rgb(115 149 82 / 20%)!important}.theme-blue .white-1e1d7,.theme-chesscom-blue .white-1e1d7{background-color:#f2f6fa;color:#5596f2}.theme-blue .black-3c85d,.theme-chesscom-blue .black-3c85d{background-color:#5596f2;color:#f2f6fa}.theme-blue .chessboard-merida,.theme-chesscom-blue .chessboard-merida{color:#5596f2}.theme-blue .btn-chessboard,.theme-chesscom-blue .btn-chessboard{--bs-btn-bg:#5596F2;--bs-btn-border-color:#F2F6FA;--bs-btn-color:#F2F6FA;--bs-btn-hover-bg:#5596F2;--bs-btn-hover-border-color:#F2F6FA;--bs-btn-hover-color:#F2F6FA;--bs-btn-active-bg:#F2F6FA;--bs-btn-active-border-color:#5596F2;--bs-btn-active-color:#5596F2}.theme-blue .highlight-1,.theme-chesscom-blue .highlight-1{background-color:#f50}.theme-blue .highlight-2,.theme-chesscom-blue .highlight-2{background-color:#fb9}.theme-blue .chessboard-action,.theme-chesscom-blue .chessboard-action{color:#5596f2}.theme-blue .chessboard-action:hover,.theme-chesscom-blue .chessboard-action:hover{color:#d9d9d9}.theme-blue .switch-with-text,.theme-chesscom-blue .switch-with-text{background-color:#9bc2f8!important;border-color:#9bc2f8!important}.theme-blue .switch-with-text:checked,.theme-chesscom-blue .switch-with-text:checked{background-color:#5596f2!important;border-color:#5596f2!important}.theme-blue .switch-with-text:focus,.theme-chesscom-blue .switch-with-text:focus{box-shadow:0 0 0 .25rem rgb(155 194 248 / 20%)!important}.theme-blue .switch-with-text:checked:focus,.theme-chesscom-blue .switch-with-text:checked:focus{box-shadow:0 0 0 .25rem rgb(85 150 242 / 20%)!important}.theme-chesscom .white-1e1d7{background-color:#eeeed2;color:#769656}.theme-chesscom .black-3c85d{background-color:#769656;color:#eeeed2}.theme-chesscom .chessboard-merida{color:#769656}.theme-chesscom .btn-chessboard{--bs-btn-bg:#769656;--bs-btn-border-color:#EEEED2;--bs-btn-color:#EEEED2;--bs-btn-hover-bg:#769656;--bs-btn-hover-border-color:#EEEED2;--bs-btn-hover-color:#EEEED2;--bs-btn-active-bg:#EEEED2;--bs-btn-active-border-color:#769656;--bs-btn-active-color:#769656}.theme-chesscom .highlight-1{background-color:#f50}.theme-chesscom .highlight-2{background-color:#fb9}.theme-chesscom .chessboard-action{color:#769656}.theme-chesscom .chessboard-action:hover{color:#eeeed2}.theme-chesscom .switch-with-text{background-color:#ebecd0!important;border-color:#ebecd0!important}.theme-chesscom .switch-with-text:checked{background-color:#739552!important;border-color:#739552!important}.theme-chesscom .switch-with-text:focus{box-shadow:0 0 0 .25rem rgb(235 236 208 / 20%)!important}.theme-chesscom .switch-with-text:checked:focus{box-shadow:0 0 0 .25rem rgb(115 149 82 / 20%)!important}.theme-lichess-blue .white-1e1d7{background-color:#dee3e6;color:#4a758a}.theme-lichess-blue .black-3c85d{background-color:#4a758a;color:#dee3e6}.theme-lichess-blue .chessboard-merida{color:#4a758a}.theme-lichess-blue .btn-chessboard{--bs-btn-bg:#4A758A;--bs-btn-border-color:#DEE3E6;--bs-btn-color:#DEE3E6;--bs-btn-hover-bg:#4A758A;--bs-btn-hover-border-color:#DEE3E6;--bs-btn-hover-color:#DEE3E6;--bs-btn-active-bg:#DEE3E6;--bs-btn-active-border-color:#4A758A;--bs-btn-active-color:#4A758A}.theme-lichess-blue .highlight-1{background-color:#f50}.theme-lichess-blue .highlight-2{background-color:#fb9}.theme-lichess-blue .chessboard-action{color:#4a758a}.theme-lichess-blue .chessboard-action:hover{color:#dee3e6}.theme-lichess-blue .switch-with-text{background-color:#dee3e6!important;border-color:#dee3e6!important}.theme-lichess-blue .switch-with-text:checked{background-color:#4a758a!important;border-color:#4a758a!important}.theme-lichess-blue .switch-with-text:focus{box-shadow:0 0 0 .25rem rgb(222 227 230 / 20%)!important}.theme-lichess-blue .switch-with-text:checked:focus{box-shadow:0 0 0 .25rem rgb(74 117 138 / 20%)!important}.theme-wood .black-3c85d{background-color:#b58863;background-image:url("/img/chess/chessboards/wood/dark.png");background-size:cover;background-position:center;color:#f0d9b5}.theme-wood .white-1e1d7{background-color:#f0d9b5;background-image:url("/img/chess/chessboards/wood/light.png");background-size:cover;background-position:center;color:#b58863}.theme-wood .chessboard-merida{color:#b58863}.theme-wood .btn-chessboard{--bs-btn-bg:#B58863;--bs-btn-border-color:#F0D9B5;--bs-btn-color:#F0D9B5;--bs-btn-hover-bg:#B58863;--bs-btn-hover-border-color:#F0D9B5;--bs-btn-hover-color:#F0D9B5;--bs-btn-active-bg:#F0D9B5;--bs-btn-active-border-color:#B58863;--bs-btn-active-color:#B58863}.theme-wood .highlight-1{background:#ff0}.theme-wood .highlight-2{background:#ffffb3}.theme-wood .chessboard-action{color:#b58863}.theme-wood .chessboard-action:hover{color:#f0d9b5}.theme-wood .switch-with-text{background-color:#f0d9b5!important;border-color:#f0d9b5!important}.theme-wood .switch-with-text:checked{background-color:#b58863!important;border-color:#b58863!important}.theme-wood .switch-with-text:focus{box-shadow:0 0 0 .25rem rgb(240 217 181 / 20%)!important}.theme-wood .switch-with-text:checked:focus{box-shadow:0 0 0 .25rem rgb(181 136 99 / 20%)!important}.theme-marble .white-1e1d7{background-color:#dee3e6;background-image:url("/img/chess/chessboards/marble/light.png");background-size:cover;background-position:center;color:#4a758a}.theme-marble .black-3c85d{background-color:#4a758a;background-image:url("/img/chess/chessboards/marble/dark.png");background-size:cover;background-position:center;color:#dee3e6}.theme-marble .chessboard-merida{color:#4a758a}.theme-marble .btn-chessboard{--bs-btn-bg:#4A758A;--bs-btn-border-color:#DEE3E6;--bs-btn-color:#DEE3E6;--bs-btn-hover-bg:#4A758A;--bs-btn-hover-border-color:#DEE3E6;--bs-btn-hover-color:#DEE3E6;--bs-btn-active-bg:#DEE3E6;--bs-btn-active-border-color:#4A758A;--bs-btn-active-color:#4A758A}.theme-marble .highlight-1{background:#f50}.theme-marble .highlight-2{background:#fb9}.theme-marble .chessboard-action{color:#4a758a}.theme-marble .chessboard-action:hover{color:#dee3e6}.theme-lichess-blue .switch-with-text{background-color:#dee3e6!important;border-color:#dee3e6!important}.theme-marble .switch-with-text:checked{background-color:#4a758a!important;border-color:#4a758a!important}.theme-marble .switch-with-text:focus{box-shadow:0 0 0 .25rem rgb(222 227 230 / 20%)!important}.theme-marble .switch-with-text:checked:focus{box-shadow:0 0 0 .25rem rgb(74 117 138 / 20%)!important}