/* style.css */
.teamListTitle{
    background-image: url(../images/banner_HKG.png);
    background-size: 100%;
    height: 60px;
}

#hkTeam.container {
    width: 100%;
    background: #ffffff;
    padding: 0;
}

/* 標題行: 運動員 | 賽事 | 階段 */
.table-header {
    display: grid;
    /*grid-template-columns: 70px 1fr 70px;*/
    grid-template-columns: 90px 1fr;
    color: #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
    padding: 10px 0 5px 0;
    letter-spacing: 0.3px;
    background: #2B2284;
}

.table-header span {
    padding-left: 10px;
    height: 20px;
}


/* 賽項分組 */
.category-group {
    border-bottom: 1px solid #e6ecf5;
    background: #ffffff;
}
.category-group:last-child {
    border-bottom: none;
}

/* 賽項標題行 */
.category-header {
    display: grid;
    grid-template-columns: 1fr 30px;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    background: #C19512;
    color: #FFFFFF;
    font-weight: 500;
}


.category-label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.toggle-btn {
    text-align: center;
    font-size: 18px;
    color: #FFFFFF;
    user-select: none;
}

/* 賽事列表 (展開/收起動畫) */
.match-list-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.25s ease;
    background: #ffffff;
}

/* 每一條賽事 */
.match-row {
    display: grid;
    /*grid-template-columns: 70px 1fr 70px;*/
    grid-template-columns: 90px 1fr;
    border-bottom: 1px solid #EEEEEE;
    min-height: 30px;
}
.match-row span{
    line-height: 30px;
    padding-left: 10px;
}

.match-row:last-child {
    border-bottom: none;
}

/* 有賽事的運動員姓名：加粗 + 高亮 */
.match-row .player.has-match {
    font-weight: 700;
    background-color: #EEEEEE;
    display: inline-block;
}

.match-row .stage {
    background-color: #EEEEEE;
}