/* 比赛列表样式 - 类似直播吧样式 */
/* 可在比赛列表页和比赛详情页复用 */

.match-item a {
    color: #000;
    display: block;
}

.match-item small {
    color: #c7c7c7;
}

.weui-media-box__desc {
    font-size: 14px;
}

.start-min{
    /*width: 160px;*/
    text-indent: 22px;
    margin-right: 10px;
}

/* 比赛列表布局 - 以比分为中心对齐 */
.match-item .weui-media-box__title {
    text-align: center;
    margin-bottom: 8px;
}

.match-item .weui-media-box__desc {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    transform: scale(1.3);
    transform-origin: center;
    /* 覆盖 WeUI 的 -webkit-box 布局 */
    -webkit-box-orient: initial !important;
    -webkit-line-clamp: initial !important;
    overflow: visible !important;
    text-overflow: initial !important;
}

.team-a, .team-b {
    display: flex;
    align-items: center;
    min-width: 0; /* 允许flex子元素收缩 */
}

.team-a {
    grid-column: 1; /* 确保在第一列 */
    justify-content: flex-end; /* 主队右对齐 */
}

.team-b {
    grid-column: 3; /* 确保在第三列 */
    justify-content: flex-start; /* 客队左对齐 */
}

.teama-name, .teamb-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.team-a img {
    width: 20px;
    height: 20px;
    margin-left: 8px; /* 主队：队名和队徽之间的间距 */
    flex-shrink: 0;
}

.team-b img {
    width: 20px;
    height: 20px;
    margin-right: 8px; /* 客队：队名和队徽之间的间距 */
    flex-shrink: 0;
}

.score {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    font-weight: bold;
    font-size: 16px;
    padding: 0 15px;
    text-align: center;
    grid-column: 2 !important; /* 确保在中间列 */
}

.match-item .weui-media-box__ft {
    text-align: center;
    color: #999;
    font-size: 12px;
    padding-top: 4px;
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
}

.match-item .weui-media-box__info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.match-item .weui-media-box__info__meta {
    float: none;
    padding-right: 0.5em;
}

.match-item .weui-media-box__info__meta_extra {
    padding-left: 0.5em;
    border-left: 1px solid #CECECE;
}

/* 比赛详情页样式 */
.weui-c-article p {
    text-indent: 0em;
    padding-bottom: 0em;
}

.weui-c-article div {
    text-indent: 2em;
}

/* 参与人员统计图标对齐 - 使用表格布局确保对齐 */
.weui-cell__ft {
    display: table;
    width: 60%;
    table-layout: fixed;
}

.stat-goal,
.stat-assist,
.stat-mvp {
    display: table-cell;
    text-align: left;
    vertical-align: middle;
}

.stat-goal {
    width: 20%;
}

.stat-assist {
    width: 20%;
}

.stat-mvp {
    width: 20%;
}

