/* 列表内容框 */
.list-box {
    border-radius: 5px;
    /*overflow: hidden;*/
    background-color: #FFFFFF;
    width: 100%;
    height: 100%;

    transition: all .4s ease-in-out;

    /*position: relative;*/
}

.list-box:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .44);
}

.list-box .box-top {
    width: 100%;
    /*overflow: hidden;*/
    position: relative;
}

.list-box .box-top .box-tag {
    z-index: 9;
    position: absolute;
    top: -15px;
    /*left: 18px;*/
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    gap: 4px;

}

.list-box .box-top .box-tag .box-tag-left,
.list-box .box-top .box-tag .box-tag-right {
    height: 18px;
    line-height: 21px;
    font-family: var(--theme-global-content-font), sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-align: center;
    border-radius: 5px;
    padding: 2px 4px;
    display: inline-flex;
    align-items: center;
    justify-content: space-around;
}

.list-box .box-top .box-tag .box-tag-left {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
    white-space: normal;
    display: grid;
}

.list-box .box-top .box-tag .box-tag-right {
    background-color: #F9B702;
}

.list-box .box-top .box-tag .theme-red-bg-white-font {
    padding-right: 2px;
    background-color: var(--tag-color-bg8);
    color: var(--tag-color-text8);
    min-width: 55px;
    flex: none;
}

.list-box .box-top .box-tag .theme-blue-bg-white-font {
    padding-right: 2px;
    color: var(--tag-color-text);
    background: var(--theme-global-color-primary-gradient-tb3);
}


.list-box .box-top .box-tag .theme-orange-bg-white-font {
    background-color: #F9B702;
    color: var(--theme-color-whith);
}

.list-box .box-top .box-tag .theme-orange-bg-white-font img {
    width: 100%;
    height: 100%;
}

.list-box .box-top .box-tag .playing {
    width: 100%;
    height: 100%;
    vertical-align: baseline;
}

.list-box .box-top img {
    /*width: 100%;*/
    height: var(--layout-live-list-item-img-height-sm);
}

.list-box .box-top .plate {
    border-radius: 5px;
    width: 100%;
}

.list-box .box-top .box-icon-mask {
    width: 100%;
    /*height: 168px;*/
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none; /* 使得鼠标可以穿透遮罩层，直接作用于图片 */
    opacity: 0; /* 显示隐藏 */
    border-radius: 5px;

    background-color: rgba(0, 0, 0, 0.5); /* 示例：半透明黑色遮罩 */
    transition: opacity 0.3s ease-in-out; /* 可选：添加过渡动画 */

    display: flex;
    justify-content: center;
    align-items: center;
}


.list-box .box-top:hover .box-icon-mask {
    opacity: 1;
}

.list-box .box-top .box-icon-mask .box-play-img {
    width: 46px;
    height: 46px;
}

.list-box .box-top .tags_name {
    position: absolute;
    bottom: 0px;
    width: 100%;
    left: 0px;
    height: 28px;
}

.list-box .box-top .tags_name .tags_bg {
    height: 28px;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #000;
    opacity: 0.3;
    border-radius: 0px 0px 5px 5px;
}

.list-box .box-top .tags_name .tag_body {
    font-family: var(--theme-global-content-font), sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    color: #fff;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-all;
    white-space: normal;
}

.list-box .box-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--layout-live-list-item-padding-vertical-sm) 12px;
    gap: var(--layout-live-list-item-gap-vertical-sm);
}

.list-box .box-bottom .box-tile {
    font-family: var(--theme-global-title-font), system-ui, sans-serif;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #1D2129;
}

.list-box .box-bottom .box-tile .box-title-text {
    width: calc(100% - 52px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.list-box .box-bottom .box-tile .box-time {
    width: 42px;
}

.list-box .box-bottom .box-bottom-anchor {
    width: 100%;
    display: flex;
    gap: 4px;
}

.list-box .box-bottom .box-bottom-left {
    /*margin: 10px;*/
}

.list-box .box-bottom .box-bottom-left img {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.list-box .box-bottom .box-bottom-right {
    flex: auto;
    width: 100%;
}

.list-box .box-bottom .box-bottom-right .box-tile,
.list-box .box-bottom .box-bottom-right .box-username,
.list-box .box-bottom .box-bottom-right .box-pv {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.list-box .box-bottom .box-bottom-right .box-tile {
    height: 24px;
    margin-top: 12px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    font-family: var(--theme-global-content-font), sans-serif;
    letter-spacing: 0em;
}

.list-box .box-bottom .box-bottom-right .box-info {
    display: flex;
    justify-content: space-between;
    height: 22px;
    font-size: 14px;
    line-height: 22px;
    font-family: var(--theme-global-content-font), sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    color: #666;
}

.list-box .box-bottom .box-bottom-right .box-info .box-username {
    width: 50%;
}

.list-box .box-bottom .box-bottom-right .box-info .box-pv {
    text-align: right;
    width: 40%;
}

.list-box .box-bottom .box-bottom-right .box-info .box-pv img {
    margin: 3px 0;
}


/*直播间封面球队信息*/
.list-box .box-top .match-info {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;

    flex-direction: column;
    justify-content: space-evenly;
}

.game-cover-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* 父容器设为相对定位 */
.list-box .box-top .league-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /*margin-top: 21px;*/
    margin: 10px auto 0.3vh;
    /*width: 315px;*/
    width: 80%;
    /*height: 26px;*/
}

/* 图片作为背景，绝对定位 */
.list-box .box-top .league-container .league-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    /*width: 313px;*/
    /*height: 45px;*/
    width: 100%;
    height: 100%
}

/* 文字内容在最上层 */
.list-box .box-top .league-container .league-content {
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: bold;
    text-align: center;
    pointer-events: none; /* 防止文字阻挡点击事件（可选） */
    font-size: 13px;
    width: 100%;
}

.list-box .box-top .league-container .league-content .league-name {
    /*width: 280px;*/
    /*width: 80%;*/
    height: 26px;
    line-height: 29px;
    /*font-size: 15px;*/
    color: #d7d9da;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 auto;
    width: 90%;
}

.list-box .box-top .league-container .league-content .match-date {
    /*font-size: 15px;*/
    height: 20px;
    line-height: 23px;
    color: var(--tag-color-text);
}

.list-box .box-top .team-container {
    /*width: 100px;*/
    /*height: 10px;*/
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.list-box .box-top .team-container .team-container {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    height: 111px;
}

.list-box .box-top .team-container .logo-img {
    width: 90px;
    height: 90px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.list-box .box-top .team-container .logo-img img{
    max-height: 100%;
    max-width: 100%;
}

.list-box .box-top .team-container .team-name-container {
    position: relative;
}

.list-box .box-top .team-container .team-name-container .team-name-container-bg {
    position: absolute;
    top: 0;
    left: -10px;
    z-index: 1;

    width: 130px;
    height: 15px;

}

.list-box .box-top .team-container .team-name-container .team-name {
    /* 超出隐藏 显示三个点 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    position: relative;
    z-index: 2;
    width: 115px;
    height: 15px;
    line-height: 16px;
    font-size: 12px;
    text-align: center;
}

@media screen and (max-width: 1920px) {
    /*.list-box .box-top .league-container {*/
    /*    margin: 15px auto 0.3vh;*/
    /*    width: 270px;*/
    /*}*/
    /*.list-box .box-top .league-container .league-bg {*/
    /*    width: 270px;*/
    /*    height: 30px;*/
    /*}*/
    /* 赛程页面 */
    .live_grid_list a .list-box .box-top .league-container .league-content .league-name {
        height: 26px;
        line-height: 29px;
    }

    .list-box .box-top .league-container .league-content .league-name {
        height: 20px;
        line-height: 23px;
    }

    .live_grid_list a .list-box .box-top .league-container .league-content .match-date {
        height: 20px;
        line-height: 23px;
    }

    .list-box .box-top .league-container .league-content .match-date {
        height: 15px;
        line-height: 17px;
    }

    .list-box .box-top .team-container .team-container {
        height: 96px;
    }

    .list-box .box-top .team-container .logo-img {
        width: 77px;
        height: 77px;
    }

}