.mini-chessboard{width:176px;height:176px;background:#ddd;display:flex;flex-wrap:wrap}.mini-chessboard .square{width:12.5%;height:12.5%;transition:background .1s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mini-chessboard .square.light{background:#f3e4cf}.mini-chessboard .square.dark{background:#ceb3a2}.mini-chessboard .square.move-from{background:#fffcdd}.mini-chessboard .square.move-to{background:#fff79b}.mini-chessboard .square .piece{width:100%;height:100%;position:relative}.mini-chessboard .piece-buffer{display:none}.board-area{position:relative}.piece-promotion-modal-container{width:100%;height:100%;position:absolute;left:0;top:0;z-index:0}.piece-promotion-modal-container .piece-promotion-modal{background:#fff;box-shadow:0 0 7px rgba(0,0,0,.5);position:absolute;z-index:3;width:400px;height:150px;left:50%;margin-left:-200px;top:50%;margin-top:-140px;border-radius:2px}.piece-promotion-modal-container .prompt{color:rgba(0,0,0,.9);font-size:16px;padding:18px 0;text-align:center}.piece-promotion-modal-container .pieces{position:absolute;display:flex;justify-content:space-around;width:100%;padding:0 20px}.piece-promotion-modal-container .pieces .piece{width:80px;height:80px;display:block;transition:background .1s ease;border-radius:2px}.piece-promotion-modal-container .pieces .piece:hover{background:rgba(0,0,0,.03)}.piece-promotion-modal-container .background{background:rgba(0,0,0,.6);width:100%;height:100%}.cg-wrap,.chessground-board{position:relative}.cg-wrap{display:block;width:100%;height:100%}cg-helper{width:12.5%;padding-bottom:12.5%;display:table}cg-container,cg-helper{position:absolute;bottom:0}cg-container{width:800%;height:800%;display:block}cg-board{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;line-height:0;background-size:cover;cursor:pointer}cg-board,cg-board square{position:absolute;top:0;left:0}cg-board square{width:12.5%;height:12.5%;pointer-events:none}.cg-wrap piece,cg-board square.last-move{will-change:transform}.cg-wrap piece{position:absolute;top:0;left:0;width:12.5%;height:12.5%;background-size:cover;z-index:2;pointer-events:none}cg-board piece.dragging{cursor:move;z-index:9}cg-board piece.anim{z-index:8}cg-board piece.fading{z-index:1;opacity:.5}.cg-wrap piece.ghost{opacity:.15}.cg-wrap svg{overflow:hidden;position:relative;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:2;opacity:.6}.cg-wrap svg image{opacity:.5}.cg-wrap coords{position:absolute;display:flex;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:.8;font-family:Orbitron,Arial,sans-serif;font-size:12px}.cg-wrap coords.ranks{left:3px;top:-20px;flex-flow:column-reverse;height:100%;width:12px}.cg-wrap coords.ranks.black{flex-flow:column}.cg-wrap coords.files{bottom:-2px;left:21px;flex-flow:row;width:100%;height:16px;text-transform:uppercase;text-align:center}.cg-wrap coords.files.black{flex-flow:row-reverse}.cg-wrap coords coord{flex:1 1 auto}.cg-wrap coords.ranks coord{transform:translateY(39%)}cg-board{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOng9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZpZXdCb3g9IjAgMCA4IDgiIHNoYXBlLXJlbmRlcmluZz0iY3Jpc3BFZGdlcyI+PGcgaWQ9ImYiPjxnIGlkPSJlIj48ZyBpZD0iZCI+PGcgaWQ9ImMiPjxwYXRoIGZpbGw9IiNGM0U0Q0YiIGlkPSJhIiBkPSJNMCAwaDF2MUgweiIvPjx1c2UgeD0iMSIgeT0iMSIgaHJlZj0iI2EiIHg6aHJlZj0iI2EiLz48cGF0aCBmaWxsPSIjQ0VCM0EyIiBpZD0iYiIgZD0iTTAgMWgxdjFIMHoiLz48dXNlIHg9IjEiIHk9Ii0xIiBocmVmPSIjYiIgeDpocmVmPSIjYiIvPjwvZz48dXNlIHg9IjIiIGhyZWY9IiNjIiB4OmhyZWY9IiNjIi8+PC9nPjx1c2UgeD0iNCIgaHJlZj0iI2QiIHg6aHJlZj0iI2QiLz48L2c+PHVzZSB5PSIyIiBocmVmPSIjZSIgeDpocmVmPSIjZSIvPjwvZz48dXNlIHk9IjQiIGhyZWY9IiNmIiB4OmhyZWY9IiNmIi8+PC9zdmc+");box-shadow:0 1px 8px rgba(0,0,0,.4)}.cg-wrap piece.pawn.white{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PHBhdGggZD0iTTIyLjUgOWMtMi4yMSAwLTQgMS43OS00IDQgMCAuODkuMjkgMS43MS43OCAyLjM4QzE3LjMzIDE2LjUgMTYgMTguNTkgMTYgMjFjMCAyLjAzLjk0IDMuODQgMi40MSA1LjAzLTMgMS4wNi03LjQxIDUuNTUtNy40MSAxMy40N2gyM2MwLTcuOTItNC40MS0xMi40MS03LjQxLTEzLjQ3IDEuNDctMS4xOSAyLjQxLTMgMi40MS01LjAzIDAtMi40MS0xLjMzLTQuNS0zLjI4LTUuNjIuNDktLjY3Ljc4LTEuNDkuNzgtMi4zOCAwLTIuMjEtMS43OS00LTQtNHoiIGZpbGw9IiNmZmYiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==")}.cg-wrap piece.bishop.white{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxnIGZpbGw9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJidXR0Ij48cGF0aCBkPSJNOSAzNmMzLjM5LS45NyAxMC4xMS40MyAxMy41LTIgMy4zOSAyLjQzI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uMTkgMS4yMy0xIDItMSAwLTQuMDAzIDEtNC00IDAtMiA2LTEyIDYtMTJzMS44OS0xLjkgMi0zLjVjLS43My0uOTk0LS41LTItLjUtMyAxLTEgMyAyLjUgMyAyLjVoMnMuNzgtMS45OTIgMi41LTNjMSAwIDEgMyAxIDMiIGZpbGw9IiNmZmYiLz48cGF0aCBkPSJNOS41IDI1LjVhLjUuNSAwIDExLTEgMCAuNS41IDAgMTExIDB6bTUuNDMzLTkuNzVhLjUgMS41IDMwIDExLS44NjYtLjUuNSAxLjUgMzAgMTEuODY2LjV6IiBmaWxsPSIjMDAwIi8+PC9nPjwvc3ZnPg==")}.cg-wrap piece.rook.white{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0iI2ZmZiIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik05IDM5aDI3di0zSDl2M3ptMy0zdi00aDIxdjRIMTJ6bS0xLTIyVjloNHYyaDVWOWg1djJoNVY5aDR2NSIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiLz48cGF0aCBkPSJNMzQgMTRsLTMgM0gxNGwtMy0zIi8+PHBhdGggZD0iTTMxIDE3djEyLjVIMTRWMTciIHN0cm9rZS1saW5lY2FwPSJidXR0IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PHBhdGggZD0iTTMxIDI5LjVsMS41IDIuNWgtMjBsMS41LTIuNSIvPjxwYXRoIGQ9Ik0xMSAxNGgyMyIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVqb2luPSJtaXRlciIvPjwvZz48L3N2Zz4=")}.cg-wrap piece.queen.white{background-image:url("data:image/svg+xml;base64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gMjQuNWwuMDEgMi4xLS4wMS0yLjFDMjAgMTggOS45MDYgMTQgNi45OTcgMTkuODVjLTIuNDk3IDUuNjUgNC44NTMgOSA0Ljg1MyA5IiBzdHJva2U9IiNlY2VjZWMiLz48cGF0aCBkPSJNMTEuNSAzMGM1LjUtMyAxNS41LTMgMjEgMG0tMjEgMy41YzUuNS0zIDE1LjUtMyAyMSAwbS0yMSAzLjVjNS41LTMgMTUuNS0zIDIxIDAiIHN0cm9rZT0iI2VjZWNlYyIvPjwvZz48L3N2Zz4=")}cg-board square.move-dest{background:radial-gradient(#eff 22%,#208530 0,rgba(0,0,0,.3) 0,transparent 0);pointer-events:auto}cg-board square.move-dest.oc{background:radial-gradient(transparent 0,transparent 80%,#eff 0)}cg-board square.move-dest:hover{background:#eff}cg-board square.premove-dest{background:radial-gradient(rgba(20,30,85,.5) 22%,#203085 0,rgba(0,0,0,.3) 0,transparent 0)}cg-board square.premove-dest.oc{background:radial-gradient(transparent 0,transparent 80%,rgba(20,30,85,.2) 0)}cg-board square.premove-dest:hover{background:rgba(20,30,85,.2)}cg-board square.selected{background:#eff}cg-board square.check{background:radial-gradient(ellipse at center,red 0,#e70000 25%,rgba(169,0,0,0) 89%,rgba(158,0,0,0) 100%)}cg-board square.current-premove{background-color:#eff}cg-board square.last-move.move-from{background-color:#fffcdd}cg-board square.last-move.move-to{background-color:#fff79b}.cg-wrap.orientation-white coords.ranks coord:nth-child(2n){color:#ceb3a2}.cg-wrap.orientation-white coords.ranks coord:nth-child(odd){color:#f3e4cf}.cg-wrap.orientation-white coords.files coord:nth-child(2n){color:#ceb3a2}.cg-wrap.orientation-black coords.ranks coord:nth-child(2n),.cg-wrap.orientation-white coords.files coord:nth-child(odd){color:#f3e4cf}.cg-wrap.orientation-black coords.ranks coord:nth-child(odd){color:#ceb3a2}.cg-wrap.orientation-black coords.files coord:nth-child(2n){color:#f3e4cf}.cg-wrap.orientation-black coords.files coord:nth-child(odd){color:#ceb3a2}.cg-wrap square.move-dest:hover{background-color:#eff}body{transition:background .6s ease}body.unlocked{background:#313131}.chessboard-drag-handle{position:absolute;bottom:-6px;right:-6px;width:18px;height:18px;background:hsla(0,0%,100%,.8);border:1px solid #ccc;border-radius:3px;cursor:nwse-resize;display:flex;align-items:center;justify-content:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;transition:all .2s ease}.chessboard-drag-handle svg{width:14px;height:14px;opacity:.7;transition:opacity .2s ease}.chessboard-drag-handle svg path{fill:#777}.chessboard-drag-handle:before{content:"";position:absolute;top:-10px;left:-10px;right:-10px;bottom:-10px;cursor:nwse-resize}.chessboard-drag-handle:hover{background:hsla(0,0%,100%,.95);border-color:#999}.chessboard-drag-handle:hover svg{opacity:1}.chessboard-drag-handle:hover svg path{fill:#333}.chessboard-drag-handle.dragging{background:#fff;border-color:#666;box-shadow:0 2px 8px rgba(0,0,0,.3);transform:scale(1.1)}.chessboard-drag-handle.dragging svg{opacity:1}.chessboard-drag-handle.dragging svg path{fill:#000}.below-board{height:140px;position:relative}.below-board .instructions{font-weight:700;text-shadow:0 0 8px rgba(0,0,0,.9);width:100%;text-align:center;margin:0 auto;position:absolute;font-size:25px;top:40px;transition:all .35s ease-out}.below-board .instructions.smaller{font-size:22px;top:20px}.below-board .puzzle-hint{text-align:center;margin:0 auto;position:absolute;top:45px;width:100%;transition:opacity .15s ease;z-index:10}.below-board .puzzle-hint .hint-trigger{background:#565656;padding:6px 14px 5px;color:#fff;display:inline-block;border-radius:2px;font-size:12px;transition:opacity .08s ease}.below-board .puzzle-hint .hint-trigger:hover{cursor:pointer;background:#676767}.below-board .puzzle-hint .hint-trigger.invisible{pointer-events:none}.below-board .puzzle-hint .move{font-size:14px;color:hsla(0,0%,100%,.5);height:0}.below-board .move-status{opacity:1;font-family:Orbitron,sans-serif;font-size:32px;width:100%;position:absolute;top:15px;text-align:center;text-transform:uppercase;transform:scaleX(1);transition:opacity .02s ease}.below-board .move-status.fade-out{opacity:0;transform:scale3d(.92,.92,1);transition:opacity .9s ease-out .2s,transform .05s ease-in-out}.below-board .move-status .perfect{color:#34ff00;font-weight:600;letter-spacing:3px;font-size:40px}.below-board .move-status .great{color:#2ae2ea;font-weight:600;letter-spacing:3px;font-size:38px}.below-board .move-status .good{color:#fff260;font-weight:600;letter-spacing:3px;font-size:38px}.below-board .move-status .almost{color:#f98661;position:relative;top:12px}.below-board .move-status .fail{color:#f954ae;position:relative;top:12px}.below-board .combo-counter{text-align:center;font-family:Orbitron,sans-serif;position:absolute;top:60px;width:100%;transition:opacity .25s ease}.below-board .combo-counter .counter{display:inline-block;font-size:24px;margin-right:5px}.below-board .combo-counter .counter.large{font-size:52px}.below-board .combo-counter .counter.on-fire{font-size:70px}.below-board .combo-counter .counter.emphasis{transform:scale3d(1.25,1.25,1)}.below-board .combo-counter .combo-text{position:relative;text-transform:uppercase;font-size:14px;top:-2px}.under-board{margin:0 auto;padding:25px 0;text-align:center;position:relative}.under-board .level-name{display:block;color:hsla(0,0%,100%,.7);font-size:16px;transition:color .2s ease}.under-board .level-name.faded{color:hsla(0,0%,100%,.4)}.under-board .onboarding{background:#1f1f1f;top:16px;font-size:16px;text-align:center;padding:10px 0;text-shadow:0 0 3px rgba(0,0,0,.4)}.under-board .next-stage,.under-board .onboarding{position:absolute;width:100%;transition:opacity .2s ease}.under-board .next-stage{height:65px;z-index:11;top:18px}.under-board .next-stage.invisible{opacity:0;pointer-events:none}.under-board .next-stage .left{display:inline-block;font-size:18px;margin-right:20px;position:relative;top:1px}.under-board .next-stage .right{display:inline-block}.under-board .next-stage .blue-button{font-size:17px;font-weight:700;padding:8px 20px;height:34px;margin-left:7px;box-shadow:0 0 4px rgba(0,0,0,.2);transition:background .12s ease}.under-board .next-stage .blue-button:first-child{margin-left:0}.under-board .next-stage .blue-button i{font-size:16px;position:relative;left:6px}.under-board .next-stage.anonymous .small{font-size:14px;margin-top:7px;color:hsla(0,0%,100%,.7)}.under-board .next-stage.anonymous .left{display:block;float:left;text-align:left}.under-board .next-stage.anonymous .right{display:block;float:right}.infinity-mode .infinity-under-board .difficulty-section{display:flex;align-items:center;grid-gap:20px;gap:20px;margin-bottom:20px}.infinity-mode .infinity-under-board .difficulty-section .sidebar-label{font-size:18px;color:hsla(0,0%,100%,.3);margin-right:2rem}.infinity-mode .infinity-under-board .difficulty-section .difficulties{display:flex;grid-gap:20px;gap:20px}.infinity-mode .infinity-under-board .difficulty-section .difficulties .difficulty{color:hsla(0,0%,100%,.5);cursor:pointer;text-transform:capitalize;font-size:18px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .2s ease}.infinity-mode .infinity-under-board .difficulty-section .difficulties .difficulty:hover{color:hsla(0,0%,100%,.7)}.infinity-mode .infinity-under-board .difficulty-section .difficulties .difficulty.selected{color:#fff}.infinity-mode .infinity-under-board .difficulty-section .difficulties .difficulty.easy.selected{color:#0cf}.infinity-mode .infinity-under-board .difficulty-section .difficulties .difficulty.medium.selected{color:#dfff00}.infinity-mode .infinity-under-board .difficulty-section .difficulties .difficulty.hard.selected{color:#fc0}.infinity-mode .infinity-under-board .difficulty-section .difficulties .difficulty.insane.selected{color:#ff3f00}.infinity-mode .infinity-under-board .stats{display:flex;justify-content:space-between;align-items:center;transition:opacity .5s ease}.infinity-mode .infinity-under-board .no-more-left{line-height:26px;opacity:.7}@media(max-aspect-ratio:11/16){.infinity-mode .infinity-sidebar{width:100vw;margin:0!important;flex-direction:row}.infinity-mode .infinity-sidebar .sidebar-label{width:180px;margin-bottom:0}.infinity-mode .infinity-sidebar .difficulties{display:flex;align-items:center}.infinity-mode .infinity-sidebar .difficulties [data-difficulty]{padding:5px 20px 5px 0}.infinity-mode .infinity-sidebar .difficulties [data-difficulty]:last-child{padding-right:0}.infinity-mode .infinity-sidebar .stats{display:flex;align-items:center}}@media(max-width:500px){.infinity-mode .infinity-under-board{padding:10px}}.repetition-mode .container{position:relative}.repetition-mode .container .right-stats{position:absolute;top:90px;left:calc(50% + 248px + 1rem);width:220px;display:flex;flex-direction:column;grid-gap:20px;gap:20px;text-align:left;z-index:15}.repetition-mode .repetition-under-board{position:relative;z-index:10}.repetition-mode .repetition-under-board .level-info{text-align:center}.repetition-mode .repetition-under-board .level-info .level-name{font-size:1rem;font-weight:600;opacity:.4;margin:2rem 0}.repetition-mode .repetition-under-board .level-info .onboarding{font-size:1rem;opacity:.7}.repetition-mode .times{margin:0}.repetition-mode .times .timer{font-size:1rem;opacity:.9}.repetition-mode .times .laps{opacity:.3;font-size:14px;line-height:1.3}.repetition-mode .times .laps div{margin-bottom:5px}.repetition-mode .high-scores{text-align:left}.repetition-mode .high-scores h2{font-size:16px;opacity:.5;margin-bottom:15px}.repetition-mode .high-scores .high-score{display:flex;justify-content:flex-start;align-items:center;margin:8px 0;grid-gap:15px;gap:15px}.repetition-mode .high-scores .high-score .time{font-size:16px;min-width:50px}.repetition-mode .high-scores .high-score .player{opacity:.7}.repetition-mode .high-scores .high-score .player a{color:hsla(0,0%,98%,.8);text-decoration:none}.repetition-mode .high-scores .high-score .player a:hover{color:#fafafa}.repetition-mode .high-scores .next-stage{margin-top:30px}.repetition-mode .progress-bar{background:#000;width:100%;height:3px}.repetition-mode .progress-bar .progress{background:#ff0;width:0;height:100%;transition:width .5s ease-in-out,background .3s ease-in-out}.repetition-mode .progress-bar .progress.complete{width:100%;background:#63f706}.repetition-mode .next-stage svg{margin-left:5px;width:10px}@media(max-aspect-ratio:11/16){.repetition-mode .sidebar{display:none!important}}.speedrun-mode .speedrun-under-board .speedrun-instructions{font-size:17px;width:150px;display:flex}.speedrun-mode .speedrun-under-board .speedrun-instructions .sidebar-label{margin-bottom:20px}.speedrun-mode .speedrun-under-board .speedrun-instructions [data-name]{opacity:.3;padding:8px 0;transition:all .2s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.speedrun-mode .speedrun-under-board .speedrun-instructions [data-name]:not(.selected):hover{cursor:pointer;opacity:.5}.speedrun-mode .speedrun-under-board .speedrun-instructions .selected{opacity:1}.speedrun-mode .speedrun-under-board .speedrun-instructions .selected.quick{color:#0cf}.speedrun-mode .speedrun-under-board .speedrun-instructions .selected.endurance{color:#fc0}.speedrun-mode .speedrun-under-board .speedrun-instructions .selected.marathon{color:#ff3f00}.speedrun-mode .speedrun-under-board .speedrun-instructions .n-puzzles{width:100px;margin-top:20px}.speedrun-mode .speedrun-under-board .timers{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;grid-gap:15px;gap:15px}.speedrun-mode .speedrun-under-board .timers .description{font-size:16px;line-height:22px;opacity:.7}.speedrun-mode .speedrun-under-board .timers.current-run .description{opacity:.7}.speedrun-mode .speedrun-complete{display:flex;flex-direction:column;grid-gap:20px;gap:20px}.speedrun-mode .speedrun-complete .timers-section{display:flex;grid-gap:40px;gap:40px;justify-content:center}.speedrun-mode .speedrun-complete .timers-section .timer-container{display:flex;flex-direction:column;align-items:center}.speedrun-mode .speedrun-complete .timers-section .timer-container .label{font-size:13px;color:hsla(0,0%,100%,.5);margin-bottom:5px}.speedrun-mode .speedrun-complete .timers-section .timer-container .timer{font-size:32px;margin-top:8px}@media(max-aspect-ratio:11/16){.speedrun-mode .container{display:block!important}.speedrun-mode .speedrun-under-board{margin-top:0!important;margin-left:0!important;padding:20px}.speedrun-mode .speedrun-under-board .timers{flex-direction:row!important}.speedrun-mode .speedrun-under-board .make-a-move{width:100%!important}.speedrun-mode .speedrun-complete{width:100%!important;padding:15px 0}.speedrun-mode .speedrun-complete .timers-section{flex-direction:column;grid-gap:16px;gap:16px;margin-bottom:12px}.speedrun-mode .speedrun-instructions{width:100%!important}.speedrun-mode .speedrun-instructions .choose-level{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%}.speedrun-mode .speedrun-instructions .choose-level *{margin:0!important}.speedrun-mode .speedrun-instructions .choose-level .n-puzzles{text-align:right}}.countdown-mode .countdown-under-board .timers{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.countdown-mode .countdown-under-board .timers .description{font-size:16px;line-height:22px;height:44px;margin-left:1px;opacity:.7}.countdown-mode .countdown-under-board .countdown-complete{display:flex;grid-gap:32px;gap:32px}.countdown-mode .countdown-under-board .countdown-complete .score-section{flex-direction:row;grid-gap:40px;gap:40px}.countdown-mode .countdown-under-board .countdown-complete .score-container{margin-bottom:16px;align-items:center}.countdown-mode .countdown-under-board .countdown-complete .score-container .score{font-size:28px;margin-top:8px}@media(max-aspect-ratio:11/16){.countdown-mode .container{display:block!important}.countdown-mode .countdown-under-board{margin-top:0!important;margin-left:0!important}.countdown-mode .countdown-under-board .timers{flex-direction:row!important}.countdown-complete{padding:15px 0}.countdown-complete .score-section{flex-direction:column;grid-gap:20px;gap:20px;margin-bottom:20px}}@media(max-width:500px){.countdown-mode .countdown-under-board .description{line-height:18px}}.haste-mode .haste-under-board{margin-top:10px}.haste-mode .haste-under-board .sidebar-label{font-size:13px;color:hsla(0,0%,100%,.5);margin-bottom:15px}.haste-mode .haste-under-board .difficulties{margin-bottom:30px}.haste-mode .haste-under-board .difficulties .difficulty{color:hsla(0,0%,100%,.5);padding:8px 0;cursor:pointer;text-transform:capitalize;font-size:18px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:all .2s ease}.haste-mode .haste-under-board .difficulties .difficulty:hover{color:hsla(0,0%,100%,.7)}.haste-mode .haste-under-board .difficulties .difficulty.selected{color:#fff}.haste-mode .haste-under-board .stats{margin-bottom:30px;transition:opacity .5s ease}.haste-mode .haste-under-board .stats .n-puzzles{font-size:30px;margin-top:15px}.haste-mode .haste-under-board .timers{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.haste-mode .haste-under-board .timers .description{font-size:16px;line-height:22px;height:44px;margin-left:1px;opacity:.7}.haste-mode .haste-under-board .haste-bar{background-color:#2c7aa7;background:linear-gradient(90deg,#2c7aa7,#5cbae5);border-radius:4px;height:8px;margin-bottom:15px;overflow:hidden;position:relative;width:100%}.haste-mode .haste-under-board .haste-bar .fill{background:hsla(0,0%,100%,.1);height:100%;width:100%;transition:width .1s ease}.haste-mode .haste-under-board .haste-bar.almost-empty .fill{background:rgba(255,100,100,.3)}.haste-mode .haste-under-board .no-more-left{line-height:26px;opacity:.7}.haste-mode .haste-complete{display:flex;grid-gap:32px;gap:32px}.haste-mode .haste-complete .score-section{flex-direction:row;grid-gap:40px;gap:40px}.haste-mode .haste-complete .score-container{margin-bottom:16px;align-items:center}.haste-mode .haste-complete .score-container .score{font-size:28px;margin-top:8px}@media(max-aspect-ratio:11/16){.haste-mode .haste-under-board .timers{padding:15px 0}.haste-mode .haste-under-board .timers .timer{font-size:36px}.haste-mode .haste-under-board .timers .n-solved{font-size:16px}.haste-mode .haste-complete{padding:15px 0}.haste-mode .haste-complete .score-section{flex-direction:column;grid-gap:20px;gap:20px;margin-bottom:20px}.haste-mode .haste-complete .recent-high-scores{margin-bottom:20px}.haste-mode .haste-complete .recent-high-scores .list{grid-gap:6px;gap:6px}}.three-mode .three-under-board .three-during-game{display:flex;justify-content:space-between}.three-mode .three-under-board .timers{width:120px;min-height:140px}.three-mode .three-under-board .score-container .score{margin-top:10px}.three-mode .three-under-board .right-side{width:160px;text-align:center}.three-mode .three-under-board .make-a-move{margin:0}.three-mode .three-under-board .lives{display:flex;justify-content:space-between;margin-bottom:30px;padding:0 30px}.three-mode .three-under-board .lives .life{width:28px;height:28px;border-radius:50%;transition:opacity .3s ease}.three-mode .three-under-board .lives .life.active{background:hsla(0,0%,100%,.8);opacity:1}.three-mode .three-under-board .lives .life.inactive{background:hsla(0,0%,100%,.2);opacity:.5}.three-mode .three-under-board .hints{margin-top:16px}.three-mode .three-under-board .score{font-size:32px;margin-top:12px}.three-mode .three-under-board .three-complete{display:flex;grid-gap:20px;gap:20px}.three-mode .three-under-board .three-complete .three-complete-section{display:flex;flex-direction:column;grid-gap:12px;gap:12px}.three-mode .three-under-board .three-complete .three-complete-section.scores{align-items:center;text-align:center}.three-mode .three-under-board .three-complete .three-complete-section.actions{align-items:flex-start}.three-mode .three-under-board .three-complete .puzzles-failed{margin:10px 0 0}.three-mode .three-under-board .three-complete .puzzles-failed div{margin-bottom:10px}.three-mode .three-under-board .three-complete .puzzles-failed a{color:#ff6b6b;text-decoration:none;display:flex;align-items:center;grid-gap:10px;gap:10px;font-size:16px;line-height:22px}.three-mode .three-under-board .three-complete .puzzles-failed a:hover{color:#ff5252;text-decoration:underline}.three-mode .three-under-board .three-complete .puzzles-failed a svg{width:16px;height:16px;fill:currentColor}@media(max-aspect-ratio:11/16){.three-mode .three-under-board .recent-high-scores{display:none!important}.three-mode .three-under-board .three-complete,.three-mode .three-under-board .timers{flex-direction:row!important;justify-content:space-around!important}}@media(max-width:500px){.three-mode .three-under-board .current-score .score{font-size:24px}}.player-move-enter{opacity:0}.player-move-enter-to{opacity:1}.rated-mode .below-board{width:496px;height:140px;margin:0;transition:opacity .5s ease}.rated-mode .below-board .instructions{top:25px;font-size:22px}.rated-mode .rated-under-board .label{font-size:13px;color:hsla(0,0%,100%,.5);margin-bottom:5px}.rated-mode .rated-under-board .current-status{display:flex;grid-gap:30px;gap:30px;margin-bottom:30px}.rated-mode .rated-under-board .current-status .puzzles-seen .n-puzzles,.rated-mode .rated-under-board .current-status .your-rating .player-rating{font-size:30px;margin-top:15px}.rated-mode .rated-under-board .moves-attempted{margin-bottom:30px;position:relative;height:100px;overflow:hidden}.rated-mode .rated-under-board .moves-attempted .move-attempt{display:flex;align-items:center;grid-gap:8px;gap:8px;padding:4px 0;font-size:16px;transition:all .3s ease}.rated-mode .rated-under-board .moves-attempted .move-attempt svg{width:16px;height:16px}.rated-mode .rated-under-board .moves-attempted .move-attempt.success svg{color:#34ff00}.rated-mode .rated-under-board .moves-attempted .move-attempt.almost svg{color:#fc0}.rated-mode .rated-under-board .moves-attempted .move-attempt.fail svg{color:#ff3f00}.rated-mode .rated-under-board .moves-attempted .moves-shadow{position:absolute;bottom:0;left:0;right:0;height:20px;background:linear-gradient(transparent,rgba(0,0,0,.8))}.rated-mode .rated-under-board .instructions{margin-bottom:30px}.rated-mode .rated-under-board .instructions ul{margin-bottom:20px;padding-left:20px}.rated-mode .rated-under-board .instructions ul li{margin-bottom:8px;font-size:16px;line-height:22px;opacity:.8}.rated-mode .rated-under-board .instructions .start-button,.rated-mode .rated-under-board .recent-puzzles-btn{font-size:18px;text-align:center}.rated-mode .recent-puzzles-btn{margin-top:auto}.rated-mode aside .instructions{display:flex;flex-direction:column;height:100%;justify-content:space-evenly}.rated-mode aside .instructions ul{font-size:14px;line-height:20px;opacity:.7}.rated-mode aside .instructions ul li{margin:15px 0}.rated-mode aside .instructions .label{font-size:13px;color:hsla(0,0%,100%,.5)}.rated-mode aside .instructions .blue-button{font-size:18px;text-align:center}.rated-mode aside .instructions .stats{margin-bottom:30px}.rated-mode aside .instructions .stats .n-puzzles{font-size:30px;margin-top:15px}.rated-mode aside .instructions .rating{margin-bottom:30px}.rated-mode aside .instructions .rating .current-rating{font-size:24px;font-weight:600;margin-bottom:10px}.rated-mode aside .instructions .rating .rating-change{font-size:16px;opacity:.7}.rated-mode aside .instructions .rating .rating-change.positive{color:#4caf50}.rated-mode aside .instructions .rating .rating-change.negative{color:#f44336}.rated-mode aside .instructions .timers{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.rated-mode aside .instructions .timers .description{font-size:16px;line-height:22px;opacity:.7}@media(max-aspect-ratio:11/16){.rated-mode .container{display:block!important}.rated-mode .rated-complete{width:100%!important}.rated-mode .rated-under-board{margin-top:0!important;margin-left:0!important;padding:20px}.rated-mode .rated-under-board .rated-complete,.rated-mode .rated-under-board .timers{flex-direction:row!important}.rated-mode .rated-under-board .make-a-move{width:100%!important}}.Scp{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative}.Scp-saturation{position:relative;height:100%;background:linear-gradient(90deg,#fff,red);float:left;margin-right:5px}.Scp-brightness{width:100%;height:100%;background:linear-gradient(hsla(0,0%,100%,0),#000)}.Scp-sbSelector{border:2px solid #fff;position:absolute;width:14px;height:14px;background:#fff;border-radius:10px;top:-7px;left:-7px;box-sizing:border-box;z-index:10}.Scp-hue{width:20px;height:100%;position:relative;float:left;background:linear-gradient(red,#f0f 17%,#00f 34%,#0ff 50%,#0f0 67%,#ff0 84%,red)}.Scp-hSelector{position:absolute;background:#fff;border-bottom:1px solid #000;right:-3px;width:10px;height:2px}.customize-board h2{font-size:18px}.customize-board h3{margin:8px 0;opacity:.5}.customize-board h4{font-size:15px;margin-bottom:10px}.customize-board .chessground-board{width:480px;height:480px}.customize-board .custom-board{margin-top:25px;display:flex}.customize-board .custom-board .chessboard .square{transition:none}.customize-board .custom-board .right{display:block;margin-left:20px}.customize-board .custom-board .squares{display:flex;margin-bottom:25px}.customize-board .custom-board .square-color{position:relative}.customize-board .custom-board .square-color .color-picker{position:absolute;right:75px;background:#000;padding:6px;z-index:1}.customize-board .custom-board .square-color .square{margin-right:10px;width:60px;height:60px}.customize-board .custom-board .square-color .square:hover{cursor:pointer}.customize-board .custom-board .square-color input{width:60px;border:0;float:left;font-size:12px;padding:5px 0;color:#aeaeae;background:none;text-align:center}.customize-board .custom-board .square-color input:focus{color:#fff}.customize-board .custom-board .action-buttons{margin-top:28px}.customize-board .custom-board button{color:#fff;font-size:14px;display:block;width:120px;text-align:center;text-decoration:none;transition:opacity .25s ease;margin-bottom:5px;border:0;border-radius:3px;padding:7px 0}.customize-board .custom-board button:hover{background:#51b7ff;cursor:pointer}.customize-board .custom-board button.gray{background:#555}.customize-board .custom-board button.blue{background:#2c9bea}.position-trainer{margin:0 auto 50px}.position-trainer .instructions{font-weight:700;text-shadow:0 0 8px rgba(0,0,0,.9);text-align:center;margin:40px auto;font-size:25px;height:25px;transition:all .35s ease-out}.position-trainer .chessground-board{margin:0 auto;width:520px;height:520px}.position-trainer .cg-wrap{width:100%;height:100%}.position-trainer .actions{margin-top:30px;text-align:center;position:relative;z-index:20}.position-trainer .actions .dark-button{font-size:14px;padding:7px 16px;margin:0 7px}.position-trainer .actions .credits{font-size:14px;margin-left:20px;color:#777}.position-trainer .actions .credits a{color:inherit}.position-trainer .actions .credits a:hover{color:#fff}.position-trainer.small{margin:0 auto 50px}.position-trainer.small.left-aligned{display:flex}.position-trainer.small .chessboard,.position-trainer.small .chessground-board{width:400px;height:400px}.position-trainer.small .chessground-board .cg-wrap coords.ranks{top:-15px}.position-trainer.small .chessground-board .cg-wrap coords.files{left:16px}.position-trainer.small .right{margin:103px 20px 0 37px}.position-trainer.small .right h2{margin-bottom:20px}.position-trainer.small .right .description{font-size:14px;line-height:21px;opacity:.5}.position-trainer.small .right .source{font-size:12px;margin-top:15px;color:hsla(0,0%,100%,.6)}.position-trainer.small .right .source a{color:inherit}.position-trainer.small .right .source a:hover{color:hsla(0,0%,100%,.8)}.puzzle-set .right-sidebar{margin-top:140px;margin-left:20px}.puzzle-set .right-sidebar a{color:inherit}.puzzle-set .right-sidebar .ps-name{font-size:18px;font-weight:700;opacity:.7}.puzzle-set .right-sidebar .ps-info,.puzzle-set .right-sidebar .ps-meta-info{line-height:1.2em}.puzzle-set .right-sidebar .ps-meta-info{margin-top:20px;opacity:.5}.puzzle-set .right-sidebar .ps-creator,.puzzle-set .right-sidebar .ps-puzzle-count{font-size:14px}.puzzle-set .right-sidebar .ps-puzzle-count{margin-top:20px}.puzzle-set .right-sidebar .ps-actions{margin-top:30px}.puzzle-set .right-sidebar .ps-instructions{line-height:26px;margin-top:90px;opacity:.7}.puzzle-set .vue-app-mount{display:block}.puzzle-set-sidebar{display:flex;height:100%;flex-direction:column;justify-content:space-evenly}.puzzle-set-sidebar .make-a-move{line-height:26px;opacity:.7}.puzzle-set-sidebar .timers{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.puzzle-set-sidebar .timers .timer{font-size:40px;transition:all .25s ease;margin-bottom:20px}.puzzle-set-sidebar .timers .timer.stopped{opacity:.3}.puzzle-set-sidebar .timers .timer.rewarded{color:#34ff00}.puzzle-set-sidebar .timers .timer.penalized{color:red}.puzzle-set-sidebar .timers .timer.complete{color:#ff0}.puzzle-set-sidebar .timers .n-solved{font-size:16px;line-height:22px;height:44px;margin-left:1px;opacity:.7}.puzzle-set-complete{display:flex;flex-direction:column;height:100%;justify-content:space-evenly}.puzzle-set-complete .label{font-size:13px;color:hsla(0,0%,100%,.5)}.puzzle-set-complete .score-container .score{margin-top:15px;font-size:30px}.puzzle-set-complete .recent-high-scores .label{margin-bottom:15px}.puzzle-set-complete .recent-high-scores .high-score{display:flex;margin:8px 0}.puzzle-set-complete .recent-high-scores .high-score .score{font-size:16px;width:30px;margin:0 10px 0 0}.puzzle-set-complete .recent-high-scores .high-score .player-name{font-size:16px;color:hsla(0,0%,100%,.7)}@media(max-aspect-ratio:11/16){.haste-mode .container{display:block!important}.haste-mode .haste-complete{width:100%!important}.haste-mode .haste-sidebar{margin-top:0!important;margin-left:0!important;padding:20px}.haste-mode .haste-sidebar .recent-high-scores{display:none!important}.haste-mode .haste-sidebar .haste-complete,.haste-mode .haste-sidebar .timers{flex-direction:row!important}.haste-mode .haste-sidebar .make-a-move{width:100%!important}}body[data-action=puzzles] .puzzle-page,body[data-controller=puzzles][data-action=index] .puzzle-page{margin-top:30px}body[data-action=puzzles] h2,body[data-controller=puzzles][data-action=index] h2{margin-bottom:15px}body[data-action=puzzles] .puzzles,body[data-controller=puzzles][data-action=index] .puzzles{display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:100px}body[data-action=puzzles] .blank,body[data-controller=puzzles][data-action=index] .blank{width:190px}body[data-action=puzzles] .miniboard-link,body[data-controller=puzzles][data-action=index] .miniboard-link{margin:20px 0}body[data-action=puzzles] .miniboard-link .mini-chessboard,body[data-controller=puzzles][data-action=index] .miniboard-link .mini-chessboard{width:190px;height:190px}body[data-action=puzzles] .puzzle-info,body[data-controller=puzzles][data-action=index] .puzzle-info{position:relative;top:-10px;display:flex;justify-content:space-between}body[data-action=puzzles] .puzzle-info .puzzle-num,body[data-controller=puzzles][data-action=index] .puzzle-info .puzzle-num{opacity:.5}body[data-action=puzzles] .puzzle-info .puzzle-mistake-info,body[data-controller=puzzles][data-action=index] .puzzle-info .puzzle-mistake-info{color:#f954ae}body[data-controller=puzzles][data-action=show]{margin:0 auto 50px}body[data-controller=puzzles][data-action=show] .chessground-board{width:496px;height:496px}body[data-controller=puzzles][data-action=show] .container{display:flex}body[data-controller=puzzles][data-action=show] .invisible{transition:.1s ease}body[data-controller=puzzles][data-action=show] .below-board{display:none}body[data-controller=puzzles][data-action=show] .left{width:496px}body[data-controller=puzzles][data-action=show] .right{margin:103px 0 0 37px;width:100%}body[data-controller=puzzles][data-action=show] .right h2{margin-bottom:15px}body[data-controller=puzzles][data-action=show] .right .description{font-size:14px;line-height:21px;opacity:.5}body[data-controller=puzzles][data-action=show] .right .ext-link{font-size:14px;color:hsla(0,0%,100%,.6);display:block;padding:3px 0}body[data-controller=puzzles][data-action=show] .right .ext-link:hover{color:hsla(0,0%,100%,.8)}body[data-controller=puzzles][data-action=show] .right .fen{margin:10px 0;width:100%}body[data-controller=puzzles][data-action=show] .right .puzzle-info{margin-top:40px}body[data-controller=puzzles][data-action=show] .right .puzzle-info .metadata{font-size:14px;opacity:.7;margin-top:20px;line-height:1.3em}body[data-controller=puzzles][data-action=show] .right .puzzle-info .metadata td{padding-right:25px}body[data-controller=puzzles][data-action=show] .right .report-puzzle{margin-top:40px}body[data-controller=puzzles][data-action=show] .puzzle-report-form{margin-top:25px;display:none}body[data-controller=puzzles][data-action=show] .puzzle-report-form .dark-button{margin-top:8px;margin-right:8px}body[data-controller=puzzles][data-action=show] .puzzle-report-form textarea{padding:5px 10px}body[data-controller=puzzles][data-action=show] .puzzle-report-status{margin-top:30px}body[data-controller=puzzles][data-action=show] .puzzle-report-message{width:100%}body[data-controller=puzzles][data-action=show] .actions{margin-top:30px;text-align:center}body[data-controller=puzzles][data-action=show] .actions .button{font-size:16px;padding:8px 20px;border:0;border-radius:3px;background:#000;color:#fff;display:inline-block;font-family:Open Sans,Helvetica,Arial,sans-serif;line-height:22px;text-decoration:none;transition:opacity .25s ease}body[data-controller=puzzles][data-action=show] .actions .button:hover{background:#51b7ff;cursor:pointer}.blue-button,.dark-button{border:0;border-radius:3px;display:inline-block;font-family:Open Sans,Helvetica,Arial,sans-serif;line-height:22px;text-align:center;text-decoration:none;transition:opacity .25s ease;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.blue-button:hover,.dark-button:hover{cursor:pointer}.disabled.blue-button,.disabled.dark-button{opacity:.15;pointer-events:none}.blue-button{background:#2c9bea;color:#fff;font-size:18px;padding:10px 24px}.blue-button:hover{background:#51b7ff}.blue-button.small{font-size:14px;padding:8px 16px}.blue-button.large{font-size:24px;padding:12px 28px}.dark-button{background:#000;color:#fff;font-size:16px;padding:8px 20px}.dark-button:hover{background:#51b7ff}.dark-button.small{font-size:12px;padding:4px 10px;line-height:16px}.dark-button.large{font-size:18px;padding:10px 24px}.action-buttons{display:flex;grid-gap:15px;gap:15px;align-items:center}.action-buttons,.action-buttons .blue-button,.action-buttons .dark-button{position:relative;z-index:20}@media(max-aspect-ratio:11/16){.action-buttons{flex-direction:column;grid-gap:10px;gap:10px}.action-buttons .blue-button,.action-buttons .dark-button{width:100%;font-size:16px}}.game-mode .container{display:flex;flex-direction:column;align-items:center}.game-mode .above-board{width:496px;height:90px;position:relative;text-align:center}.game-mode .above-board .instructions{font-size:22px;font-weight:700;text-shadow:0 0 8px rgba(0,0,0,.9);width:100%;text-align:center;margin:0 auto;position:absolute;top:35px;transition:all .35s ease-out}.game-mode .above-board .instructions.smaller{font-size:20px;top:15px}.game-mode .above-board .puzzle-hint{text-align:center;margin:0 auto;position:absolute;top:45px;width:100%;transition:opacity .15s ease}.game-mode .above-board .puzzle-hint .hint-trigger{background:#565656;padding:6px 14px 5px;color:#fff;display:inline-block;border-radius:2px;font-size:12px;transition:opacity .08s ease}.game-mode .above-board .puzzle-hint .hint-trigger:hover{cursor:pointer;background:#676767}.game-mode .above-board .puzzle-hint .hint-trigger.invisible{pointer-events:none}.game-mode .above-board .puzzle-hint .move{font-size:14px;color:hsla(0,0%,100%,.5);height:0}.game-mode .above-board .move-status{opacity:1;font-family:Orbitron,sans-serif;font-size:32px;width:100%;position:absolute;top:10px;text-align:center;text-transform:uppercase;transform:scaleX(1);transition:opacity .02s ease}.game-mode .above-board .move-status.fade-out{opacity:0;transform:scale3d(.92,.92,1);transition:opacity .9s ease-out .2s,transform .05s ease-in-out}.game-mode .above-board .move-status .perfect{color:#34ff00;font-weight:600;letter-spacing:3px;font-size:40px}.game-mode .above-board .move-status .great{color:#2ae2ea;font-weight:600;letter-spacing:3px;font-size:38px}.game-mode .above-board .move-status .good{color:#fff260;font-weight:600;letter-spacing:3px;font-size:38px}.game-mode .above-board .move-status .almost{color:#f98661;position:relative;top:12px}.game-mode .above-board .move-status .fail{color:#f954ae;position:relative;top:12px}.game-mode .above-board .combo-counter{text-align:center;font-family:Orbitron,sans-serif;position:absolute;top:50px;width:100%;transition:opacity .25s ease}.game-mode .above-board .combo-counter .counter{display:inline-block;font-size:24px;margin-right:5px}.game-mode .above-board .combo-counter .counter.large{font-size:52px}.game-mode .above-board .combo-counter .counter.on-fire{font-size:70px}.game-mode .above-board .combo-counter .counter.emphasis{transform:scale3d(1.25,1.25,1)}.game-mode .above-board .combo-counter .combo-text{position:relative;text-transform:uppercase;font-size:14px;top:-2px}.game-mode .board-area-container{display:flex;flex-direction:column;align-items:center;margin:0;padding:0}.game-mode .board-area{width:496px;height:496px;position:relative}.game-mode .chessground-board{width:496px;height:496px;position:absolute;top:0;left:50%;transform:translateX(-50%)}.game-mode .vue-app-mount{display:flex;width:100%;justify-content:center;position:relative;z-index:3;margin-top:20px}.game-mode .board-modal-container{width:100%;height:100%;background:rgba(0,0,0,.6);position:absolute;left:0;top:0;z-index:2}.game-mode .game-under-board{display:flex;flex-direction:column;justify-content:flex-start;min-width:200px;grid-gap:20px;gap:20px;margin:20px auto 0;max-width:496px;position:relative;z-index:3}.game-mode .timer{font-size:40px;margin-bottom:.5rem;transition:opacity .25s ease,color .25s ease}.game-mode .timer.stopped{opacity:.3}.game-mode .timer.rewarded{color:#34ff00}.game-mode .timer.penalized{color:red}.game-mode .timer.complete{color:#ff0}.game-mode .score-container{text-align:center}.game-mode .score-container .label{font-size:13px;color:hsla(0,0%,100%,.5);margin-bottom:5px}.game-mode .score-container .score{font-size:30px;margin-top:15px}.game-mode .game-complete{display:flex;flex-direction:column;align-items:center;padding:20px 0;grid-gap:20px;gap:20px}.game-mode .recent-high-scores .label{margin-bottom:15px}.game-mode .recent-high-scores .list{display:flex;flex-direction:column;grid-gap:8px;gap:8px}.game-mode .recent-high-scores .high-score{display:flex;align-items:center;grid-gap:15px;gap:15px}.game-mode .recent-high-scores .high-score .score{font-size:16px;margin:0;min-width:30px}.game-mode .recent-high-scores .high-score .player-name{font-size:16px;color:hsla(0,0%,100%,.7)}.game-mode .make-a-move{line-height:26px;opacity:.7;font-size:18px;margin:20px 0}.game-mode .rewarded{color:#34ff00}.game-mode .penalized{color:red}.game-mode .complete{color:#ff0}@media(max-width:500px){.game-mode .container{padding:10px}.game-mode .board-area-container{width:100%!important}.game-mode .game-under-board .recent-high-scores .label{margin-bottom:8px}}@media(max-aspect-ratio:11/16){.game-mode .game-under-board{padding:20px;min-width:auto!important;width:100%;max-width:496px}.game-mode .game-under-board .make-a-move{width:100%!important;text-align:center}.game-mode .game-complete{width:100%!important}}