/* /Components/GameGrid.razor.rz.scp.css */
.grid-container[b-hh23j3f7rp] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}


.grid-svg[b-hh23j3f7rp] {
    padding: 10px;
    width: 100vmin;
    height: 100vmin;
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.grid-wrapper[b-hh23j3f7rp] {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
/* /Components/GameInfo.razor.rz.scp.css */
.game-header[b-1mse9s26hh] {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    /*margin: 0 0 0.5em 0;*/
    background: #eaeaea;
    min-height: 80px;
}

.player-on-turn-info[b-1mse9s26hh],
.game-info-message[b-1mse9s26hh] {
    width: 100%;
}

p[b-1mse9s26hh] {
    text-align: center;
    margin: 0;
    padding: 0;
}

p span.highlighted[b-1mse9s26hh] {
    padding: 2px 5px;
    color: white;
}

p.error[b-1mse9s26hh] {
    color: #b01212;
}
/* /Components/Rules.razor.rz.scp.css */
footer[b-473hkrs07m] {
    gap: 1em;
    flex: 0 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1em 2vw;
    background: #eaeaea;
}

.rules-btn[b-473hkrs07m] {
    cursor: pointer;
    border: none;
    font-size: 1em;
    transition: background 0.15s, box-shadow 0.15s;
    user-select: none;
    text-align: center;
    position: relative;
}


.rules-btn[b-473hkrs07m]::before {
    content: "▼ ";
    font-size: 1em;
    display: inline-block;
    transform: rotate(-90deg);
    margin-right: 0.3em;
}

#rules-toggle:checked + .rules-btn[b-473hkrs07m]::before {
    transform: rotate(0deg);
}

.rules-btn[b-473hkrs07m]::after {
    content: " (click to show)";
    font-size: 0.85em;
    margin-left: 0.5em;
}

#rules-toggle:checked + .rules-btn[b-473hkrs07m]::after {
    content: " (click to hide)";
}

.rules-text[b-473hkrs07m] {
    display: none;
    min-width: 200px;
}

#rules-toggle:checked + .rules-btn + .rules-text[b-473hkrs07m] {
    display: block;
}
/* /Pages/Game.razor.rz.scp.css */
container[b-xso7z5mg7t] {
    display: flex;
    flex-direction: column;
    height: 100vh;
}
/* /Pages/GameRoom.razor.rz.scp.css */
container[b-en00lrglda] {
    display: flex;
    flex-direction: column;
    height: 100vh;
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-he330a9lcj] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-he330a9lcj] {
    flex: 1;
}

.sidebar[b-he330a9lcj] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-he330a9lcj] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-he330a9lcj]  a, .top-row[b-he330a9lcj]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-he330a9lcj]  a:hover, .top-row[b-he330a9lcj]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-he330a9lcj]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-he330a9lcj] {
        justify-content: space-between;
    }

    .top-row[b-he330a9lcj]  a, .top-row[b-he330a9lcj]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-he330a9lcj] {
        flex-direction: row;
    }

    .sidebar[b-he330a9lcj] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-he330a9lcj] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-he330a9lcj]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }
}
