/* Theme Specific */
.loading-spinner {
    display: none;
    text-align: center;
    padding: 20px;
}

.loading-spinner.active {
    display: block;
}

.has-shadow>.col>.col-inner {
    background-color: #292b2e;
}

blockquote {
    color: #dd9933;
}

.api-scrollbox {
    border: 1px solid #333;
    border-radius: 8px;
    padding: 10px;
    background-color: #1c1e1f;
    color: #fff;
}

/* Menu New */
.list-filter li a.now {
    color: #9bffab;
    background: #042104;
    /* Fallback cho iOS 9 */
    background: linear-gradient(180deg, #042104 39.71%, #045830 119.12%);
}

.list-filter li a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
    min-width: 120px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    white-space: nowrap;
    font-family: 'Raleway', sans-serif;
    color: #ffffff;
    background: #4a586736;
}

.list-filter li a:active {
    opacity: 0.8;
    /* Phản hồi khi chạm trên iOS */
}

.list-filter li {
    position: relative;
    z-index: 9;
    margin-left: 0 !important;
}

.list-filter li a.now::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 5.61px;
    padding: 1.5px;
    background: rgb(62, 212, 106);
    /* Fallback cho iOS 12 */
    background: linear-gradient(-3.19deg, rgb(62, 212, 106) 2.71%, rgb(0, 42, 12) 97.57%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.list-filter li a.now {
    border: 1px solid rgb(62, 212, 106);
    /* Fallback cho iOS 12 */
}

.list-filter li a.active,
.list-filter li a:hover {
    color: #9BFFAB;
    border: 1px solid transparent;
    position: relative;
    font-weight: 600;
    z-index: 1;
    background: rgba(31, 62, 171, 0.32);
    /* Fallback cho iOS 9 */
    background: linear-gradient(360deg, rgba(31, 62, 171, 0.32), rgba(22, 89, 81, 0.2));
}

.list-filter li a.active::before,
.list-filter li a:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    padding: 1px;
    background: rgba(0, 101, 144, 1);
    /* Fallback cho iOS 12 */
    background: linear-gradient(360deg, rgba(0, 101, 144, 1), rgba(35, 59, 83, 0));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.list-filter li a.active,
.list-filter li a:hover {
    border: 1px solid rgba(0, 101, 144, 1);
    /* Fallback cho iOS 12 */
}

.list-filter li a.now .num {
    background: #202229;
}

.list-filter li a .num {
    background: #162737;
    border: none;
    color: #ffffff;
    font-weight: 600;
    border-radius: 38px;
    width: 22px;
    height: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: flex-start;
    font-size: 11px;
    font-family: 'Oswald', sans-serif;
}

.filter-row.active {
    display: flex;
    position: relative;
}

.filter-row {
    display: none;
    padding: 16px;
}

.list-filter {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    list-style: none;
    gap: 15px;
    margin-bottom: 0;
    -webkit-overflow-scrolling: touch;
    /* Cải thiện cuộn trên iOS */
}

.list-filter>*+* {
    margin-left: 15px;
    /* Fallback cho gap trên iOS 12.1 trở xuống */
}

.custom-dropdown-trigger {
    background-color: #4a586736;
    color: white;
    padding: 7px 20px 7px 10px;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    border: none;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-dropdown-trigger:active {
    opacity: 0.8;
    /* Phản hồi khi chạm trên iOS */
}

.custom-dropdown-trigger::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    width: 6px;
    height: 6px;
    border: solid #00eb1f;
    border-width: 0 2px 2px 0;
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
}

/* Match List Container */
.grid-matches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.grid-match {
    color: white;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    font-family: 'Roboto', sans-serif;
    position: relative;
    overflow: hidden;
}

.match-link {
    position: relative;
}

.match-link:active {
    opacity: 0.8;
    /* Phản hồi khi chạm trên iOS */
}

.grid-match__league {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    line-height: 14px;
    color: #fff;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.grid-match__league>*+* {
    margin-left: 6px;
    /* Fallback cho gap trên iOS 12.1 trở xuống */
}

.grid-matches__item .grid-match__body {
    display: flex;
    justify-content: space-around;
    padding: 20px 15px;
}

.grid-matches__item .grid-match__league .text-ellipsis {
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.grid-match__league img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain;
    background-size: contain;
    /* Fallback cho object-fit trên iOS 9 */
    background-position: center;
    background-repeat: no-repeat;
}

.grid-matches__item .t_time.t_time_num {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.grid-match__time {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 3;
    color: #fff;
}

.grid-match__status,
.icon-haflt {
    z-index: 2;
    cursor: pointer;
}

.gmd-elapsed-wrapper {
    position: absolute;
    top: -24px;
    width: 120px;
    height: 30px;
}

.grid-match__time .progress-bar {
    position: absolute;
    left: 3px;
    top: 2px;
    height: 86%;
    background: rgba(18, 117, 37, 0.63);
    border-bottom-left-radius: 60px;
    width: 20%;
    border-bottom-right-radius: 0px;
}

.gmd-e_minutes {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 12px;
    font-family: "Roboto", sans-serif;
    /* font-weight: bold; */
    color: #fff;
    text-wrap: nowrap;
}

.gmd-elapsed-time {
    position: relative;
    border-radius: 5px;
    text-align: center;
}

.gmd-elapsed {
    width: 100%;
    height: 100%;
}

.grid-match.type-2 {
    border-color: red;
}

.grid-match::before {
    content: "";
    background: #232324;
    /* Fallback cho iOS cũ */
    background: #232324 url('https://img.upanh.tv/2025/03/25/bg-match.png') center/cover no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.content {
    position: relative;
    z-index: 2;
}

.grid-matches__item .grid-match__team {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 10px;
}

.grid-matches__item .grid-match__team>*+* {
    margin-left: 10px;
    /* Fallback cho gap trên iOS 12.1 trở xuống */
}

.grid-matches__item .grid-match__team--name {
    max-height: 19px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    max-width: 140px;
}

.grid-matches__item .grid-match__team-home {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.grid-matches__item .grid-match__team-home .grid-match__team--name {
    text-align: right;
}

.grid-match__team {
    flex: 1;
    min-width: 0;
}

.grid-matches__item .grid-match__team img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background-size: contain;
    /* Fallback cho object-fit trên iOS 9 */
    background-position: center;
    background-repeat: no-repeat;
}

.team-name-group {
    display: flex;
    flex-direction: column;
}

.team-logo-group {
    display: flex;
    position: relative;
}

.grid-matches__item .grid-match__team .grid-match__team--name {
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.text-team {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}

.match-info {
    align-items: center;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    text-align: center;
    padding: 10px 11px;
}

.gmd-match-date {
    text-align: right;
    color: #828B98;
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
}
.gmd-match-date span {
    position: relative;
    padding: 5px 15px;
    margin-bottom: 0;
    border-radius: 13px;
    background: transparent;
}
.gmd-match-date span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 13px;
    padding: 1px;
    background: linear-gradient(0deg, #41434A 10%, rgba(46, 46, 46, 0.1019607843) 70%) !important;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.grid-matches__item .grid-match__status {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 100px;
    padding: 0px 5px;
    flex-direction: column;
}

.grid-match__vs {
    display: flex;
    justify-content: center;
    padding: 0px;
    width: 100%;
    align-items: center;
}

.grid-matches__item .grid-match__status .grid-match__vs {
    background: #1553ef;
    /* Fallback cho iOS cũ */
    background: linear-gradient(125deg, #1553ef, #0c3089 27.66%, #0c1a4c 68.97%);
    stroke-width: 1px;
    stroke: #1456FF;
    color: #FFF;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-content: center;
    justify-content: center;
}

.commentator::after {
    content: '';
    opacity: 0.32;
    background: #333A42;
    /* Fallback cho iOS cũ */
    background: linear-gradient(90deg, #333A42 0%, #FFF 48.79%, #333A42 97.58%);
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 107px;
    max-width: 100%;
    height: 1px;
}

.commentator {
    padding: 10px 15px;
    margin-top: 15px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 42px;
    line-height: 42px;
    box-shadow: 0px -1px 0px rgba(255, 255, 255, 0.1);
    /* Đơn giản hóa cho hiệu suất */
    transform: translateY(-4px);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    position: relative;
    z-index: 10;
    font-size: 12px;
}

.caster-name {
    color: #00ff00;
    font-weight: bold;
}

.viewer-count {
    display: flex;
    align-items: center;
    gap: 4px;
}

.viewer-count>*+* {
    margin-left: 4px;
    /* Fallback cho gap trên iOS 12.1 trở xuống */
}

.viewer-count img {
    width: 16px;
    height: 16px;
}

/* Responsive Adjustments for Match List */
@media (max-width: 1024px) {
    .grid-matches {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .gmd-e_minutes {
        font-size: 9px;
    }
    .grid-matches {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 1200px) {
    .grid-matches__item .grid-match__body {
        padding: 10px 0px;
    }

    .grid-matches__item .grid-match__team .grid-match__team--name {
        font-size: 12px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 100px;
    }
}

@media only screen and (max-width: 992px) {
    .grid-matches {
        grid-template-columns: 1fr;
    }

    .grid-matches__item .grid-match__body {
        justify-content: space-between;
    }

    .grid-matches__item .grid-match__league .text-ellipsis {
        max-width: 70px;
        display: flex;
        font-size: 11px;
    }

    .grid-matches__item .grid-match__league {
        font-size: 12px;
    }
}

@media screen and (max-width: 575px) {
    .grid-matches__item .commentator {
        font-size: 10px;
    }

    .grid-matches__item .grid-match__body {
        padding: 15px 0px;
    }

    .grid-matches__item .grid-match__status {
        flex-basis: 85px;
    }

    .grid-matches__item .grid-match__team .grid-match__team--name {
        max-width: 85px;
    }

    .grid-matches__item .grid-match__team img {
        width: 36px;
        height: 36px;
    }

    .grid-match__team .team-logo-group {
        flex-direction: column;
    }

    .grid-match__team .team-name-group {
        gap: 6px;
    }
}

@media screen and (max-width: 391px) {
    .grid-matches__item .grid-match__team .grid-match__team--name {
        max-width: 70px;
    }

    .grid-matches__item .grid-match__team img {
        width: 32px;
        height: 32px;
    }
}

/* Responsive Adjustments for Menu */
@media (max-width: 1199px) {
    .list-filter li a {
        min-width: fit-content;
        gap: 7px;
        min-width: 100px;
    }
}

@media (max-width: 1250px) {
    .list-filter {
        gap: 6px;
    }
}

@media (max-width: 992px) {
    .list-filter {
        overflow-x: scroll;
        overflow-y: hidden;
        padding: 0 0 12px 0;
        margin-bottom: 12px;
        gap: 10px;
    }
}

.list-filter::-webkit-scrollbar {
    height: 4px;
    width: 4px;
}

.list-filter::-webkit-scrollbar-thumb {
    background: rgb(255 255 255);
    border-radius: 4px;
    height: 4px;
    width: 4px;
}

.list-filter::-webkit-scrollbar-track {
    background: #60828b;
    height: 4px;
    width: 4px;
}

@media (max-width: 768px) {
    .list-filter li a {
        gap: 5px;
    }

    .list-filter li a.active,
    .list-filter li a:hover {
        font-weight: 500;
    }
}

@media (max-width: 576px) {
    .filter-row {
        padding: 15px 10px;
    }

    .list-filter li a {
        font-size: 11px;
        font-weight: 500;
        min-width: 85px;
        padding: 0 4px;
    }

    .list-filter {
        gap: 6px;
    }
}

@media (max-width: 450px) {
    .gmd-e_minutes {
        font-size: 9px;
    }
    .filter-row {
        padding: 12px 6px;
    }
}

/* Switch */
.sports-bars .btn-livescore {
    position: relative;
    width: 130px;
    height: 32px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    color: #fff;
    font-family: Oswald;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    background: #1B1D21;
    border: 1px solid transparent;
    border-radius: 30px;
    padding: 0 10px;
    margin-bottom: 0;
}

.sports-bars .btn-livescore:active {
    opacity: 0.8;
    /* Phản hồi khi chạm trên iOS */
}

.sports-bars .btn-livescore::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
    padding: 1px;
    background: rgb(0, 200, 244);
    /* Fallback cho iOS 12 */
    background: linear-gradient(7.9deg, rgb(0, 200, 244) 6.4%, rgb(66, 83, 243) 95.05%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.sports-bars .btn-livescore {
    border: 1px solid rgb(0, 200, 244);
    /* Fallback cho iOS 12 */
}

.sports-bars .btn-livescore .switch-style {
    background: #3E3E3E;
    border-radius: 30px;
    cursor: pointer;
    display: inline-block;
    height: 18px;
    width: 32px;
    position: relative;
    transition: all 0.3s ease-in-out;
    margin-right: 6px;
    z-index: 2;
}

.sports-bars .btn-livescore .switch-style:before {
    background-color: #fff;
    border-radius: 50%;
    content: "";
    display: block;
    height: 14px;
    width: 14px;
    left: 2px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
}

.sports-bars .btn-livescore>input[type="checkbox"]:checked+.switch-style {
    background: #0157ff;
    /* Fallback cho iOS 9 */
    background: linear-gradient(93deg, #0157ff 12.13%, #a3ffff 101.78%);
}

.sports-bars .btn-livescore>input[type="checkbox"]:checked+.switch-style:before {
    left: 16px;
}

.sports-bars .btn-livescore input {
    display: none;
}

.sports-bars .btn-livescore .switch-custom {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    background: transparent;
    overflow: hidden;
    z-index: 1;
}

.sports-bars .btn-livescore>input[type="checkbox"]:checked~.switch-custom::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #00c8f4;
    /* Fallback cho iOS 9 */
    background: linear-gradient(to top, #00c8f4, #4253f3);
    border-radius: 25px;
    z-index: -1;
}

.sports-bars .btn-livescore>input[type="checkbox"]:checked~.switch-custom:after {
    content: "";
    position: absolute;
    top: 1.5px;
    left: 1.5px;
    right: 1.5px;
    bottom: 1.5px;
    background: #2532d5;
    /* Fallback cho iOS 9 */
    background: linear-gradient(to top, #2532d5, #070e59);
    border-radius: 25px;
    z-index: -1;
}

.sports-bars .btn-livescore .txt {
    position: relative;
    z-index: 2;
    color: #FFEDED;
    text-align: center;
    font-family: Oswald;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 16.552px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sports-bars .btn-livescore span.txt-pc {
    display: block;
}

.sports-bars .btn-livescore span.txt-sm {
    display: none;
}

/* Page Bars */
.page_bars {
    background: #111213;
    /* Fallback cho iOS 9 */
    background: linear-gradient(191deg, #111213 12.72%, #262932 120.64%);
    border-radius: 7px;
    position: relative;
    margin-bottom: 20px;
}

.sports-bars {
    border-bottom: 1px solid #ffffff00;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    overflow: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    position: relative;
    -webkit-overflow-scrolling: touch;
    /* Cải thiện cuộn trên iOS */
}

.sports-bars::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgb(255 255 255 / 10%);
}

.sports-bars ul {
    list-style: none;
    width: 100%;
    display: flex;
    gap: 26px;
    margin: 0;
    padding: 0;
    flex: 0 0 calc(100% - 145px);
    padding-right: 6px;
    border-bottom: none;
}

.sports-bars ul>*+* {
    margin-left: 26px;
    /* Fallback cho gap trên iOS 12.1 trở xuống */
}

.sports-bars ul li {
    position: relative;
    margin-bottom: 0;
}

.nav-tabs .nav-item {
    margin-bottom: -1px;
}

.sports-bars ul li button.active,
.sports-bars ul li button:focus,
.sports-bars ul li button:hover {
    color: #00fffd;
    text-shadow: 0px 0.92px 3.678px rgba(0, 0, 0, 0.24);
    border-radius: 7px;
    position: relative;
    border: 1px solid transparent;
    background: rgba(37, 44, 135, 1);
    /* Fallback cho iOS 9 */
    background: linear-gradient(360deg, rgba(37, 44, 135, 1), rgba(34, 42, 73, 0.2));
}

.sports-bars ul li button.active::before,
.sports-bars ul li button:focus::before,
.sports-bars ul li button:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 7px;
    padding: 1px;
    background: rgb(0, 200, 244);
    /* Fallback cho iOS 12 */
    background: linear-gradient(360deg, rgba(0, 200, 244, 1), rgba(66, 83, 243, 1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.sports-bars ul li button.active,
.sports-bars ul li button:focus,
.sports-bars ul li button:hover {
    border: 1px solid rgb(0, 200, 244);
    /* Fallback cho iOS 12 */
}

.sports-bars ul li {
    position: relative;
}

.sports-bars ul li::after {
    content: "";
    display: block;
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.5);
    /* Fallback cho iOS 9 */
    background: linear-gradient(360deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 55%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translate(50%, -50%);
}

.sports-bars ul li button {
    font-family: Oswald;
    background: transparent;
    border: 1px solid transparent;
    color: #FFEDED;
    text-shadow: 0px 0.92px 3.678px rgba(0, 0, 0, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    gap: 5px;
    font-weight: 600;
    min-width: 125px;
    height: 39px;
    outline: 0;
    border-radius: 7px;
}

.sports-bars ul li button:active {
    opacity: 0.8;
    /* Phản hồi khi chạm trên iOS */
}

.sports-bars ul li button span {
    line-height: 0;
}

/* Responsive Adjustments for Sports Bars */
@media (max-width: 768px) {
    .sports-bars ul {
        gap: 6px;
    }

    .sports-bars ul>*+* {
        margin-left: 6px;
        /* Fallback cho gap */
    }

    .sports-bars ul li button {
        font-size: 11px;
        border-radius: 7px;
        flex-direction: column;
        gap: 10px;
        min-width: 62px;
        height: 50px;
        padding: 0;
    }

    .sports-bars ul li::after {
        background: transparent;
    }

    .sports-bars ul li button.active,
    .sports-bars ul li button:focus,
    .sports-bars ul li button:hover {
        border-radius: 7px;
    }

    .sports-bars ul li button.active::before,
    .sports-bars ul li button:focus::before,
    .sports-bars ul li button:hover::before {
        border-radius: 7px;
    }

    .sports-bars .btn-livescore {
        width: 110px;
        padding: 0 4px;
    }

    .sports-bars .btn-livescore .switch-style {
        width: 28px;
        height: 16px;
        margin-right: 6px;
    }

    .sports-bars .btn-livescore .switch-style:before {
        width: 12px;
        height: 12px;
    }

    .sports-bars .btn-livescore span.txt {
        width: auto;
        overflow: hidden;
        text-overflow: ellipsis;
        text-wrap: nowrap;
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .sports-bars {
        display: grid;
        grid-template-columns: 1fr 70px;
        gap: 6px;
        padding: 15px 10px;
    }

    .sports-bars ul {
        justify-content: start;
        gap: 0;
    }

    .sports-bars ul li button {
        padding: 4px;
        font-size: 10px;
    }

    .sports-bars .btn-livescore {
        width: 70px;
    }

    .sports-bars .btn-livescore .switch-style {
        width: 24px;
    }

    .sports-bars .btn-livescore>input[type="checkbox"]:checked+.switch-style:before {
        left: 10px;
    }

    .sports-bars .btn-livescore span.txt {
        font-size: 10px;
    }

    .sports-bars .btn-livescore span.txt-pc {
        display: none;
    }

    .sports-bars .btn-livescore span.txt-sm {
        display: block;
        width: auto;
    }
}

@media (max-width: 450px) {
    .sports-bars {
        gap: 6px;
        padding: 12px 6px;
    }

    .sports-bars ul li button {
        gap: 10px;
        min-width: 50px;
    }
}

@media (max-width: 385px) {
    .sports-bars ul li button {
        min-width: 45px;
        font-size: 9px;
    }
}

@media (max-width: 365px) {
    .sports-bars ul li button {
        min-width: 40px;
    }
}

@media (max-width: 350px) {
    .sports-bars {
        padding: 12px 0;
        gap: 0;
    }

    .sports-bars ul li button {
        min-width: 35px;
        font-size: 8px;
    }
}