/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-4xpelbch0h],
.components-reconnect-repeated-attempt-visible[b-4xpelbch0h],
.components-reconnect-failed-visible[b-4xpelbch0h],
.components-pause-visible[b-4xpelbch0h],
.components-resume-failed-visible[b-4xpelbch0h],
.components-rejoining-animation[b-4xpelbch0h] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-4xpelbch0h],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-4xpelbch0h],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-4xpelbch0h],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-4xpelbch0h],
#components-reconnect-modal.components-reconnect-retrying[b-4xpelbch0h],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-4xpelbch0h],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-4xpelbch0h],
#components-reconnect-modal.components-reconnect-failed[b-4xpelbch0h],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-4xpelbch0h] {
    display: block;
}


#components-reconnect-modal[b-4xpelbch0h] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-4xpelbch0h 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-4xpelbch0h 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-4xpelbch0h 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-4xpelbch0h]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-4xpelbch0h 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-4xpelbch0h {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-4xpelbch0h {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-4xpelbch0h {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-4xpelbch0h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-4xpelbch0h] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-4xpelbch0h] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-4xpelbch0h] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-4xpelbch0h] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-4xpelbch0h] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-4xpelbch0h] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-4xpelbch0h 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-4xpelbch0h] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-4xpelbch0h {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Admin/Replay.razor.rz.scp.css */
.board-paper svg[b-evnzd4iw9f] {
    width: 100%;
    max-width: 680px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.controls[b-evnzd4iw9f] {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    align-items: center;
}

.controls[b-evnzd4iw9f]  .speed {
    max-width: 8rem;
    margin-left: .5rem;
}

.what[b-evnzd4iw9f] {
    min-height: 3rem;
}

.dice[b-evnzd4iw9f] {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}

.dice[b-evnzd4iw9f]  .played {
    opacity: .45;
}

/* A piece is a button: the pointer says so, and the one under the pointer lifts a little. */
.board-paper svg .man[b-evnzd4iw9f] {
    cursor: pointer;
}

.board-paper svg .man:hover circle[b-evnzd4iw9f] {
    filter: brightness(1.25);
}

.board-paper svg .man:focus-visible[b-evnzd4iw9f] {
    outline: 2px solid #f4d183;
}

.man-head[b-evnzd4iw9f] {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: .25rem 0 .5rem;
}

.man-head .name[b-evnzd4iw9f] {
    font-size: 1.1rem;
    font-weight: 600;
}

.man-head .dot[b-evnzd4iw9f] {
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
    display: inline-block;
}

.man-head .dot.hero[b-evnzd4iw9f] {
    background: #1f7d4c;
}

.man-head .dot.host[b-evnzd4iw9f] {
    background: #7d2126;
}

.section-head[b-evnzd4iw9f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

/* The tables: a tall one scrolls inside its card, and a row says whether it moved or was clicked. */
.scroll[b-evnzd4iw9f] {
    max-height: 22rem;
    overflow: auto;
}

td.key[b-evnzd4iw9f] {
    white-space: nowrap;
    opacity: .75;
}

td.small-cell[b-evnzd4iw9f] {
    font-size: .8rem;
    overflow-wrap: anywhere;
}

tbody tr.moved td[b-evnzd4iw9f] {
    background: rgba(217, 164, 65, .14);
}

tbody tr.picked td[b-evnzd4iw9f] {
    background: rgba(217, 164, 65, .3);
}

tbody tr.changed td[b-evnzd4iw9f] {
    color: #d9a441;
}

.happened[b-evnzd4iw9f] {
    font-size: .85rem;
    max-height: 18rem;
    overflow: auto;
    padding-left: 1.1rem;
    margin: 0;
}
