.live-scores{
    padding: 0 48px 48px;
    width: calc(100% - 96px);
}

.live-scores-title{
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 60px;
    padding: 46px 0 8px;
    color:var(--primary-mode-1);
}
.live-scores-toolbar{
    display:flex;
    align-items: center;
    justify-content: space-between;
    margin: 24px 0;
}
.live-scores-toolbar .live-switch{
    display: flex;
    gap:10px;
    align-items: center;
}
.live-scores-toolbar .live-switch .live_nums{
    color:var(--primary-mode-1);
}
.toggle-wrapper input#show-live-match{
    opacity: 0;
    position: absolute;
}
.toggle-wrapper input#show-live-match+label {
    cursor: pointer;
    position: relative;
    display: inline-block;
    user-select: none;
    transition: .4s ease;
    height: 12px;
    width: 20px;
    border-radius: 60px;
}
.toggle-wrapper input#show-live-match+label:before {
    content: "";
    position: absolute;
    display: block;
    background: var(--primary-9);
    transition: .2s cubic-bezier(0.24, 0, 0.5, 1);
    height: 12px;
    width: 20px;
    top: 0;
    left: 0;
    border-radius: 30px;
}
.toggle-wrapper input#show-live-match+label:after {
    content: "";
    position: absolute;
    display: block;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 4px 0px 0 rgba(0, 0, 0, .04), 0 4px 9px rgba(0, 0, 0, .13), 0 3px 3px rgba(0, 0, 0, .05);
    transition: .35s cubic-bezier(0.54, 1.6, 0.5, 1);
    background: var(--primary-11);
    height: 10px;
    width: 10px;
    top: 1px;
    left: 0px;
    border-radius: 60px;
}
.toggle-wrapper input#show-live-match:checked+label:before {
    background: var(--secondary-3);
    transition: width .2s cubic-bezier(0, 0, 0, 0.1);
}
.toggle-wrapper input#show-live-match:checked+label:after {
    left: 9px;
}


.live-indicator{
    margin:0;
    position: relative;
    inline-size: 8px;
    block-size: 8px;
    background-color: #09a3f6;
    border-radius: 99%;
    box-shadow: 0 0 0 0 #0000;
    z-index: 3;
}
.live-indicator:before,.live-indicator:after {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    transform: translate(-50%, -50%);
    content: "";
    border-radius: 99%;
}
.live-indicator:before{
    inline-size: 24px;
    block-size: 24px;
    z-index: 1;
    animation: pulse2 3s
    ease-in-out infinite;
    animation-delay: .5s;
}

.live-indicator:after {
    inline-size: 15px;
    block-size: 15px;
    z-index: 2;
    animation: pulse1 3s
    ease-in-out infinite;
}
@keyframes pulse1{0%,to{background-color:initial}50%{background-color:#09a3f6;opacity:40%}}
@keyframes pulse2{0%,to{background-color:initial}50%{background-color:#09a3f6;opacity:20%}}

.calendar-picker .icon-calendar{
    color:var(--primary-mode-1);
}
.day-picker{
    display:flex;
    align-items: center;
    gap:1px;
    margin-bottom: 20px;
}
.day-picker .day-picker-btn{
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-evenly;
    align-items: center;
    container-type: inline-size;
    container-name: day-picker;
    padding: 3px;
    min-block-size: 60px;
    flex: 1 1 auto;
    background: var(--primary-mode-12);
    color: var(--primary-mode-1);
    scroll-snap-align: start end;
    overscroll-behavior-x: none;
    cursor: pointer;
    font-size: 12px;
}
.day-picker .day-picker-btn .picker-week,.day-picker .day-picker-btn .picker-month{
    font-weight: 500;
    font-size: 12px;
}
.day-picker .day-picker-btn .picker-day{
    font-weight: 700;
    font-size: 20px;
}
.day-picker .day-picker-btn.active{
    background: var(--primary-mode-3);
    color: var(--primary-mode-11);
}

/* match lists */
.match-lists{
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.match-item-competition a{
    display: inline-flex;
}
.match-item a{
    text-decoration: none;
    color: inherit;
    align-items: center;
    color:var(--primary-mode-1);
}
.match-item a:hover{
    text-decoration: none;
}
.match-item a:hover span{
    text-decoration: none;
    color: var(--secondary-3);
}

.match-item-competition{
    margin-bottom:10px;
}
.match-item-competition-name{
    color:var(--primary-mode-1);
    font-weight: 700;
    font-size: 16px;
    margin-left: 8px;
}
.match-item-competition-image{
    border-radius: 50%;
    width:30px;
    height:30px;
    background-color:var(--primary-11);
}
.match-item-competition-image img{
    width:30px;
    height:30px;
    border-radius: 50%;
}

.match-item-list .match-row{
    display: grid;
    grid-template-rows: 32px;
    grid-template-columns: 1fr auto 1fr;
    padding: 20px 16px 24px;
    position: relative;
    gap: 8px;
    place-items: center;
    text-align: center;
    background:var(--primary-mode-12);
    border-bottom: 1px solid var(--primary-mode-10);
}
.match-item-list .match-row img{
    width:24px;
    height:24px;
    border-radius: 50%;
    background: var(--primary-mode-10);
}
.match-start-date{
    justify-self: start;
    width: auto;
    font-size: 14px;
    font-weight: 600;
}
.match-team-and-score{
    display: grid;
    grid-template-columns: 1fr calc(30px + 30px) 1fr;
    gap: 24px;
    grid-template-areas: "home-name team-scores away-name";
}


.match-team-and-score .match-team-into{
    min-width: 0;
}
.match-team-and-score .home_team,.match-team-and-score .away_team,.match-team-and-score .match-score{
    display:flex;
    max-height: 24px;
    gap: 12px;
    align-items: center;
    font-size: 1rem;
    text-align: start;
    color:var(--primary-mode-1);
}
.match-team-and-score .home_team{
    flex-direction: row-reverse;
    text-align: end;
    grid-area: home-name;
}
.match-team-and-score .away_team{
    text-align: end;
    grid-area: away-name;
}
.match-team-and-score .match-score{
    flex-direction: row;
    align-items: center;
    justify-content: center;
    grid-area: team-scores;
}
.match-live .match-team-and-score .match-score{
    background-color: #74c3ce;
    color: #ffffff;
    min-block-size: 30px;
    min-inline-size: 30px;
    border-radius: 4px;
    gap: 0;
}
.team-name{
    color:var(--primary-mode-1);
    font-weight: 500;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.match-item-list .match-start-date .match-time{
    font-size: 10px;
    font-weight: 500;
    position: relative;
    display: inline-block;
    line-height: 20px;
    padding-inline: 24px 8px;
    background-color: #74c3ce1f;
    border-radius: 10px;
    color: #74c3ce;
}
.match-start-date time{
    color:var(--primary-mode-1);
}
.match-item-list .match-live .match-start-date .match-time{
    font-size: 12px;
    font-weight: 600;
    min-width: 20px;
}
.match-item-list .match-live .match-start-date .match-time:after{
    content: "";
    position: absolute;
    height: 6px;
    width: 6px;
    background-color: #74c3ce;
    inset-inline-start: 7px;
    top: 7px;
    border-radius: 50%;
    animation: match-list-live-time 1s infinite;
}

@keyframes match-list-live-time{
    0% {
        opacity: 0;
        box-shadow: 0 0 0 0 #74c3ce26, 0 0 0 0 #74c3ce;
    }
    40% {
        opacity: 1;
        box-shadow: 0 0 0 2.5px #74c3ce26, 0 0 0 0 #74c3ce;
    }
    80% {
        opacity: 1;
        box-shadow: 0 0 0 5px #74c3ce26, 0 0 0 2.5px #74c3ce00;
    }
    99% {
        opacity: 1;
        box-shadow: 0 0 0 5px #74c3ce00, 0 0 0 2.5px #74c3ce00;
    }
    100% {
        opacity: 0;
        box-shadow: 0 0 0 5px #74c3ce00, 0 0 0 2.5px #74c3ce00;
    }
}

@media screen and (max-width: 800px){
    .live-scores{
        padding:20px;
        width: calc(100% - 40px);
    }
}
@media screen and (max-width: 600px){
    .match-item-list .match-row{
        grid-template-columns: auto 1fr
    }
    .match-team-and-score{
        --scores-container-size: 30px;
        grid-template-columns: 1fr var(--scores-container-size, 30px);
        grid-template-areas:
            "home-name team-scores"
            "away-name team-scores";
        gap: 5px;
        column-gap: 8px;
        width: calc(100% - 30px);
        margin-left: 10px;
    }
    .match-team-and-score .home_team {
        flex-direction: row;
    }
    .match-team-and-score .match-score {
        flex-direction: column;
    }
}



/* matchinfo */
.matchinfo_module {
    display: flex;
    flex-wrap: wrap;
    margin: 30px auto;
    gap: 24px;
    width: 100%;
}
.matchinfo_module a{
    text-decoration: none !important;
    color: inherit;
}
.matchinfo_module .header-container{
    width: 100%;
}
.matchinfo_module .info_header{
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--primary-mode-1);
    position: relative;
    padding: 24px 16px;
    align-items: center;
}
.matchinfo_module .info_header > * {
    flex: 1;
}

.matchinfo_module .info_header:before{
    content: "";
    position: absolute;
    inset-inline: 0;
    z-index: -1;
    display: block;
    background: url(../img/match-header-bg.png) no-repeat;
    background-size: cover;
    height: 100%;
    filter: contrast(.5) brightness(2.2);
    top: 0;
}
html[data-theme="dark"] .matchinfo_module .info_header:before{
    filter: unset;
}

.matchinfo_module .match-main-info{
    display:grid;
    grid-template-columns:minmax(0,1fr) 240px minmax(0,1fr);
    align-items: center;
    gap: 16px;
    justify-content: center;
    width: 100%;
}

.matchinfo_module .match-main-info img{
    height:90px;
}
@media screen and (max-width: 800px){
    .matchinfo_module .match-main-info img{
        height:70px;
    }
}
@media screen and (max-width: 600px){
    .matchinfo_module .match-main-info img{
        height:50px;
    }
}
.matchinfo_module .match_info_center{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-height: max-content;
    text-align: center;
    min-width:224px;
}

.matchinfo_module .match-main-info .home_team,.matchinfo_module .match-main-info .away_team{
    display:flex;
    align-items: center;
    gap: 24px;
    min-height: max-content;
    text-align: center;
    font-size:20px;
    font-weight: 700;
    color:var(--primary-mode-1);
}

.matchinfo_module .match-main-info .home_team{
    flex-direction: row-reverse;
}
.matchinfo_module .match_scores{
    font-size:36px;
    font-weight: 700;
}
.matchinfo_module .match-score-info{
    gap: 1rem;
}
.match-score-info .scores:after {
    content: "┊";
    width: 1rem;
    color:var(--primary-mode-1);
    display: inline-block;
    text-align: center;
    margin-left: 0.5rem;
}

.match-score-info .scores:last-child::after {
    content: "";
    width: 0;
    margin: 0;
}

.matchinfo_module .heading_title{
    font-size:14px;
    gap:10px;
    color:var(--primary-5);
}
.matchinfo_module .tabs{
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.matchinfo_module .tabs .nav-tab-link span{
    color:var(--primary-mode-1);
    font-weight: normal;
    white-space: nowrap;
}

.matchinfo_module .tabs .nav-tab-link:hover,.matchinfo_module .tabs .nav-tab-link.active {
    border-bottom: 4px solid #f0705a;
    padding-bottom: 5px;
}
.matchinfo_module .match-content{
    display:flex;
    flex-direction: column;
    flex: 1 1;
    background:var(--primary-mode-12);
    padding: 0 16px 16px;
    border-radius: 8px;
    color:var(--primary-mode-1);
}
.m_item{
    display: none !important;;
}
.m_item.active{
    width: 100%;
    display: block !important;;
}
.m_item .m_item_title{
    font-size:20px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom:16px;
    padding-bottom:5px;
    border-bottom: 1px solid var(--primary-mode-10);
}
.m_item .league_info{
    padding: 15px 0;
    font-size: 16px;
}
.m_item .league_info img{
    height: 24px;
    object-fit: cover;
    margin-right:10px;
}
.m_item .m_info_item{
    padding: 10px 0;
}
.m_item .region .team_info{
    display: grid;
    grid-template-columns: auto 0.1fr auto;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
    gap: 10px;
    margin-block: 24px;
    margin-bottom: 60px;
}
.m_item .region .team_info img{
    width: 64px;
}
.m_item .region .team_item{
    display:flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
}
.m_item .region .team_vs{
    justify-content: center;
}
.m_item .m_stats_content{
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.m_item .stats-info{
    display:flex;
    justify-content: space-between;
    gap: 8px;
    font-weight: 700;
}
.m_item .stats-info .stats-data{
    font-size: 24px;
}
.m_item .stats-info .stats-heading{
    font-weight: 400;
    font-size: 16px;
}
.m_item .stats-line{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.m_item .stats-line .component-progress-bar{
    width: 100%;
    height: 8px;
    border-radius: 2px;
    background:var(--primary-mode-8);
    display: flex;
}
.m_item .stats-line .progress-bar{
    background:var(--primary-mode-1);
    border-radius: 2px;
}


@media screen and (max-width: 800px){
    .matchinfo_module .match-main-info .home_team, .matchinfo_module .match-main-info .away_team {
        flex-flow: column nowrap;
    }
    .matchinfo_module .heading_title,.matchinfo_module .tabs {
        justify-content: center;
    }
    .matchinfo_module .match-main-info{
        grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr);
    }
    .matchinfo_module .match_info_center{
        min-width: auto;
    }
}
@media screen and (max-width: 600px) {
    .matchinfo_module .heading_title{
        flex-wrap: wrap;
        line-height: 8px;
        margin: 15px;
    }
}
.m_lineup .component-formation{
    display:none;
}

.m_lineup .component-formation-header{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
    grid-template-areas: "team_home team_title team_away";
    grid-auto-flow: column;
    font-size:24px;
    padding: 10px 20px;
}
.m_lineup .component-formation-header h2{
    font-size:24px;
    font-weight: normal;
}
.m_lineup .component-formation-header img{
    height: 48px;
}
.m_lineup .component-formation-header .home_team{
    grid-area: team_home;
}
.m_lineup .component-formation-header .header_heading{
    grid-area: team_title;
}
.m_lineup .component-formation-header .away_team{
    grid-area: team_away;
}
.m_lineup .component-formation-header .home_team,.m_lineup .component-formation-header .away_team{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-flow: column;
    column-gap: 10px;
    align-items: center;
    justify-content: center;
}
.m_lineup .component-formation-header .home_team .header_team,.m_lineup .component-formation-header .away_team .header_team{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size:20px;
}
.m_lineup .lineup-img{
    --width: clamp(0px, calc(100vw * 0.545), 740px);
    margin: 0 auto;
    position: relative;
    height: var(--width);
}
.m_lineup .lineup-img svg{
    width: var(--width);
    rotate: -90deg;
    height: calc(var(--width) / .56);
    transform-origin: calc(var(--width) / 2) calc(var(--width) / 2);
}
.m_lineup .line_list {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 19;
    display: flex;
    justify-content: space-between;
}
.m_lineup .line_list .home_lineup, .m_lineup .line_list .away_lineup {
    flex: 1 1 50%;
    position: relative;
}
.m_lineup .line_list .player_item{
    --size: 48px;
    position: absolute;
    width: var(--size);
    height: var(--size);
    line-height: var(--size);
}
.m_lineup .line_list .player_number {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    line-height: var(--size);
    text-align:center;
    border-radius: 50%;
    box-shadow: 0 4px 12px #0000004d;
    font-size: 26px;
    font-weight: 500;
}
.m_lineup .line_list .player_name{
    position: absolute;
    top: calc(var(--size) - 10px);
    font-size: 14px;
    max-width: calc(var(--size) * 2.5);
    white-space: nowrap;
    min-width: min-content;
    inset-inline: 50%;
    transform: translateX(-50%);
}
.m_lineup .home_team,.m_lineup .away_team{
    font-size:26px;
}
.m_lineup .home_team img,.m_lineup .away_team img{
    height:48px;
}
.m_lineup .fitst_players,.m_lineup .substitute_players{
    display:none;
    gap:16px;
    margin-top:24px;
}
.m_lineup .home_lineup_list,.m_lineup .away_lineup_list{
    flex: 0 0 50%;
}
.m_lineup .home_lineup_list h2,.m_lineup .away_lineup_list h2{
    padding-left: 50px;
}
.m_lineup .player_avatar{
    width:64px;
    height:64px;
}
.m_lineup li.players_item{
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 16px;
}
.m_lineup li.players_item:nth-child(2n) {
    background-color: var(--primary-mode-11);
}
.m_lineup li .player_number{
    font-size:20px;
    flex: 0 0 5%;
}
@media screen and (max-width: 780px){
    .m_lineup .component-formation-header{
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
        "team_title team_title"
        "team_home team_away";
        gap: 20px;
    }
    .m_lineup .component-formation-header .home_team, .m_lineup .component-formation-header .away_team{
        grid-template-columns: auto;
    }
    .m_lineup .component-formation-header .home_team .header_team{
        flex-direction: row-reverse;
    }
    .m_lineup .component-formation-header .away_team .header_team{
        flex-direction: row-reverse;
    }
    .m_lineup .home_team, .m_lineup .away_team {
        font-size: 26px;
    }
    .m_lineup .home_team img, .m_lineup .away_team img {
        height: 32px;
    }
    .m_lineup .lineup-img {
        --width: 100%;
    }
    .m_lineup .lineup-img svg{
        width: 100%;
        height: 100%;
        rotate:0deg;
    }
    .m_lineup .line_list {
        flex-wrap: wrap;
    }
    .m_lineup .line_list .home_lineup, .m_lineup .line_list .away_lineup {
        flex: 1 1 100%;
    }
    .m_lineup .fitst_players, .m_lineup .substitute_players {
        flex-wrap: wrap;
    }
    .m_lineup .home_lineup_list,.m_lineup .away_lineup_list{
        flex: 0 0 100%;
    }
}
@media screen and (max-width: 680px){
    .m_lineup .component-formation-header .home_team .header_team, .m_lineup .component-formation-header .away_team .header_team {
        font-size: 16px;
    }
    .m_lineup .component-formation-header .component-formation-formation{
        font: 20px;
    }
}
@media screen and (max-width: 600px){
    .m_lineup .component-formation-header .home_team, .m_lineup .component-formation-header .away_team {
        display: flex;
        flex-wrap: wrap;
    }
    .m_lineup .component-formation-header .away_team {
        flex-direction: column-reverse;
    }

}

/* m_table */
.m_table table{
    width: 100%;
    border-spacing: 0 1px;
    table-layout: fixed;
    padding-inline: 24px;
    padding-top: 10px;
}
.m_table table thead{
    font-size:14px;
    font-weight: 700;
}
.m_table table thead th{
    width:50px;
    text-align: center;
}
.m_table table thead .table_num{
    padding-inline-start: 12px;
    width: 70px;
}
.m_table table thead .table_team{
    text-align: start;
    width: 100%;
    padding-inline: 10px;
}
.m_table tbody td{
    width: 50px;
    padding-inline: 10px;
    font-size: 16px;
    position: relative;
    text-align: center;
    padding-block: 8px;
    overflow: hidden;
    border-bottom: 1px dashed var(--primary-mode-9);
    padding-bottom: 15px;
}
.m_table table tbody .table_num{
    width: 70px;
}
.m_table table tbody .table_num:after{
    content: "";
    position: absolute;
    width: 8px;
    height: 100%;
    inset-inline-start: 0;
    top: 0;
    background-color: var(--color);
}
.m_table table tbody .table_team{
    font-size: 16px;
}
.m_table table tbody .table_team a{
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}
.m_table .promotions_list{
    text-align: left;
    padding: 24px 16px 32px;
    padding-inline: 24px;
}
.m_table .promotions_list span{
    font-size:20px;
}
.m_table .promotions_list ol{
    list-style: none;
    padding: 0;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.m_table .promotions_list ol li{
    padding-inline-start: 20px;
    font-size: 14px;
    position: relative;
}
.m_table .promotions_list ol li:before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    height: 100%;
    width: 8px;
    background-color: var(--color);
}
@media screen and (max-width: 780px){
    .m_table table {
        table-layout: inherit;
    }
    .m_table table th,.m_table table td{
        padding-inline: 0px;
        width: 30px !important;
    }
    .m_table table th:nth-child(7),
    .m_table table th:nth-child(8),
    .m_table table td:nth-child(7),
    .m_table table td:nth-child(8){
        display: none;
    }
    .m_table table td.table_team span{
        text-align: left;
    }
}
@media screen and (max-width: 580px){
    .m_table table th:nth-child(9),
    .m_table table td:nth-child(9) {
        display: none;
    }
}


/* h2h */
.m_h2h .tabsh2h{
    display: none;
    margin-bottom:50px;
}
.m_h2h .match-item-list .match-row{
    grid-template-columns: 100px 1fr 155px;
}
.m_h2h .mb_match_date{
    display:none;
}
.m_h2h .match-team-and-score .match-score {
    background-color: var(--primary-mode-10);
    color: var(--primary-mode-1);
    min-block-size: 30px;
    min-inline-size: 30px;
    border-radius: 4px;
    gap: 0;
}
@media screen and (max-width: 780px){
    .m_h2h .match-item-list .match-row{
        grid-template-columns: 50px 1fr;
        padding: 20px 16px;
    }
    .m_h2h .match-team-and-score div{
        min-block-size: 20px!important;
    }
    .match-start-date {
        flex-wrap: wrap;
    }
    .m_h2h .mb_match_date{
        display:block;
        flex: 1 1 100%;
        text-align: left;
    }
    .m_h2h .match-start-day{
        display:none;
    }
}
@media screen and (max-width: 600px){
    .m_h2h .match-team-and-score>.match-score{
        margin-top: 15px!important;
    }
}


/* team page */
.league_module .team_info{
    display:flex;
    gap: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    color:var(--primary-mode-1);
    border-bottom: 1px solid var(--primary-mode-10);
}
.league_module .m_h2h .match-item-list .match-row {
    grid-template-columns: 100px 1fr;
}
.league_module .league_schedule .m_h2h .match-team-and-score .match-score{
    min-inline-size:0px;
}
.league_module .match-start-date{
    flex-wrap: wrap;
    text-align: left;
}
.league_module .match-start-date div{
    flex:0 0 100%;
}
.league_module .league_table{
    color:var(--primary-mode-1);
}
@media screen and (max-width: 600px){
    .league_module .league_schedule .m_h2h .match-team-and-score .match-score{
        min-inline-size:30px;
    }
}
.league_data{
    background: var(--primary-mode-12);
    padding: 0 16px 16px;
    border-radius: 8px;
    color: var(--primary-mode-1);
}
.league-post-wapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.league-post-item {
    display: flex;
    gap: 10px;
    flex: 0 0 calc(50% - 10px);
}
.league-post-item .post-item-thumbnail, .league-post-item .post-item-content {
    flex: 0 0 50%;
}
.league-post-item .post-item-thumbnail img {
    width: 100%;
    height: 100%;
}
.league-post-item .post-item-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.post-item-content .post-item-data {
    flex: 1 1 100%;
}
.post-item-content .post-item-data{
    display: flex;
    align-items: center;
    gap: 8px;
}
.post-item-content .meta_container .metaimg{
    width:24px;
    height:24px;
    vertical-align: middle;
}
@media screen and (max-width: 780px){
    .league-post-item {
        flex: 0 0 calc(100% - 50px);
        margin: 0 20px;
    }
}

/* laydate */
html[data-theme=dark] .layui-laydate,html[data-theme=dark] .layui-laydate-hint{
    background-color: #222222 !important;
    color: #fff !important;
}

html[data-theme=dark] .layui-laydate-content td,html[data-theme=dark] .layui-laydate-content th  {
    color: #fff !important;
}
html[data-theme=dark] .layui-laydate-content .laydate-day-next,html[data-theme=dark] .layui-laydate-content .laydate-day-prev {
    color: #aaa !important;
}
html[data-theme=dark] .layui-laydate-header,html[data-theme=dark] .layui-laydate-content,html[data-theme=dark] .layui-laydate, html[data-theme=dark] .layui-laydate-hint{border:none !important;}
html[data-theme=dark] .layui-laydate .layui-laydate-content .layui-this {
    background-color: #fff !important;
    color: #333 !important;
    border-radius: 50px;
}
html[data-theme=dark] .layui-laydate .layui-laydate-content tr{height:35px;}



.empty_data{
    padding:5rem 2rem;
    text-align:center;
}
.ajax-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 405px;
    width: 100%;
    position: relative;
}
.ajax-loading .dot {
    width: 20px;
    height: 20px;
    background-color: var(--primary-mode-1);
    border-radius: 50%;
    margin: 0 5px;
    animation: bounce 1.1s ease infinite;
}
.ajax-loading .dot:nth-child(1) {
    animation-delay: 0s;
}
.ajax-loading .dot:nth-child(2) {
    animation-delay: 0.1s;
}
.ajax-loading .dot:nth-child(3) {
    animation-delay: 0.2s;
}
.ajax-loading .dot:nth-child(4) {
    animation-delay: 0.3s;
}
.ajax-loading .dot:nth-child(5) {
    animation-delay: 0.4s;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-60px);
    }
    60% {
        transform: translateY(25px);
    }
}