/* 中華隊成員 */
#teamPage {
    background-color: #fff;
}
#teamList {
    min-height: 400px;
}
#teamList .title {
    padding-top: 0;
    padding-bottom: 0;
}
#teamList .categoryBox {
    max-width: 1200px;
    margin: 0 auto 34px;
}
#teamList .catGridBox {
    padding: 0 32px;
    box-sizing: border-box;
}
#teamList .catGrid {
    width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    column-gap: 20px;
    row-gap: 14px;
    padding: 20px;
    background: #F9F8FD;
    border-radius: 12px;
    box-sizing: border-box;
}
#teamList .catItem {
    padding: 0;
    border: none;
    background: none;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #929398;
    cursor: pointer;
}
#teamList .catItem.act {
    color: #6A3EBB;
}
#teamList .catTrigger {
    display: none;
}
#teamList .eventList {
    max-width: 1180px;
    margin: 80px auto 0;
    display: flex;
    flex-direction: column;
    row-gap: 50px;
    box-sizing: border-box;
}
#teamList .eventGroup {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}
#teamList .eventName {
    color: #929398;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.6;
}
#teamList .playerNames {
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.72px;
}
#teamList .catModalMask {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}
#teamList .catModalMask.show {
    opacity: 1;
    visibility: visible;
}
#teamList .catModal {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    max-height: 70vh;
    overflow-y: auto;
    padding: 16px 20px 20px;
    background: #fff;
    border-radius: 12px 12px 0 0;
    transform: translateY(100%);
    transition: transform 0.25s ease;
}
#teamList .catModal.show {
    transform: translateY(0);
}
#teamList .catModalHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 16px;
    font-weight: 500;
    color: #929398;
}
#teamList .catModalHead img {
    width: 14px;
    height: 14px;
    cursor: pointer;
}
#teamList .catModalGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 8px;
}
#teamList .catModalGrid .catItem {
    color: #343434;
}
#teamList .catModalGrid .catItem.act {
    color: #6A3EBB;
}
@media (max-width:1279px) {
    #teamList .catGrid,
    #teamList .eventList {
        width: 100%;
    }
}
@media (max-width:1023px) {
    #teamList .categoryBox {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        padding: 0 20px;
    }
    #teamList .categoryBox .title {
        width: auto;
        margin: 0;
        padding: 0;
    }
    #teamList .catGridBox {
        display: none;
    }
    #teamList .eventList {
        margin-top: 0;
        padding: 0 20px;
    }
    #teamList .catTrigger {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 6px 10px;
        border: none;
        background: #F4F4F4;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        line-height: 24px;
        color: #000;
        white-space: nowrap;
        cursor: pointer;
    }
    #teamList .catTrigger img {
        width: 10px;
        height: 10px;
        transition: transform 0.2s ease;
    }
    #teamList .catTrigger.open img {
        transform: rotate(180deg);
    }
}
@media (min-width:1024px) {
    #teamList .catModalMask,
    #teamList .catModal {
        display: none;
    }
}
@media (max-width:767px) {
    #teamList .title h2 {
        font-size: 26px;
    }
    #teamList .eventName {
        font-size: 18px;
    }
    #teamList .playerNames {
        font-size: 16px;
        letter-spacing: 0.64px;
    }
}
