/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-lydeya0tib] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-lydeya0tib] {
    flex: 1;
}
/* /Pages/Court.razor.rz.scp.css */
.court-page[b-59hqlw0wc8] {
    min-height: calc(100vh - 3.5rem);
    background: #141920;
    color: #fff;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Loading */
.court-loading[b-59hqlw0wc8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 1rem;
    opacity: 0.75;
}

.court-spinner[b-59hqlw0wc8] {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: #f0b429;
    border-radius: 50%;
    animation: court-spin-b-59hqlw0wc8 0.75s linear infinite;
}

@keyframes court-spin-b-59hqlw0wc8 {
    to { transform: rotate(360deg); }
}

/* Header */
.court-header[b-59hqlw0wc8] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.court-title[b-59hqlw0wc8] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.court-label[b-59hqlw0wc8] {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.55;
    font-weight: 600;
}

.court-name[b-59hqlw0wc8] {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.court-tournament[b-59hqlw0wc8] {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Section labels */
.court-section-label[b-59hqlw0wc8] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.5;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

/* Next match */
.court-next-match[b-59hqlw0wc8] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.court-match-card[b-59hqlw0wc8] {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.court-match-players[b-59hqlw0wc8] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.court-player[b-59hqlw0wc8] {
    font-size: 1.1rem;
    font-weight: 650;
}

.court-vs[b-59hqlw0wc8] {
    font-size: 0.8rem;
    opacity: 0.5;
    font-weight: 600;
}

.court-match-meta[b-59hqlw0wc8] {
    display: flex;
    gap: 0.6rem;
    font-size: 0.8rem;
    opacity: 0.6;
}

.court-start-btn[b-59hqlw0wc8] {
    width: 100%;
    font-size: 1rem;
    padding: 0.85rem 1rem;
}

/* Upcoming */
.court-upcoming[b-59hqlw0wc8] {
    margin-top: 0.25rem;
}

.court-upcoming-list[b-59hqlw0wc8] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.court-upcoming-item[b-59hqlw0wc8] {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.6rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.88rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.court-upcoming-round[b-59hqlw0wc8] {
    opacity: 0.55;
    font-size: 0.78rem;
    white-space: nowrap;
}

/* Empty state */
.court-empty[b-59hqlw0wc8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1rem;
}

.court-empty-icon[b-59hqlw0wc8] {
    font-size: 2.5rem;
}

.court-empty-msg[b-59hqlw0wc8] {
    font-size: 1rem;
    opacity: 0.75;
    max-width: 24rem;
    line-height: 1.5;
}

.court-empty-actions[b-59hqlw0wc8] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Error */
.court-error[b-59hqlw0wc8] {
    background: rgba(220, 50, 50, 0.12);
    border: 1px solid rgba(220, 80, 80, 0.3);
    border-radius: 1rem;
    padding: 1.25rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.court-error h2[b-59hqlw0wc8] {
    margin: 0;
    font-size: 1.1rem;
}

.court-error p[b-59hqlw0wc8] {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.court-error-hint[b-59hqlw0wc8] {
    opacity: 0.6 !important;
    font-size: 0.82rem !important;
}

/* Footer actions */
.court-footer-actions[b-59hqlw0wc8] {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.court-footer-actions .secondary[b-59hqlw0wc8] {
    flex: 1;
}

/* Shared button styles (mirror Score page) */
.primary[b-59hqlw0wc8], .secondary[b-59hqlw0wc8] {
    border: none;
    border-radius: 0.65rem;
    padding: 0.65rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 650;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s;
}

.primary[b-59hqlw0wc8] {
    background: #f0b429;
    color: #141920;
}

.primary:disabled[b-59hqlw0wc8] {
    opacity: 0.45;
    cursor: default;
}

.primary:not(:disabled):active[b-59hqlw0wc8] {
    transform: scale(0.97);
}

.secondary[b-59hqlw0wc8] {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.secondary:disabled[b-59hqlw0wc8] {
    opacity: 0.4;
    cursor: default;
}

.secondary:not(:disabled):active[b-59hqlw0wc8] {
    transform: scale(0.97);
}
/* /Pages/Home.razor.rz.scp.css */
/* ─────────────────────────────────────────────
   Design tokens (mirrors Sport Manager marketing)
   ───────────────────────────────────────────── */
:root[b-yp4lb979v8] {
    --ss-navy: #0d1b36;
    --ss-blue: #1f4fbe;
    --ss-cyan: #35d4d0;
    --ss-green: #59dc87;
    --ss-ink: #10243f;
    --ss-text: #42526b;
    --ss-border: rgba(21, 44, 86, 0.12);
    --ss-surface: rgba(255, 255, 255, 0.74);
    --ss-shadow: 0 28px 70px rgba(10, 28, 59, 0.18);
}

/* ─── Shell ─── */
.ss-shell[b-yp4lb979v8] {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(53, 212, 208, 0.12), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(31, 79, 190, 0.18), transparent 24%),
        linear-gradient(180deg, #f5f9ff 0%, #eef3fb 100%);
    color: var(--ss-text);
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    overflow-x: clip;
}

.ss-container[b-yp4lb979v8] {
    width: min(1200px, calc(100vw - 32px));
    margin: 0 auto;
}

/* ─── Topbar / Nav ─── */
.ss-topbar[b-yp4lb979v8] {
    padding: 20px 0;
}

.ss-topbar-inner[b-yp4lb979v8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 22px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 42px rgba(10, 28, 59, 0.08);
}

.ss-brand[b-yp4lb979v8] {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.ss-brand-image[b-yp4lb979v8] {
    display: block;
    width: auto;
    height: 60px;
    max-width: min(240px, 36vw);
    object-fit: contain;
}

.ss-nav[b-yp4lb979v8] {
    display: flex;
    align-items: center;
    gap: 28px;
}

.ss-nav a[b-yp4lb979v8] {
    color: rgba(16, 36, 63, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
}

.ss-nav a:hover[b-yp4lb979v8] {
    color: var(--ss-blue);
}

.ss-nav-actions[b-yp4lb979v8] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ss-nav-actions .marketing-button-primary[b-yp4lb979v8] {
    background: linear-gradient(135deg, #35d4d0, #59dc87);
    box-shadow: 0 14px 34px rgba(16, 80, 255, 0.3) !important;
    color: #fff !important;
}

/* ─── Buttons ─── */
.ss-button[b-yp4lb979v8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--ss-ink);
    font-weight: 800;
    font-size: 0.92rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.ss-button:visited[b-yp4lb979v8] {
    color: var(--ss-ink);
}

.ss-button:hover[b-yp4lb979v8] {
    transform: translateY(-1px);
    color: var(--ss-ink);
    text-decoration: none;
}

.ss-button-lg[b-yp4lb979v8] {
    min-height: 54px;
    padding: 0 30px;
    font-size: 1rem;
}

.ss-button-primary[b-yp4lb979v8] {
    color: #fff;
    background: linear-gradient(135deg, #35d4d0, #59dc87);
    box-shadow: 0 14px 34px rgba(16, 80, 255, 0.3);
}

.ss-button-primary:visited[b-yp4lb979v8],
.ss-button-primary:hover[b-yp4lb979v8] {
    color: var(--ss-ink);
}

.ss-hero-cta .ss-button-primary[b-yp4lb979v8],
.ss-hero-cta .ss-button-primary:visited[b-yp4lb979v8],
.ss-hero-cta .ss-button-primary:hover[b-yp4lb979v8] {
    color: var(--ss-ink);
}

.ss-steps-cta .ss-button-primary[b-yp4lb979v8],
.ss-steps-cta .ss-button-primary:visited[b-yp4lb979v8],
.ss-steps-cta .ss-button-primary:hover[b-yp4lb979v8] {
    color: var(--ss-ink);
}

.ss-upsell-actions .ss-button-primary[b-yp4lb979v8],
.ss-upsell-actions .ss-button-primary:visited[b-yp4lb979v8],
.ss-upsell-actions .ss-button-primary:hover[b-yp4lb979v8] {
    color: var(--ss-ink);
}

.ss-button-secondary[b-yp4lb979v8] {
    background: rgba(255, 255, 255, 0.52);
    border-color: rgba(16, 36, 63, 0.14);
}

/* ─── Alias for Sport Manager marketing consistency ─── */
.marketing-button[b-yp4lb979v8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--ss-ink);
    font-weight: 800;
    font-size: 0.92rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.marketing-button:visited[b-yp4lb979v8] {
    color: var(--ss-ink);
}

.marketing-button:hover[b-yp4lb979v8] {
    transform: translateY(-1px);
    color: var(--ss-ink);
    text-decoration: none;
}

.marketing-button-primary[b-yp4lb979v8] {
    background: linear-gradient(135deg, #35d4d0, #59dc87) !important;
    box-shadow: 0 14px 34px rgba(53, 212, 208, 0.26) !important;
    color: #fff !important;
}

.ss-button.marketing-button-primary[b-yp4lb979v8] {
    background: linear-gradient(135deg, #35d4d0, #59dc87) !important;
    box-shadow: 0 14px 34px rgba(53, 212, 208, 0.26) !important;
    color: #fff !important;
}

.ss-button.marketing-button-primary:visited[b-yp4lb979v8],
.ss-button.marketing-button-primary:hover[b-yp4lb979v8] {
    background: linear-gradient(135deg, #35d4d0, #59dc87) !important;
    color: #fff !important;
}

.ss-button-ghost[b-yp4lb979v8] {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
    color: rgba(232, 240, 255, 0.9);
}

.ss-button-ghost:hover[b-yp4lb979v8] {
    color: #fff;
    background: rgba(255, 255, 255, 0.26);
}

/* ─── Hero ─── */
.ss-hero[b-yp4lb979v8] {
    padding: 0 0 40px;
}

.ss-hero-panel[b-yp4lb979v8] {
    position: relative;
    padding: clamp(28px, 4vw, 56px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 36px;
    background:
        linear-gradient(140deg, rgba(10, 26, 59, 0.96) 0%, rgba(14, 32, 68, 0.96) 44%, rgba(17, 52, 123, 0.9) 100%),
        radial-gradient(circle at 20% 20%, rgba(53, 212, 208, 0.18), transparent 35%);
    box-shadow: var(--ss-shadow);
    overflow: hidden;
}

.ss-hero-panel[b-yp4lb979v8]::before {
    content: "";
    position: absolute;
    width: 780px;
    height: 780px;
    right: -340px;
    top: -360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41, 125, 255, 0.35) 0%, rgba(41, 125, 255, 0) 65%);
    pointer-events: none;
}

.ss-hero-panel[b-yp4lb979v8]::after {
    content: "";
    position: absolute;
    width: 720px;
    height: 280px;
    left: 26%;
    bottom: -70px;
    background:
        radial-gradient(circle at 30% 20%, rgba(89, 220, 135, 0.7), transparent 20%),
        linear-gradient(90deg, rgba(29, 223, 183, 0.02) 0%, rgba(29, 223, 183, 0.3) 45%, rgba(29, 223, 183, 0) 100%);
    filter: blur(8px);
    transform: rotate(-9deg);
    pointer-events: none;
}

.ss-hero-grid[b-yp4lb979v8] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr);
    gap: 40px;
    align-items: center;
    z-index: 1;
}

.ss-eyebrow[b-yp4lb979v8] {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ss-eyebrow-dark[b-yp4lb979v8] {
    border-color: rgba(21, 44, 86, 0.14);
    background: rgba(31, 79, 190, 0.07);
    color: var(--ss-blue);
}

.ss-hero-copy h1[b-yp4lb979v8] {
    margin: 20px 0 0;
    color: #ffffff;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-weight: 700;
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    line-height: 1.0;
}

.ss-hero-copy h1 em[b-yp4lb979v8] {
    font-style: normal;
    color: var(--ss-cyan);
    text-shadow: 0 0 24px rgba(53, 212, 208, 0.22);
}

@supports ((-webkit-background-clip: text) and (-webkit-text-fill-color: transparent)) {
    .ss-hero-copy h1 em[b-yp4lb979v8] {
        background: linear-gradient(90deg, var(--ss-cyan), var(--ss-green));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: none;
    }
}

.ss-hero-copy p[b-yp4lb979v8] {
    max-width: 34rem;
    margin: 20px 0 0;
    color: rgba(232, 240, 255, 0.86);
    font-size: 1.1rem;
    line-height: 1.7;
}

.ss-hero-cta[b-yp4lb979v8] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.ss-badges[b-yp4lb979v8] {
    display: flex;
    gap: 22px;
    margin-top: 26px;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.ss-badges li[b-yp4lb979v8] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f5f9ff;
    font-weight: 700;
    font-size: 0.95rem;
}

.ss-badges li[b-yp4lb979v8]::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ss-cyan), var(--ss-green));
    box-shadow: 0 0 0 4px rgba(89, 220, 135, 0.14);
    flex-shrink: 0;
}

/* ─── Mock scorer UI ─── */
.ss-showcase[b-yp4lb979v8] {
    position: relative;
}

.ss-mock-scorer[b-yp4lb979v8] {
    border-radius: 20px;
    background: #141920;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(1, 11, 31, 0.5);
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    user-select: none;
}

.ss-mock-header[b-yp4lb979v8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
}

.ss-mock-end[b-yp4lb979v8] {
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: default;
}

.ss-mock-game-info[b-yp4lb979v8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255,255,255,0.75);
    font-size: 0.82rem;
    font-weight: 700;
    flex: 1;
    text-align: center;
}

.ss-mock-timer[b-yp4lb979v8] {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 800;
}

.ss-mock-header-actions[b-yp4lb979v8] {
    display: flex;
    gap: 6px;
}

.ss-mock-header-actions button[b-yp4lb979v8] {
    padding: 5px 10px;
    border-radius: 7px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: default;
    white-space: nowrap;
}

.ss-mock-courts[b-yp4lb979v8] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, 0.58fr) minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
}

.ss-mock-court[b-yp4lb979v8] {
    position: relative;
    min-width: 0;
    padding: 14px 12px 16px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ss-mock-court-a[b-yp4lb979v8] {
    background: radial-gradient(circle at 20% 10%, rgba(255,80,80,0.34), transparent 55%),
        rgba(210, 60, 60, 0.20);
    border: 1px solid rgba(255, 110, 110, 0.28);
}

.ss-mock-court-b[b-yp4lb979v8] {
    background: radial-gradient(circle at 80% 10%, rgba(80,120,255,0.36), transparent 55%),
        rgba(55, 95, 220, 0.20);
    border: 1px solid rgba(125, 160, 255, 0.30);
}

.ss-mock-player-bar[b-yp4lb979v8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    font-weight: 700;
}

.ss-mock-player-bar.ss-active[b-yp4lb979v8] {
    background: linear-gradient(90deg, #c0392b, #e74c3c);
    color: #fff;
}

.ss-mock-player-bar.ss-active-b[b-yp4lb979v8] {
    background: linear-gradient(90deg, #1f4fbe, #2980b9);
    color: #fff;
}

.ss-mock-game-score[b-yp4lb979v8] {
    font-weight: 800;
}

.ss-mock-big-score[b-yp4lb979v8] {
    text-align: center;
    font-size: 4.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
}

.ss-mock-actions[b-yp4lb979v8] {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ss-mock-actions > button[b-yp4lb979v8] {
    padding: 7px 0;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: default;
    width: 100%;
}

.ss-mock-sub-actions[b-yp4lb979v8] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.ss-mock-sub-actions button[b-yp4lb979v8] {
    padding: 6px 0;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.55);
    font-size: 0.74rem;
    font-weight: 600;
    cursor: default;
}

.ss-mock-center-panel[b-yp4lb979v8] {
    min-width: 0;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.13);
    background: rgba(255,255,255,0.06);
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ss-mock-history-title[b-yp4lb979v8] {
    color: rgba(255,255,255,0.76);
    font-size: 0.7rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ss-mock-rally-list[b-yp4lb979v8] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 5px;
}

.ss-mock-rally-list li[b-yp4lb979v8] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
    align-items: center;
    min-height: 26px;
}

.ss-mock-rally-point[b-yp4lb979v8] {
    width: 25px;
    height: 25px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 850;
    box-shadow: 0 7px 14px rgba(0,0,0,0.2);
}

.ss-mock-rally-point.ss-left[b-yp4lb979v8] {
    justify-self: end;
    background: rgba(221, 68, 56, 0.96);
}

.ss-mock-rally-point.ss-right[b-yp4lb979v8] {
    justify-self: start;
    background: rgba(43, 103, 203, 0.96);
}

.ss-mock-rally-spine[b-yp4lb979v8] {
    justify-self: center;
    width: 2px;
    height: 100%;
    min-height: 26px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
}

.ss-mock-rally-spine.ss-decision[b-yp4lb979v8] {
    width: 24px;
    height: 24px;
    min-height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(139, 208, 255, 0.45);
    background: rgba(139, 208, 255, 0.13);
    color: #8bd0ff;
    font-size: 0.68rem;
    font-weight: 850;
}

.ss-mock-serve-dot[b-yp4lb979v8] {
    position: absolute;
    bottom: 12px;
    width: 27px;
    height: 27px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 850;
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 8px 18px rgba(0,0,0,0.22);
}

.ss-mock-serve-left[b-yp4lb979v8] {
    left: 12px;
    background: rgba(255,95,95,0.95);
}

.ss-mock-serve-right[b-yp4lb979v8] {
    right: 12px;
    background: rgba(120,155,255,0.95);
}

/* ─── Sections ─── */
.ss-section[b-yp4lb979v8] {
    padding: 60px 0;
}

.ss-section-dark[b-yp4lb979v8] {
    background:
        linear-gradient(140deg, rgba(10, 26, 59, 0.98) 0%, rgba(14, 32, 68, 0.97) 50%, rgba(17, 52, 123, 0.93) 100%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 36px;
    box-shadow: var(--ss-shadow);
    overflow: hidden;
    width: min(1200px, calc(100vw - 32px));
    margin: 0 auto;
}

.ss-section-dark .ss-container[b-yp4lb979v8] {
    width: 100%;
    margin: 0;
    padding: clamp(32px, 4vw, 56px);
}

.ss-section-heading[b-yp4lb979v8] {
    max-width: 680px;
}

.ss-section-heading h2[b-yp4lb979v8] {
    margin: 0;
    color: var(--ss-ink);
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-weight: 700;
    font-size: clamp(1.9rem, 3.2vw, 3rem);
    line-height: 1.1;
}

.ss-section-heading p[b-yp4lb979v8] {
    margin: 14px 0 0;
    font-size: 1.05rem;
    line-height: 1.75;
}

.ss-section-heading-light h2[b-yp4lb979v8] {
    color: #ffffff;
}

.ss-section-heading-light p[b-yp4lb979v8] {
    color: rgba(232, 240, 255, 0.82);
}

/* ─── Features grid ─── */
.ss-features[b-yp4lb979v8] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.ss-feature-card[b-yp4lb979v8] {
    padding: 28px;
    border: 1px solid var(--ss-border);
    border-radius: 28px;
    background: var(--ss-surface);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 45px rgba(10, 28, 59, 0.08);
    display: flex;
    flex-direction: column;
}

.ss-feature-icon[b-yp4lb979v8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(53, 212, 208, 0.16), rgba(31, 79, 190, 0.18));
    color: var(--ss-blue);
}

.ss-feature-icon svg[b-yp4lb979v8] {
    width: 26px;
    height: 26px;
}

.ss-feature-card h3[b-yp4lb979v8] {
    margin: 18px 0 10px;
    color: var(--ss-ink);
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.ss-feature-card p[b-yp4lb979v8] {
    margin: 0 0 16px;
    line-height: 1.7;
    flex: 1;
}

.ss-feature-link[b-yp4lb979v8] {
    color: var(--ss-blue);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: auto;
}

.ss-feature-link:hover[b-yp4lb979v8] {
    color: var(--ss-cyan);
}

/* ─── How It Works / Steps ─── */
.ss-steps[b-yp4lb979v8] {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 36px;
    flex-wrap: nowrap;
}

.ss-step[b-yp4lb979v8] {
    flex: 1;
    padding: 24px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    background: rgba(255,255,255,0.06);
}

.ss-step-number[b-yp4lb979v8] {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(53, 212, 208, 0.45);
    background: linear-gradient(145deg, rgba(53, 212, 208, 0.2), rgba(31, 79, 190, 0.18));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    color: #e9fff8;
    text-shadow: 0 1px 2px rgba(9, 24, 46, 0.5);
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
}

.ss-step h3[b-yp4lb979v8] {
    margin: 0 0 8px;
    color: #ffffff;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.ss-step p[b-yp4lb979v8] {
    margin: 0;
    color: rgba(232, 240, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.65;
}

.ss-step-connector[b-yp4lb979v8] {
    width: 32px;
    height: 2px;
    flex-shrink: 0;
    background: linear-gradient(90deg, var(--ss-cyan), var(--ss-green));
    opacity: 0.5;
}

.ss-steps-cta[b-yp4lb979v8] {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

/* ─── Upsell / Subscription section ─── */
.ss-upsell-panel[b-yp4lb979v8] {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 40px;
    padding: clamp(32px, 4vw, 56px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 36px;
    background:
        linear-gradient(140deg, rgba(10, 26, 59, 0.97) 0%, rgba(14, 32, 68, 0.97) 48%, rgba(17, 52, 123, 0.92) 100%),
        radial-gradient(circle at 20% 20%, rgba(53, 212, 208, 0.16), transparent 35%);
    box-shadow: var(--ss-shadow);
    align-items: center;
}

.ss-upsell-copy h2[b-yp4lb979v8] {
    margin: 14px 0 0;
    color: #ffffff;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.05;
}

.ss-upsell-copy p[b-yp4lb979v8] {
    margin: 16px 0 0;
    color: rgba(232, 240, 255, 0.84);
    font-size: 1.05rem;
    line-height: 1.7;
}

.ss-upsell-copy .ss-eyebrow-dark[b-yp4lb979v8] {
    border-color: rgba(53, 212, 208, 0.35);
    background: rgba(53, 212, 208, 0.14);
    color: #e9fff8;
}

.ss-upsell-list[b-yp4lb979v8] {
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.ss-upsell-list li[b-yp4lb979v8] {
    position: relative;
    padding-left: 20px;
    color: rgba(232, 240, 255, 0.88);
    font-weight: 600;
}

.ss-upsell-list li[b-yp4lb979v8]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ss-cyan), var(--ss-green));
}

.ss-upsell-actions[b-yp4lb979v8] {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.ss-upsell-cards[b-yp4lb979v8] {
    display: grid;
    gap: 16px;
}

.ss-upsell-card[b-yp4lb979v8] {
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 22px;
    background: rgba(255,255,255,0.06);
    display: grid;
    gap: 8px;
}

.ss-upsell-card-featured[b-yp4lb979v8] {
    background: rgba(255,255,255,0.11);
    border-color: rgba(53, 212, 208, 0.25);
}

.ss-upsell-card-icon[b-yp4lb979v8] {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    border: 1px solid rgba(53, 212, 208, 0.5);
    background: linear-gradient(145deg, rgba(20, 69, 120, 0.58), rgba(8, 37, 70, 0.76));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    color: #d6fff8;
    line-height: 0;
}

.ss-upsell-card-icon svg[b-yp4lb979v8] {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
}

.ss-upsell-card-featured .ss-upsell-card-icon[b-yp4lb979v8] {
    border-color: rgba(89, 220, 135, 0.5);
    background: linear-gradient(145deg, rgba(29, 109, 155, 0.52), rgba(8, 44, 82, 0.76));
}

.ss-upsell-card strong[b-yp4lb979v8] {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
}

.ss-upsell-card span[b-yp4lb979v8] {
    display: block;
    color: rgba(232, 240, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ─── Footer ─── */
.ss-footer[b-yp4lb979v8] {
    padding: 20px 0 34px;
}

.ss-footer-panel[b-yp4lb979v8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    border: 1px solid var(--ss-border);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 45px rgba(10, 28, 59, 0.08);
    flex-wrap: wrap;
}

.ss-footer-brand[b-yp4lb979v8] {
    color: var(--ss-ink);
    font-size: 0.9rem;
    font-weight: 700;
}

.ss-footer-links[b-yp4lb979v8] {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.ss-footer-links a[b-yp4lb979v8] {
    color: rgba(16, 36, 63, 0.7);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.ss-footer-links a:hover[b-yp4lb979v8] {
    color: var(--ss-blue);
}

/* ─── Responsive ─── */
@media (max-width: 1199.98px) {
    .ss-hero-grid[b-yp4lb979v8] {
        grid-template-columns: 1fr;
    }

    .ss-features[b-yp4lb979v8] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ss-upsell-panel[b-yp4lb979v8] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .ss-nav[b-yp4lb979v8] {
        display: none;
    }

    .ss-steps[b-yp4lb979v8] {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .ss-step-connector[b-yp4lb979v8] {
        width: 2px;
        height: 24px;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .ss-brand-image[b-yp4lb979v8] {
        height: 36px;
        max-width: min(210px, 50vw);
    }

    .ss-features[b-yp4lb979v8] {
        grid-template-columns: 1fr;
    }

    .ss-hero-panel[b-yp4lb979v8] {
        padding: 28px 22px;
        border-radius: 28px;
    }

    .ss-hero-copy h1[b-yp4lb979v8] {
        font-size: clamp(2.4rem, 8vw, 3.4rem);
    }

    .ss-hero-cta .ss-button[b-yp4lb979v8] {
        width: 100%;
        justify-content: center;
    }

    .ss-mock-header-actions[b-yp4lb979v8] {
        display: none;
    }

    .ss-upsell-panel[b-yp4lb979v8] {
        padding: 28px 22px;
        border-radius: 28px;
    }

    .ss-upsell-actions .ss-button[b-yp4lb979v8] {
        width: 100%;
        justify-content: center;
    }

    .ss-footer-panel[b-yp4lb979v8] {
        flex-direction: column;
        align-items: flex-start;
    }

    .ss-section-dark[b-yp4lb979v8] {
        width: min(1200px, calc(100vw - 32px));
        margin: 0 auto;
        border-radius: 24px;
    }

    .ss-section-dark .ss-container[b-yp4lb979v8] {
        padding: 28px 22px;
    }
}
/* /Pages/Score.razor.rz.scp.css */
.score-page[b-h8u60ndnb8] {
    height: calc(100vh - 3.5rem);
    background:
        radial-gradient(circle at 20% -10%, rgba(255, 130, 120, 0.14), transparent 45%),
        radial-gradient(circle at 80% -10%, rgba(130, 170, 255, 0.14), transparent 45%),
        #141920;
    color: #fff;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    outline: none;
    overflow: hidden;
}

.options[b-h8u60ndnb8] {
    display: grid;
    gap: 0.4rem;
    padding: 0.5rem 0.6rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.12);
}

.toggle[b-h8u60ndnb8] {
    display: flex;
    justify-content: center;
}

.toggle label[b-h8u60ndnb8] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 650;
}

.toggle input[b-h8u60ndnb8] {
    accent-color: #fff;
}

.history[b-h8u60ndnb8] {
    border-radius: 1.25rem;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    padding: 0.75rem;
}

.history-list[b-h8u60ndnb8] {
    margin: 0.25rem 0 0;
    padding: 0 0 0 1.35rem;
    max-height: 14rem;
    overflow: auto;
}

.history-empty[b-h8u60ndnb8] {
    margin-top: 0.45rem;
    opacity: 0.7;
    font-weight: 650;
}

.rally-flow-wrap[b-h8u60ndnb8] {
    margin-top: 0.45rem;
    display: block;
}

.rally-flow-list[b-h8u60ndnb8] {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 18rem;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 190, 105, 0.65) rgba(255,255,255,0.08);
    position: relative;
}

.rally-flow-list[b-h8u60ndnb8]::-webkit-scrollbar {
    width: 10px;
}

.rally-flow-list[b-h8u60ndnb8]::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
}

.rally-flow-list[b-h8u60ndnb8]::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255, 190, 105, 0.9), rgba(255, 145, 0, 0.85));
    border-radius: 999px;
    border: 2px solid rgba(20, 25, 32, 0.7);
}

.rally-flow-list[b-h8u60ndnb8]::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255, 200, 130, 0.95), rgba(255, 160, 35, 0.9));
}

.rally-flow-item[b-h8u60ndnb8] {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    row-gap: 0.25rem;
    align-items: center;
    margin: 0;
    padding: 0.2rem 0;
}

.rally-lane[b-h8u60ndnb8] {
    min-height: 3.2rem;
    display: flex;
    align-items: center;
}

.rally-lane.left[b-h8u60ndnb8] {
    justify-content: flex-end;
    padding-right: 0.7rem;
}

.rally-lane.right[b-h8u60ndnb8] {
    justify-content: flex-start;
    padding-left: 0.7rem;
}

.rally-point[b-h8u60ndnb8] {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.rally-point.left[b-h8u60ndnb8] {
    flex-direction: row;
}

.rally-point.right[b-h8u60ndnb8] {
    flex-direction: row;
}

.rally-circle[b-h8u60ndnb8] {
    width: 2.95rem;
    height: 2.95rem;
    border-radius: 999px;
    border: 3px solid #f19700;
    background: #eceff5;
    color: #191919;
    font-weight: 900;
    font-size: 1.45rem;
    display: grid;
    place-items: center;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.rally-server-side[b-h8u60ndnb8] {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255,255,255,0.38);
    width: 0.75rem;
    text-align: center;
}

.rally-spine[b-h8u60ndnb8] {
    width: 0;
    min-height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    z-index: 1;
    position: relative;
}

.rally-spine[b-h8u60ndnb8]::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 190, 105, 0.9), rgba(255, 145, 0, 0.8));
}

.rally-tag[b-h8u60ndnb8] {
    border-radius: 999px;
    padding: 0.12rem 0.45rem;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(14, 18, 24, 0.92);
    color: #fff;
}

.rally-tag.decision[b-h8u60ndnb8] {
    color: #8bd0ff;
}

.history-list li[b-h8u60ndnb8] {
    display: grid;
    grid-template-columns: auto auto auto 1fr;
    gap: 0.5rem;
    padding: 0.25rem 0;
    align-items: baseline;
}

.history-score[b-h8u60ndnb8] {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    opacity: 0.95;
}

.history-mid[b-h8u60ndnb8] {
    opacity: 0.6;
}

.history-detail[b-h8u60ndnb8] {
    opacity: 0.8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.score-header[b-h8u60ndnb8] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "undo center actions";
    align-items: center;
    gap: 0.75rem;
}

.score-header > .header-center[b-h8u60ndnb8] {
    grid-area: center;
    text-align: center;
    opacity: 0.9;
}

.header-mobile-menu[b-h8u60ndnb8] {
    display: contents;
}

.score-header > .header-primary-actions[b-h8u60ndnb8] {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.score-header > .header-actions[b-h8u60ndnb8] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mobile-menu-toggle[b-h8u60ndnb8] {
    display: none;
}

.mobile-undo-action[b-h8u60ndnb8] {
    grid-area: undo;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-undo-action[b-h8u60ndnb8] {
    display: none;
}

.prefill-error[b-h8u60ndnb8] {
    border-radius: 0.85rem;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
    padding: 0.65rem 0.75rem;
    font-weight: 650;
    opacity: 0.95;
}

.warmup-banner[b-h8u60ndnb8] {
    border-radius: 0.95rem;
    border: 1px solid rgba(255, 210, 120, 0.28);
    background: linear-gradient(135deg, rgba(255, 184, 77, 0.14), rgba(255,255,255,0.05));
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.warmup-banner > :first-child[b-h8u60ndnb8] {
    min-width: 0;
    flex: 1 1 auto;
}

.warmup-start[b-h8u60ndnb8] {
    border-color: rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
}

.warmup-change[b-h8u60ndnb8] {
    border-color: rgba(255, 178, 66, 0.48);
    background: linear-gradient(135deg, rgba(255, 146, 43, 0.22), rgba(255,255,255,0.06));
}

.warmup-done[b-h8u60ndnb8] {
    border-color: rgba(124, 232, 159, 0.30);
    background: linear-gradient(135deg, rgba(68, 202, 122, 0.16), rgba(255,255,255,0.04));
}

.warmup-pre-match[b-h8u60ndnb8] {
    border-color: rgba(100, 200, 255, 0.38);
    background: linear-gradient(135deg, rgba(60, 160, 240, 0.18), rgba(255,255,255,0.05));
}

.score-page[b-h8u60ndnb8]  .serve-select-players {
    display: flex;
    gap: 0.65rem;
    margin: 0.75rem 0;
}

.score-page[b-h8u60ndnb8]  .serve-select-btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    border-radius: 0.75rem;
    border: 2px solid transparent;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    opacity: 0.65;
    transition: opacity 0.15s, border-color 0.15s;
}

.score-page[b-h8u60ndnb8]  .serve-select-btn.active {
    opacity: 1;
    border-color: rgba(255,255,255,0.8);
}

.serve-box-toggle[b-h8u60ndnb8] {
    display: flex;
    gap: 0.5rem;
}

.serve-box-btn[b-h8u60ndnb8] {
    flex: 1;
    padding: 0.5rem;
    border-radius: 0.65rem;
    border: 2px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    opacity: 0.55;
    transition: opacity 0.15s, border-color 0.15s;
}

.serve-box-btn.active[b-h8u60ndnb8] {
    opacity: 1;
    border-color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.14);
}

.warmup-label[b-h8u60ndnb8] {
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.warmup-note[b-h8u60ndnb8] {
    margin-top: 0.12rem;
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.78;
}

.warmup-countdown[b-h8u60ndnb8] {
    font-variant-numeric: tabular-nums;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.timing-flash[b-h8u60ndnb8] {
    animation: timing-flash-b-h8u60ndnb8 0.8s ease-in-out 2;
}

@keyframes timing-flash-b-h8u60ndnb8 {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(1);
    }
    45% {
        box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.3);
        transform: scale(1.012);
    }
}

.top-action[b-h8u60ndnb8] {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 0.6rem;
    font-weight: 600;
    white-space: nowrap;
}

.label-short[b-h8u60ndnb8] {
    display: none;
}

.game-indicator[b-h8u60ndnb8] {
    font-size: 0.95rem;
    font-weight: 700;
}

.timer[b-h8u60ndnb8] {
    font-variant-numeric: tabular-nums;
    font-size: 0.9rem;
    opacity: 0.85;
}

.completed-games[b-h8u60ndnb8] {
    margin-top: 0.2rem;
    max-width: min(28rem, 100%);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
    opacity: 0.78;
    text-wrap: balance;
}

.completed-game-times[b-h8u60ndnb8] {
    margin-top: 0.15rem;
    max-width: min(28rem, 100%);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
    opacity: 0.62;
    text-wrap: balance;
}

.teams[b-h8u60ndnb8] {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr minmax(220px, 0.55fr) 1fr;
    grid-template-areas: "left center right";
    align-items: stretch;
    flex: 1;
    min-height: 0;
}

.team-panel[b-h8u60ndnb8] {
    position: relative;
    border-radius: 1.25rem;
    padding: 1rem;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0.75rem;
    user-select: none;
    touch-action: manipulation;
}

.team-panel.left[b-h8u60ndnb8] {
    grid-area: left;
    background: radial-gradient(circle at 20% 10%, rgba(255,80,80,0.38), transparent 55%),
        rgba(210, 60, 60, 0.24);
    border: 1px solid rgba(255, 110, 110, 0.30);
}

.team-panel.right[b-h8u60ndnb8] {
    grid-area: right;
    background: radial-gradient(circle at 80% 10%, rgba(80,120,255,0.40), transparent 55%),
        rgba(55, 95, 220, 0.24);
    border: 1px solid rgba(125, 160, 255, 0.33);
}

.team-header[b-h8u60ndnb8] {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.75rem;
}

.team-panel.right .team-header[b-h8u60ndnb8] {
    grid-template-columns: auto 1fr;
}

.team-panel.left .team-header .games[b-h8u60ndnb8] {
    justify-self: end;
}

.team-panel.right .team-header .games[b-h8u60ndnb8] {
    justify-self: start;
}

.team-panel.right .team-header .team-name[b-h8u60ndnb8] {
    justify-self: stretch;
    width: 100%;
    justify-content: center;
}

.team-name[b-h8u60ndnb8] {
    background: rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.02em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.flag[b-h8u60ndnb8] {
    font-size: 1.05em;
    line-height: 1;
}

.games[b-h8u60ndnb8] {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.65rem;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    font-weight: 800;
}

.score[b-h8u60ndnb8] {
    font-size: clamp(4rem, 10vw, 7.5rem);
    font-weight: 900;
    line-height: 1;
    display: grid;
    place-items: center;
}

.panel-undo-wrap[b-h8u60ndnb8] {
    display: flex;
    justify-content: center;
}

.panel-undo[b-h8u60ndnb8] {
    background: rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    padding: 0.45rem 1.3rem;
    border-radius: 999px;
    font-weight: 700;
    min-width: 8.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.panel-undo-icon[b-h8u60ndnb8] {
    font-size: 1.05em;
    line-height: 1;
}

.actions[b-h8u60ndnb8] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.chip[b-h8u60ndnb8] {
    background: rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-weight: 700;
}

.serve-indicator[b-h8u60ndnb8] {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    background: transparent;
    border: none;
    padding: 0;
    cursor: default;
}

.serve-indicator.clickable[b-h8u60ndnb8] {
    cursor: pointer;
}

.team-panel.right .serve-indicator[b-h8u60ndnb8] {
    left: auto;
    right: 0.85rem;
}

.serve-dot[b-h8u60ndnb8] {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.48);
    text-shadow: 0 1px 1px rgba(0,0,0,0.65);
    opacity: 1;
}

.team-panel.left .serve-dot.active[b-h8u60ndnb8] {
    color: #fff;
    background: rgba(255,95,95,0.95);
    border-color: rgba(255,120,120,0.95);
    opacity: 1;
}

.team-panel.right .serve-dot.active[b-h8u60ndnb8] {
    color: #fff;
    background: rgba(120,155,255,0.95);
    border-color: rgba(145,175,255,0.98);
    opacity: 1;
}

.serve-dot.can-choose[b-h8u60ndnb8] {
    animation: pulse-hint-b-h8u60ndnb8 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 currentColor;
}

@keyframes pulse-hint-b-h8u60ndnb8 {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
}

.center-panel[b-h8u60ndnb8] {
    grid-area: center;
    border-radius: 1.25rem;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.07);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.75rem;
    min-height: 0;
}

.center-panel .history[b-h8u60ndnb8] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.center-panel .rally-flow-wrap[b-h8u60ndnb8] {
    flex: 1;
    min-height: 0;
}

.center-panel .rally-flow-list[b-h8u60ndnb8] {
    height: 100%;
    max-height: none;
}

.game-break-counter[b-h8u60ndnb8] {
    border-radius: 0.95rem;
    border: 1px solid rgba(255, 190, 105, 0.35);
    background: linear-gradient(135deg, rgba(255, 170, 74, 0.18), rgba(255,255,255,0.04));
    padding: 0.85rem 1rem;
    text-align: center;
}

.game-break-expired[b-h8u60ndnb8] {
    border-color: rgba(124, 232, 159, 0.32);
    background: linear-gradient(135deg, rgba(68, 202, 122, 0.16), rgba(255,255,255,0.04));
}

.game-break-warning[b-h8u60ndnb8] {
    animation: game-break-pulse-b-h8u60ndnb8 1s ease-in-out infinite;
}

@keyframes game-break-pulse-b-h8u60ndnb8 {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.3);
        transform: scale(1.012);
    }
}

.game-break-label[b-h8u60ndnb8] {
    font-size: 0.76rem;
    font-weight: 700;
    opacity: 0.72;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.game-break-time[b-h8u60ndnb8] {
    margin-top: 0.2rem;
    font-variant-numeric: tabular-nums;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
}

.score-page[b-h8u60ndnb8]  .primary,
.score-page[b-h8u60ndnb8]  .secondary {
    border-radius: 0.75rem;
    padding: 0.55rem 0.85rem;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
}

.score-page[b-h8u60ndnb8]  .primary {
    background: rgba(255,255,255,0.10);
}

.score-page[b-h8u60ndnb8]  .primary:disabled {
    opacity: 0.35;
}

.score-page[b-h8u60ndnb8]  .secondary {
    background: transparent;
}

.help[b-h8u60ndnb8] {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.75;
}

.score-page[b-h8u60ndnb8]  .score-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: grid;
    place-items: center;
    padding: 1rem;
    z-index: 1000;
}

.score-page[b-h8u60ndnb8]  .score-modal {
    width: min(520px, 100%);
    background: #12151c;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 1rem;
    padding: 1rem;
    opacity: 1;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    position: relative;
    z-index: 1001;
    color: #fff;
    min-height: 120px;
}

.score-page[b-h8u60ndnb8]  .score-modal * {
    color: inherit;
}

.score-page[b-h8u60ndnb8]  .score-modal input,
.score-page[b-h8u60ndnb8]  .score-modal button {
    opacity: 1;
    visibility: visible;
    display: inline-block;
}

.score-page[b-h8u60ndnb8]  .score-modal input {
    display: block;
}

.score-page[b-h8u60ndnb8]  .score-modal h2 {
    margin: 0 0 0.75rem;
}

.score-page[b-h8u60ndnb8]  .modal-close-button {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.score-page[b-h8u60ndnb8]  .modal-close-button:hover {
    background: rgba(255,255,255,0.16);
}

.score-page[b-h8u60ndnb8]  .modal-close-button:focus-visible {
    outline: 2px solid rgba(255, 190, 105, 0.9);
    outline-offset: 2px;
}

.score-page[b-h8u60ndnb8]  .form-row {
    display: grid;
    gap: 0.35rem;
    margin: 0.65rem 0;
}

.score-page[b-h8u60ndnb8]  .form-row label {
    font-weight: 700;
    opacity: 0.9;
}

.score-page[b-h8u60ndnb8]  .form-row input {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    padding: 0.5rem 0.6rem;
    border-radius: 0.6rem;
}

.score-page[b-h8u60ndnb8]  .form-row .select {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    padding: 0.5rem 0.6rem;
    border-radius: 0.6rem;
    color-scheme: dark;
}

.score-page[b-h8u60ndnb8]  .form-row .select option {
    background-color: #12151c;
    color: #fff;
}

.score-page[b-h8u60ndnb8]  .player-preview {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.score-page[b-h8u60ndnb8]  .form-row small {
    opacity: 0.7;
}

.score-page[b-h8u60ndnb8]  .score-modal-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.75rem;
}

.score-page[b-h8u60ndnb8]  .score-modal-actions.spaced {
    justify-content: space-between;
}

.result-summary[b-h8u60ndnb8] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin: 1rem 0;
}

.summary-row[b-h8u60ndnb8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.summary-row .label[b-h8u60ndnb8] {
    opacity: 0.75;
    font-weight: 600;
    font-size: 0.95rem;
}

.summary-row .value[b-h8u60ndnb8] {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.score-page[b-h8u60ndnb8]  .result-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.6rem;
    padding: 0.75rem 0.9rem;
    color: #fca5a5;
    font-size: 0.9rem;
    margin: 0.75rem 0;
}

/* Match Summary modal */
.score-page[b-h8u60ndnb8]  .match-summary-modal {
    max-width: 420px;
    background: #181c22;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.5);
    padding: 0;
    overflow: hidden;
}

.score-page[b-h8u60ndnb8]  .match-summary-share-target {
    background: #181c22;
    color: #fff;
    padding-bottom: 12px;
}

.score-page[b-h8u60ndnb8]  .share-summary-header {
    padding: 18px 24px 0;
    display: grid;
    gap: 4px;
}

.score-page[b-h8u60ndnb8]  .share-powered-by {
    color: #bfc9d1;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.score-page[b-h8u60ndnb8]  .share-submitted-at {
    color: rgba(255,255,255,0.78);
    font-size: 0.9rem;
    font-weight: 650;
}

.score-page[b-h8u60ndnb8]  .summary-header {
    padding: 24px 24px 0;
}

.score-page[b-h8u60ndnb8]  .summary-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.score-page[b-h8u60ndnb8]  .summary-icon {
    color: #4ade80;
    font-size: 1.2em;
}

.score-page[b-h8u60ndnb8]  .summary-subtitle {
    font-size: 0.95rem;
    color: #bfc9d1;
    margin-top: 4px;
}

.score-page[b-h8u60ndnb8]  .summary-card {
    padding: 18px 24px 0;
}

.score-page[b-h8u60ndnb8]  .summary-players-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.score-page[b-h8u60ndnb8]  .withdrawal-status {
    display: grid;
    gap: 4px;
    margin-bottom: 14px;
    border: 1px solid rgba(250, 204, 21, 0.28);
    border-radius: 8px;
    background: rgba(250, 204, 21, 0.08);
    padding: 10px 12px;
}

.score-page[b-h8u60ndnb8]  .withdrawal-status span {
    color: #facc15;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.score-page[b-h8u60ndnb8]  .withdrawal-status strong {
    color: #fff;
    font-size: 0.95rem;
}

.score-page[b-h8u60ndnb8]  .player-badge {
    flex: 1;
    text-align: center;
}

.score-page[b-h8u60ndnb8]  .player-avatar {
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    padding: 6px 0;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.score-page[b-h8u60ndnb8]  .player-name {
    font-size: 0.95rem;
    color: #bfc9d1;
}

.score-page[b-h8u60ndnb8]  .winner-badge {
    flex: 1.2;
    text-align: center;
}

.score-page[b-h8u60ndnb8]  .winner-score {
    background: #23272f;
    color: #4ade80;
    border-radius: 16px;
    display: inline-block;
    min-width: 60px;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 2px 18px;
    margin-bottom: 4px;
}

.score-page[b-h8u60ndnb8]  .winner-label {
    font-size: 0.95rem;
    color: #4ade80;
    font-weight: 600;
}

.score-page[b-h8u60ndnb8]  .game-scores-table {
    margin-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 12px;
}

.score-page[b-h8u60ndnb8]  .game-scores-header {
    font-size: 0.85rem;
    color: #bfc9d1;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.score-page[b-h8u60ndnb8]  .game-score-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.score-page[b-h8u60ndnb8]  .game-score-label {
    color: #bfc9d1;
}

.score-page[b-h8u60ndnb8]  .game-score-value {
    font-weight: 600;
}

.score-page[b-h8u60ndnb8]  .summary-duration-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding-bottom: 4px;
    font-size: 1rem;
    color: #bfc9d1;
}

.score-page[b-h8u60ndnb8]  .duration-icon {
    font-size: 1em;
}

.score-page[b-h8u60ndnb8]  .duration-value {
    margin-left: auto;
    color: #fff;
    font-weight: 600;
}

.score-page[b-h8u60ndnb8]  .match-summary-modal .score-modal-actions {
    padding: 18px 24px 24px;
}

.score-page[b-h8u60ndnb8]  .match-summary-modal .score-modal-actions .confirm-submit {
    min-width: 160px;
    background: #22c55e;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
}

.score-page[b-h8u60ndnb8]  .match-summary-modal .score-modal-actions .secondary {
    min-width: 100px;
    border-radius: 10px;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .teams[b-h8u60ndnb8] {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "left right"
            "center center";
        grid-template-rows: minmax(13.5rem, 1.15fr) minmax(10rem, 0.85fr);
    }

    .team-panel[b-h8u60ndnb8],
    .center-panel[b-h8u60ndnb8] {
        min-height: 0;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    .label-full[b-h8u60ndnb8] {
        display: none;
    }

    .label-short[b-h8u60ndnb8] {
        display: inline;
    }

    .score-page[b-h8u60ndnb8] {
        overflow-y: auto;
    }

    .warmup-banner[b-h8u60ndnb8] {
        padding: 0.55rem 0.7rem;
        gap: 0.6rem;
        align-items: center;
    }

    .warmup-label[b-h8u60ndnb8] {
        font-size: 0.82rem;
    }

    .warmup-note[b-h8u60ndnb8] {
        margin-top: 0.05rem;
        font-size: 0.68rem;
        line-height: 1.2;
    }

    .warmup-banner .primary[b-h8u60ndnb8],
    .warmup-countdown[b-h8u60ndnb8] {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .warmup-banner .primary[b-h8u60ndnb8] {
        padding: 0.4rem 0.62rem;
        font-size: 0.84rem;
    }

    .warmup-countdown[b-h8u60ndnb8] {
        font-size: 1.28rem;
    }

    .teams[b-h8u60ndnb8] {
        grid-template-columns: minmax(0, 1fr) minmax(180px, 0.62fr) minmax(0, 1fr);
        grid-template-areas: "left center right";
        gap: 0.55rem;
    }

    .team-panel[b-h8u60ndnb8],
    .center-panel[b-h8u60ndnb8] {
        padding: 0.7rem;
    }

    .score[b-h8u60ndnb8] {
        font-size: clamp(3rem, 7.5vw, 5.25rem);
    }

    .center-panel .history[b-h8u60ndnb8] {
        min-height: 7.5rem;
    }

    .center-panel .rally-flow-list[b-h8u60ndnb8] {
        max-height: 8.5rem;
    }

    .rally-flow-item[b-h8u60ndnb8] {
        padding: 0.08rem 0;
    }

    .rally-lane[b-h8u60ndnb8],
    .rally-spine[b-h8u60ndnb8] {
        min-height: 2.4rem;
    }

    .rally-circle[b-h8u60ndnb8] {
        width: 1.95rem;
        height: 1.95rem;
        font-size: 0.95rem;
        border-width: 2px;
    }

    .rally-server-side[b-h8u60ndnb8] {
        font-size: 0.52rem;
        width: 0.62rem;
    }

    .rally-spine[b-h8u60ndnb8]::before {
        width: 3px;
    }

    .rally-tag[b-h8u60ndnb8] {
        padding: 0.1rem 0.32rem;
        font-size: 0.58rem;
    }

    .help[b-h8u60ndnb8] {
        font-size: 0.75rem;
    }
}

@media (max-width: 900px) and (orientation: landscape) and (max-height: 430px) {
    .score-page[b-h8u60ndnb8] {
        padding: 0.45rem;
        gap: 0.45rem;
    }

    .score-header[b-h8u60ndnb8] {
        gap: 0.45rem;
    }

    .warmup-banner[b-h8u60ndnb8] {
        padding: 0.4rem 0.55rem;
        gap: 0.45rem;
    }

    .warmup-label[b-h8u60ndnb8] {
        font-size: 0.76rem;
    }

    .warmup-note[b-h8u60ndnb8] {
        display: none;
    }

    .warmup-banner .primary[b-h8u60ndnb8] {
        padding: 0.3rem 0.48rem;
        font-size: 0.74rem;
    }

    .warmup-countdown[b-h8u60ndnb8] {
        font-size: 1.08rem;
    }

    .top-action[b-h8u60ndnb8] {
        padding: 0.35rem 0.55rem;
        font-size: 0.8rem;
    }

    .game-indicator[b-h8u60ndnb8] {
        font-size: 0.82rem;
    }

    .timer[b-h8u60ndnb8] {
        font-size: 0.8rem;
    }

    .completed-games[b-h8u60ndnb8] {
        max-width: min(20rem, 100%);
        font-size: 0.72rem;
    }

    .completed-game-times[b-h8u60ndnb8] {
        max-width: min(20rem, 100%);
        font-size: 0.66rem;
    }

    .teams[b-h8u60ndnb8] {
        gap: 0.45rem;
    }

    .team-panel[b-h8u60ndnb8],
    .center-panel[b-h8u60ndnb8] {
        padding: 0.55rem;
        border-radius: 0.95rem;
    }

    .score[b-h8u60ndnb8] {
        font-size: clamp(2.65rem, 7vw, 4.45rem);
    }

    .panel-undo[b-h8u60ndnb8] {
        min-width: 6.8rem;
        padding: 0.3rem 0.9rem;
        font-size: 0.78rem;
    }

    .actions[b-h8u60ndnb8] {
        gap: 0.3rem;
    }

    .chip[b-h8u60ndnb8] {
        padding: 0.2rem 0.45rem;
        font-size: 0.72rem;
    }

    .center-panel[b-h8u60ndnb8] {
        gap: 0.45rem;
    }

    .center-panel .history[b-h8u60ndnb8] {
        min-height: 6.1rem;
    }

    .center-panel .rally-flow-list[b-h8u60ndnb8] {
        max-height: 6.9rem;
    }

    .rally-circle[b-h8u60ndnb8] {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.84rem;
    }

    .rally-lane[b-h8u60ndnb8],
    .rally-spine[b-h8u60ndnb8] {
        min-height: 2rem;
    }

    .rally-lane.left[b-h8u60ndnb8] {
        padding-right: 0.32rem;
    }

    .rally-lane.right[b-h8u60ndnb8] {
        padding-left: 0.32rem;
    }

    .help[b-h8u60ndnb8] {
        font-size: 0.7rem;
    }
}

@media (max-width: 700px) and (orientation: portrait) {
    .label-full[b-h8u60ndnb8] {
        display: none;
    }

    .label-short[b-h8u60ndnb8] {
        display: inline;
    }

    .score-page[b-h8u60ndnb8] {
        height: calc(100vh - 3.5rem);
        min-height: 0;
        overflow: hidden;
    }

    .teams[b-h8u60ndnb8] {
        flex: 1 1 auto;
        min-height: 0;
        grid-template-rows: minmax(13rem, 1.2fr) minmax(9.5rem, 0.8fr);
    }

    .score-header[b-h8u60ndnb8] {
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "undo center toggle"
            "menu menu menu";
        gap: 0.55rem;
        align-items: stretch;
    }

    .header-center[b-h8u60ndnb8] {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        min-width: 0;
    }

    .completed-games[b-h8u60ndnb8] {
        max-width: 100%;
        font-size: 0.76rem;
    }

    .completed-game-times[b-h8u60ndnb8] {
        max-width: 100%;
        font-size: 0.68rem;
    }

    .warmup-banner[b-h8u60ndnb8] {
        padding: 0.6rem 0.75rem;
        gap: 0.7rem;
    }

    .warmup-countdown[b-h8u60ndnb8] {
        font-size: 1.3rem;
    }

    .warmup-note[b-h8u60ndnb8] {
        font-size: 0.72rem;
    }

    .game-break-counter[b-h8u60ndnb8] {
        padding: 0.7rem 0.75rem;
    }

    .game-break-time[b-h8u60ndnb8] {
        font-size: 1.55rem;
    }

    .mobile-menu-toggle[b-h8u60ndnb8] {
        grid-area: toggle;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 0.6rem;
        border: 1px solid rgba(255,255,255,0.25);
        background: transparent;
        color: #fff;
        padding: 0.4rem 0.7rem;
        font-size: 0.82rem;
        font-weight: 700;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .mobile-undo-action[b-h8u60ndnb8] {
        grid-area: undo;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .header-mobile-menu[b-h8u60ndnb8] {
        grid-area: menu;
        display: none;
        grid-template-columns: 1fr;
        border-radius: 0.8rem;
        border: 1px solid rgba(255,255,255,0.12);
        background: rgba(0,0,0,0.2);
        padding: 0.45rem;
        gap: 0.45rem;
    }

    .score-header.mobile-actions-open .header-mobile-menu[b-h8u60ndnb8] {
        display: grid;
    }

    .header-mobile-menu .header-primary-actions[b-h8u60ndnb8] {
        grid-area: auto;
        display: flex;
        justify-content: stretch;
    }

    .header-mobile-menu .header-actions[b-h8u60ndnb8] {
        grid-area: auto;
        display: grid;
        justify-content: stretch;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .score-header .top-action[b-h8u60ndnb8] {
        width: 100%;
        justify-self: stretch;
        text-align: center;
        padding: 0.5rem 0.55rem;
        font-size: 0.88rem;
    }

    .center-panel .history[b-h8u60ndnb8] {
        min-height: 0;
        overflow: hidden;
    }

    .center-panel .rally-flow-list[b-h8u60ndnb8] {
        height: 100%;
        max-height: none;
    }

    .actions[b-h8u60ndnb8] {
        gap: 0.35rem;
    }

    .panel-undo[b-h8u60ndnb8] {
        min-width: 6.4rem;
        padding: 0.3rem 0.8rem;
        font-size: 0.76rem;
    }

    .team-panel .actions .chip[b-h8u60ndnb8] {
        padding: 0.2rem 0.5rem;
        font-size: 0.78rem;
        font-weight: 650;
    }

    .team-panel.left .actions[b-h8u60ndnb8] {
        padding-left: 2.35rem;
    }

    .team-panel.right .actions[b-h8u60ndnb8] {
        padding-right: 2.35rem;
    }

    .serve-indicator[b-h8u60ndnb8] {
        bottom: 0.65rem;
        left: 0.65rem;
    }

    .team-panel.right .serve-indicator[b-h8u60ndnb8] {
        right: 0.65rem;
    }

    .serve-dot[b-h8u60ndnb8] {
        width: 2.05rem;
        height: 2.05rem;
        font-size: 0.9rem;
    }

    .rally-flow-wrap[b-h8u60ndnb8] {
        margin-top: 0.35rem;
    }

    .rally-lane.left[b-h8u60ndnb8] {
        padding-right: 0.45rem;
    }

    .rally-lane.right[b-h8u60ndnb8] {
        padding-left: 0.45rem;
    }

    .rally-flow-item[b-h8u60ndnb8] {
        padding: 0.08rem 0;
    }

    .rally-lane[b-h8u60ndnb8],
    .rally-spine[b-h8u60ndnb8] {
        min-height: 2.1rem;
    }

    .rally-circle[b-h8u60ndnb8] {
        width: 1.85rem;
        height: 1.85rem;
        font-size: 0.9rem;
        border-width: 2px;
    }

    .rally-server-side[b-h8u60ndnb8] {
        font-size: 0.5rem;
        width: 0.6rem;
    }

    .rally-spine[b-h8u60ndnb8] {
        width: 0;
        gap: 0.16rem;
    }

    .rally-spine[b-h8u60ndnb8]::before {
        width: 3px;
    }

    .rally-tag[b-h8u60ndnb8] {
        padding: 0.08rem 0.28rem;
        font-size: 0.54rem;
    }

}

@media (max-width: 700px) and (orientation: portrait) and (max-height: 760px) {
    .teams[b-h8u60ndnb8] {
        grid-template-rows: minmax(12rem, 1.08fr) minmax(9rem, 0.92fr);
    }

    .score[b-h8u60ndnb8] {
        font-size: clamp(3.7rem, 12vw, 5.6rem);
    }
}
