/* =========================================
   対戦表（テニスベア風）
   ========================================= */

.tb-schedule {
    margin-top: 8px;
}

/* ラウンド単位 */
.tb-round {
    margin-bottom: 24px;
}

.tb-round-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.tb-round-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 24px;
    border-radius: 6px;
    background: #181f4b;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 8px;
}

.tb-round-title {
    font-weight: 600;
    color: #333;
}

/* ラウンド内のコート群 */
.tb-round-body {
    padding: 4px 16px;
    border-top: 1px solid #eee;     /* 上の線 */
    border-bottom: 1px solid #eee;
}

.tb-court-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid #eee;     /* コート間の線 */
}

.tb-court-row:first-child {
    border-top: none;
}

.tb-court-row:last-child {
    border-bottom: none;
}

/* 「Aコート」「Bコート」 */
.tb-court-name {
    width: 56px;
    font-size: 0.9rem;
    color: #555;
}

/* 4枚の名前カード＋中央vs */
.tb-match-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    width: 100%;
}

.tb-team {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 名前カード（固定幅） */
.tb-player-card {
    width: 120px;
    padding: 8px 4px;
    border-radius: 6px;
    border: 1px solid #555;
    background: #fff;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    box-sizing: border-box;
    white-space: nowrap;
}

/* vs ＆ 将来のスコア欄 */
.tb-score-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 80px;
}

.tb-score {
    width: 32px;
    text-align: center;
    font-weight: 700;
    color: #444;
    font-size: 1rem;
    cursor: pointer;     /* クリックできる感じに */
}

/* クリック時に出す入力欄 */
.tb-score-input {
    width: 32px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* スピンボタン消す */
.tb-score-input::-webkit-inner-spin-button,
.tb-score-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tb-score-input {
    -moz-appearance: textfield;
}

.tb-vs {
    font-weight: 700;
    font-size: 0.9rem;
    color: #777;
}

/* 試合が組めないラウンド */
.tb-no-match {
    margin: 0 0 4px 0;
    font-size: 0.9rem;
    color: #666;
}

/* 休憩表示 */
.tb-rest-row {
    margin-top: 6px;
    font-size: 0.95rem;   /* 名前カードと同じ */
    color: #333;          /* 薄くしない */
    display: flex;
    align-items: center;
}

.tb-rest-label {
    font-weight: 600;     /* 強調 */
}

.tb-rest-names {
    margin-left: 6px;
    font-weight: 600;     /* 名前もカードと同じく太め */
}


