/* =============================================
   Racket boards (tennis, badminton, table tennis): change-of-ends and changeover prompts,
   doubles partner names and the doubles server line (CRs req_XJej8ZTwRlqA, req_nZAcxtuAhEhh,
   req_BTlcH1E0CA5G). Colours come from the sv2 tokens; nothing here is sport specific.
   ============================================= */

.sv2-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.35rem 0.75rem;
    background: rgba(99, 102, 241, 0.15);
    color: var(--sv2-accent, #6366f1);
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    flex-shrink: 0;
}

.sv2-prompt[hidden] {
    display: none;
}

.sv2-prompt__btn {
    border: 1px solid currentColor;
    border-radius: 0.375rem;
    background: transparent;
    color: inherit;
    font: inherit;
    padding: 0.1rem 0.6rem;
    cursor: pointer;
}

.sv2-doubles-line {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sv2-text-dim, #9ca3af);
    flex-shrink: 0;
}

.sv2-doubles-line[hidden] {
    display: none;
}

/* Second player of a side (doubles) under the first name */
.sv2-player__partner {
    font-size: clamp(0.9rem, 2.2vmin, 1.25rem);
    font-weight: 600;
    color: #fff;
    opacity: 0.9;
    outline: none;
    text-align: center;
    min-width: 40px;
    white-space: nowrap;
}

.sv2-player__partner[hidden] {
    display: none;
}

.sv2-player__partner:focus {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.25rem;
    padding: 0 0.5rem;
}

.sv2-player__btn[hidden] {
    display: none;
}

/* Setup page: partner name rows and the format toggles */
.sv2-setup-partner[hidden] {
    display: none;
}
