/* =========================================================
   24直播网 - 赛事直播页
   ========================================================= */


/* =========================
   Reset
   ========================= */

.live-page {
    margin: 0;
    padding: 0;
    background: #f4f6f8;
    color: #1b222b;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "PingFang SC",
        "Hiragino Sans GB",
        "Microsoft YaHei",
        Arial,
        sans-serif;
}

.live-page *,
.live-page *::before,
.live-page *::after {
    box-sizing: border-box;
}

.live-page a {
    color: inherit;
    text-decoration: none;
}

.live-page img {
    max-width: 100%;
    vertical-align: middle;
}

.live-container {
    width: 1200px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
}


/* =========================
   Hero
   ========================= */

.live-hero {
    background: #11161d;
    border-bottom: 1px solid #202832;
}

.live-hero-content {
    padding: 28px 0 30px;
}

.live-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8e98a5;
    font-size: 13px;
    margin-bottom: 20px;
}

.live-breadcrumb a {
    color: #b5bec9;
    transition: color .2s ease;
}

.live-breadcrumb a:hover {
    color: #fff;
}

.live-hero-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.live-hero-title h1 {
    margin: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}

.live-hero-title p {
    margin: 7px 0 0;
    color: #8e98a5;
    font-size: 14px;
}

.live-hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid #29323d;
    border-radius: 4px;
    color: #c4ccd5;
    font-size: 13px;
    background: #171d25;
}

.live-stat-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e53935;
    box-shadow: 0 0 0 4px rgba(229, 57, 53, .12);
}


/* =========================
   Main
   ========================= */

.live-content {
    padding: 26px 0 35px;
}

.live-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}


/* =========================
   Sidebar
   ========================= */

.live-sidebar {
    min-width: 0;
}

.live-sidebar-card {
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 6px;
    overflow: hidden;
}

.live-sidebar-title {
    height: 54px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-bottom: 1px solid #edf0f2;
    font-size: 15px;
    font-weight: 700;
    color: #202833;
}

.live-sidebar-title-line {
    width: 3px;
    height: 17px;
    border-radius: 2px;
    background: #e53935;
}

.live-category-nav {
    padding: 8px;
}

.live-category-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 10px;
    margin-bottom: 3px;
    border-radius: 4px;
    color: #5f6975;
    font-size: 14px;
    transition:
        background .2s ease,
        color .2s ease;
}

.live-category-item:last-child {
    margin-bottom: 0;
}

.live-category-item:hover {
    background: #f5f6f7;
    color: #202833;
}

.live-category-item.active {
    background: #fdf0f0;
    color: #d72e2a;
    font-weight: 600;
}

.live-category-icon {
    width: 30px;
    font-size: 10px;
    color: #a1aab4;
    text-align: center;
}

.live-category-item.active .live-category-icon {
    color: #e53935;
}

.live-category-item > span:nth-child(2) {
    flex: 1;
}

.live-category-item i {
    font-style: normal;
    color: #aeb6bf;
    font-size: 18px;
}

.live-category-item.active i {
    color: #e53935;
}


/* =========================
   Sidebar Info
   ========================= */

.live-side-info {
    margin-top: 14px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 6px;
}

.live-side-info-title {
    font-size: 15px;
    color: #202833;
    font-weight: 700;
    margin-bottom: 10px;
}

.live-side-info p {
    margin: 0;
    color: #8a949f;
    font-size: 12px;
    line-height: 1.8;
}

.live-side-info-line {
    height: 1px;
    margin: 15px 0;
    background: #edf0f2;
}

.live-side-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 9px;
    color: #69737f;
    font-size: 12px;
}

.live-side-info-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e53935;
}


/* =========================
   Schedule
   ========================= */

.live-schedule {
    min-width: 0;
}

.live-schedule-head {
    min-height: 70px;
    padding: 0 20px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.live-schedule-head h2 {
    margin: 0;
    color: #202833;
    font-size: 18px;
    line-height: 1.3;
}

.live-schedule-head p {
    margin: 5px 0 0;
    color: #929ba5;
    font-size: 12px;
}

.live-schedule-status {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #7b858f;
    font-size: 12px;
}

.live-schedule-status span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e53935;
}


/* =========================
   Day Card
   ========================= */

.live-day-card {
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 6px;
    overflow: hidden;
}

.live-day-card.is-today {
    border-color: #dfe3e7;
}

.live-day-header {
    min-height: 68px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafbfc;
    border-bottom: 1px solid #edf0f2;
}

.live-day-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-day-icon {
    width: 36px;
    height: 36px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef0f2;
    color: #69737e;
    font-size: 13px;
    font-weight: 700;
}

.is-today .live-day-icon {
    background: #e53935;
    color: #fff;
}

.live-day-info {
    display: flex;
    align-items: center;
    gap: 13px;
}

.live-day-title {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #252d36;
    font-size: 15px;
    font-weight: 700;
}

.live-day-week {
    color: #8b949e;
    font-weight: 400;
}

.live-today-label {
    padding: 3px 7px;
    border-radius: 3px;
    background: #fdf0f0;
    color: #d93632;
    font-size: 11px;
    font-weight: 600;
}

.live-day-count {
    color: #9aa2aa;
    font-size: 12px;
}

.live-day-arrow {
    color: #a4adb6;
    font-size: 17px;
}


/* =========================
   Match
   ========================= */

.live-match-list {
    background: #fff;
}

.live-match {
    min-height: 94px;
    padding: 13px 18px;
    display: grid;
    grid-template-columns:
        105px
        68px
        minmax(130px, 1fr)
        86px
        minmax(130px, 1fr)
        78px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f0f2f4;
    transition: background .2s ease;
}

.live-match:last-child {
    border-bottom: 0;
}

.live-match:hover {
    background: #fcfcfd;
}


/* League */

.live-match-league {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: #626d78;
    font-size: 12px;
}

.live-match-league > span:last-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.league-dot {
    flex: 0 0 auto;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c4cbd2;
}

.live-match:hover .league-dot {
    background: #e53935;
}


/* Time */

.live-match-time {
    text-align: center;
}

.live-match-time strong {
    display: block;
    color: #222a33;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.live-match-time span {
    display: block;
    margin-top: 5px;
    color: #a0a8b0;
    font-size: 10px;
}


/* Team */

.live-team {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #303943;
    font-size: 13px;
    font-weight: 500;
}

.live-team-home {
    justify-content: flex-end;
    text-align: right;
}

.live-team-away {
    justify-content: flex-start;
    text-align: left;
}

.live-team-name {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.live-team-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f8f9;
    border: 1px solid #eceff1;
    border-radius: 50%;
    overflow: hidden;
}

.live-team-logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}


/* Score */

.live-score {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #1e2730;
}

.score-number {
    min-width: 22px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

.score-line {
    color: #b1b8bf;
    font-size: 14px;
}

.score-vs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 28px;
    border: 1px solid #e0e4e7;
    border-radius: 3px;
    color: #8b949d;
    font-size: 11px;
    font-weight: 700;
}


/* Action */

.live-match-action {
    display: flex;
    justify-content: flex-end;
}

.live-watch-btn {
    min-width: 64px;
    height: 32px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #e1e4e7;
    border-radius: 4px;
    color: #59636e;
    background: #fff;
    font-size: 12px;
    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.live-watch-btn:hover {
    border-color: #e53935;
    background: #e53935;
    color: #fff;
}

.live-watch-icon {
    font-size: 9px;
}


/* =========================
   Empty
   ========================= */

.live-empty {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    color: #9aa3ac;
}

.live-empty-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e8eb;
    border-radius: 50%;
    color: #bdc4ca;
    font-size: 16px;
}

.live-empty strong {
    display: block;
    color: #747e88;
    font-size: 13px;
    font-weight: 500;
}

.live-empty p {
    margin: 5px 0 0;
    color: #adb4bb;
    font-size: 11px;
}


/* =========================
   SEO
   ========================= */

.live-seo {
    padding: 0 0 40px;
}

.live-seo-card {
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 6px;
}

.live-seo-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #252d36;
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 1px solid #edf0f2;
}

.live-seo-title > span {
    width: 3px;
    height: 16px;
    border-radius: 2px;
    background: #e53935;
}

.live-seo-content {
    padding-top: 14px;
}

.live-seo-content p {
    margin: 0 0 8px;
    color: #7e8892;
    font-size: 13px;
    line-height: 1.9;
}

.live-seo-content p:last-child {
    margin-bottom: 0;
}


/* =========================
   1100
   ========================= */

@media (max-width: 1100px) {

    .live-container {
        max-width: calc(100% - 30px);
    }

    .live-layout {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 15px;
    }

    .live-match {
        grid-template-columns:
            90px
            60px
            minmax(100px, 1fr)
            76px
            minmax(100px, 1fr)
            70px;
        gap: 6px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .live-team-logo {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .live-team-logo img {
        width: 27px;
        height: 27px;
    }

}


/* =========================
   800
   ========================= */

@media (max-width: 800px) {

    .live-container {
        max-width: calc(100% - 20px);
    }

    .live-layout {
        display: block;
    }

    .live-sidebar {
        margin-bottom: 15px;
    }

    .live-sidebar-card {
        overflow: visible;
    }

    .live-category-nav {
        display: flex;
        gap: 6px;
        padding: 9px;
        overflow-x: auto;
    }

    .live-category-item {
        flex: 0 0 auto;
        min-width: 88px;
        justify-content: center;
        height: 38px;
        margin: 0;
        padding: 0 12px;
    }

    .live-category-icon,
    .live-category-item i {
        display: none;
    }

    .live-side-info {
        display: none;
    }

    .live-match {
        grid-template-columns:
            82px
            55px
            minmax(100px, 1fr)
            65px
            minmax(100px, 1fr)
            65px;
    }

}


/* =========================
   650
   ========================= */

@media (max-width: 650px) {

    .live-hero-content {
        padding: 20px 0 22px;
    }

    .live-hero-title h1 {
        font-size: 23px;
    }

    .live-hero-title p {
        font-size: 12px;
    }

    .live-hero-stat {
        display: none;
    }

    .live-content {
        padding-top: 15px;
    }

    .live-schedule-head {
        min-height: 60px;
        padding: 0 15px;
    }

    .live-schedule-head h2 {
        font-size: 16px;
    }

    .live-schedule-status {
        display: none;
    }

    .live-day-header {
        padding: 0 14px;
        min-height: 60px;
    }

    .live-day-icon {
        width: 32px;
        height: 32px;
    }

    .live-day-info {
        display: block;
    }

    .live-day-count {
        margin-top: 3px;
    }

    /*
     * 手机赛事卡片
     */

    .live-match {
        position: relative;
        display: grid;
        grid-template-columns: 1fr 70px 1fr;
        grid-template-rows: 28px 50px 32px;
        gap: 0;
        min-height: 140px;
        padding: 10px 12px;
    }

    .live-match-league {
        grid-column: 1 / 2;
        grid-row: 1;
        font-size: 11px;
    }

    .live-match-time {
        grid-column: 2 / 3;
        grid-row: 1;
    }

    .live-match-time strong {
        font-size: 13px;
    }

    .live-match-time span {
        display: none;
    }

    .live-team {
        grid-row: 2;
        font-size: 12px;
    }

    .live-team-home {
        grid-column: 1 / 2;
    }

    .live-team-away {
        grid-column: 3 / 4;
    }

    .live-team-name {
        max-width: 80px;
    }

    .live-team-logo {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .live-team-logo img {
        width: 26px;
        height: 26px;
    }

    .live-score {
        grid-column: 2 / 3;
        grid-row: 2;
    }

    .score-number {
        font-size: 17px;
    }

    .score-vs {
        min-width: 46px;
        height: 25px;
        font-size: 10px;
    }

    .live-match-action {
        grid-column: 1 / 4;
        grid-row: 3;
        justify-content: center;
    }

    .live-watch-btn {
        width: 100%;
        height: 30px;
    }

    .live-seo-card {
        padding: 18px;
    }

}


/* =========================
   420
   ========================= */

@media (max-width: 420px) {

    .live-container {
        max-width: calc(100% - 14px);
    }

    .live-category-item {
        min-width: 78px;
        font-size: 12px;
    }

    .live-day-title {
        font-size: 13px;
    }

    .live-match {
        grid-template-columns: 1fr 58px 1fr;
    }

    .live-team-name {
        max-width: 65px;
    }

    .live-team-home {
        gap: 6px;
    }

    .live-team-away {
        gap: 6px;
    }

}