/**
 * 赛事战报样式 (战报模块专用样式)
 * 配合 video_player.html 的 div.content.tzhanbao 结构使用
 */

/* 战报内容区容器 */
.content.tzhanbao {
    background: #fff;
    padding: 24px 20px;
    margin: 16px auto;
    max-width: 800px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 文章标题 */
.content.tzhanbao .title h1 {
    font-size: 20px;
    font-weight: bold;
    color: #222;
    line-height: 1.4;
    margin-bottom: 12px;
    text-align: center;
}

/* 来源信息区 */
.content.tzhanbao .from-site {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 0;
}

.content.tzhanbao .from-site a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #555;
}

.content.tzhanbao .from-site a:hover {
    color: #c00;
}

.content.tzhanbao .from-site time {
    font-size: 13px;
    color: #999;
}

/* 作者头像 */
.author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #eee;
}

.author-name {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

/* 辅助 flex 工具类 */
.flex-v-h-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-v-center {
    display: flex;
    align-items: center;
}

/* 比赛内容正文区 */
.content.tzhanbao .content-body {
    padding: 16px 0;
}

.content.tzhanbao .content-body p {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 14px;
    text-align: justify;
}

/* 副标题（如【双方阵容】） */
.content.tzhanbao .sub-tlt {
    font-size: 15px;
    font-weight: bold;
    color: #222;
    margin: 20px 0 10px;
    padding-left: 8px;
    border-left: 3px solid #c00;
}

.content.tzhanbao .sub-tlt i {
    margin-right: 4px;
    color: #c00;
}

/* 双方阵容区块 */
.content.tzhanbao .lineups-block {
    padding: 0 4px;
}

.content.tzhanbao .lineups-block p {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 10px;
    word-break: break-all;
}

.content.tzhanbao .lineups-block strong {
    color: #c00;
    font-weight: bold;
    margin-right: 4px;
}

/* 面包屑导航（赛事页） */
.breadcrumb-match {
    padding: 12px 0;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
}

.breadcrumb-match ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-match ol li {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.breadcrumb-match ol li a {
    color: #1a6cb5;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-match ol li a:hover {
    color: #c00;
    text-decoration: underline;
}

.breadcrumb-match ol li[aria-hidden="true"] {
    color: #ccc;
}

/* 视频播放器容器 */
.video-player-container {
    max-width: 800px;
    margin: 16px auto;
    padding: 0 20px;
}

.video-player-container .video-title h1 {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.4;
}

.video-player-container .video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-player-container .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 响应式适配 */
@media (max-width: 576px) {
    .content.tzhanbao {
        padding: 16px 12px;
        margin: 12px 8px;
        max-width: 100%;
    }

    .content.tzhanbao .title h1 {
        font-size: 17px;
    }

    .content.tzhanbao .content-body p {
        font-size: 14px;
        line-height: 1.75;
    }

    .video-player-container {
        padding: 0 8px;
        margin: 12px auto;
        max-width: 100%;
    }

    .video-player-container .video-title h1 {
        font-size: 15px;
    }

    .breadcrumb-match ol {
        padding: 0 12px;
        max-width: 100%;
    }

    .breadcrumb-match ol li {
        font-size: 12px;
    }
}

/* 防止移动端水平溢出 */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* 战报分隔线（替代内联 style） */
.tzhanbao-divider {
    border-bottom: 1px solid #ddd;
    height: 0;
    width: 100%;
    margin: 0 auto;
}

