/* /Components/MatchServeStats.razor.rz.scp.css */
/* Match statistics: dark green look & feel of the other pages (colors from wwwroot/css/tp-theme.css).
   Shown on /match and /game (inside a .tp-glass panel) and in the statistics pages (inside .tp-surface-dark). */

/* The layout follows the width of the component (not the window), because it is also shown
   inside the statistics pages next to the sidebar. */
.match-stats[b-9e09etiz0o] {
    container-type: inline-size;
    width: 100%;
    min-width: 0;
}

.match-loading[b-9e09etiz0o] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 220px;
    color: var(--tp-text-muted);
}

/* ---------- Upper part: centered, stacks vertically on narrow screens ---------- */
.stats-page[b-9e09etiz0o] {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    padding: 0 12px;
    box-sizing: border-box;
    text-align: center;
    color: var(--tp-text);
}

    .stats-page > div[b-9e09etiz0o] {
        flex: 0 1 auto;
        min-width: 0;
    }

.match-block[b-9e09etiz0o] {
    background: var(--tp-tile);
    border: 1px solid var(--tp-line);
    border-radius: 14px;
    padding: 0.6rem 1.1rem;
}

    .match-block h2[b-9e09etiz0o] {
        margin: 4px 0;
        color: #fff;
        font-size: 1.3rem;
        font-weight: 700;
    }

    .match-block p[b-9e09etiz0o] {
        margin: 4px 0;
        color: var(--tp-text-muted);
    }

/* Tabs inside the upper part (tp-tabs / tp-chip come from tp-theme.css) */
.tabs[b-9e09etiz0o] {
    margin: 0;
    background: transparent;
}

.tab-buttons[b-9e09etiz0o] {
    flex-wrap: wrap;
    justify-content: center;
}

.live-block[b-9e09etiz0o] {
    float: right;
    color: var(--tp-text);
}

.live[b-9e09etiz0o] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ff5a5a' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 13A5 5 0 1 0 8 3a5 5 0 0 0 0 10'/%3E%3C/svg%3E");
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    background-size: cover;
}

.live-text[b-9e09etiz0o] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    top: -4px;
    font-weight: 600;
}

.scoreboard-wrap[b-9e09etiz0o] {
    max-width: 100%;
    overflow-x: auto;
}

/* Narrow: arrange the blocks vertically */
@container (max-width: 760px) {
    .stats-page[b-9e09etiz0o] {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 0;
    }

        .stats-page > div[b-9e09etiz0o] {
            width: 100%;
            max-width: 600px;
        }
}

.header[b-9e09etiz0o] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: 0.5rem;
    font-weight: bold;
    align-items: center;
    margin-bottom: 20px;
    color: var(--tp-text-muted);
}

    /* Title row: single centered element */
    .header.title-header[b-9e09etiz0o] {
        display: block;
        text-align: center;
    }

.player-value[b-9e09etiz0o] {
    text-align: center;
    overflow-wrap: anywhere;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.stat-name[b-9e09etiz0o] {
    text-align: center;
    font-weight: 600;
    color: var(--tp-text-muted);
    letter-spacing: .4px;
}

.title-header .stat-name[b-9e09etiz0o] {
    color: #fff;
    font-size: 1.05rem;
}

/* ---------- Lower part: tab panel, two columns on wide screens ---------- */
.tab-panel[b-9e09etiz0o] {
    background: var(--tp-tile);
    border: 1px solid var(--tp-line);
    border-radius: 14px;
    padding: 16px;
    margin: 20px auto 0;
    max-width: 1400px;
    box-sizing: border-box;
    color: var(--tp-text);
}

.stat-columns[b-9e09etiz0o] {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 40px;
}

.stat-column[b-9e09etiz0o] {
    min-width: 0;
}

/* Player-name header is only repeated for column 2 when columns are side by side */
.second-column .header[b-9e09etiz0o] {
    display: none;
}

@container (min-width: 900px) {
    .stat-columns[b-9e09etiz0o] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .second-column .header[b-9e09etiz0o] {
        display: grid;
    }
}

/* Phones */
@container (max-width: 480px) {
    .tab-panel[b-9e09etiz0o] {
        padding: 10px;
        margin-top: 12px;
    }

    .header[b-9e09etiz0o] {
        margin-bottom: 8px;
    }

    .player-value[b-9e09etiz0o] {
        font-size: 15px;
    }
}

.no-data[b-9e09etiz0o] {
    text-align: center;
    color: var(--tp-text-muted);
    padding: 26px 12px;
}
/* /Components/MatchStatsFragment.razor.rz.scp.css */
/* Stat rows with bars: dark green look & feel of the other pages (colors from wwwroot/css/tp-theme.css). */
.stat[b-fttakx1f03] {
    margin: 28px 0;
}

/* Value columns shrink with the width; the name in the middle wraps instead of widening the page. */
.stat-header[b-fttakx1f03] {
    display: grid;
    grid-template-columns: minmax(2.5rem, 1fr) minmax(0, 3fr) minmax(2.5rem, 1fr);
    column-gap: 0.5rem;
    align-items: center;
    margin-bottom: 8px;
    color: var(--tp-text);
}

    .stat-header > span[b-fttakx1f03] {
        min-width: 0;
        overflow-wrap: anywhere;
    }

.p1-value[b-fttakx1f03] {
    text-align: right;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
}

.p1-subvalue[b-fttakx1f03] {
    text-align: right;
    font-size: 12px;
    font-weight: normal;
}

.p2-value[b-fttakx1f03] {
    text-align: left;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
}

.p2-subvalue[b-fttakx1f03] {
    text-align: left;
    font-size: 12px;
    font-weight: normal;
}

.stat-name[b-fttakx1f03] {
    text-align: center;
    font-weight: 600;
    color: var(--tp-text-muted);
    letter-spacing: .4px;
}

.stat-name-sub[b-fttakx1f03] {
    text-align: center;
    font-weight: 500;
    font-size: 12px;
    color: var(--tp-text-muted);
    letter-spacing: .4px;
}

.bars[b-fttakx1f03] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 8px;
    align-items: center;
}

/* Background bars */
.bar[b-fttakx1f03] {
    height: 10px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
}

    /* LEFT BAR - grows from center toward left */
    .bar.left[b-fttakx1f03] {
        display: flex;
        justify-content: flex-end;
    }

    /* RIGHT BAR - grows from center toward right */
    .bar.right[b-fttakx1f03] {
        display: flex;
        justify-content: flex-start;
    }

/* Filled portion */
.fill[b-fttakx1f03] {
    height: 100%;
    border-radius: 20px;
    transition: width .6s ease;
}

    /* Player 1: theme accent (lime) */
    .fill.p1[b-fttakx1f03] {
        background: var(--tp-accent);
    }

    /* Player 2: warm contrast color that stays readable on dark green */
    .fill.p2[b-fttakx1f03] {
        background: #f0a85c;
    }

/* Phones (the container is .match-stats in MatchServeStats) */
@container (max-width: 480px) {
    .stat[b-fttakx1f03] {
        margin: 16px 0;
    }

    .stat-header[b-fttakx1f03] {
        column-gap: 0.35rem;
        margin-bottom: 5px;
    }

    .stat-name[b-fttakx1f03] {
        font-size: 13px;
        letter-spacing: 0;
    }

    .stat-name-sub[b-fttakx1f03] {
        font-size: 11px;
        letter-spacing: 0;
    }

    .p1-value[b-fttakx1f03],
    .p2-value[b-fttakx1f03] {
        font-size: 14px;
    }

    .bar[b-fttakx1f03] {
        height: 8px;
    }
}
/* /Components/ScoreBoard.razor.rz.scp.css */
/* Scoreboard: dark green look & feel of the other pages (colors from wwwroot/css/tp-theme.css). */
.scoreboard[b-1y88s5yudh] {
    border-spacing: 0;
    border-collapse: separate;
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid var(--tp-line);
    border-radius: 14px;
    margin: 0 auto;
    padding: 10px 14px;
    color: var(--tp-text);
}

    .scoreboard th[b-1y88s5yudh] {
        color: var(--tp-text-muted);
        font-weight: 600;
        padding: 2px 8px;
    }

    .scoreboard td[b-1y88s5yudh] {
        padding: 4px 8px;
        font-variant-numeric: tabular-nums;
    }

        .scoreboard td:not(:first-child)[b-1y88s5yudh] {
            color: #fff;
            font-weight: 700;
        }

    .scoreboard tbody td:first-child[b-1y88s5yudh],
    .scoreboard thead th:first-child[b-1y88s5yudh] {
        text-align: left;
        min-width: 200px;
    }

    .scoreboard tbody tr + tr td[b-1y88s5yudh] {
        border-top: 1px solid var(--tp-line);
    }

/* Phones (the container is .match-stats in MatchServeStats) */
@container (max-width: 480px) {
    .scoreboard[b-1y88s5yudh] {
        padding: 6px 8px;
        font-size: 14px;
    }

        .scoreboard tbody td:first-child[b-1y88s5yudh],
        .scoreboard thead th:first-child[b-1y88s5yudh] {
            min-width: 0;
        }

        .scoreboard th[b-1y88s5yudh],
        .scoreboard td[b-1y88s5yudh] {
            padding: 3px 5px;
        }
}

.pointtitle[b-1y88s5yudh] {
    font-size: 8px;
}

.ball[b-1y88s5yudh] {
    width: 18px;
    height: 18px;
    margin-right: 4px;
}
/* /Pages/Game.razor.rz.scp.css */
/* Let the page grow with its content while keeping the site's global background visible. */
.home-page[b-qukgc33pi1] {
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100svh;
    width: 100%;
    padding: clamp(1rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #172033;
    background: transparent;
}

.home-header[b-qukgc33pi1] {
    width: min(100%, 1080px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto clamp(2rem, 6vh, 4rem);
}

.home-brand[b-qukgc33pi1] {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: inherit;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 750;
    letter-spacing: -.025em;
}

.home-brand img[b-qukgc33pi1] {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}
td[b-qukgc33pi1] {
    vertical-align: top;
}
.qr-panel[b-qukgc33pi1] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
    margin-top: .25rem;
    padding: 1.1rem;
    border: 1px solid #e7ebf0;
    border-radius: 20px;
    background: #fff;
}

.qr-code[b-qukgc33pi1] {
    display: block;
    width: clamp(190px, 48vw, 270px);
    height: auto;
    max-width: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

/* Match shown after the phone has sent it: same dark green glass panel as the match page. */
.match-panel[b-qukgc33pi1] {
    max-width: 1400px;
    margin: clamp(0.75rem, 2.5vw, 2rem) auto;
    padding: clamp(0.75rem, 2vw, 1.5rem);
}
/* /Pages/Index.razor.rz.scp.css */
/* ---------- Main page – same look & feel as the sidebar navigation ---------- */
/* Colours, .tp-glass, .tp-btn, .tp-chip, .tp-h2 etc. come from wwwroot/css/tp-theme.css */
.tp-home[b-5pr5230t4d] {
    --tp-sticky-top: calc(var(--topbar-height, 3.5rem) + 0.5rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--tp-text);
}

.tp-home p[b-5pr5230t4d] {
    color: var(--tp-text-muted);
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

/* ---------- Hero / compact summary ---------- */
.tp-hero[b-5pr5230t4d] {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2.25rem;
    overflow: hidden;
    position: relative;
    scroll-margin-top: 5rem;
}

.tp-eyebrow[b-5pr5230t4d] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.75rem;
    border-radius: 999px;
    background: rgba(217, 239, 74, 0.16);
    color: var(--tp-accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tp-hero-title[b-5pr5230t4d] {
    color: #fff;
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.tp-home .tp-hero-summary[b-5pr5230t4d] {
    font-size: 1.05rem;
    color: var(--tp-text);
    max-width: 60ch;
}

.tp-highlights[b-5pr5230t4d] {
    list-style: none;
    margin: 1rem 0 1.25rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

    .tp-highlights li[b-5pr5230t4d] {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.55rem 0.75rem;
        border-radius: 12px;
        background: var(--tp-tile);
        font-size: 0.92rem;
        font-weight: 500;
    }

        .tp-highlights li .oi[b-5pr5230t4d] {
            color: var(--tp-accent);
            width: 1.25rem;
            text-align: center;
            flex-shrink: 0;
        }

.tp-cta[b-5pr5230t4d] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tp-hero-art[b-5pr5230t4d] {
    position: relative;
    justify-self: center;
    width: min(100%, 300px);
    aspect-ratio: 1;
}

.tp-hero-rackets[b-5pr5230t4d] {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.tp-hero-ball[b-5pr5230t4d] {
    position: absolute;
    width: 26%;
    top: 4%;
    right: 2%;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
    animation: tp-bounce-b-5pr5230t4d 2.8s ease-in-out infinite;
}

@keyframes tp-bounce-b-5pr5230t4d {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(25deg); }
}

/* ---------- Sticky section navigation (mirrors sidebar nav links) ---------- */
.tp-sectionnav[b-5pr5230t4d] {
    position: sticky;
    top: var(--tp-sticky-top);
    z-index: 900;
    padding: 0.4rem;
    border-radius: 14px;
}

    .tp-sectionnav ul[b-5pr5230t4d] {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        gap: 0.25rem;
        overflow-x: auto;
        scrollbar-width: none;
    }

        .tp-sectionnav ul[b-5pr5230t4d]::-webkit-scrollbar {
            display: none;
        }

    .tp-sectionnav li[b-5pr5230t4d] {
        flex: 1 0 auto;
    }

/* ---------- Sections ---------- */
.tp-section[b-5pr5230t4d] {
    padding: 1.75rem 2rem;
    scroll-margin-top: calc(var(--tp-sticky-top) + 4rem);
}

.tp-home .tp-intro[b-5pr5230t4d] {
    max-width: 75ch;
    margin-bottom: 1.1rem;
}

.tp-home .tp-lead[b-5pr5230t4d] {
    color: #fff;
    font-weight: 600;
    border-left: 3px solid var(--tp-accent);
    padding-left: 0.85rem;
}

.tp-split[b-5pr5230t4d] {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
}

.tp-split-reverse[b-5pr5230t4d] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
}

    .tp-split-reverse .tp-illustration[b-5pr5230t4d] {
        order: 2;
    }

.tp-illustration[b-5pr5230t4d],
.tp-card-img[b-5pr5230t4d] {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid var(--tp-line);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.tp-grid[b-5pr5230t4d] {
    display: grid;
    gap: 1rem;
}

.tp-grid-2[b-5pr5230t4d] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tp-grid-3[b-5pr5230t4d] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tp-card[b-5pr5230t4d] {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-radius: 14px;
    background: var(--tp-tile);
    border: 1px solid var(--tp-line);
    transition: background-color 150ms ease, transform 150ms ease;
}

    .tp-card:hover[b-5pr5230t4d] {
        background: rgba(255, 255, 255, 0.09);
    }

.tp-card-img[b-5pr5230t4d] {
    margin-bottom: 0.9rem;
}

/* usage level indicator */
.tp-level[b-5pr5230t4d] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tp-level-num[b-5pr5230t4d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--tp-accent);
    color: #0d301f;
    font-weight: 700;
    font-size: 0.9rem;
}

/* settings */
.tp-score[b-5pr5230t4d] {
    align-self: flex-start;
    padding: 0.3rem 0.85rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    background: #0b2618;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

    .tp-score span[b-5pr5230t4d] {
        color: var(--tp-accent);
        padding: 0 0.15rem;
    }

.tp-default[b-5pr5230t4d] {
    align-self: flex-start;
    margin-top: auto;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tp-default-on[b-5pr5230t4d] {
    background: rgba(217, 239, 74, 0.16);
    color: var(--tp-accent);
}

.tp-default-off[b-5pr5230t4d] {
    background: rgba(255, 255, 255, 0.1);
    color: var(--tp-text-muted);
}

/* download */
.tp-download[b-5pr5230t4d] {
    align-items: flex-start;
    gap: 0.5rem;
}

.tp-download-icon[b-5pr5230t4d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: rgba(217, 239, 74, 0.16);
    color: var(--tp-accent);
    font-size: 1.2rem;
}

.tp-badge[b-5pr5230t4d] {
    height: 56px;
    width: auto;
}

.tp-apk[b-5pr5230t4d] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--tp-accent);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
}

    .tp-apk:hover[b-5pr5230t4d] {
        color: #fff;
        text-decoration: underline;
    }

.tp-apk:focus-visible[b-5pr5230t4d],
.tp-totop:focus-visible[b-5pr5230t4d] {
    outline: 2px solid var(--tp-accent);
    outline-offset: 2px;
}

/* back to top */
.tp-totop[b-5pr5230t4d] {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--tp-glass-top), var(--tp-glass-bottom));
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--tp-accent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
}

    .tp-totop:hover[b-5pr5230t4d] {
        color: #fff;
    }

.tp-home.tp-scrolled .tp-totop[b-5pr5230t4d] {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .tp-grid-3[b-5pr5230t4d] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .tp-hero[b-5pr5230t4d] {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .tp-hero-art[b-5pr5230t4d] {
        order: -1;
        width: 180px;
    }

    .tp-split[b-5pr5230t4d],
    .tp-split-reverse[b-5pr5230t4d] {
        grid-template-columns: 1fr;
    }

        .tp-split-reverse .tp-illustration[b-5pr5230t4d] {
            order: 0;
        }

    .tp-illustration[b-5pr5230t4d] {
        max-width: 420px;
    }
}

@media (max-width: 700px) {
    .tp-grid-2[b-5pr5230t4d],
    .tp-grid-3[b-5pr5230t4d],
    .tp-highlights[b-5pr5230t4d] {
        grid-template-columns: 1fr;
    }

    .tp-section[b-5pr5230t4d] {
        padding: 1.25rem;
    }

    .tp-hero-art[b-5pr5230t4d] {
        width: 130px;
    }

    .tp-sectionnav li[b-5pr5230t4d] {
        flex: 0 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tp-hero-ball[b-5pr5230t4d] {
        animation: none;
    }

    .tp-card[b-5pr5230t4d], .tp-totop[b-5pr5230t4d] {
        transition: none;
    }
}
/* /Pages/Match.razor.rz.scp.css */
/* Match page: dark green glass panel on top of the site background (same look as the other pages). */
.match-page[b-yqinkqi46z] {
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100svh;
    width: 100%;
    padding: clamp(0.75rem, 2.5vw, 2rem) 0;
    background: transparent;
}

.match-panel[b-yqinkqi46z] {
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(0.75rem, 2vw, 1.5rem);
}
/* /Pages/SharedMatches.razor.rz.scp.css */
/* Shared matches page – header, match lists and details come from tp-theme.css, MatchCardList and SharedMatchDetails */
.tp-shared-main[b-osxq39sp78] {
    padding: 1.5rem 1.5rem 1.75rem;
}

@media (max-width: 800px) {
    .tp-shared-main[b-osxq39sp78] {
        padding: 1rem;
    }
}
/* /Pages/Statistics.razor.rz.scp.css */
/* ---------- Statistics page – hero, input, details etc. come from tp-theme.css ---------- */
.tp-player-row[b-5e0navc7x2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.tp-player-current[b-5e0navc7x2] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    min-height: 2.75rem;
    max-width: 100%;
    min-width: 0;
    padding: 0.4rem 1rem;
    border-radius: 12px;
    background: var(--tp-selected);
    color: #fff;
}

    .tp-player-current .oi[b-5e0navc7x2] {
        color: var(--tp-accent);
    }

    .tp-player-current strong[b-5e0navc7x2] {
        min-width: 0;
        overflow-wrap: anywhere;
        font-weight: 700;
        letter-spacing: 0.04em;
    }

    .tp-player-current em[b-5e0navc7x2] {
        color: var(--tp-text-muted);
    }

.tp-player-label[b-5e0navc7x2] {
    color: var(--tp-text-muted);
    font-size: 0.88rem;
}

/* expandable player id panel */
.tp-player-panel[b-5e0navc7x2] {
    grid-column: 1 / -1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.1rem;
    border-radius: 14px;
    background: var(--tp-tile);
    border: 1px solid var(--tp-line);
}

    .tp-player-panel .tp-h3[b-5e0navc7x2] {
        margin: 0.25rem 0 0;
    }

.tp-recent[b-5e0navc7x2] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tp-recent-item[b-5e0navc7x2] {
    display: flex;
    max-width: 100%;
    align-items: stretch;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--tp-line);
    overflow: hidden;
}

    .tp-recent-item.active[b-5e0navc7x2] {
        background: var(--tp-selected);
        border-color: rgba(217, 239, 74, 0.5);
    }

.tp-recent-select[b-5e0navc7x2],
.tp-recent-remove[b-5e0navc7x2] {
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
}

.tp-recent-select[b-5e0navc7x2] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.4rem 0.8rem;
    text-align: left;
}

    .tp-recent-select:hover[b-5e0navc7x2],
    .tp-recent-remove:hover[b-5e0navc7x2] {
        background: var(--tp-tile-hover);
    }

.tp-recent-id[b-5e0navc7x2] {
    overflow-wrap: anywhere;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.tp-recent-date[b-5e0navc7x2] {
    color: var(--tp-text-muted);
    font-size: 0.75rem;
}

.tp-recent-remove[b-5e0navc7x2] {
    display: inline-flex;
    align-items: center;
    padding: 0 0.7rem;
    border-left: 1px solid var(--tp-line);
    color: var(--tp-text-muted);
    font-size: 0.7rem;
}

    .tp-recent-remove:hover[b-5e0navc7x2] {
        color: #fff;
    }

    .tp-recent-select:focus-visible[b-5e0navc7x2],
    .tp-recent-remove:focus-visible[b-5e0navc7x2] {
        outline: 2px solid var(--tp-accent);
        outline-offset: -2px;
    }

.tp-demo-btn[b-5e0navc7x2] {
    align-self: flex-start;
}

/* ---------- Main tabs ---------- */
.tp-stats-main[b-5e0navc7x2] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.5rem 1.5rem;
}

.tp-pane-hidden[b-5e0navc7x2] {
    display: none !important;
}

@media (max-width: 800px) {
    .tp-stats-main[b-5e0navc7x2] {
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tp-recent-select[b-5e0navc7x2], .tp-recent-remove[b-5e0navc7x2] {
        transition: none;
    }
}
/* /Shared/MainLayout.razor.rz.scp.css */
/* ---------- Layout shell ---------- */
.page[b-tyj53nom4w] {
    --nav-width: 264px;
    --nav-collapsed-width: 76px;
    --nav-bg-top: rgba(13, 48, 31, 0.94);
    --nav-bg-bottom: rgba(24, 78, 47, 0.90);
    --nav-accent: #d9ef4a;
    --topbar-height: 3.5rem;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh;
}

/* ---------- Sidebar ---------- */
.sidebar[b-tyj53nom4w] {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1100;
    width: var(--nav-width);
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--nav-bg-top) 0%, var(--nav-bg-bottom) 100%);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    color: #eef6ef;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 4px 0 24px rgba(8, 30, 18, 0.18);
    transition: width 220ms ease, transform 260ms cubic-bezier(.2,.8,.2,1);
    overflow: hidden;
}

.brand[b-tyj53nom4w] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: var(--topbar-height);
    padding: 0 0.75rem 0 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.brand-link[b-tyj53nom4w] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex: 1;
    min-width: 0;
    color: #fff;
    text-decoration: none;
}

    .brand-link:hover[b-tyj53nom4w] {
        color: #fff;
    }

.brand-logo[b-tyj53nom4w] {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.brand-text[b-tyj53nom4w] {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 160ms ease;
}

/* ---------- Icon buttons ---------- */
.icon-btn[b-tyj53nom4w] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: background-color 150ms ease, transform 220ms ease;
}

    .icon-btn:hover[b-tyj53nom4w] {
        background: rgba(255, 255, 255, 0.12);
    }

    .icon-btn:focus-visible[b-tyj53nom4w] {
        outline: 2px solid var(--nav-accent);
        outline-offset: 2px;
    }

.collapse-btn svg[b-tyj53nom4w] {
    transition: transform 220ms ease;
}

.close-btn[b-tyj53nom4w],
.menu-btn[b-tyj53nom4w] {
    display: none;
}

/* ---------- Main area ---------- */
.main[b-tyj53nom4w] {
    min-height: 100vh;
    min-height: 100dvh;
    margin-left: var(--nav-width);
    display: flex;
    flex-direction: column;
    transition: margin-left 220ms ease;
}

.top-row[b-tyj53nom4w] {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: var(--topbar-height);
    padding: 0 1.5rem;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border-bottom: 1px solid rgba(16, 24, 40, 0.06);
    box-shadow: 0 2px 12px rgba(16, 40, 24, 0.06);
    color: #0f2a1b;
}

.top-title[b-tyj53nom4w] {
    font-weight: 600;
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-btn:hover[b-tyj53nom4w] {
    background: rgba(16, 60, 34, 0.08);
}

.content[b-tyj53nom4w] {
    flex: 1;
    padding-top: 1.25rem;
    padding-bottom: 2rem;
}

.backdrop[b-tyj53nom4w] {
    display: none;
}

/* ---------- Desktop: collapsed rail ---------- */
@media (min-width: 768px) {
    .nav-collapsed .sidebar[b-tyj53nom4w] {
        width: var(--nav-collapsed-width);
    }

    .nav-collapsed .main[b-tyj53nom4w] {
        margin-left: var(--nav-collapsed-width);
    }

    .nav-collapsed .brand[b-tyj53nom4w] {
        flex-direction: column;
        justify-content: center;
        height: auto;
        min-height: var(--topbar-height);
        padding: 0.6rem 0;
        gap: 0.25rem;
    }

    .nav-collapsed .brand-link[b-tyj53nom4w] {
        flex: 0 0 auto;
    }

    .nav-collapsed .brand-text[b-tyj53nom4w] {
        display: none;
    }

    .nav-collapsed .collapse-btn svg[b-tyj53nom4w] {
        transform: rotate(180deg);
    }

    .nav-collapsed .sidebar[b-tyj53nom4w]  .nav-text {
        display: none;
    }

    .nav-collapsed .sidebar[b-tyj53nom4w]  .nav-link {
        justify-content: center;
        padding: 0;
    }

    .nav-collapsed .sidebar[b-tyj53nom4w]  .nav-icon {
        margin: 0;
    }
}

/* ---------- Mobile: off-canvas drawer ---------- */
@media (max-width: 767.98px) {
    .sidebar[b-tyj53nom4w] {
        width: min(84vw, 300px);
        transform: translateX(-100%);
        box-shadow: none;
    }

    .nav-open .sidebar[b-tyj53nom4w] {
        transform: translateX(0);
        box-shadow: 8px 0 32px rgba(0, 0, 0, 0.3);
    }

    .collapse-btn[b-tyj53nom4w] {
        display: none;
    }

    .close-btn[b-tyj53nom4w],
    .menu-btn[b-tyj53nom4w] {
        display: inline-flex;
    }

    .main[b-tyj53nom4w] {
        margin-left: 0;
    }

    .top-row[b-tyj53nom4w] {
        padding: 0 0.75rem;
    }

    .backdrop[b-tyj53nom4w] {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1050;
        background: rgba(6, 24, 14, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 220ms ease;
    }

    .nav-open .backdrop[b-tyj53nom4w] {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sidebar[b-tyj53nom4w], .main[b-tyj53nom4w], .backdrop[b-tyj53nom4w], .collapse-btn svg[b-tyj53nom4w] {
        transition: none;
    }
}
/* /Shared/MatchStatistics.razor.rz.scp.css */
.tp-stats[b-mfzfgb7129] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tp-stats-body[b-mfzfgb7129] {
    overflow-x: auto;
}

/* Filter labels and heading inside the dark panel */
.tp-stats-filter[b-mfzfgb7129]  h3 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tp-stats-filter[b-mfzfgb7129]  > div:not([class]) {
    margin: 0.6rem 0 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tp-text-muted);
}

.tp-stats-filter[b-mfzfgb7129]  #filter {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
    color: var(--tp-text);
    cursor: help;
}
/* /Shared/NavMenu.razor.rz.scp.css */
.nav-root[b-7lfxqm2q7q] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 1rem 0.75rem 0.75rem;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.nav-list[b-7lfxqm2q7q] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-footer[b-7lfxqm2q7q] {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-item[b-7lfxqm2q7q]  .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 2.75rem;
    padding: 0 0.75rem;
    border-radius: 12px;
    color: rgba(238, 246, 239, 0.82);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 150ms ease, color 150ms ease;
}

    .nav-item[b-7lfxqm2q7q]  .nav-link:hover {
        background: rgba(255, 255, 255, 0.09);
        color: #fff;
    }

    .nav-item[b-7lfxqm2q7q]  .nav-link:focus-visible {
        outline: 2px solid #d9ef4a;
        outline-offset: 1px;
    }

    .nav-item[b-7lfxqm2q7q]  .nav-link.active {
        background: rgba(217, 239, 74, 0.16);
        color: #fff;
        font-weight: 600;
    }

        .nav-item[b-7lfxqm2q7q]  .nav-link.active::before {
            content: "";
            position: absolute;
            left: -0.75rem;
            top: 0.6rem;
            bottom: 0.6rem;
            width: 4px;
            border-radius: 0 4px 4px 0;
            background: #d9ef4a;
        }

        .nav-item[b-7lfxqm2q7q]  .nav-link.active .nav-icon {
            color: #d9ef4a;
        }

.nav-item[b-7lfxqm2q7q]  .nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    flex-shrink: 0;
    font-size: 1.05rem;
    line-height: 1;
    top: 0;
}

.nav-item[b-7lfxqm2q7q]  .nav-text {
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Shared/Statistics/MatchCardList.razor.rz.scp.css */
.tp-match-grid[b-aqoamg6a3z] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.85rem;
}
/* /Shared/Statistics/MatchHistory.razor.rz.scp.css */
/* Match list and details styles are shared with the Shared matches page: see MatchCardList.razor.css and wwwroot/css/tp-theme.css */
/* /Shared/Statistics/MatchHistoryChildren/MatchCard.razor.rz.scp.css */
.tp-match[b-3vdbjbvvud] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
    padding: 0.9rem 1rem;
    text-align: left;
    font: inherit;
    color: var(--tp-text);
    background: var(--tp-tile);
    border: 1px solid var(--tp-line);
    border-radius: 14px;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, transform 120ms ease;
}

    .tp-match:hover[b-3vdbjbvvud] {
        background: var(--tp-tile-hover);
        transform: translateY(-1px);
    }

    .tp-match:focus-visible[b-3vdbjbvvud] {
        outline: 2px solid var(--tp-accent);
        outline-offset: 2px;
    }

    .tp-match.selected[b-3vdbjbvvud] {
        background: var(--tp-selected);
        border-color: rgba(217, 239, 74, 0.55);
    }

        .tp-match.selected[b-3vdbjbvvud]::before {
            content: "";
            position: absolute;
            left: -1px;
            top: 0.8rem;
            bottom: 0.8rem;
            width: 4px;
            border-radius: 0 4px 4px 0;
            background: var(--tp-accent);
        }

.tp-match-head[b-3vdbjbvvud] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.tp-match-type[b-3vdbjbvvud] {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.tp-match-code[b-3vdbjbvvud] {
    margin-left: 0.35rem;
    padding: 0.05rem 0.45rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--tp-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    vertical-align: middle;
}

.tp-match-desc[b-3vdbjbvvud] {
    color: #fff;
    font-size: 0.92rem;
    font-style: italic;
}

.tp-match-selected[b-3vdbjbvvud] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    background: var(--tp-accent);
    color: #0d301f;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.tp-match-players[b-3vdbjbvvud] {
    color: var(--tp-text-muted);
    font-size: 0.92rem;
    line-height: 1.4;
}

.tp-match-score[b-3vdbjbvvud] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem 0.6rem;
    padding: 0.45rem 0.7rem;
    border-radius: 10px;
    background: #0b2618;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tp-match-label[b-3vdbjbvvud] {
    color: var(--tp-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tp-match-big[b-3vdbjbvvud] {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.tp-match-games[b-3vdbjbvvud] {
    margin-left: auto;
    color: var(--tp-accent);
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

.tp-match-gamesets[b-3vdbjbvvud] {
    display: inline-flex;
    gap: 0.75em;
}

.tp-match-foot[b-3vdbjbvvud] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 0.75rem;
    margin-top: auto;
    color: var(--tp-text-muted);
    font-size: 0.82rem;
}

    .tp-match-foot .oi[b-3vdbjbvvud] {
        margin-right: 0.35rem;
        color: var(--tp-accent);
        font-size: 0.75rem;
    }

.tp-match-live[b-3vdbjbvvud] {
    display: inline-flex;
    align-items: center;
}

.tp-match-live-dot[b-3vdbjbvvud] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='red' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 13A5 5 0 1 0 8 3a5 5 0 0 0 0 10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

@media (prefers-reduced-motion: reduce) {
    .tp-match[b-3vdbjbvvud] {
        transition: none;
    }
}
/* /Shared/Statistics/MatchHistoryChildren/MatchPager.razor.rz.scp.css */
.tp-pager[b-tknqnslom9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-top: 1rem;
}

.tp-pager-pages[b-tknqnslom9] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.tp-pager-page[b-tknqnslom9] {
    min-width: 2.5rem;
    padding: 0 0.6rem;
    font-variant-numeric: tabular-nums;
}

.tp-pager-gap[b-tknqnslom9] {
    padding: 0 0.35rem;
    color: var(--tp-text-muted);
}

.tp-pager-info[b-tknqnslom9] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.88rem;
}

.tp-pager-size[b-tknqnslom9] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

    .tp-pager-size select[b-tknqnslom9] {
        height: 2.25rem;
        padding: 0 0.5rem;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(255, 255, 255, 0.09);
        color: #fff;
        font: inherit;
    }

        .tp-pager-size select:focus-visible[b-tknqnslom9] {
            outline: 2px solid var(--tp-accent);
            outline-offset: 2px;
        }

        .tp-pager-size select option[b-tknqnslom9] {
            color: #0f1724;
        }
