/* ========== 全局重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    height: 100%;
    background: #F2F2F2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='200'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23e8f2fb'/%3E%3Cstop offset='1' stop-color='%23F2F2F2'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='100%25' height='200' fill='url(%23g)'/%3E%3C/svg%3E");
    background-position: top;
    background-repeat: no-repeat;
}
body {
    line-height: 1.5;
    font-size: 14px;
    font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", sans-serif;
    color: #1F1F1F;
    min-height: 100vh;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; cursor: pointer; }
a:hover { opacity: 0.85; }
img { border: 0; max-width: 100%; vertical-align: middle; }
.clearfix::after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }

/* ========== 顶部主导航 ========== */
.header-top-container {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
.header-top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 64px;
}
.header-logo {
    height: 40px;
    margin-right: 30px;
    flex-shrink: 0;
}
.header-nav {
    display: flex;
    flex: 1;
    gap: 0;
}
.header-nav-item a {
    display: block;
    padding: 0 18px;
    line-height: 64px;
    color: #eee;
    font-size: 15px;
    transition: color 0.2s;
}
.header-nav-item a:hover { color: #459ADD; }
.header-nav-item.header-top-actived a {
    color: #fff;
    font-weight: 700;
    position: relative;
}
.header-nav-item.header-top-actived a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background: #459ADD;
    border-radius: 2px 2px 0 0;
}
/* 简繁切换 */
.ztqh { display: flex; align-items: center; }
.qhzt { display: flex; border: 1px solid rgba(255,255,255,0.3); border-radius: 4px; overflow: hidden; }
.qhzt a {
    padding: 3px 10px;
    font-size: 12px;
    color: #aaa;
    transition: all 0.2s;
}
.qhzt a.zh_click_s {
    background: #459ADD;
    color: #fff;
}

/* ========== 二级导航 ========== */
.header-bottom-container {
    background: #fff;
    border-bottom: 2px solid #e5e5e5;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.header-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.header-bottom .header-nav {
    display: flex;
    justify-content: center;
    gap: 0;
}
.header-bottom .header-nav-item a {
    display: block;
    padding: 0 16px;
    line-height: 44px;
    color: #1F1F1F;
    font-size: 14px;
    position: relative;
}
.header-bottom .header-nav-item a:hover { color: #459ADD; font-weight: 700; }
.header-bottom .header-nav-item a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 6px solid #459ADD;
}

/* ========== 主内容容器 ========== */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== 上半部分三栏卡片 ========== */
.content-top {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.content-video,
.content-top-third {
    flex: 1;
    min-width: 0;
    height: 420px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
/* 卡片标题 */
.content-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px 12px;
    font-size: 16px;
    font-weight: 700;
    color: #1F1F1F;
    border-bottom: 1px solid #f0f0f0;
}
.content-title img { width: 20px; height: 20px; }

/* 视频列表 */
.content-video-infoList {
    padding: 8px 0;
    height: 360px;
    overflow-y: auto;
}
.content-video-infoList li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 20px;
    font-size: 13px;
    color: #333;
    transition: background 0.15s;
}
.content-video-infoList li:hover { background: #f7faff; }
.content-video-infoList li > div:first-child {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 10px;
}
.content-video-infoList li > div:last-child a {
    color: #459ADD;
    font-size: 12px;
    white-space: nowrap;
    padding: 2px 8px;
    border: 1px solid #459ADD;
    border-radius: 3px;
    transition: all 0.2s;
}
.content-video-infoList li > div:last-child a:hover {
    background: #459ADD;
    color: #fff;
}

/* 头条 Tab */
.common-tab { height: 100%; display: flex; flex-direction: column; }
.common-tab_list { flex-shrink: 0; }
.content-top-third-title ul {
    display: flex;
    justify-content: space-around;
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    position: relative;
}
.content-top-third-title ul li {
    cursor: pointer;
    padding-left: 24px;
    font-size: 15px;
    font-weight: 700;
    color: #666;
    position: relative;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}
.content-top-third-title ul li::before {
    content: '⚽';
    position: absolute;
    left: 0;
    font-size: 16px;
}
.content-top-third-title ul li:nth-child(2)::before { content: '🏀'; }
.content-top-third-title ul li.active { color: #459ADD; }
.content-top-third-title ul li.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #459ADD;
    border-radius: 2px;
}
.common-tab-con { flex: 1; overflow-y: auto; }
.common-tab-item { padding: 4px 0; }

/* 头条列表 */
.content-top-third-infoList { padding: 4px 0; }
.content-top-third-infoList li {
    padding: 6px 20px;
    font-size: 13px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
}
.content-top-third-infoList li:hover { background: #f7faff; }
.content-top-third-infoList li img { width: 16px; flex-shrink: 0; }
.content-top-third-infoList li a {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #333;
}
.content-top-third-infoList li a:hover { color: #459ADD; }
.content-top-third-infoList li span {
    color: #459ADD;
    font-size: 12px;
    flex-shrink: 0;
}

/* ========== 下半部分：赛事直播 ========== */
.content-bottom {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
}
.content-bottom-left {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* 筛选栏 */
.content-bottom-left-zb-flList {
    display: flex;
    gap: 0;
    padding: 0 20px;
    border-bottom: 1px solid #eee;
}
.content-bottom-left-zb-flList li {
    padding: 12px 18px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    position: relative;
    transition: color 0.2s;
}
.content-bottom-left-zb-flList li:hover { color: #459ADD; }
.content-bottom-left-zb-flList li.sszhibo-active {
    color: #459ADD;
    font-weight: 700;
}
.content-bottom-left-zb-flList li.sszhibo-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #459ADD;
    border-radius: 1px;
}

/* 日期分组 */
.contest_ist_con_wrap {
    padding: 14px 20px 8px;
    font-size: 15px;
    font-weight: 700;
    color: #1F1F1F;
    background: #fafbfc;
    border-bottom: 1px solid #f0f0f0;
}
.contest_ist_con_wrap em {
    font-style: normal;
    font-size: 13px;
    color: #999;
    font-weight: 400;
    margin-left: 8px;
}

/* 比赛条目 */
.zbList-info-evy {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s;
    gap: 12px;
}
.zbList-info-evy:hover { background: #f7faff; }

.qiu-pic {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.6;
}
.zhibo-time {
    font-size: 14px;
    font-weight: 700;
    color: #1F1F1F;
    width: 48px;
    flex-shrink: 0;
}
.zhibo_saishi {
    font-size: 12px;
    flex-shrink: 0;
    width: 90px;
}
.zhibo_saishi a {
    color: #999;
    padding: 1px 6px;
    background: #f5f5f5;
    border-radius: 3px;
    font-size: 12px;
}
.zhibo_saishi a:hover { background: #e8f2fb; color: #459ADD; }

/* 球队信息 */
.zhibo-team {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.zhibo-team > img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 50%;
    background: #f5f5f5;
}
.zhibo-team .zhudui,
.zhibo-team .kedui {
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
    flex-shrink: 1;
}
.zhibo-team .zhudui { text-align: right; }
.zhibo-team .kedui { text-align: left; }

/* 比分/VS */
.pic-or-text {
    flex-shrink: 0;
    min-width: 52px;
    text-align: center;
}
.lq-score {
    font-size: 14px;
    font-weight: 700;
    color: #999;
}
.lq-score-have em {
    font-style: normal;
    color: #1F1F1F;
    font-weight: 700;
}

/* 直播按钮 */
.zhibo-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    flex-shrink: 0;
    transition: all 0.2s;
    border: 1px solid #459ADD;
    color: #459ADD;
    background: transparent;
}
.zhibo-btn:hover {
    background: #459ADD;
    color: #fff;
}
.zhibo-btn img {
    width: 14px;
    height: 14px;
    filter: brightness(0) saturate(100%) invert(50%) sepia(60%) saturate(1500%) hue-rotate(190deg);
}
.zhibo-btn:hover img {
    filter: brightness(0) invert(1);
}
.zhibo-btn-doing {
    background: #459ADD;
    color: #fff;
    border-color: #459ADD;
}
.zhibo-btn-doing:hover {
    background: #3585c4;
}

/* ========== 底部 ========== */
.footer {
    background: #1a1a2e;
    color: #888;
    padding: 30px 15px;
    text-align: center;
    font-size: 13px;
    line-height: 2;
}
.footer a { color: #aaa; }
.footer a:hover { color: #459ADD; }

/* ========== 滚动条美化 ========== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #ccc; }

/* ========== 响应式 ========== */
@media (max-width: 900px) {
    .content-top { flex-wrap: wrap; }
    .content-video, .content-top-third { min-width: calc(50% - 10px); }
    .content-bottom { flex-direction: column; }
}
@media (max-width: 600px) {
    .header-top { height: auto; flex-wrap: wrap; padding: 8px 15px; }
    .header-nav { flex-wrap: wrap; }
    .header-nav-item a { line-height: 40px; padding: 0 10px; font-size: 13px; }
    .content-video, .content-top-third { min-width: 100%; }
    .zbList-info-evy { flex-wrap: wrap; gap: 6px; }
    .zhibo_saishi { width: auto; }
}
</style>