@charset "utf-8";
/* ==========================================================================
   chauto 主题补充样式（在 style.css 之后加载）
   仅补充目标站没有的模块：文字 logo、站内搜索、面包屑、日期分组、正文排版、分页容器
   ========================================================================== */

/* ---------- 文字版 Logo（不依赖图片，利于首屏速度与无障碍） ---------- */
.sven_header-logo a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--contrast-color);
    box-shadow: 0 6px 18px rgba(226, 12, 91, .35);
}

.logo-mark::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 16px;
    border-left: 16px solid #ffffff;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

.logo-text {
    font-size: 34px;
    line-height: 54px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 2px;
    color: var(--contrast-color);
    text-shadow: 0 2px 10px rgba(226, 12, 91, .25);
}

.logo-sub {
    display: block;
    margin-left: 66px;
    margin-top: -10px;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 4px;
    color: #8b8b95;
}

/* ---------- 站内搜索 ---------- */
.header-search {
    float: right;
    margin-top: 38px;
}

.header-search form {
    display: flex;
    align-items: center;
    height: 38px;
    padding: 0 2px 0 14px;
    background: rgba(0, 0, 0, .45);
    border: 1px solid #33323a;
    border-radius: 20px;
}

.header-search input {
    width: 210px;
    border: 0;
    outline: none;
    background: transparent;
    color: #dddddd;
    font-size: 14px;
}

.header-search input::placeholder {
    color: #6f6f7a;
}

.header-search button {
    height: 32px;
    padding: 0 18px;
    border: 0;
    border-radius: 16px;
    background: var(--contrast-color);
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
    padding: 12px 0 6px;
    font-size: 13px;
    color: #7c7c86;
}

.breadcrumb a {
    color: #a3a3ad;
}

.breadcrumb a:hover {
    color: var(--contrast-color);
}

.breadcrumb span {
    margin: 0 6px;
    color: #4a4a53;
}

/* ---------- 列表页日期分组条 ---------- */
.sven_match__date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 -1px;
    padding: 12px 20px;
    background: var(--strong-bg-color);
    border-left: 3px solid var(--contrast-color);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.sven_match__date em {
    font-style: normal;
    font-size: 13px;
    font-weight: 400;
    color: #8b8b95;
}

/* ---------- 状态标签页（列表页顶部） ---------- */
.match_status_tabs {
    padding: 12px 15px;
}

.match_status_tabs > a {
    display: inline-block;
    margin-right: 10px;
    padding: 6px 16px;
    border-radius: 16px;
    background: var(--strong-bg-color);
    color: #bbbbbb;
    font-size: 14px;
}

.match_status_tabs > a.active {
    background: var(--contrast-color);
    color: #ffffff;
}

/* ---------- 赛事信息表 ---------- */
.match_info_list {
    padding: 6px 20px 16px;
}

.match_info_list li {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px dashed #26262c;
    font-size: 14px;
    line-height: 1.8;
}

.match_info_list li span:first-child {
    flex: 0 0 96px;
    color: #7c7c86;
}

.match_info_list li span:last-child {
    flex: 1;
    color: #d5d5da;
}

/* ---------- 正文排版 ---------- */
.content_box_bd {
    padding: 20px 24px 24px;
    font-size: 16px;
    line-height: 2;
    color: #c3c3ca;
    word-break: break-word;
}

.content_box_bd p {
    margin: 0 0 14px;
}

.content_box_bd img {
    max-width: 100%;
    height: auto;
}

.content_box_bd a {
    color: var(--contrast-color);
}

.content_box_bd h2,
.content_box_bd h3 {
    margin: 18px 0 10px;
    font-size: 17px;
    color: #ffffff;
}

/* ---------- 标签 ---------- */
.tags {
    padding: 16px 24px 22px;
}

.tags h2 {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 12px;
}

.tags ul li {
    display: inline-block;
    margin: 0 10px 10px 0;
}

.tags ul li a {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #33323a;
    border-radius: 14px;
    font-size: 13px;
    color: #a3a3ad;
}

.tags ul li a:hover {
    border-color: var(--contrast-color);
    color: var(--contrast-color);
}

/* ---------- 分页容器 ---------- */
.pagination-box {
    padding: 10px 0 25px;
    text-align: center;
}

.pagination-base {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    margin-top: 15px;
}

.pagination-base .pagination {
    display: inline-block;
}

.pagination-base .pagination li {
    float: left;
    margin-right: 12px;
    margin-bottom: 12px;
    list-style: none;
}

.pagination-base .pagination li > a,
.pagination-base .pagination li > span {
    display: inline-block;
    padding: 8px 15px;
    background: var(--prominent-color);
    color: #bbbbbb;
    border-radius: 3px;
    font-size: 14px;
}

.pagination-base .pagination li.active > a,
.pagination-base .pagination li.active > span {
    background: var(--contrast-color);
    color: #ffffff;
    font-weight: 700;
}

/* ---------- 空数据 ---------- */
.no-data {
    padding: 60px 20px;
    text-align: center;
    color: #6f6f7a;
    font-size: 15px;
}

/* ---------- SEO 文本区 ---------- */
.seo_intro {
    padding: 18px 22px 22px;
    background: var(--display-bg-color);
    color: #8f8f99;
    font-size: 14px;
    line-height: 1.95;
}

.seo_intro h2 {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #ffffff;
}

.seo_intro a {
    color: #b3b3bd;
}

.seo_intro a:hover {
    color: var(--contrast-color);
}

.seo_intro p {
    margin-bottom: 10px;
}

/* ---------- 联赛/球队宫格 ---------- */
.grid_links {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 15px 18px;
}

.grid_links li {
    width: 20%;
    padding: 6px 0;
}

.grid_links li a {
    color: #b3b3bd;
    font-size: 14px;
}

.grid_links li a:hover {
    color: var(--contrast-color);
}

/* ---------- 近期赛程小列表 ---------- */
.schedule_list {
    padding: 6px 20px 18px;
}

.schedule_list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #26262c;
    font-size: 14px;
    color: #c3c3ca;
}

.schedule_list li time {
    flex: 0 0 96px;
    color: #7c7c86;
    font-size: 13px;
}

.schedule_list li span.league {
    flex: 0 0 110px;
    color: #7c7c86;
    font-size: 13px;
}

.schedule_list li a {
    color: #d5d5da;
}

.schedule_list li a:hover {
    color: var(--contrast-color);
}

.schedule_list li .s_tag {
    flex: 0 0 54px;
    margin-left: auto;
    text-align: right;
    font-size: 12px;
    color: #6e6e78;
}

.schedule_list li.s_future .s_tag {
    color: var(--contrast-color);
}

.schedule_list li.s_past a {
    color: #96969f;
}

/* ---------- 页脚 ---------- */
.sven_footer {
    clear: both;
}

.sven_footer a {
    color: #a3a3ad;
}

.footer_links {
    padding: 18px 0 4px;
    text-align: center;
    font-size: 13px;
    line-height: 2;
}

.footer_links a {
    margin: 0 8px;
}

.footer_links a:hover {
    color: var(--contrast-color);
}

/* ---------- 移动端 ---------- */
@media screen and (max-width: 900px) {
    .header-search {
        display: none;
    }

    .grid_links li {
        width: 33.33%;
    }

    .sven_match__item__date {
        width: 76px;
    }
}

/* ---------- 详情页信号源按钮 ---------- */
.sven_match_live_address {
    font-size: 14px;
    color: #b3b3bd;
}

.signalCon .signal_list {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.signal_list li {
    margin: 0 12px 12px 0;
    list-style: none;
}

.signal_list li a {
    display: block;
    padding: 9px 22px;
    background: var(--prominent-color);
    border: 1px solid #33323a;
    border-radius: 24px;
    color: #dddddd;
    font-size: 14px;
}

.signal_list li a:hover {
    background: var(--contrast-color);
    border-color: var(--contrast-color);
    color: #ffffff;
}

.sven_match_video__team_name {
    display: block;
    margin-top: 10px;
    max-width: 100%;
    color: #14141a;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- 文章页标题与上下篇 ---------- */
.content_box_hd h1 {
    display: block;
    font-size: 21px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 12px;
}

.content_box_hd h3 {
    display: block;
    font-size: 19px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 12px;
}

.article-page {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px dashed #26262c;
    font-size: 14px;
    color: #8f8f99;
}

.article-page a {
    color: #b3b3bd;
}

.article-page a:hover {
    color: var(--contrast-color);
}

.article-page p {
    margin-bottom: 6px;
    line-height: 1.9;
}

/* ---------- 首页联赛宫格 ---------- */
.grid_links {
    padding: 16px 20px 20px;
}

/* ---------- 列表页日期标签：7 天一行不换行 ---------- */
.match_show_date_tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0 20px;
}

.match_show_date_tabs a {
    float: none;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 60px;
    margin-right: 0;
}

.match_show_date_tabs a p {
    font-size: 13px;
    line-height: 1.45;
    white-space: nowrap;
}

/* ---------- 移动端自适应（<=768px） ---------- */
@media screen and (max-width: 768px) {
    .container,
    .container-main {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    /* 头部 */
    .sven_header {
        height: auto;
        padding: 8px 0 12px;
    }
    .sven_header-logo {
        float: none;
        margin-top: 8px;
        text-align: center;
    }
    .sven_header-logo > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .header-search {
        float: none;
        margin: 8px 0 0;
    }
    .header-search form {
        display: flex;
        width: 100%;
    }
    .header-search input {
        flex: 1 1 auto;
        width: auto;
    }

    /* 导航：横向滚动 */
    .sven_navbar {
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    .sven_navbar > ul {
        display: flex;
        white-space: nowrap;
        padding: 0 4px;
    }
    .sven_navbar > ul > li {
        float: none;
        padding: 0 13px;
        height: 44px;
        line-height: 44px;
    }
    .sven_navbar > ul > li > a {
        font-size: 15px;
    }
    .navbar {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    .navbar-menus {
        display: flex;
        width: auto;
        white-space: nowrap;
    }
    .navbar-menus li {
        float: none;
        padding: 7px 12px;
        font-size: 13px;
    }

    /* 两栏改单栏 */
    .sven_body,
    .sven_aside {
        float: none;
        width: 100%;
        padding-left: 0;
    }
    .sven_aside {
        margin-bottom: 20px;
    }

    /* 赛事行：窄屏用 grid 固定三列，保证按钮不被挤出 */
    .sven_match__item {
        display: grid;
        grid-template-columns: 62px minmax(0, 1fr) 76px;
        align-items: center;
        padding: 10px 0;
        font-size: 13px;
        overflow: hidden;
    }
    .sven_match__item__date {
        width: auto;
        padding-left: 6px;
        font-size: 11px;
        line-height: 1.45;
        color: #8a8a94;
    }
    .sven_match__item__league {
        display: none;
    }
    .sven_match_link {
        display: contents;
    }
    /* 队名两行、比分竖跨两行居中，避免比分单独占一行 */
    .sven_match__item__team {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "home score" "away score";
        align-items: center;
        min-width: 0;
        overflow: hidden;
    }
    .sven_team__home,
    .sven_team__away {
        width: auto;
        max-width: 100%;
        font-size: 13px;
        line-height: 1.5;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .sven_team__home {
        grid-area: home;
    }
    .sven_team__away {
        grid-area: away;
    }
    .sven_team__score {
        grid-area: score;
        align-self: center;
        display: block;
        width: auto;
        padding-left: 8px;
        font-size: 13px;
        line-height: 1.4;
        text-align: right;
        white-space: nowrap;
    }
    .sven_match__item__button {
        text-align: right;
        padding-right: 6px;
    }
    .sven_match__btn {
        width: auto;
        max-width: 100%;
        padding: 4px 6px;
        font-size: 11px;
        border-radius: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box;
    }

    /* 热门直播 Tab 横向滚动 */
    .sven_match__tabs {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding-left: 6px;
    }
    .sven_match__tabs > ul {
        display: flex;
        white-space: nowrap;
    }
    .sven_match__tabs > ul > li {
        float: none;
        padding: 0 11px;
        font-size: 14px;
    }
    .sven_match__tabs > ul > li.active > a {
        font-size: 15px;
    }

    /* 日期标签 */
    .match_show_date_tabs {
        padding: 0 8px;
        gap: 6px;
    }
    .match_show_date_tabs a {
        height: 50px;
    }
    .match_show_date_tabs a p {
        font-size: 11px;
    }

    /* 热门联赛宫格 */
    .hot_liansai_list {
        padding-left: 8px;
        padding-bottom: 8px;
    }
    .hot_liansai_list li {
        width: 30%;
        height: 84px;
        margin: 5px 1.5%;
    }
    .hot_liansai_list li .qtdw_img img {
        width: 44px;
        height: 44px;
    }
    .hot_liansai_list li .qtdw_name {
        font-size: 12px;
    }

    /* 比分卡 */
    .sven_match_video_box {
        height: auto;
    }
    .sven_match_video__bd {
        height: 250px;
    }
    .sven_match_video__bd div {
        margin-top: 10%;
        font-size: 18px;
    }
    .sven_match_video__team_left img,
    .sven_match_video__team_right img {
        width: 48px;
        height: 48px;
    }
    .sven_match_video__team_right {
        margin-left: 52%;
        margin-right: 12px;
    }
    .sven_match_video__team_name {
        font-size: 14px;
        margin-top: 6px;
    }

    /* 赛程列表 */
    .schedule_list {
        padding: 6px 12px 12px;
    }
    .schedule_list li {
        font-size: 13px;
    }
    .schedule_list li time {
        flex: 0 0 74px;
        font-size: 12px;
    }
    .schedule_list li span.league {
        flex: 0 0 62px;
        font-size: 12px;
    }

    /* 页脚与正文 */
    .footer_links a {
        font-size: 12px;
        margin: 0 6px 6px 0;
    }
    .sven_footer__description,
    .sven_footer__copyright {
        font-size: 12px;
        line-height: 1.7;
        padding: 0 12px;
    }
    .seo_intro,
    .article-page,
    .content_box_bd {
        padding: 14px 14px 16px;
        font-size: 14px;
    }
}

/* ================= 实时比分 ================= */
/* 列表/首页赛事行中间的比分格 */
.sven_team__score .sb-score {
    display: inline-block;
    font-weight: 700;
    letter-spacing: .5px;
    font-variant-numeric: tabular-nums;
    color: var(--contrast-color, #E20C5B);
}

.sven_team__score .sb-score i {
    font-style: normal;
}

.sven_team__score .sb-score em {
    font-style: normal;
    margin: 0 2px;
    opacity: .5;
}

/* 详情页比分卡 */
.sven_match_video__score .sb-score {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    color: #14141a;
}

.sven_match_video__score .sb-score i {
    font-style: normal;
}

.sven_match_video__score .sb-score em {
    font-style: normal;
    margin: 0 6px;
    opacity: .55;
    font-weight: 400;
}

/* “近期完赛”文字列表里的内联比分 */
.sb-score--inline {
    display: inline-block;
    margin: 0 4px;
    font-weight: 700;
    font-style: normal;
    font-variant-numeric: tabular-nums;
    color: var(--contrast-color, #E20C5B);
}

.sb-score--inline i {
    font-style: normal;
}

.sb-score--inline em {
    font-style: normal;
    margin: 0 2px;
    opacity: .55;
}

/* 上游未收录场次：灰色“比分待更新” */
.sven_match__btn___wait {
    color: #8d8d99;
}

/* 延期 / 取消等异常终态（上游 status_id 9 / 13） */
.sven_match__btn___cut {
    color: #d08a2a;
}
