.page-wrap {
    padding-bottom: 50px;
    font-family: -apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif
}

.breadcrumb {
    font-size: 13px;
    color: #888;
    padding: 8px 0;
    margin-bottom: 10px
}

.breadcrumb a {
    color: #555;
    text-decoration: none
}

.breadcrumb a:hover {
    color: var(--theme-primary)
}

.layout-grid {
    display: flex;
    gap: 20px;
    align-items: flex-start
}

.col-main {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid #e8e8e8
}

.col-side {
    width: 320px;
    flex-shrink: 0
}

.jzt-c-tabs,.c-tabs {
    display: flex;
    background: #fafafa;
    border-bottom: 1px solid #e8e8e8;
    padding: 0 15px
}

.jzt-c-tabs a,.c-tabs a {
    padding: 15px 25px;
    font-size: 16px;
    font-weight: bold;
    color: #555;
    text-decoration: none;
    position: relative;
    transition: 0.2s
}

.jzt-c-tabs a:hover,.jzt-c-tabs a.active,.c-tabs a:hover,.c-tabs a.active {
    color: var(--theme-primary)
}

.jzt-c-tabs a.active::after,.c-tabs a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--theme-primary)
}

.jzt-c-dates,.c-dates {
    padding: 8px 8px;
    display: flex;
    gap: 12px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    flex-wrap: wrap
}

.jzt-c-dates a,.c-dates a {
    width: 95px;
    padding: 4px 0;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #555;
    transition: 0.2s;
    display: flex;
    flex-direction: column
}

.jzt-c-dates a:hover,.c-dates a:hover {
    border-color: #bbb;
    background: #fafafa
}

.jzt-c-dates a.active,.c-dates a.active {
    border-color: var(--theme-primary);
    background: var(--theme-primary);
    color: #fff;
    pointer-events: none
}

.jzt-c-dates a .jzt-d-date,.jzt-c-dates a .d-date,.c-dates a .jzt-d-date,.c-dates a .d-date {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 2px
}

.jzt-c-dates a .jzt-d-week,.jzt-c-dates a .d-week,.c-dates a .jzt-d-week,.c-dates a .d-week {
    font-size: 12px
}

.jzt-c-dates a:not(.active) .jzt-d-week,.jzt-c-dates a:not(.active) .d-week,.c-dates a:not(.active) .jzt-d-week,.c-dates a:not(.active) .d-week {
    color: #888
}

.jzt-league-filter-bar,.league-filter-bar {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05)
}

.jzt-league-group-title,.league-group-title {
    background: #f0f4f8;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    color: var(--theme-primary);
    border-left: 4px solid var(--theme-primary);
    border-bottom: 1px solid #ddd;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.jzt-league-group-title a,.league-group-title a {
    font-size: 12px;
    font-weight: normal;
    color: #666;
    text-decoration: none
}

.jzt-league-group-title a:hover,.league-group-title a:hover {
    color: var(--theme-primary);
    text-decoration: underline
}

.m-row,.jzt-m-row,.jzt-match-row {
    display: flex !important;
    align-items: center !important;
    padding: 15px 20px !important;
    border-bottom: 1px dashed #eee !important;
    transition: 0.2s;
    color: #333;
    text-decoration: none;
    background: #fff;
    flex-wrap: nowrap !important
}

.m-row:hover,.jzt-m-row:hover,.jzt-match-row:hover {
    background: #f8f6ff
}

.m-row:last-child,.jzt-m-row:last-child,.jzt-match-row:last-child {
    border-bottom: none !important
}

.m-time,.jzt-m-time {
    width: 50px;
    font-size: 14px;
    font-weight: bold;
    color: #444;
    flex-shrink: 0
}

.m-time .t-md,.jzt-m-time .t-md {
    display: none
}

.m-status-box,.jzt-m-status-box {
    width: 60px;
    text-align: center;
    flex-shrink: 0;
    margin-right: 15px
}

.m-status,.jzt-m-status {
    display: inline-block;
    font-size: 12px;
    color: #888
}

.m-status.live,.jzt-m-status.live {
    color: var(--theme-primary);
    font-weight: bold;
    animation: pulse 1.5s infinite
}

.mob-status {
    display: none
}

.m-team,.jzt-m-team {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    min-width: 0
}

.m-team.h,.jzt-m-team.h {
    justify-content: flex-end;
    text-align: right
}

.m-team.a,.jzt-m-team.a {
    justify-content: flex-start;
    text-align: left
}

.m-team a,.jzt-m-team a {
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none
}

.m-team a:hover,.jzt-m-team a:hover {
    color: var(--theme-primary)
}

.m-team img,.jzt-m-team img,.m-logo,.jzt-m-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    margin: 0
}

.m-team-name,.jzt-m-team-name,.jzt-jzt-m-team-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px
}

.m-score,.jzt-m-score {
    width: 80px;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    color: #333;
    font-family: Impact,sans-serif;
    letter-spacing: 1px;
    flex-shrink: 0
}

.m-act,.jzt-m-act {
    width: 80px;
    text-align: right;
    color: var(--theme-primary);
    font-size: 13px;
    font-weight: bold;
    flex-shrink: 0
}

.m-act span,.jzt-m-act span {
    border: 1px solid var(--theme-primary);
    padding: 4px 10px;
    border-radius: 3px;
    transition: 0.2s
}

.m-row:hover .m-act span,.jzt-m-row:hover .jzt-m-act span,.jzt-match-row:hover .jzt-m-act span {
    background: var(--theme-primary);
    color: #fff
}

@keyframes pulse {
    50% {
        opacity: 0.5
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        padding-left:15px !important;
        margin-bottom: 5px !important
    }

    .col-main > div:first-child[style*="margin-top:10px"] {
        margin-top: 0 !important;
        padding-bottom: 10px !important
    }

    .col-main > div:first-child h1 {
        font-size: 16px !important
    }

    .jzt-c-tabs,.c-tabs {
        padding: 0 10px !important
    }

    .jzt-c-tabs a,.c-tabs a {
        padding: 10px 15px !important;
        font-size: 14px !important
    }

    .jzt-c-dates,.c-dates {
        padding: 10px !important;
        gap: 6px !important
    }

    .jzt-c-dates a,.c-dates a {
        flex: 1;
        width: auto !important;
        padding: 4px 0 !important;
        border-radius: 4px !important
    }

    .jzt-c-dates a .jzt-d-date,.c-dates a .d-date {
        font-size: 12px !important;
        margin-bottom: 0 !important
    }

    .jzt-c-dates a .jzt-d-week,.c-dates a .d-week {
        font-size: 10px !important
    }

    .jzt-league-filter-bar,.league-filter-bar {
        padding: 8px 10px !important;
        gap: 6px !important;
        margin: 0 10px 10px 10px !important;
        border-radius: 4px !important
    }

    .jzt-league-filter-bar span {
        font-size: 13px !important;
        margin-right: 4px !important
    }

    .league-filter-btn {
        padding: 3px 10px !important;
        font-size: 11px !important
    }

    .layout-grid {
        flex-direction: column
    }

    .col-side {
        width: 100%
    }

    .m-row,.jzt-m-row,.jzt-match-row {
        flex-wrap: nowrap !important;
        padding: 12px 8px !important;
        gap: 4px;
        justify-content: space-between
    }

    .m-time,.jzt-m-time {
        width: 36px;
        font-size: 11px;
        margin: 0;
        flex-shrink: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        line-height: 1.3
    }

    .m-time .t-md,.jzt-m-time .t-md {
        display: block;
        color: #999;
        font-size: 10px
    }

    .m-time .t-hi,.jzt-m-time .t-hi {
        font-size: 12px;
        font-weight: bold
    }

    .m-status-box,.jzt-m-status-box {
        width: 32px;
        margin: 0;
        flex-shrink: 0;
        text-align: center
    }

    .m-status,.jzt-m-status {
        font-size: 10px;
        padding: 2px 0;
        background: #eee;
        border-radius: 2px;
        width: 100%;
        display: block
    }

    .m-status.live,.jzt-m-status.live {
        background: #fff1f3;
        color: var(--theme-primary)
    }

    .pc-status {
        display: none
    }

    .mob-status {
        display: inline;
        font-weight: bold;
        letter-spacing: 0
    }

    .m-team,.jzt-m-team {
        font-size: 13px;
        gap: 4px;
        flex: 1;
        min-width: 0
    }

    .m-team a,.jzt-m-team a {
        max-width: 75px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        font-weight: normal
    }

    .m-team img,.jzt-m-team img,.m-logo,.jzt-m-logo {
        width: 18px !important;
        height: 18px !important;
        margin: 0 !important;
        flex-shrink: 0
    }

    .m-score,.jzt-m-score {
        width: 45px !important;
        font-size: 14px !important;
        flex-shrink: 0;
        text-align: center;
        letter-spacing: 0
    }

    .m-act,.jzt-m-act {
        display: none !important
    }
}

.wg {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02)
}

.wg-hd {
    padding: 12px 18px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    font-weight: bold;
    border-left: 4px solid var(--theme-primary);
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.wg-hd a {
    font-size: 12px;
    font-weight: normal;
    color: #888;
    text-decoration: none;
    transition: 0.2s
}

.wg-hd a:hover {
    color: var(--theme-primary)
}

.wg-ul {
    list-style: none;
    margin: 0;
    padding: 15px 20px
}

.wg-ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: flex-start
}

.wg-ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none
}

.wg-ul li::before {
    content: '•';
    color: var(--theme-primary);
    font-weight: bold;
    margin-right: 8px
}

.wg-ul a {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: 0.2s
}

.wg-ul a:hover {
    color: var(--theme-primary)
}

.v-item {
    margin-bottom: 15px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 15px
}

.v-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0
}

.v-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    display: block;
    position: relative
}

.v-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: 0.3s
}

.v-item:hover .v-img img {
    opacity: 0.6;
    transform: scale(1.05)
}

.v-tit {
    display: block;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    text-decoration: none;
    overflow: hidden;
    margin-top: 8px;
    font-weight: bold;
    transition: 0.2s
}

.v-item:hover .v-tit {
    color: var(--theme-primary)
}

.hub-latest-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px
}

.hl-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 6px;
    overflow: hidden;
    background: #fafafa;
    border: 1px solid #eee;
    transition: all 0.3s ease
}

.hl-card:hover {
    border-color: var(--theme-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-3px)
}

.hl-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden
}

.hl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: 0.3s
}

.hl-card:hover .hl-thumb img {
    opacity: 0.6;
    transform: scale(1.08)
}

.hl-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    font-size: 24px;
    z-index: 2;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5)
}

.hl-info {
    padding: 8px 5px;
    text-align: center
}

.hl-tit {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: 0.2s
}

.hl-card:hover .hl-tit {
    color: var(--theme-primary)
}

@media (max-width: 768px) {
    .hub-latest-grid {
        grid-template-columns:repeat(2,1fr);
        gap: 8px
    }

    .hl-tit {
        font-size: 12px;
        padding: 6px 4px
    }

    .hl-play {
        font-size: 20px
    }
}

.hub-latest-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px
}

.hl-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 6px;
    overflow: hidden;
    background: #fafafa;
    border: 1px solid #eee;
    transition: all 0.3s ease
}

.hl-card:hover {
    border-color: var(--theme-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-3px)
}

.hl-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden
}

.hl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: 0.3s
}

.hl-card:hover .hl-thumb img {
    opacity: 0.6;
    transform: scale(1.08)
}

.hl-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    font-size: 24px;
    z-index: 2;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5)
}

.hl-info {
    padding: 8px 5px;
    text-align: center
}

.hl-tit {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: 0.2s
}

.hl-card:hover .hl-tit {
    color: var(--theme-primary)
}

@media (max-width: 768px) {
    .hub-latest-grid {
        grid-template-columns:repeat(2,1fr);
        gap: 8px
    }

    .hl-tit {
        font-size: 12px;
        padding: 6px 4px
    }

    .hl-play {
        font-size: 20px
    }
}

/* --- 修复丢失的 Bootstrap Button 样式 --- */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 6px 16px;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-sm {
    padding: 4px 10px;
    font-size: 12px;
}

.btn-danger, .btn-primary {
    color: #fff;
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
}

.btn-danger:hover, .btn-primary:hover {
    background-color: var(--theme-primary-hover);
}

.btn-outline-secondary {
    color: #666;
    border-color: #ddd;
    background-color: #fff;
}

.btn-outline-secondary:hover, .btn-outline-secondary.active {
    color: #fff;
    background-color: #888;
    border-color: #888;
}

.m-row.hidden-match {
    display: none !important;
}

/* Live list page styles moved from inline attributes. */
.me-2 { margin-right: 6px; }
#mobile_right_nav { display: none; }
@media (max-width: 992px) {
    #mobile_right_nav { display: block !important; }
}
.live-list-heading-wrap {
    margin-top: 10px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
    padding-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.live-list-heading { font-size: 20px; font-weight: bold; margin: 0; color: #222; }
.live-list-filter-bar {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,.05);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.live-list-filter-label { font-weight: bold; margin-right: 10px; color: #333; }
.live-list-empty-filter { display: none; text-align: center; padding: 20px; color: #999; }
.live-list-group-title {
    background: #222;
    color: #fff;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 15px;
    border-left: 4px solid #e6002d;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.live-list-finished-status { color: #888; }
.live-list-mobile-live { padding-left: 5px; }
.live-list-status { color: #333; }
.live-list-status.live { color: var(--theme-primary, #e6002d); font-weight: bold; }
.live-list-status.finished { color: #888; }
.live-list-seo-content {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border: 1px dashed #e5e5e5;
    border-radius: 8px;
    color: #666;
    font-size: 13px;
    line-height: 1.8;
}
.live-list-seo-title {
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
    border-left: 3px solid #e6002d;
    padding-left: 8px;
}
.live-list-side-title { border-left-color: #e6002d; }
.live-list-tags { padding: 15px; }

/* League schedule page styles moved out of the template. */
.league-page-heading-wrap {
    margin-top: 10px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
    padding-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.league-page-heading { font-size: 20px; font-weight: bold; margin: 0; color: #222; }
.league-filter-bar-inline {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,.05);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.league-filter-label { font-weight: bold; margin-right: 10px; color: #333; }
.league-empty-filter { display: none; text-align: center; padding: 20px; color: #999; }
.league-seo-box {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border: 1px dashed #e5e5e5;
    border-radius: 8px;
    color: #666;
    font-size: 13px;
    line-height: 1.8;
}
.league-seo-box h3 {
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
    border-left: 3px solid #e6002d;
    padding-left: 8px;
}
.league-side-heading { border-left-color: #e6002d; }
.league-tags-wrap { padding: 15px; }
