/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-zpsma2cu46] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-zpsma2cu46] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-lkl4oaz4ut],
.components-reconnect-repeated-attempt-visible[b-lkl4oaz4ut],
.components-reconnect-failed-visible[b-lkl4oaz4ut],
.components-pause-visible[b-lkl4oaz4ut],
.components-resume-failed-visible[b-lkl4oaz4ut],
.components-rejoining-animation[b-lkl4oaz4ut] {
    display: none;
}

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


#components-reconnect-modal[b-lkl4oaz4ut] {
    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-lkl4oaz4ut 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-lkl4oaz4ut {
    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/Game.razor.rz.scp.css */
.game-page[b-c3ustymloy] {
    min-height: 100vh;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-sizing: border-box;
    background: radial-gradient(circle at 30% 10%, rgba(15, 23, 42, 0.12), transparent 30%),
        linear-gradient(180deg, #0b1020, #0f172a 20%, #0b1120 100%);
    color: #e2e8f0;
}

.game-header[b-c3ustymloy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 0 auto clamp(1.25rem, 3vw, 2rem);
    max-width: 960px;
}

.game-header h1[b-c3ustymloy] {
    margin: 0.15rem 0 0;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.eyebrow[b-c3ustymloy] {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #67e8f9;
    margin: 0;
}

.hint[b-c3ustymloy] {
    margin: 0.35rem 0 0;
    color: #cbd5e1;
}

.turn-banner[b-c3ustymloy] {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.9rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.25);
    margin: 0 auto clamp(1rem, 2vw, 1.4rem);
}

.turn-banner p[b-c3ustymloy] {
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.turn-chip[b-c3ustymloy] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14);
}

.turn-chip.white[b-c3ustymloy] {
    background: linear-gradient(135deg, #fff, #cbd5e1);
}

.turn-chip.black[b-c3ustymloy] {
    background: linear-gradient(135deg, #0f172a, #111827);
}

.ghost[b-c3ustymloy] {
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: #e2e8f0;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 150ms ease, transform 150ms ease;
}

.ghost:hover[b-c3ustymloy] {
    border-color: #67e8f9;
    transform: translateY(-1px);
}

.board[b-c3ustymloy] {
    margin: 0 auto;
    width: min(100%, 640px);
    max-width: calc(100vw - 3rem);
    box-sizing: border-box;
    aspect-ratio: 1 / 1;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    border: 8px solid #111827;
}

.square[b-c3ustymloy] {
    position: relative;
    display: grid;
    place-items: center;
    transition: transform 120ms ease;
    border: none;
    padding: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.square:focus-visible[b-c3ustymloy] {
    outline: 3px solid #67e8f9;
    outline-offset: -3px;
}

.square.light[b-c3ustymloy] {
    background: #f8fafc;
}

.square.dark[b-c3ustymloy] {
    background: #86bc53;
}

.square:hover[b-c3ustymloy] {
    transform: scale(1.02);
}

.square.selected[b-c3ustymloy] {
    box-shadow: inset 0 0 0 4px rgba(103, 232, 249, 0.6);
}

.square.target[b-c3ustymloy]::after {
    content: "";
    width: 22%;
    height: 22%;
    border-radius: 50%;
    background: rgba(103, 232, 249, 0.6);
    box-shadow: 0 0 0 6px rgba(103, 232, 249, 0.18);
}

.piece[b-c3ustymloy] {
    width: 68%;
    height: 68%;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.25), 0 8px 18px rgba(0, 0, 0, 0.4);
}

.piece.light-piece[b-c3ustymloy] {
    background: radial-gradient(circle at 30% 30%, #fff, #cbd5e1);
    border: 2px solid #e2e8f0;
}

.piece.dark-piece[b-c3ustymloy] {
    background: radial-gradient(circle at 30% 30%, #0f172a, #111827);
    border: 2px solid #1f2937;
}

@media (max-width: 720px) {
    .game-page[b-c3ustymloy] {
        padding-inline: 1rem;
    }

    .game-header[b-c3ustymloy] {
        flex-direction: column;
        align-items: flex-start;
    }

    .ghost[b-c3ustymloy] {
        align-self: flex-start;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.hero[b-t8cavku356] {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: clamp(1.5rem, 2vw, 3rem);
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15), transparent 35%),
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.08), transparent 30%),
        linear-gradient(135deg, #0f172a, #1f2937);
    color: #f8fafc;
    text-align: center;
}

.hero__text[b-t8cavku356] {
    display: grid;
    gap: 1rem;
    max-width: 560px;
    padding: clamp(1rem, 3vw, 2rem);
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(248, 250, 252, 0.08);
    border-radius: 1.25rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero h1[b-t8cavku356] {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin: 0;
}

.hero p[b-t8cavku356] {
    margin: 0;
    color: #e2e8f0;
}

.primary[b-t8cavku356] {
    justify-self: center;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(120deg, #22c55e, #16a34a);
    color: #0b111f;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease;
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.3);
}

.primary:hover[b-t8cavku356] {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(34, 197, 94, 0.4);
}

.primary:active[b-t8cavku356] {
    transform: translateY(0);
}

.hero__actions[b-t8cavku356] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

.secondary[b-t8cavku356] {
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 250, 252, 0.24);
    background: rgba(15, 23, 42, 0.25);
    color: #f8fafc;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.secondary:hover[b-t8cavku356] {
    transform: translateY(-1px);
    border-color: rgba(248, 250, 252, 0.45);
    background: rgba(15, 23, 42, 0.4);
}

.secondary:active[b-t8cavku356] {
    transform: translateY(0);
}
