/* _content/Chessy/Components/BoardComponent.Razor.rz.scp.css */


.board-container[b-qu343hep5t] {
    width: 100%;
    height: 100%;
    max-width: 90vmin;
}

.board[b-qu343hep5t] {
    margin: 1vmin 3vmin;
    padding: 1vmin;
    padding-bottom: 1vmin;
    border-radius: 1vmin;
    background: var(--card-background);
    box-shadow: rgba(0, 0, 0, 0.4) 0px .3vmin .6vmin, rgba(0, 0, 0, 0.3) 0px 1vmin 1.95vmin -0.45vmin, rgba(0, 0, 0, 0.2) 0px -1vmin 0px inset;
}
.board .letters[b-qu343hep5t] {
    display: flex;
    justify-content: space-around;
    margin: 0 3vmin;
}
.board .letters div[b-qu343hep5t] {
    color: var(--text-muted);
    font-size: 2vmin;
    height: 3vmin;
    font-family: Roboto;
    font-weight: bold;
}
.board .row-number[b-qu343hep5t] {
    color: var(--text-muted);
    font-size: 2vmin;
    width: 3vmin;
    font-family: Roboto;
    font-weight: bold;
    text-align: center;
}

.board-grid[b-qu343hep5t] {
    border-radius: 1vmin;
    width: 66vmin;
    height: 60vmin;
    background: var(--card-background2);
}

.board-row[b-qu343hep5t] {
    height: auto;
    display: flex;
    align-items:center;
}

.board-cell[b-qu343hep5t] {
    width: 7.5vmin !important;
    height: 7.5vmin !important;
    color: var(--text);
    text-align: center;
    font-size: 5vmin;
    display: flex;
    justify-content: center;
    align-items: end;
}

.now-playing[b-qu343hep5t] {
    color: var(--text2);
    font-size: 2vmin;
    font-family: Roboto;
    width: 60vmin;
    display: flex;
    margin: 0 6vmin;
    height: 4vmin;
    justify-content: space-between;
}
    .now-playing div img[b-qu343hep5t] {
        margin: 0 0.3vmin;
        box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
    }
.now-playing strong[b-qu343hep5t] {
    color: var(--text);
}
.now-playing span[b-qu343hep5t] {
    background: var(--cell-background2);
    border-radius: .5vmin;
    margin: 0 0.5vmin;
    margin-top: 1vmin;
    padding: 0.5vmin 1.2vmin;
    text-align: center;
    color: var(--text);
}

.dark[b-qu343hep5t] {
    background: var(--cell-background);
}

.light[b-qu343hep5t] {
    background: var(--cell-background2);
}

.board-cell img[b-qu343hep5t] {
    height: 80%;
    padding-bottom: 10%;
    cursor: grab;
    z-index: 1;
    transition: opacity .5s ease, filter .5s ease;
}
.board.game-over img[b-qu343hep5t] {
    opacity: .5;
}
.promotion-container[b-qu343hep5t] {
    position: absolute;
    height: auto;
    width: auto;
    padding: 2vmin;
    background: var(--card-background);
    border-radius: 1vmin;
    z-index: 10;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.2) 0px .3vmin .6vmin, rgba(0, 0, 0, 0.1) 0px 1vmin 1.95vmin -0.45vmin, rgba(0, 0, 0, 0.2) 0px -.4vmin 0px inset;
}

.promotion-container .choices[b-qu343hep5t] {
    display: flex;
    justify-content: space-around;
}

.promotion-container .choices img[b-qu343hep5t] {
    height: 8vmin;
    width: 8vmin;
    margin: 0 1vmin;
    background: var(--cell-background2);
    object-fit: contain;
    padding: 1vmin;
    transition: transform ease .1s, box-shadow .1s ease;
    cursor: pointer;
}

.promotion-container .choices img:hover[b-qu343hep5t] {
    transform: scale(1.1);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2.25vmin 3.75vmin, rgba(0, 0, 0, 0.05) 0px 0.7vmin 1.5vmin;
}

.White_Pawn[b-qu343hep5t], .Black_Pawn[b-qu343hep5t] {
    height: 65% !important;
}

.White_Knight[b-qu343hep5t], .White_Rook[b-qu343hep5t], .White_Bishop[b-qu343hep5t],
.Black_Knight[b-qu343hep5t], .Black_Rook[b-qu343hep5t], .Black_Bishop[b-qu343hep5t] {
    height: 70% !important;
}
.Black_Queen[b-qu343hep5t], .Black_King[b-qu343hep5t],
.White_Queen[b-qu343hep5t], .White_King[b-qu343hep5t] {
    height: 80% !important;
}

.empty[b-qu343hep5t] {
    cursor: unset !important;
}

.dark.last-move[b-qu343hep5t] {
    background: var(--cell-last-move-dark);
}

.light.last-move[b-qu343hep5t] {
    background: var(--cell-last-move-light);
}
.selected[b-qu343hep5t] {
    background: var(--cell-selected);
}
.possible[b-qu343hep5t]{
    cursor: pointer;
}
.possible[b-qu343hep5t]::after {
    content: " ";
    height: 6vmin;
    width: 6vmin;
    background: transparent;
    border-radius: 5vmin;
    position: absolute;
    opacity: 0.2;
    margin-bottom: 3.75vmin;
    transform: translateY(50%);
    box-sizing: border-box;
    border: .6vmin solid var(--cell-background2);
    transition: border .1s ease;
}
.possible:hover[b-qu343hep5t]::after {
    border: 1.5vmin solid var(--cell-background2);
}

.dark.possible[b-qu343hep5t] {
    background: var(--cell-possible-dark);
}

.light.possible[b-qu343hep5t] {
    background: var(--cell-possible-light);
}
.spectating[b-qu343hep5t] {
    font-family: 'Hammersmith One' !important;
    color: var(--text);
    text-align: center;
    font-size: 4vmin;
}
/* _content/Chessy/Components/DarkmodeToggle.razor.rz.scp.css */
.darkmode-toggle[b-b1wdeq40r9] {
    position: absolute;
    width: 34px;
    height: 34px;
    outline: none !important;
    border: none !important;
    background: transparent;
    overflow: hidden;
    padding: 5px;
    left: 22px;
    top: 22px;
}

    .darkmode-toggle svg[b-b1wdeq40r9] {
        display: block;
        fill: var(--text);
        -webkit-transition: .3s ease-in-out;
        -o-transition: .3s ease-in-out;
        transition: .3s ease-in-out;
        cursor: pointer;
    }

body[data-theme=false] .darkmode-toggle svg[b-b1wdeq40r9] {
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
}

body[data-theme=false] .sun-icon[b-b1wdeq40r9] {
    visibility: hidden;
}

body[data-theme=false] .moon-icon[b-b1wdeq40r9] {
    visibility: visible;
}
/* _content/Chessy/Shared/MainLayout.razor.rz.scp.css */
.page[b-ry1fv38ntm] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ry1fv38ntm] {
    flex: 1;
}

.sidebar[b-ry1fv38ntm] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-ry1fv38ntm] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ry1fv38ntm]  a, .top-row .btn-link[b-ry1fv38ntm] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-ry1fv38ntm] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-ry1fv38ntm] {
        display: none;
    }

    .top-row.auth[b-ry1fv38ntm] {
        justify-content: space-between;
    }

    .top-row a[b-ry1fv38ntm], .top-row .btn-link[b-ry1fv38ntm] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ry1fv38ntm] {
        flex-direction: row;
    }

    .sidebar[b-ry1fv38ntm] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ry1fv38ntm] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-ry1fv38ntm], article[b-ry1fv38ntm] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
