/* /Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-oc6p9me8b3] {
    height: 100vh;
    overflow: hidden;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.app-shell.theme-dark[b-oc6p9me8b3] {
    background: #0b1220;
    color: #e5edf8;
    --modal-background: #111827;
    --panel-background: rgba(15, 23, 42, 0.92);
    --panel-border: rgba(148, 163, 184, 0.18);
    --panel-shadow: 0 18px 48px rgba(2, 8, 23, 0.3);
    --subtle-background: rgba(30, 41, 59, 0.7);
    --empty-background: rgba(30, 41, 59, 0.5);
    --input-background: #0f172a;
    --input-text: #e2e8f0;
}

.app-shell.theme-light[b-oc6p9me8b3] {
    background: #f4f7fb;
    color: #132238;
    --modal-background: #ffffff;
    --panel-background: rgba(255, 255, 255, 0.96);
    --panel-border: rgba(148, 163, 184, 0.28);
    --panel-shadow: 0 16px 36px rgba(148, 163, 184, 0.16);
    --subtle-background: #eef4fb;
    --empty-background: #eef4fb;
    --input-background: #ffffff;
    --input-text: #132238;
}

.page[b-oc6p9me8b3] {
    height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.top-bar[b-oc6p9me8b3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
}

.theme-dark .top-bar[b-oc6p9me8b3] {
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.theme-light .top-bar[b-oc6p9me8b3] {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.branding[b-oc6p9me8b3] {
    display: flex;
    flex-direction: column;
}

.eyebrow[b-oc6p9me8b3] {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.75;
}

.title[b-oc6p9me8b3] {
    font-size: 1.5rem;
    font-weight: 700;
}

.top-bar-actions[b-oc6p9me8b3] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-button[b-oc6p9me8b3],
.settings-close-button[b-oc6p9me8b3],
.settings-action-button[b-oc6p9me8b3],
.home-button[b-oc6p9me8b3],
.refresh-button[b-oc6p9me8b3] {
    border: 0;
    border-radius: 0.5rem;
    font-weight: 600;
}

.persistence-status[b-oc6p9me8b3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.65rem 0;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(56, 189, 248, 0.55);
    border-radius: 0.8rem;
    background: var(--panel-background);
    font-size: 0.9rem;
}

.persistence-status button[b-oc6p9me8b3] {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.home-button[b-oc6p9me8b3] {
    width: 3rem;
    min-height: 3rem;
    padding: 0.2rem;
    overflow: hidden;
}

.home-button img[b-oc6p9me8b3] {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0.35rem;
    object-fit: cover;
}

.settings-button[b-oc6p9me8b3],
.settings-close-button[b-oc6p9me8b3],
.settings-action-button[b-oc6p9me8b3] {
    padding: 0.75rem 1.1rem;
}

.settings-button.icon-only[b-oc6p9me8b3] {
    width: 3rem;
    min-height: 3rem;
    padding: 0.65rem;
    font-size: 1.25rem;
    line-height: 1;
}

.refresh-button[b-oc6p9me8b3] {
    width: 3rem;
    min-height: 3rem;
    padding: 0.65rem;
    font-size: 1.3rem;
    line-height: 1;
}

.theme-dark .settings-button[b-oc6p9me8b3],
.theme-dark .settings-close-button[b-oc6p9me8b3],
.theme-dark .settings-action-button[b-oc6p9me8b3],
.theme-dark .home-button[b-oc6p9me8b3],
.theme-dark .refresh-button[b-oc6p9me8b3] {
    background: #38bdf8;
    color: #082f49;
}

.theme-light .settings-button[b-oc6p9me8b3],
.theme-light .settings-close-button[b-oc6p9me8b3],
.theme-light .settings-action-button[b-oc6p9me8b3],
.theme-light .home-button[b-oc6p9me8b3],
.theme-light .refresh-button[b-oc6p9me8b3] {
    background: #1d4ed8;
    color: #eff6ff;
}

.settings-action-button.secondary[b-oc6p9me8b3],
.settings-close-button[b-oc6p9me8b3] {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: inherit;
}

.settings-overlay[b-oc6p9me8b3] {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(2, 8, 23, 0.72);
}

.settings-panel[b-oc6p9me8b3] {
    width: min(760px, calc(100vw - 2rem));
    max-height: min(760px, calc(100vh - 2rem));
    overflow-y: auto;
    border-radius: 1.25rem;
    padding: 1.25rem;
    background: var(--modal-background, #111827);
    color: inherit;
    border: 1px solid var(--panel-border, rgba(148, 163, 184, 0.25));
    box-shadow: var(--panel-shadow, 0 18px 48px rgba(2, 8, 23, 0.45));
}

.settings-header[b-oc6p9me8b3],
.settings-section-header[b-oc6p9me8b3],
.settings-actions[b-oc6p9me8b3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.settings-header[b-oc6p9me8b3] {
    margin-bottom: 1rem;
}

.settings-header h2[b-oc6p9me8b3],
.settings-section-header h3[b-oc6p9me8b3] {
    margin: 0;
}

.settings-header p[b-oc6p9me8b3] {
    margin: 0.35rem 0 0 0;
    opacity: 0.78;
}

.settings-grid[b-oc6p9me8b3],
.settings-section[b-oc6p9me8b3] {
    display: grid;
    gap: 1rem;
}

.settings-section[b-oc6p9me8b3] {
    padding: 1rem;
    border-radius: 0.8rem;
    background: var(--subtle-background, rgba(30, 41, 59, 0.85));
}

.settings-field[b-oc6p9me8b3] {
    display: grid;
    gap: 0.45rem;
    font-weight: 700;
}

.settings-field span[b-oc6p9me8b3] {
    font-size: 0.92rem;
    opacity: 0.82;
}

.settings-select[b-oc6p9me8b3],
.settings-textarea[b-oc6p9me8b3] {
    width: 100%;
    border-radius: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: var(--input-background, #0f172a);
    color: var(--input-text, #e2e8f0);
    padding: 0.75rem 0.85rem;
}

.settings-textarea[b-oc6p9me8b3] {
    resize: vertical;
}

.settings-slider-grid[b-oc6p9me8b3] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.settings-status[b-oc6p9me8b3] {
    padding: 0.75rem 0.85rem;
    border-radius: 0.7rem;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.settings-action-button.warning[b-oc6p9me8b3] {
    background: #b91c1c;
    border-color: #ef4444;
    color: #fff;
}

.content[b-oc6p9me8b3] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    padding: 1rem 0 2rem 0;
    overflow: hidden;
}

.content.content-scrollable[b-oc6p9me8b3] {
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

main[b-oc6p9me8b3] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

@media (max-width: 700px) {
    .page[b-oc6p9me8b3] {
        padding: 0.75rem;
    }

    .top-bar[b-oc6p9me8b3] {
        flex-direction: column;
        align-items: stretch;
    }

    .top-bar-actions[b-oc6p9me8b3] {
        justify-content: stretch;
    }

    .settings-button[b-oc6p9me8b3] {
        width: 100%;
    }

    .refresh-button[b-oc6p9me8b3] {
        flex: 0 0 3rem;
    }

    .settings-header[b-oc6p9me8b3],
    .settings-section-header[b-oc6p9me8b3],
    .settings-actions[b-oc6p9me8b3] {
        align-items: stretch;
        flex-direction: column;
    }

    .settings-slider-grid[b-oc6p9me8b3] {
        grid-template-columns: 1fr;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-crqybfheqh] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-crqybfheqh] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-crqybfheqh] {
    font-size: 1.1rem;
}

.bi[b-crqybfheqh] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-crqybfheqh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-crqybfheqh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-crqybfheqh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-crqybfheqh] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-crqybfheqh] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-crqybfheqh] {
        padding-bottom: 1rem;
    }

    .nav-item[b-crqybfheqh]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-crqybfheqh]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-crqybfheqh]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-crqybfheqh] {
        display: none;
    }

    .collapse[b-crqybfheqh] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-crqybfheqh] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/History/GameHistory.razor.rz.scp.css */
.history-page[b-sbnxn67klr]{padding:1.25rem;max-width:1400px;margin:auto}.history-page h1[b-sbnxn67klr]{margin:.2rem 0}.filters[b-sbnxn67klr]{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:1rem;padding:1rem;border-radius:16px;background:var(--panel-background,#192233);margin:1rem 0}.filters label[b-sbnxn67klr],.player-filter[b-sbnxn67klr]{display:flex;flex-direction:column;gap:.4rem}.filters input[b-sbnxn67klr],.filters select[b-sbnxn67klr]{padding:.65rem;border-radius:8px}.player-filter[b-sbnxn67klr]{grid-column:1/-1}.player-options[b-sbnxn67klr]{display:flex;flex-wrap:wrap;gap:.5rem}.player-options label[b-sbnxn67klr]{flex-direction:row;padding:.45rem .7rem;border:1px solid #64748b;border-radius:999px}.filter-actions[b-sbnxn67klr]{display:flex;gap:.5rem}.filter-actions button[b-sbnxn67klr]{padding:.65rem 1rem;border-radius:8px}.history-layout[b-sbnxn67klr]{display:grid;grid-template-columns:minmax(260px,35%) 1fr;gap:1rem}.session-list[b-sbnxn67klr]{display:flex;flex-direction:column;gap:.6rem;max-height:70vh;overflow:auto}.session-card[b-sbnxn67klr]{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:1rem;border-radius:12px;border:1px solid #475569;background:transparent;color:inherit}.session-card.selected[b-sbnxn67klr]{border-color:#38bdf8;background:#0c4a6e}.detail[b-sbnxn67klr]{padding:1.2rem;border-radius:16px;background:var(--panel-background,#192233)}.results[b-sbnxn67klr]{display:grid;gap:.5rem}.results>div[b-sbnxn67klr]{display:grid;grid-template-columns:1fr auto auto;gap:1rem;padding:.65rem;border-bottom:1px solid #475569}.game-timeline[b-sbnxn67klr]{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}.game-timeline li[b-sbnxn67klr]{display:grid;grid-template-columns:2.25rem 1fr;gap:.75rem}.timeline-marker[b-sbnxn67klr]{width:2.25rem;height:2.25rem;border-radius:50%;display:grid;place-items:center;background:#38bdf8;color:#082f49;font-weight:800}.timeline-content[b-sbnxn67klr]{padding:.75rem 1rem;border:1px solid #475569;border-radius:12px}.timeline-heading[b-sbnxn67klr]{display:flex;align-items:center;justify-content:space-between;gap:1rem}.timeline-score[b-sbnxn67klr]{font-size:1.1rem;font-weight:800;color:#4ade80}.timeline-score.negative[b-sbnxn67klr]{color:#fb7185}.timeline-total[b-sbnxn67klr],.timeline-note[b-sbnxn67klr],.timeline-content time[b-sbnxn67klr]{display:block;margin-top:.25rem;opacity:.78}.timeline-content time[b-sbnxn67klr]{font-size:.78rem}@media(max-width:760px){.filters[b-sbnxn67klr],.history-layout[b-sbnxn67klr]{grid-template-columns:1fr}.history-layout[b-sbnxn67klr]{display:block}.session-list[b-sbnxn67klr]{max-height:none;margin-bottom:1rem}}
/* /Pages/Scoring/Scoreboard.razor.rz.scp.css */
.scoreboard-page[b-3c66yufpyf] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 1rem;
    min-height: 0;
    height: 100%;
}

.hero-panel[b-3c66yufpyf],
.panel[b-3c66yufpyf],
.player-detail-card[b-3c66yufpyf] {
    border-radius: 1.5rem;
    padding: 1.25rem;
    background: var(--panel-background);
    border: 1px solid var(--panel-border);
    box-shadow: var(--panel-shadow);
}

.hero-panel[b-3c66yufpyf] {
    display: grid;
    gap: 1rem;
    flex: 0 0 auto;
}

.scoreboard-scroll[b-3c66yufpyf] {
    display: grid;
    gap: 1rem;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.15rem;
    scrollbar-gutter: stable;
}

.hero-toolbar[b-3c66yufpyf] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.hero-left-actions[b-3c66yufpyf],
.hero-right-actions[b-3c66yufpyf] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    min-width: 0;
}

.hero-left-actions[b-3c66yufpyf] {
    justify-content: flex-start;
}

.hero-right-actions[b-3c66yufpyf] {
    justify-content: flex-end;
}

.hero-game[b-3c66yufpyf] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    text-align: center;
}

.hero-game strong[b-3c66yufpyf] {
    font-size: 2.2rem;
    line-height: 1;
}

.game-mode-tabs[b-3c66yufpyf] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.game-mode-button[b-3c66yufpyf] {
    min-height: 2.5rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: var(--subtle-background);
    color: inherit;
    padding: 0.5rem 0.85rem;
    font-weight: 800;
}

.game-mode-button.selected[b-3c66yufpyf] {
    border-color: rgba(56, 189, 248, 0.75);
    background: rgba(56, 189, 248, 0.16);
}

.hero-stats[b-3c66yufpyf] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.hero-stat[b-3c66yufpyf] {
    padding: 0.75rem;
    border-radius: 0.85rem;
    background: var(--subtle-background);
}

.hero-stat strong[b-3c66yufpyf] {
    font-size: 1.35rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.section-tag[b-3c66yufpyf] {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.hero-panel h1[b-3c66yufpyf],
.panel h2[b-3c66yufpyf],
.player-detail-card h3[b-3c66yufpyf],
.history-header h4[b-3c66yufpyf] {
    margin: 0;
}

.hero-copy[b-3c66yufpyf],
.panel-header p[b-3c66yufpyf] {
    margin: 0.5rem 0 0 0;
    opacity: 0.8;
}

.summary-label[b-3c66yufpyf] {
    opacity: 0.7;
}

.panel-header[b-3c66yufpyf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.add-player-form[b-3c66yufpyf],
.score-entry[b-3c66yufpyf],
.detail-score-entry[b-3c66yufpyf],
.detail-nav[b-3c66yufpyf],
.player-row-actions[b-3c66yufpyf] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.score-input[b-3c66yufpyf] {
    min-height: 3rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 0.75rem 0.95rem;
    font-size: 1rem;
    width: 100%;
    background: var(--input-background);
    color: var(--input-text);
}

.action-button[b-3c66yufpyf],
.remove-button[b-3c66yufpyf],
.mini-button[b-3c66yufpyf],
.keypad-button[b-3c66yufpyf] {
    min-height: 3rem;
    border: 0;
    border-radius: 999px;
    padding: 0.8rem 1.2rem;
    font-weight: 700;
    white-space: nowrap;
}

.action-button[b-3c66yufpyf] {
    background: #2563eb;
    color: #eff6ff;
}

.action-button.secondary[b-3c66yufpyf] {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: inherit;
}

.action-button.icon-only[b-3c66yufpyf],
.remove-button.icon-only[b-3c66yufpyf] {
    min-width: 2.7rem;
    min-height: 2.7rem;
    padding: 0.65rem;
    font-size: 1rem;
}

.action-button:disabled[b-3c66yufpyf] {
    opacity: 0.45;
}

.mini-button[b-3c66yufpyf] {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: inherit;
}

.mini-button[b-3c66yufpyf] {
    min-height: 2.4rem;
    padding: 0.45rem 0.75rem;
}

.mini-button.icon-only[b-3c66yufpyf] {
    min-width: 2.4rem;
    min-height: 2.4rem;
    padding: 0.45rem;
    font-size: 1rem;
}

.mini-button.warning[b-3c66yufpyf] {
    color: #f59e0b;
}

.mini-button.bust-button[b-3c66yufpyf] {
    color: #f87171;
}

.remove-button[b-3c66yufpyf] {
    background: rgba(239, 68, 68, 0.16);
    color: #fca5a5;
}

.player-list[b-3c66yufpyf],
.history-list[b-3c66yufpyf] {
    display: grid;
    gap: 0.5rem;
}

.player-row[b-3c66yufpyf],
.history-row[b-3c66yufpyf] {
    display: grid;
    gap: 0.5rem;
    align-items: center;
}

.player-row[b-3c66yufpyf] {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0.8rem;
    border-radius: 1.2rem;
    column-gap: 0.55rem;
    align-items: center;
    --scribble-inset: -8% -0.65rem -7% -0.25rem;
    --scribble-position: 48% 54%;
    --scribble-size: 103% 112%;
    --scribble-transform: rotate(-2.6deg) skewX(-2deg);
    --scribble-image: url("data:image/svg+xml,%3Csvg width='620' height='92' viewBox='0 0 620 92' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M8 67 C49 50 92 34 139 18' fill='none' stroke='%23f87171' stroke-opacity='0.86' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M34 72 C90 51 148 33 207 14' fill='none' stroke='%23fecaca' stroke-opacity='0.42' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M70 76 C130 56 190 37 257 20' fill='none' stroke='%23f87171' stroke-opacity='0.9' stroke-width='8' stroke-linecap='round'/%3E%3Cpath d='M121 75 C184 55 256 31 330 16' fill='none' stroke='%23fb7185' stroke-opacity='0.72' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M209 73 C285 53 358 37 437 21' fill='none' stroke='%23f87171' stroke-opacity='0.92' stroke-width='9' stroke-linecap='round'/%3E%3Cpath d='M318 72 C389 56 466 41 612 24' fill='none' stroke='%23fca5a5' stroke-opacity='0.68' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.player-row[b-3c66yufpyf] {
    background: var(--subtle-background);
}

.player-row.selected[b-3c66yufpyf] {
    outline: 2px solid #38bdf8;
}

.player-row:nth-child(4n + 2)[b-3c66yufpyf] {
    --scribble-inset: -4% -0.9rem -12% -0.05rem;
    --scribble-position: 55% 48%;
    --scribble-size: 111% 128%;
    --scribble-transform: rotate(-1.1deg) skewX(3deg) scaleY(1.08);
    --scribble-image: url("data:image/svg+xml,%3Csvg width='620' height='92' viewBox='0 0 620 92' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M3 60 C47 47 93 29 151 12' fill='none' stroke='%23fb7185' stroke-opacity='0.72' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M24 75 C83 58 141 36 199 21' fill='none' stroke='%23f87171' stroke-opacity='0.94' stroke-width='9' stroke-linecap='round'/%3E%3Cpath d='M82 69 C126 54 178 40 244 22' fill='none' stroke='%23fecaca' stroke-opacity='0.42' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M131 78 C195 56 255 39 315 25' fill='none' stroke='%23f87171' stroke-opacity='0.76' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M226 70 C292 50 366 31 458 17' fill='none' stroke='%23f87171' stroke-opacity='0.9' stroke-width='8' stroke-linecap='round'/%3E%3Cpath d='M353 75 C424 59 499 42 617 28' fill='none' stroke='%23fca5a5' stroke-opacity='0.64' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.player-row:nth-child(4n + 3)[b-3c66yufpyf] {
    --scribble-inset: -10% -0.45rem -5% -0.45rem;
    --scribble-position: 42% 61%;
    --scribble-size: 108% 142%;
    --scribble-transform: rotate(1.4deg) skewX(-5deg) scaleY(0.94);
    --scribble-image: url("data:image/svg+xml,%3Csvg width='620' height='92' viewBox='0 0 620 92' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M11 76 C58 57 105 40 164 26' fill='none' stroke='%23f87171' stroke-opacity='0.9' stroke-width='8' stroke-linecap='round'/%3E%3Cpath d='M53 65 C112 47 166 30 217 18' fill='none' stroke='%23fecaca' stroke-opacity='0.38' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M88 80 C145 59 213 38 285 17' fill='none' stroke='%23fb7185' stroke-opacity='0.7' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M158 70 C232 47 294 34 366 20' fill='none' stroke='%23f87171' stroke-opacity='0.94' stroke-width='10' stroke-linecap='round'/%3E%3Cpath d='M278 76 C347 57 419 37 504 19' fill='none' stroke='%23fca5a5' stroke-opacity='0.6' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M382 67 C453 52 523 38 610 27' fill='none' stroke='%23f87171' stroke-opacity='0.74' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
}

.player-row:nth-child(4n + 4)[b-3c66yufpyf] {
    --scribble-inset: -2% -1rem -10% -0.15rem;
    --scribble-position: 61% 56%;
    --scribble-size: 116% 118%;
    --scribble-transform: rotate(-3.8deg) skewX(1deg) scaleY(1.14);
    --scribble-image: url("data:image/svg+xml,%3Csvg width='620' height='92' viewBox='0 0 620 92' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M6 70 C61 52 112 35 172 17' fill='none' stroke='%23fecaca' stroke-opacity='0.4' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M28 79 C91 56 151 39 222 20' fill='none' stroke='%23f87171' stroke-opacity='0.92' stroke-width='9' stroke-linecap='round'/%3E%3Cpath d='M99 69 C160 50 213 34 267 23' fill='none' stroke='%23fb7185' stroke-opacity='0.65' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M144 82 C217 58 290 38 359 24' fill='none' stroke='%23fca5a5' stroke-opacity='0.58' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M244 71 C321 50 404 31 498 16' fill='none' stroke='%23f87171' stroke-opacity='0.9' stroke-width='8' stroke-linecap='round'/%3E%3Cpath d='M359 78 C425 58 500 43 615 30' fill='none' stroke='%23f87171' stroke-opacity='0.74' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
}

.player-status-cell[b-3c66yufpyf] {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
    justify-content: center;
}

.player-status-button[b-3c66yufpyf] {
    width: 3.7rem;
    min-height: 1.7rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: transparent;
    color: inherit;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 0.2rem 0.45rem;
    white-space: nowrap;
}

.player-status-button.status-loss[b-3c66yufpyf] {
    color: #f87171;
}

.player-status-button.status-loss.selected[b-3c66yufpyf] {
    border-color: rgba(248, 113, 113, 0.65);
    background: rgba(248, 113, 113, 0.18);
}

.player-status-button.status-win[b-3c66yufpyf] {
    color: #4ade80;
}

.player-status-button.status-win.selected[b-3c66yufpyf] {
    border-color: rgba(74, 222, 128, 0.55);
    background: rgba(74, 222, 128, 0.16);
}

.player-row-body[b-3c66yufpyf] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(84px, 110px) minmax(170px, 1fr) auto auto auto;
    grid-template-areas: "summary levels total score actions";
    gap: 0.5rem 0.3rem;
    align-items: center;
    min-width: 0;
}

.player-row-body.status-loss[b-3c66yufpyf]::before,
.player-row-body.status-loss[b-3c66yufpyf]::after {
    content: "";
    position: absolute;
    pointer-events: none;
    inset: var(--scribble-inset);
    background-image: var(--scribble-image);
    background-repeat: no-repeat;
    background-position: var(--scribble-position);
    background-size: var(--scribble-size);
}

.player-row-body.status-loss[b-3c66yufpyf]::before {
    opacity: 0.5;
    transform: translateY(0.18rem) rotate(1.1deg) skewX(3deg) scaleX(0.98);
}

.player-row-body.status-loss[b-3c66yufpyf]::after {
    transform: var(--scribble-transform);
}

.player-summary[b-3c66yufpyf] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    grid-area: summary;
    min-width: 0;
}

.player-select[b-3c66yufpyf] {
    background: transparent;
    border: 0;
    color: inherit;
    text-align: left;
    padding: 0;
    width: 100%;
}

.player-name[b-3c66yufpyf] {
    font-size: 0.95rem;
    font-weight: 700;
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-meta[b-3c66yufpyf],
.history-time[b-3c66yufpyf],
.running-total[b-3c66yufpyf] {
    opacity: 0.7;
    font-size: 0.82rem;
}

.player-levels[b-3c66yufpyf] {
    grid-area: levels;
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.player-game-note[b-3c66yufpyf] {
    grid-area: levels;
    min-width: 0;
    opacity: 0.75;
    font-size: 0.88rem;
}

.level-header[b-3c66yufpyf] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.level-value[b-3c66yufpyf] {
    font-size: 0.9rem;
}

.level-dots[b-3c66yufpyf],
.detail-level-dots[b-3c66yufpyf] {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.level-dot[b-3c66yufpyf] {
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: transparent;
    padding: 0;
    flex: 0 0 auto;
}

.level-dot.active[b-3c66yufpyf] {
    background: #38bdf8;
    border-color: #38bdf8;
    box-shadow: 0 0 0 0.12rem rgba(56, 189, 248, 0.25);
}

.detail-level-panel[b-3c66yufpyf] {
    display: grid;
    gap: 0.75rem;
}

.detail-dot[b-3c66yufpyf] {
    width: 2.25rem;
    height: 2.25rem;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.detail-dot span[b-3c66yufpyf] {
    opacity: 0.75;
}

.detail-dot.active span[b-3c66yufpyf] {
    opacity: 1;
    color: #0f172a;
}

.player-total[b-3c66yufpyf],
.player-detail-total[b-3c66yufpyf] {
    font-size: 1.45rem;
    font-weight: 800;
}

.player-total[b-3c66yufpyf] {
    grid-area: total;
    min-width: 1.9rem;
    text-align: center;
    justify-self: end;
}

.player-row-actions[b-3c66yufpyf] {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.25rem;
    grid-area: actions;
    justify-self: end;
}

.score-entry[b-3c66yufpyf] {
    grid-area: score;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.2rem;
    justify-self: end;
}

.detail-score-hint[b-3c66yufpyf] {
    opacity: 0.75;
    font-size: 0.95rem;
}

.player-detail-card[b-3c66yufpyf] {
    display: grid;
    gap: 1rem;
    touch-action: pan-y;
}

.player-detail-header[b-3c66yufpyf],
.history-header[b-3c66yufpyf],
.history-values[b-3c66yufpyf] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.history-row[b-3c66yufpyf] {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.history-row:first-child[b-3c66yufpyf] {
    border-top: 0;
    padding-top: 0;
}

.score-delta[b-3c66yufpyf] {
    font-weight: 700;
    font-size: 1.1rem;
}

.detail-header-actions[b-3c66yufpyf] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.keypad-overlay[b-3c66yufpyf] {
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 23, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 50;
}

.keypad-modal[b-3c66yufpyf] {
    width: min(640px, calc(100vw - 2rem));
}

.game-summary-overlay[b-3c66yufpyf] {
    overflow: hidden;
}

.game-summary-modal[b-3c66yufpyf] {
    position: relative;
    width: min(680px, calc(100vw - 2rem));
    overflow: hidden;
}

.fireworks[b-3c66yufpyf] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.fireworks span[b-3c66yufpyf] {
    position: absolute;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #facc15;
    left: 50%;
    top: 24%;
    box-shadow:
        0 -3.4rem 0 #f87171,
        2.4rem -2.4rem 0 #38bdf8,
        3.4rem 0 0 #4ade80,
        2.4rem 2.4rem 0 #facc15,
        0 3.4rem 0 #fb7185,
        -2.4rem 2.4rem 0 #60a5fa,
        -3.4rem 0 0 #a3e635,
        -2.4rem -2.4rem 0 #f472b6;
    animation: firework-burst-b-3c66yufpyf 1.15s ease-out infinite;
}

.fireworks span:nth-child(2)[b-3c66yufpyf] {
    left: 22%;
    top: 34%;
    animation-delay: 0.18s;
}

.fireworks span:nth-child(3)[b-3c66yufpyf] {
    left: 78%;
    top: 35%;
    animation-delay: 0.36s;
}

.fireworks span:nth-child(4)[b-3c66yufpyf] {
    left: 35%;
    top: 72%;
    animation-delay: 0.54s;
}

.fireworks span:nth-child(5)[b-3c66yufpyf] {
    left: 68%;
    top: 68%;
    animation-delay: 0.72s;
}

.record-summary-list[b-3c66yufpyf] {
    position: relative;
    display: grid;
    gap: 0.6rem;
}

.record-summary-row[b-3c66yufpyf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem;
    border-radius: 0.8rem;
    background: var(--subtle-background);
}

.record-summary-row.winner[b-3c66yufpyf] {
    outline: 2px solid rgba(74, 222, 128, 0.7);
}

.record-summary-row div:first-child[b-3c66yufpyf],
.record-summary-stats[b-3c66yufpyf] {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    flex-wrap: wrap;
}

.record-summary-row span[b-3c66yufpyf] {
    opacity: 0.8;
}

.summary-actions[b-3c66yufpyf] {
    position: relative;
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

@keyframes firework-burst-b-3c66yufpyf {
    0% {
        opacity: 0;
        transform: scale(0.1);
    }

    18% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

.rename-modal[b-3c66yufpyf] {
    width: min(480px, 100%);
}

.skipbo-modal[b-3c66yufpyf] {
    width: min(560px, calc(100vw - 2rem));
}

.rename-body[b-3c66yufpyf] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.skipbo-score-list[b-3c66yufpyf] {
    display: grid;
    gap: 0.7rem;
}

.skipbo-score-row[b-3c66yufpyf],
.skipbo-total-row[b-3c66yufpyf] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, 180px);
    gap: 0.75rem;
    align-items: center;
}

.skipbo-score-row span[b-3c66yufpyf],
.skipbo-total-row span[b-3c66yufpyf] {
    font-weight: 700;
}

.skipbo-total-row[b-3c66yufpyf] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.skipbo-total-row strong[b-3c66yufpyf] {
    justify-self: end;
    font-size: 1.5rem;
}

.name-suggestions[b-3c66yufpyf] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.name-suggestion-button[b-3c66yufpyf] {
    min-height: 2.4rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: var(--subtle-background);
    color: inherit;
    padding: 0.45rem 0.75rem;
    font-weight: 700;
}

.keypad-display[b-3c66yufpyf] {
    min-height: 4.5rem;
    border-radius: 1rem;
    background: var(--input-background);
    color: var(--input-text);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem 1.25rem;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.keypad-grid[b-3c66yufpyf] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.keypad-button[b-3c66yufpyf] {
    background: var(--subtle-background);
    color: inherit;
    border-radius: 1rem;
}

.keypad-button.secondary[b-3c66yufpyf] {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.keypad-button.submit[b-3c66yufpyf] {
    background: #2563eb;
    color: #eff6ff;
}

.keypad-button.zero[b-3c66yufpyf] {
    grid-column: span 1;
}

.empty-state[b-3c66yufpyf] {
    padding: 1.2rem;
    border-radius: 1rem;
    text-align: center;
    opacity: 0.8;
}

.empty-state[b-3c66yufpyf] {
    background: var(--empty-background);
}

.empty-state.compact[b-3c66yufpyf] {
    padding: 1rem;
}

.mahjong-result-form[b-3c66yufpyf] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.mahjong-result-form label[b-3c66yufpyf],
.mahjong-group-records[b-3c66yufpyf] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.flip7-option[b-3c66yufpyf] {
    align-items: center;
    flex-direction: row !important;
}

.mahjong-group-records[b-3c66yufpyf] {
    grid-column: 1 / -1;
    font-size: 0.85rem;
    opacity: 0.85;
}

@media (max-width: 700px) {
    .player-row-body[b-3c66yufpyf] {
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-areas:
            "summary total actions"
            "levels levels levels"
            "score score score";
        align-items: center;
    }

    .player-summary[b-3c66yufpyf] {
        grid-area: summary;
    }

    .player-total[b-3c66yufpyf] {
        grid-area: total;
        justify-self: end;
    }

    .score-entry[b-3c66yufpyf] {
        grid-area: score;
        justify-content: flex-start;
    }

    .player-levels[b-3c66yufpyf] {
        grid-area: levels;
    }

    .player-row-actions[b-3c66yufpyf] {
        grid-area: actions;
        justify-content: flex-end;
    }

    .hero-panel[b-3c66yufpyf],
    .panel-header[b-3c66yufpyf],
    .player-detail-header[b-3c66yufpyf],
    .history-header[b-3c66yufpyf],
    .history-values[b-3c66yufpyf] {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-toolbar[b-3c66yufpyf] {
        grid-template-columns: 1fr;
    }

    .hero-left-actions[b-3c66yufpyf],
    .hero-right-actions[b-3c66yufpyf] {
        justify-content: stretch;
    }

    .game-mode-tabs[b-3c66yufpyf] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-left-actions .action-button[b-3c66yufpyf],
    .hero-right-actions .action-button[b-3c66yufpyf] {
        flex: 1 1 0;
    }

    .hero-stats[b-3c66yufpyf] {
        grid-template-columns: 1fr;
    }

    .detail-nav[b-3c66yufpyf],
    .detail-score-entry[b-3c66yufpyf],
    .add-player-form[b-3c66yufpyf],
    .rename-body[b-3c66yufpyf],
    .detail-header-actions[b-3c66yufpyf] {
        flex-direction: column;
        align-items: stretch;
    }

    .history-row[b-3c66yufpyf] {
        grid-template-columns: 1fr;
    }

    .record-summary-row[b-3c66yufpyf],
    .summary-actions[b-3c66yufpyf] {
        align-items: stretch;
        flex-direction: column;
    }

    .skipbo-score-row[b-3c66yufpyf],
    .skipbo-total-row[b-3c66yufpyf],
    .mahjong-result-form[b-3c66yufpyf] {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .player-row[b-3c66yufpyf] {
        grid-template-columns: 1fr;
    }

    .player-status-cell[b-3c66yufpyf] {
        align-self: auto;
    }

    .player-row-body[b-3c66yufpyf] {
        grid-template-columns: 1fr;
        grid-template-areas:
            "summary"
            "levels"
            "total"
            "score"
            "actions";
    }

    .player-total[b-3c66yufpyf] {
        justify-self: start;
    }

    .score-entry[b-3c66yufpyf],
    .player-row-actions[b-3c66yufpyf] {
        justify-content: flex-start;
    }

    .keypad-grid[b-3c66yufpyf] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .keypad-button.submit[b-3c66yufpyf],
    .keypad-button.zero[b-3c66yufpyf] {
        grid-column: span 2;
    }
}
