/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-r2b22r9elh] {
    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-r2b22r9elh] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Game.razor.rz.scp.css */
.game[b-tz5ddbt0f4] {
    max-width: 30rem;
    margin: 1rem auto;
    padding: 0 1rem 1.5rem;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    text-align: center;
    color: #1f2933;
}

h1[b-tz5ddbt0f4] {
    margin: 0 0 0.15rem;
    font-size: 1.4rem;
}

.top-bar[b-tz5ddbt0f4] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
}

.icon-button[b-tz5ddbt0f4] {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid #cbd2d9;
    background: #f4f6f8;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    color: #1f2933;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.15s ease;
}

.icon-button:not(:disabled):hover[b-tz5ddbt0f4] {
    background: #e3e8ee;
}

.icon-button:disabled[b-tz5ddbt0f4] {
    opacity: 0.5;
    cursor: default;
}

.settings-button[b-tz5ddbt0f4] {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.leaderboard-button[b-tz5ddbt0f4] {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.new-game-icon:not(:disabled):active[b-tz5ddbt0f4] {
    transform: rotate(-50deg);
}

.intro-link[b-tz5ddbt0f4] {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    margin: 0 0 0.6rem;
    color: #52606d;
    font-size: 0.85rem;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.intro-link:hover[b-tz5ddbt0f4] {
    color: #1f2933;
}

.status-row[b-tz5ddbt0f4] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.status[b-tz5ddbt0f4] {
    font-size: 1rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    display: inline-block;
}

.status.in-progress[b-tz5ddbt0f4] {
    background: #e3e8ee;
    color: #1f2933;
}

.status.player-won[b-tz5ddbt0f4] {
    background: #d1f5db;
    color: #0b6b3a;
}

.status.bot-won[b-tz5ddbt0f4] {
    background: #fbd8d8;
    color: #9c1c1c;
}

.status.draw[b-tz5ddbt0f4] {
    background: #fef3c7;
    color: #92660a;
}

.status.thinking[b-tz5ddbt0f4] {
    animation: thinking-pulse-b-tz5ddbt0f4 1.1s ease-in-out infinite;
}

@keyframes thinking-pulse-b-tz5ddbt0f4 {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.55;
    }
}

.board[b-tz5ddbt0f4] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    max-width: min(16rem, 100%);
    margin: 0 auto 0.75rem;
}

.cell[b-tz5ddbt0f4] {
    aspect-ratio: 1;
    font-size: 2.5rem;
    font-weight: 700;
    background: #f4f6f8;
    border: 2px solid #cbd2d9;
    border-radius: 0.6rem;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.05s ease;
    color: #1f2933;
}

.cell:not(:disabled):hover[b-tz5ddbt0f4] {
    background: #e3e8ee;
}

.cell:not(:disabled):active[b-tz5ddbt0f4] {
    transform: scale(0.96);
}

.cell:disabled[b-tz5ddbt0f4] {
    cursor: default;
}

.cell.filled.X[b-tz5ddbt0f4] {
    color: #2563eb;
}

.cell.filled.O[b-tz5ddbt0f4] {
    color: #dc2626;
}

.probabilities[b-tz5ddbt0f4] {
    text-align: left;
    background: #f8f9fb;
    border: 1px solid #e3e8ee;
    border-radius: 0.65rem;
    padding: 0.75rem 0.85rem;
}

.probabilities h2[b-tz5ddbt0f4] {
    font-size: 0.95rem;
    margin: 0 0 0.4rem;
}

.probabilities h3[b-tz5ddbt0f4] {
    font-size: 0.8rem;
    color: #52606d;
    margin: 0.5rem 0 0.3rem;
}

.market[b-tz5ddbt0f4] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0.3rem;
    margin: -0.3rem -0.3rem 0.3rem;
    table-layout: fixed;
}

.market thead th[b-tz5ddbt0f4] {
    padding-bottom: 0.1rem;
}

.market-label[b-tz5ddbt0f4] {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    color: #1f2933;
}

.market-sub[b-tz5ddbt0f4] {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7b8794;
}

.market-cell[b-tz5ddbt0f4] {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    padding: 0.5rem 0.4rem;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.market-cell.player[b-tz5ddbt0f4] {
    background: #e8effc;
    color: #2563eb;
}

.market-cell.draw[b-tz5ddbt0f4] {
    background: #fdf3d9;
    color: #92660a;
}

.market-cell.bot[b-tz5ddbt0f4] {
    background: #fbe6e6;
    color: #dc2626;
}

.market-cell.hit[b-tz5ddbt0f4] {
    background: #d1f5db;
    color: #0b6b3a;
    border-color: #34a563;
}

.market-cell.miss[b-tz5ddbt0f4] {
    background: #f4f6f8;
    color: #aab4bf;
}

.turn-breakdown[b-tz5ddbt0f4] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.turn-breakdown li[b-tz5ddbt0f4] {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.2rem 0.4rem;
    border-radius: 0.35rem;
    background: white;
    border: 1px solid #e3e8ee;
    font-size: 0.8rem;
}

.turn-breakdown li.muted[b-tz5ddbt0f4] {
    opacity: 0.45;
}

.turn-breakdown li.hidden[b-tz5ddbt0f4] {
    display: none;
}

.turn-breakdown li.hit[b-tz5ddbt0f4] {
    background: #d1f5db;
    border-color: #34a563;
}

.turn-breakdown li.miss[b-tz5ddbt0f4] {
    opacity: 0.5;
}

.turn-breakdown li.hit .turn-probability[b-tz5ddbt0f4],
.turn-breakdown li.miss .turn-probability[b-tz5ddbt0f4] {
    font-size: 0.95rem;
}

.turn-outcome[b-tz5ddbt0f4] {
    font-weight: 600;
    flex: 1;
}

.turn-number[b-tz5ddbt0f4] {
    color: #52606d;
}

.turn-probability[b-tz5ddbt0f4] {
    font-variant-numeric: tabular-nums;
    min-width: 3rem;
    text-align: right;
}

.legend[b-tz5ddbt0f4] {
    font-size: 0.8rem;
    color: #7b8794;
    margin-bottom: 0;
}

@media (max-width: 420px) {
    .game[b-tz5ddbt0f4] {
        padding: 0 0.6rem 1rem;
    }

    h1[b-tz5ddbt0f4] {
        font-size: 1.2rem;
    }

    .cell[b-tz5ddbt0f4] {
        font-size: 1.9rem;
    }

    .market-cell[b-tz5ddbt0f4] {
        font-size: 0.95rem;
        padding: 0.4rem 0.3rem;
    }

    .market[b-tz5ddbt0f4] {
        border-spacing: 0.2rem;
        margin: -0.2rem -0.2rem 0.25rem;
    }

    .probabilities[b-tz5ddbt0f4] {
        padding: 0.6rem 0.65rem;
    }
}
/* /Components/Shared/IntroCarouselDialog.razor.rz.scp.css */
.carousel-overlay[b-q1crexbie2] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 32, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 200;
}

/* Outer box: fixes the popup's own width, so the inner body's percentage padding
   (below) resolves against *this* box - i.e. truly "10% of the popup", not 10% of
   the viewport, which is what padding directly on a flex item would compute against. */
.carousel-dialog[b-q1crexbie2] {
    position: relative;
    width: 100%;
    max-width: 26rem;
    background: #007aff;
    border-radius: 1rem;
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.carousel-close[b-q1crexbie2] {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-close:hover[b-q1crexbie2] {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-body[b-q1crexbie2] {
    box-sizing: border-box;
    padding: 10%;
}

.carousel-viewport[b-q1crexbie2] {
    overflow: hidden;
    border-radius: 0.75rem;
}

.carousel-track[b-q1crexbie2] {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-slide[b-q1crexbie2] {
    flex: 0 0 100%;
    box-sizing: border-box;
    min-height: 12rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 0.25rem;
}

.carousel-slide-title[b-q1crexbie2] {
    margin: 0 0 0.6rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
}

.carousel-slide-text[b-q1crexbie2] {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.carousel-slide-highlight[b-q1crexbie2] {
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem 1.25rem;
}

.carousel-slide-highlight .carousel-slide-text[b-q1crexbie2] {
    font-size: 1.05rem;
    font-weight: 600;
}

.carousel-slide-highlight .carousel-slide-text strong[b-q1crexbie2] {
    color: white;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.carousel-controls[b-q1crexbie2] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.carousel-arrow[b-q1crexbie2] {
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover:not(:disabled)[b-q1crexbie2] {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-arrow:disabled[b-q1crexbie2] {
    opacity: 0.35;
    cursor: default;
}

.carousel-dots[b-q1crexbie2] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.carousel-dot[b-q1crexbie2] {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    padding: 0;
    cursor: pointer;
}

.carousel-dot.active[b-q1crexbie2] {
    background: white;
}
/* /Components/Shared/LeaderboardDialog.razor.rz.scp.css */
.leaderboard-overlay[b-41cg7w9nej] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 32, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 150;
}

.leaderboard-dialog[b-41cg7w9nej] {
    width: 100%;
    max-width: 26rem;
    background: white;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 1rem 3rem rgba(15, 23, 32, 0.25);
    text-align: left;
    color: #1f2933;
}

.leaderboard-header[b-41cg7w9nej] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.leaderboard-header h2[b-41cg7w9nej] {
    margin: 0;
    font-size: 1.15rem;
}

.leaderboard-close[b-41cg7w9nej] {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #52606d;
    border-radius: 50%;
    margin: -0.5rem -0.5rem -0.5rem 0;
}

.leaderboard-close:hover[b-41cg7w9nej] {
    background: #e3e8ee;
    color: #1f2933;
}

.leaderboard-status[b-41cg7w9nej] {
    color: #52606d;
    font-size: 0.9rem;
    text-align: center;
    padding: 1.5rem 0;
    margin: 0;
}

.leaderboard-table-wrap[b-41cg7w9nej] {
    overflow-x: auto;
}

.leaderboard-table[b-41cg7w9nej] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

.leaderboard-table th[b-41cg7w9nej] {
    text-align: left;
    padding: 0.3rem 0.4rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7b8794;
    border-bottom: 1px solid #e3e8ee;
}

.leaderboard-table td[b-41cg7w9nej] {
    padding: 0.35rem 0.4rem;
    border-bottom: 1px solid #eef1f4;
}

.leaderboard-name[b-41cg7w9nej] {
    font-weight: 600;
}

.leaderboard-score[b-41cg7w9nej] {
    font-weight: 700;
    color: #2563eb;
}
/* /Components/Shared/NicknamePromptDialog.razor.rz.scp.css */
.nickname-overlay[b-txt8nuaknl] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 32, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 150;
}

.nickname-dialog[b-txt8nuaknl] {
    width: 100%;
    max-width: 22rem;
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1rem 3rem rgba(15, 23, 32, 0.25);
    text-align: center;
    color: #1f2933;
}

.nickname-dialog h2[b-txt8nuaknl] {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
}

.nickname-score[b-txt8nuaknl] {
    margin: 0.5rem 0 0.15rem;
    font-size: 2.25rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #2563eb;
}

.nickname-score span[b-txt8nuaknl] {
    font-size: 1rem;
    font-weight: 600;
    color: #52606d;
    margin-left: 0.25rem;
}

.nickname-score-breakdown[b-txt8nuaknl] {
    margin: 0 0 0.5rem;
    color: #7b8794;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

.nickname-ineligible[b-txt8nuaknl] {
    margin: 0 0 1rem;
    padding: 0.5rem 0.75rem;
    background: #fef3c7;
    color: #92660a;
    border-radius: 0.5rem;
    font-size: 0.78rem;
    line-height: 1.4;
    text-align: left;
}

.nickname-hint[b-txt8nuaknl] {
    margin: 0 0 1rem;
    color: #52606d;
    font-size: 0.85rem;
}

.nickname-input[b-txt8nuaknl] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    border: 1px solid #cbd2d9;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.nickname-input:focus[b-txt8nuaknl] {
    outline: 2px solid #2563eb;
    outline-offset: 1px;
}

.nickname-input:disabled[b-txt8nuaknl] {
    background: #f4f6f8;
    color: #52606d;
    cursor: default;
}

.nickname-error[b-txt8nuaknl] {
    margin: -0.6rem 0 1rem;
    color: #c62626;
    font-size: 0.8rem;
    text-align: left;
}

.nickname-actions[b-txt8nuaknl] {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}

.nickname-skip[b-txt8nuaknl] {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    border: 1px solid #cbd2d9;
    background: white;
    color: #52606d;
    cursor: pointer;
}

.nickname-skip:hover[b-txt8nuaknl] {
    background: #f4f6f8;
}

.nickname-submit[b-txt8nuaknl] {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    background: #1f2933;
    color: white;
    cursor: pointer;
}

.nickname-submit:not(:disabled):hover[b-txt8nuaknl] {
    background: #323f4b;
}

.nickname-submit:disabled[b-txt8nuaknl] {
    opacity: 0.5;
    cursor: default;
}
/* /Components/Shared/SettingsDialog.razor.rz.scp.css */
.settings-overlay[b-yydwwajk6i] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 32, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 100;
}

.settings-dialog[b-yydwwajk6i] {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 24rem;
    box-shadow: 0 1rem 3rem rgba(15, 23, 32, 0.25);
    text-align: left;
    color: #1f2933;
}

.settings-header[b-yydwwajk6i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.settings-header h2[b-yydwwajk6i] {
    margin: 0;
    font-size: 1.15rem;
}

.settings-close[b-yydwwajk6i] {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #52606d;
    border-radius: 50%;
    margin: -0.5rem -0.5rem -0.5rem 0;
}

.settings-close:hover[b-yydwwajk6i] {
    background: #e3e8ee;
    color: #1f2933;
}

.settings-lock-notice[b-yydwwajk6i] {
    background: #fef3c7;
    color: #92660a;
    border: 1px solid #f3d98b;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.settings-field[b-yydwwajk6i] {
    margin-bottom: 1.25rem;
}

.settings-field label[b-yydwwajk6i] {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.settings-field input[type="range"][b-yydwwajk6i] {
    width: 100%;
    height: 2rem;
}

.settings-field input[type="range"]:disabled[b-yydwwajk6i] {
    opacity: 0.5;
}

.settings-hint[b-yydwwajk6i] {
    font-size: 0.85rem;
    color: #7b8794;
    margin: 0;
}
