/* 域名模板。classic 沿用 style.css，这里只改另外 2 套布局。 */

body.skin-card .live,
body.skin-board .live{
    content-visibility: visible;
    contain-intrinsic-size: auto;
}

/* ---------- card：双列卡片，新闻改到赛程下面 ---------- */
html:has(body.skin-card),
body.skin-card{
    background: #e7f3ef !important;
    color: #163028 !important;
}
body.skin-card .sticky-top,
body.skin-card .header-content,
body.skin-card .header-content .navbar,
body.skin-card .header-content .navbar.bg-info{
    background: #0f3d34 !important;
}
body.skin-card .sticky-top{
    border-bottom: 0;
    box-shadow: none;
    padding-bottom: 0;
}
body.skin-card .head-kicker{
    background: rgba(255,255,255,.12);
    color: #d7f5ec;
}
body.skin-card .video_nav .layui-tab-title{
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0;
    padding-top: 0 !important;
}
body.skin-card .video_nav .layui-tab-title li a,
body.skin-card .hot-league-links a{
    background: rgba(255,255,255,.12) !important;
    color: #e7fff6 !important;
    border-radius: 8px !important;
}
body.skin-card .video_nav .layui-tab-title li a:hover,
body.skin-card .hot-league-links a:hover{
    background: #fff !important;
    color: #0f3d34 !important;
}
body.skin-card .ranking-nav-group{
    justify-content: flex-start;
    gap: 0 !important;
    border-bottom: 1px solid #c9e0d8;
}
body.skin-card .ranking-nav-group > div a,
body.skin-card .ranking-nav-group > div.self a,
body.skin-card .ranking-nav-group > div.self a:hover{
    min-width: 0;
    padding: 12px 18px !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #3d5c52 !important;
    box-shadow: none !important;
}
body.skin-card .ranking-nav-group > div.self a,
body.skin-card .ranking-nav-group > div.self a:hover{
    color: #0f3d34 !important;
    box-shadow: inset 0 -3px 0 #0f766e !important;
}
body.skin-card .page-hero{
    background: transparent !important;
    box-shadow: none !important;
    padding-left: 0;
    padding-right: 0;
}
body.skin-card .page-hero,
body.skin-card .page-hero:after{
    color: #163028 !important;
}
body.skin-card .page-hero:after{
    color: #5d7a70 !important;
}
body.skin-card .main > .row{
    flex-direction: column !important;
}
body.skin-card .main-left,
body.skin-card .main-right{
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}
body.skin-card .card.card-flat,
body.skin-card .card.card-flat.items-box-group,
body.skin-card .card-flat .card-header,
body.skin-card .card-flat .card-body,
body.skin-card .card-flat .card-footer{
    background: transparent !important;
    box-shadow: none !important;
}
body.skin-card .items-group{
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
body.skin-card .items-box-group .card-body.live{
    margin: 0 !important;
}
body.skin-card .list-group-flat .list-group-item.live-item{
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 14px;
    min-height: 176px;
    white-space: normal !important;
    background: #fff !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 24px rgba(15, 61, 52, .08);
    padding: 16px !important;
}
body.skin-card .live-item .match-base,
body.skin-card .live-item .match-info,
body.skin-card .live-item .match-play{
    width: 100% !important;
    max-width: 100%;
}
body.skin-card .live-item .match-league{
    width: auto !important;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}
body.skin-card .live-item .match-time-s{
    margin-top: 0 !important;
}
body.skin-card .live-item .match-info{
    justify-content: center;
}
body.skin-card .live-item .match-info .team-info{
    width: auto !important;
    flex: 1 1 0;
    min-width: 0;
    justify-content: center !important;
}
body.skin-card .live-item .team-info .line-1{
    text-align: center;
    white-space: normal !important;
}
body.skin-card .live-item .match-play{
    text-align: center;
}
body.skin-card .main-right{
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    padding: 8px 15px 24px !important;
}
body.skin-card .main-right .card{
    background: #fff !important;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 61, 52, .08);
}
body.skin-card .main-right .card-header,
body.skin-card .main-right .card-body{
    background: transparent !important;
}
body.skin-card .date-nav a.self,
body.skin-card .date-nav a.self:hover{
    background: #0f766e !important;
}
body.skin-card .footer{
    background: #0f3d34 !important;
    color: #d7f5ec !important;
    border-top: 0;
}
body.skin-card .footer a,
body.skin-card .footer a:hover{
    color: #fff !important;
}
body.skin-card .footer .copyright{
    color: rgba(255,255,255,.62);
}

/* ---------- board：深色记分牌，一行一场，新闻沉底 ---------- */
html:has(body.skin-board),
body.skin-board{
    background: #071018 !important;
    color: #d7e4f0 !important;
}
body.skin-board .sticky-top,
body.skin-board .header-content,
body.skin-board .header-content .navbar,
body.skin-board .header-content .navbar.bg-info{
    background: #071018 !important;
    box-shadow: none;
}
body.skin-board .sticky-top{
    border-bottom: 1px solid #163044;
    padding-bottom: 8px;
}
body.skin-board .navbar-brand,
body.skin-board .navbar-brand:hover,
body.skin-board .header-content .nav-link{
    color: #d7e4f0 !important;
    letter-spacing: 1px;
}
body.skin-board .navbar-brand:before{
    background: #3ec6ff;
}
body.skin-board .head-kicker{
    background: transparent;
    border: 1px solid #245068;
    color: #7ee7ff;
}
body.skin-board .header-content .nav-link:hover,
body.skin-board .header-content .nav-item:hover .nav-link{
    background: #102433 !important;
    color: #7ee7ff !important;
}
body.skin-board .video_nav .layui-tab-title{
    background: #0c1926 !important;
    box-shadow: none !important;
    border: 1px solid #163044;
}
body.skin-board .video_nav .layui-tab-title li a,
body.skin-board .hot-league-links a{
    background: transparent !important;
    color: #9fb4c6 !important;
    border-radius: 6px !important;
}
body.skin-board .video_nav .layui-tab-title li a:hover,
body.skin-board .hot-league-links a:hover{
    background: #123044 !important;
    color: #7ee7ff !important;
}
body.skin-board .ranking-nav-group > div a,
body.skin-board .ranking-nav-group > div.self a,
body.skin-board .ranking-nav-group > div.self a:hover{
    background: #0c1926 !important;
    color: #9fb4c6 !important;
    border: 1px solid #163044 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}
body.skin-board .ranking-nav-group > div.self a,
body.skin-board .ranking-nav-group > div.self a:hover{
    background: #123044 !important;
    color: #7ee7ff !important;
    border-color: #245068 !important;
}
body.skin-board .page-hero{
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
    font-size: 34px !important;
}
body.skin-board .page-hero,
body.skin-board .main h1,
body.skin-board .main h2,
body.skin-board .card-title,
body.skin-board .live-item,
body.skin-board .live-item .team-info .line-1,
body.skin-board .items-box-group > p,
body.skin-board .main-right .news-top-item .title,
body.skin-board .main-right .news-top-item .content{
    color: #e8f2fa !important;
}
body.skin-board .page-hero:after,
body.skin-board .live-item .match-time-s,
body.skin-board .text-muted,
body.skin-board .text-small{
    color: #7f93a6 !important;
}
body.skin-board .main > .row{
    flex-direction: column !important;
}
body.skin-board .main-left,
body.skin-board .main-right{
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}
body.skin-board .card.card-flat,
body.skin-board .card.card-flat.items-box-group,
body.skin-board .card-flat .card-header,
body.skin-board .card-flat .card-body,
body.skin-board .card-flat .card-footer,
body.skin-board .main-right .card,
body.skin-board .main-right .card-header,
body.skin-board .main-right .card-body{
    background: transparent !important;
    box-shadow: none !important;
    color: #d7e4f0 !important;
}
body.skin-board .list-group-flat .list-group-item.live-item{
    display: grid !important;
    grid-template-columns: 140px 1fr auto;
    align-items: center;
    gap: 12px;
    background: #0c1926 !important;
    border: 1px solid #163044 !important;
    border-radius: 0 !important;
    padding: 18px 20px !important;
}
body.skin-board .live-item .match-base{
    width: auto !important;
}
body.skin-board .live-item .match-league{
    width: auto !important;
}
body.skin-board .live-item .match-league a{
    background: transparent !important;
    color: #7ee7ff !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
body.skin-board .live-item .match-info{
    justify-content: center;
}
body.skin-board .live-item .match-info .team-info{
    width: auto !important;
    flex: 1 1 120px;
    justify-content: center !important;
}
body.skin-board .live-item .team-info .line-1{
    font-size: 20px !important;
    text-align: center;
}
body.skin-board .live-item .team-score span,
body.skin-board .live-item .team-score span.has-score{
    width: auto !important;
    min-width: 88px;
    height: 48px !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #7ee7ff !important;
    font-size: 28px !important;
    letter-spacing: 1px;
}
body.skin-board .live-item .match-info img{
    background: #071018 !important;
    border-color: #245068 !important;
    border-radius: 0 !important;
}
body.skin-board .main-right{
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 10px 15px 28px !important;
}
body.skin-board .main-right .news-top-item{
    border-bottom-color: #163044;
}
body.skin-board .main-right .news-top-item:hover{
    background: #102433;
}
body.skin-board .main-right .news-top-item:before,
body.skin-board .main-right .news-top-item:nth-child(-n+3):before{
    background: transparent !important;
    color: #7ee7ff !important;
    box-shadow: none !important;
}
body.skin-board .date-nav a{
    background: #0c1926;
    color: #9fb4c6 !important;
    border-radius: 0;
}
body.skin-board .date-nav a span{
    color: #7f93a6 !important;
}
body.skin-board .date-nav a.self,
body.skin-board .date-nav a.self:hover{
    background: #123044 !important;
    color: #7ee7ff !important;
}
body.skin-board .date-nav a.self span,
body.skin-board .date-nav a.self:hover span{
    color: #9fdfff !important;
}
body.skin-board .footer{
    background: #050b12 !important;
    color: #7f93a6 !important;
    border-top: 1px solid #163044;
}
body.skin-board .footer a,
body.skin-board .footer a:hover{
    color: #7ee7ff !important;
}
body.skin-board .footer .copyright{
    color: #5d7284;
}
body.skin-board .badge-info,
body.skin-board .bs_ztai,
body.skin-board .bs_ztai.is-soon{
    background: transparent !important;
    color: #7ee7ff !important;
    border: 1px solid #245068 !important;
}
body.skin-board .badge-danger,
body.skin-board .bs_ztai.is-live{
    background: #123044 !important;
    color: #7ee7ff !important;
}

.side-schedule .column-card{
    margin-bottom: 14px;
}
.side-schedule .column-list a{
    gap: 8px;
}
.side-schedule .column-vs{
    font-size: 14px;
}
.side-schedule .column-logos img{
    width: 26px;
    height: 26px;
}
@media (min-width: 993px){
    body.skin-board .main > .row:has(.side-schedule){
        flex-direction: row !important;
        align-items: flex-start;
    }
    body.skin-board .main > .row:has(.side-schedule) .main-left{
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: calc(100% - 320px) !important;
    }
    body.skin-board .side-schedule{
        display: block !important;
        flex: 0 0 320px !important;
        width: 320px !important;
        max-width: 320px !important;
    }
}

.related-articles{
    margin: 18px 0 8px;
}
.related-articles h2{
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 800;
}
.related-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.related-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 92px;
    padding: 14px 12px;
    border: 1px solid #e4ebf3;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
}
.related-box b{
    display: block;
    color: #1c2836;
    font-size: 15px;
    line-height: 1.45;
}
.related-box .related-league{
    display: block;
    margin-top: 6px;
    color: #8b97a8;
    font-size: 12px;
}
.related-box{
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.related-box:hover{
    border-color: #1677ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(16, 42, 67, .08);
}
.related-box .dyn-btn{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #1677ff;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}
.related-box .dyn-btn.is-live{
    background: #e23b3b;
}
.related-box .dyn-btn.is-soon{
    background: #d4880f;
}
.related-box .dyn-btn.is-done{
    background: #5c6b7a;
}
body.skin-board .related-box{
    background: #0c1b2a;
    border-color: #245068;
}
body.skin-board .related-box b{
    color: #e8f2fa;
}
@media (max-width: 900px){
    .related-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

.home-columns{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 16px 0 8px;
}
.column-card .card-header{
    padding-bottom: 0 !important;
}
.column-card .card-body,
.column-page .card-body{
    padding: 4px 12px 12px !important;
}
.column-list{
    list-style: none;
    margin: 0;
    padding: 0;
}
.column-list li + li{
    border-top: 1px solid #e8eef5;
}
.column-list a{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
}
.column-main{
    min-width: 0;
}
.column-vs{
    display: block;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    color: #1c2836;
}
.column-meta,
.column-empty{
    display: block;
    margin-top: 3px;
    font-size: 12px;
    font-weight: 600;
    color: #8b97a8;
}
.column-empty{
    margin: 0;
    padding: 8px 4px 12px;
}
.column-logos{
    display: flex;
    flex: 0 0 auto;
}
.column-logos img{
    width: 32px;
    height: 32px;
    padding: 3px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 50%;
}
.column-logos img + img{
    margin-left: -10px;
}
body.skin-board .column-list li + li{
    border-top-color: #163044;
}
body.skin-board .column-vs{
    color: #e8f2fa;
}
body.skin-board .column-meta,
body.skin-board .column-empty{
    color: #7f93a6;
}
body.skin-board .column-logos img{
    background: #071018;
    border-color: #245068;
}
@media (max-width: 768px){
    .home-columns{
        grid-template-columns: 1fr;
    }
}

.live-player{
    position: relative;
    width: 100%;
    height: 0;
    margin: 0 0 12px;
    padding-top: 56.25%;
    background: #0b1220;
    border-radius: 12px;
    overflow: hidden;
}
.live-screen{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}
.live-hit{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.live-sources{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 18px;
}
.live-source.is-on{
    outline: 2px solid rgba(255,255,255,.85);
    outline-offset: 2px;
}
.live-source{
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px 11px;
    border-radius: 12px;
    border: 1px solid #0b57b8;
    border-bottom-width: 0;
    background: linear-gradient(180deg, #6eb6ff 0%, #1677ff 46%, #0b5ed7 100%);
    color: #fff !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 5px 0 #08448f, 0 10px 16px rgba(8, 68, 143, .28);
    transition: transform .15s ease, box-shadow .15s ease;
}
.live-source:nth-child(2){
    border-color: #0b6b38;
    background: linear-gradient(180deg, #5dce8a 0%, #0f8a4b 46%, #0b6e3b 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 5px 0 #08562d, 0 10px 16px rgba(8, 86, 45, .28);
}
.live-source:nth-child(3){
    border-color: #9a3d0d;
    background: linear-gradient(180deg, #f09a55 0%, #c45216 46%, #a34110 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 5px 0 #7a300b, 0 10px 16px rgba(122, 48, 11, .28);
}
.live-source:nth-child(4){
    border-color: #5b2d82;
    background: linear-gradient(180deg, #c49bff 0%, #7a3fd4 46%, #5b2d82 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 5px 0 #3d1c5c, 0 10px 16px rgba(61, 28, 92, .28);
}
.inner-mesh{
    margin: 4px 0 18px;
}
.inner-mesh h2{
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}
.inner-mesh-links{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.inner-mesh-links a{
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid rgba(127,127,127,.35);
    border-radius: 999px;
    color: inherit;
    text-decoration: none;
    line-height: 1.5;
}
.live-source:hover{
    color: #fff !important;
    transform: translateY(-2px);
}
.live-source:active{
    transform: translateY(3px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 2px 0 rgba(0,0,0,.25);
}
.dyn-dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    flex: 0 0 auto;
}
.live-source.is-live .dyn-dot,
.dyn-btn.is-live .dyn-dot{
    background: #ff3b30;
    animation: dyn-pulse-red 1.4s ease-out infinite;
}
.live-source.is-soon .dyn-dot,
.dyn-btn.is-soon .dyn-dot{
    animation: dyn-pulse 2.2s ease-out infinite;
}
.live-source.is-done{
    filter: saturate(.75);
}
.live-source.is-live::after{
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 42%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
    transform: skewX(-18deg);
    animation: dyn-sheen 2.8s ease-in-out infinite;
}
@keyframes dyn-pulse{
    0%{ box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
    100%{ box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}
@keyframes dyn-pulse-red{
    0%{ box-shadow: 0 0 0 0 rgba(255,59,48,.75); }
    100%{ box-shadow: 0 0 0 8px rgba(255,59,48,0); }
}
@keyframes dyn-sheen{
    0%{ left: -60%; }
    55%,100%{ left: 140%; }
}
@media (prefers-reduced-motion: reduce){
    .live-source,
    .related-box,
    .dyn-dot,
    .live-source.is-live::after{
        animation: none;
        transition: none;
    }
}

.match-article{
    margin: 0 0 16px;
    line-height: 1.85;
}
.match-article p{
    margin: 0 0 10px;
}
.pool-links{
    margin: 6px 0 0;
    line-height: 1.9;
    font-size: 14px;
}
.pool-links a{
    margin-right: 12px;
    white-space: nowrap;
}

@media (max-width: 900px){
    body.skin-card .items-group,
    body.skin-board .main-right{
        grid-template-columns: 1fr;
    }
    body.skin-board .list-group-flat .list-group-item.live-item{
        grid-template-columns: 1fr;
    }
}
