@media(min-width:992px) {
    .left-side-menu-list ul li a:hover {
        background-color: var(--left-menu-hover);
        color: var(--left-menu-hover-text);
    }
    .game-market-block.mobile-view {
        display: none;
    }
    .account-block .dropdown-menu .acccount-dropdown-link:hover {
        background-color: var(--acoount-dropdown-header);
    }
    .btn-mobile-search {
        display: none;
    }
    .tips-review-page .news-block-body .news-row:hover .news-img img {
        transform: scale(1.1);
    }
    .mobile-account-page {
        display: none;
    }
}

@media(max-width:1299px) {
    .footer-top-row a {
        font-size: 12px;
        line-height: 12px;
    }
    .footer-top-row a::before {
        margin: 0 8px;
    }
    .header-menus-link {
        margin-left: 0;
    }
    .in-play-game-tabs .nav.nav-tabs {
        width: 60%;
    }
}

@media(max-width:1199px) {
    .landing-game-market-back-lay {
        gap: 5px;
    }
    .landing-game-market-header-block {
        gap: 5px;
    }
    .market-pin-block a {
        width: 18px;
        height: 16px;
    }
    .landing-game-market-header .market-pin-block {
        width: 18px;
    }
    .landing-game-market-back-lay .back-lay-box {
        width: 80px;
    }
    .landing-game-market-header .back-lay-title {
        min-width: 80px;
    }
    .landing-game-market-row {
        padding-left: 5px;
        padding-right: 2px;
    }
    .landing-game-market-name-box a {
        font-size: 11px;
        line-height: 12px;
    }
    .landing-game-market-name-box p {
        font-size: 11px;
        line-height: 11px;
    }
    .landing-game-market-name-box {
        gap: 2px 5px;
    }
    .landing-game-market-name-fancy-and-sport-book-chips p {
        font-size: 11px;
        line-height: 12px;
    }
    .landing-game-market-name-fancy-and-sport-book-chips {
        width: 60px;
    }
    /* .header-logo img {
        width: 150px;
        height: 58px;
    } */
    .btn-search-events {
        width: 250px;
        font-size: 12px;
        line-height: 12px;
    }
    .header-link {
        margin-right: 10px;
        gap: 8px;
    }
    .username-pass-block .form-control {
        font-size: 12px;
        line-height: 12px;
    }
    .btn-search i {
        font-size: 18px;
    }
    .btn-search {
        width: 20px;
        height: 20px;
    }
    .footer {
        margin: 30px 5px 20px;
    }
    .footer-top-row {
        margin: 5px 0 0;
    }
    .market-detail-back-lay.min-max-block {
        padding: 5px 2px;
    }
    .market-detail-back-lay.min-max-block h5 {
        font-size: 9px;
    }
    .jockey-info .market-detail-back-lay.min-max-block h5 {
        font-size: 7px;
    }
    .account-details-row-left {
        width: 30%;
    }
    .header-casino-links a {
        font-size: 12px;
        line-height: 12px;
        padding: 6px 8px;
    }
    .header-left-logo-section {
        gap: 12px;
    }
}

@media(max-width:991.98px) {
    .left-side-menu,
    .right-side {
        display: none;
    }
    .main-content {
        margin-left: 0;
        margin-right: 0;
        margin-top: 54px;
        padding-bottom: 90px;
    }
    .header-link.desktop-view .search-input,
    .header-link.desktop-view .btn-search,
    .header-link.desktop-view .username-pass-block {
        display: none;
    }
    .header-bottom.desktop-view {
        display: none;
    }
    .header-top {
        height: 55px;
        background: var(--header-bg);
    }

    .login-header .header-top {
        background: var(--header-bg);
    }
    .header-logo img {
        width: 120px;
        height: auto;
    }
    .btn-logout {
        font-size: 14px;
        line-height: 14px;
        padding: 10px 12px;
        height: auto;
    }
    .game-market-block.desktop-view {
        display: none;
    }
    .game-market-block .nav.nav-tabs .nav-item {
        flex-shrink: 0;
    }
    .game-market-block .nav.nav-tabs .nav-link {
        background: transparent;
        border-radius: 0;
        display: flex;
        align-items: center;
        white-space: nowrap;
        padding: 0;
        font-size: 14px;
        line-height: 14px;
        width: auto;
        gap: 5px;
        color: var(--gradient-color-1-text, var(--white-color, #fff));
    }
    .game-market-block .nav.nav-tabs .btn-aviator {
        background-color: var(--aviator-bg-color);
        border-radius: 12px 12px 0 0;
        flex-shrink: 0;
        overflow: visible;
    }
    .game-market-block .nav.nav-tabs .btn-aviator .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 44px;
        height: auto;
        color: var(--aviator-bg-color);
        transition: 0.3s ease-in;
        padding: 6px 12px;
        overflow: visible;
    }
    .game-market-block .nav.nav-tabs .btn-aviator .nav-link .vimaan-tab-label {
        font-weight: 700;
        transition: 0.3s ease-in;
        animation: color_change 1s ease infinite;
        transform-origin: center center;
    }
    .game-market-block .nav.nav-tabs .btn-aviator .nav-link img,
    .game-market-block .nav.nav-tabs .btn-aviator .nav-link .vimaan-tab-icon,
    .game-market-block .nav.nav-tabs .btn-aviator .nav-link span img {
        display: block;
        width: 36px !important;
        height: 36px !important;
        min-width: 50px;
        min-height: 36px;
        object-fit: contain;
        flex-shrink: 0;
        filter: none;
        transition: 0.3s ease-in;
        animation: vimaan_icon_pulse 1s ease infinite;
        transform-origin: center center;
    }
    @keyframes vimaan_icon_pulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.12);
        }
        100% {
            transform: scale(1);
        }
    }
    .game-market-block .nav.nav-tabs {
        min-height: 56px;
        height: auto;
        padding-top: 6px;
        padding-left: 5px;
        padding-right: 5px;
        padding-bottom: 4px;
        gap: 15px;
        align-items: center;
        position: relative;
        overflow-x: auto;
        overflow-y: visible;
    }
    @keyframes color_change {
        0% {
            transform: scale(1);
            color: var(--yellow-color);
        }
        50% {
            transform: scale(1.12);
            color: var(--red-color);
        }
        100% {
            transform: scale(1);
            color: var(--yellow-color);
        }
    }
    @keyframes color_change_blue {
        0% {
            color: var(--yellow-color);
        }
        20% {
            color: var(--red-color);
        }
        50% {
            color: var(--blue-color);
        }
        100% {
            color: var(--yellow-color);
        }
    }
    .game-market-block .nav.nav-tabs .btn-aviator-politics {
        background-color: transparent;
        border-radius: 12px 12px 0 0;
        flex-shrink: 0;
    }
    .game-market-block .nav.nav-tabs .btn-aviator-politics .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 100%;
        color: var(--white-color);
        animation: color_change_blue 1s ease infinite;
        padding: 4px 10px;
    }
    .game-market-block .nav.nav-tabs .btn-aviator-politics .nav-link img {
        width: 34px;
    }
    .game-market-block .nav.nav-tabs .nav-link.active {
        background: transparent;
        color: var(--white-color, #fff);
        border-radius: 0;
    }
    .game-market-block .nav.nav-tabs .nav-link.active img {
        filter: brightness(0) invert(1);
    }
    .game-market-block .nav.nav-tabs .btn-aviator .nav-link.active img,
    .game-market-block .nav.nav-tabs .btn-aviator .nav-link img {
        filter: none;
    }
    .game-market-block .nav.nav-tabs .nav-link img {
        width: 32px;
        height: 32px;
        object-fit: contain;
    }
    .game-market-block .nav.nav-tabs .nav-link .nav-tab-icon {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        line-height: 0;
    }
    .game-market-block .nav.nav-tabs .nav-link .nav-tab-icon img {
        width: 28px;
        height: 28px;
        object-fit: contain;
        display: block;
    }
    .game-market-block .nav.nav-tabs .nav-link svg {
        width: 32px;
        height: 29px;
        object-fit: cover;
    }
    .landing-game-market-row {
        gap: 10px;
    }
    .landing-game-market-name-box a {
        font-size: 15px;
        line-height: 16px;
    }
    .landing-game-market-name-box p {
        font-size: 12px;
        line-height: 12px;
    }
    .landing-game-market-name-fancy-and-sport-book-chips p {
        font-size: 15px;
        line-height: 16px;
    }
    .landing-game-market-name-box {
        gap: 2px 10px;
    }
    #mobile-game-MarketTabsContent {
        max-height: 258px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .horse-racing-listing-header p {
        font-size: 13px;
        line-height: 13px;
    }
    .news-content h6 {
        font-size: 14px;
    }
    .news-content p {
        font-size: 13px;
    }
    .mobile-bottom-menu {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: linear-gradient(-180deg, #243a48 20%, #172732 91%);
        z-index: 999;
    }
    .mobile-bottom-menu-list {
        display: flex;
    }
    .mobile-bottom-menu-list a {
        text-decoration: none;
        width: 20vw;
        height: 9.13333vw;
        white-space: nowrap;
        font-size: 2.2vw;
        padding: .86667vw 2.66667vw 0;
        text-overflow: ellipsis;
        text-align: center;
        line-height: 1.1;
        color: #fff;
        text-transform: capitalize;
        position: relative;
    }
    .mobile-bottom-menu-list a.active {
        background: linear-gradient(-180deg, #32617f 20%, #1f4258 91%);
        color: #fff;
    }
    .mobile-bottom-menu-list a svg,
    .mobile-bottom-menu-list a img {
        width: 5.70333vw;
        height: 4.33333vw;
        margin: 0 auto .53333vw;
        display: block;
    }
    .mobile-bottom-menu-list a svg,
    .mobile-bottom-menu-list a svg path,
    .mobile-bottom-menu-list a svg g {
        fill: currentColor;
    }
    .mobile-bottom-menu-list a.btn-sports-menu::before {
        content: "";
        position: absolute;
        top: -3.26667vw;
        width: 100%;
        left: 0;
        height: 13.53333vw;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        pointer-events: none;
        z-index: -1;
        display: block;
        background: linear-gradient(-180deg, #243a48 20%, #172732 91%);
        clip-path: polygon(99.973% 24.242%, 100% 24.242%, 100% 100%, 0% 100%, 0% 24.242%, .027% 24.242%, .027% 24.242%, .885% 23.318%, 2.866% 21.335%, 5.893% 18.565%, 9.891% 15.281%, 14.783% 11.756%, 20.494% 8.261%, 26.947% 5.068%, 34.066% 2.451%, 41.776% .681%, 50% .03%, 50% 12.152%, 50% .03%, 50% .03%, 58.224% .681%, 65.934% 2.451%, 73.053% 5.068%, 79.506% 8.261%, 85.217% 11.756%, 90.109% 15.281%, 94.107% 18.565%, 97.134% 21.335%, 99.115% 23.318%, 99.973% 24.242%);
    }
    .mobile-bottom-menu-list a.btn-sports-menu svg {
        width: 5.70333vw;
        height: 8.33333vw;
        margin: -25px auto .06667vw;
    }
    .apk-download {
        text-align: center;
        margin-top: 20px;
    }
    .apk-download a {
        text-decoration: none;
        display: block;
    }
    .footer-top-row a {
        font-size: 14px;
        line-height: 14px;
    }
    .btn-bet {
        box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, .4);
        background: var(
            --mobile-bet-bg,
            var(--header-bottom-bg, var(--header-bg, var(--gradient-color-1)))
        );
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        border: 1px solid var(--border-color-11);
        padding: 0 20px;
        font-weight: 700;
        font-family: "Tahoma Bold";
        text-transform: capitalize;
        gap: 8px;
        font-size: 14px;
        line-height: 14px;
        color: var(
            --mobile-header-color,
            var(--setting-block-header-text, var(--gradient-color-1-text, var(--white-color, #fff)))
        );
        margin-left: 10px;
        text-decoration: none;
        appearance: none;
        -webkit-appearance: none;
    }
    .btn-bet:hover,
    .btn-bet:focus,
    .btn-bet:active {
        background: var(
            --mobile-bet-bg,
            var(--header-bottom-bg, var(--header-bg, var(--gradient-color-1)))
        );
        color: var(
            --mobile-header-color,
            var(--setting-block-header-text, var(--gradient-color-1-text, var(--white-color, #fff)))
        );
    }
    .btn-bet svg,
    .btn-bet svg path,
    .btn-bet svg g {
        fill: currentColor;
    }
    .login-header .header-logo {
        display: none;
    }
    .login-header .account-block {
        display: none;
    }
    .btn-refresh {
        width: 45px;
        height: 45px;
        box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, .4);
        background: var(
            --mobile-bet-bg,
            var(--header-bottom-bg, var(--header-bg, var(--gradient-color-1)))
        );
        border: 1px solid var(--border-color-11);
        border-radius: 8px;
        color: var(
            --mobile-header-color,
            var(--setting-block-header-text, var(--gradient-color-1-text, var(--white-color, #fff)))
        );
        font-size: 20px;
        appearance: none;
        -webkit-appearance: none;
    }
    .btn-refresh:hover,
    .btn-refresh:focus,
    .btn-refresh:active {
        background: var(
            --mobile-bet-bg,
            var(--header-bottom-bg, var(--header-bg, var(--gradient-color-1)))
        );
        color: var(
            --mobile-header-color,
            var(--setting-block-header-text, var(--gradient-color-1-text, var(--white-color, #fff)))
        );
    }
    .balance-block p {
        justify-content: end;
    }
    .balance-block h6 {
        font-size: 12px;
        line-height: 12px;
        margin-bottom: 6px;
    }
    .btn-setting {
        width: 45px;
        height: 45px;
        box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, .4);
        background: var(
            --mobile-bet-bg,
            var(--header-bottom-bg, var(--header-bg, var(--gradient-color-1)))
        );
        border: 1px solid var(--border-color-11);
        border-radius: 8px;
        color: var(
            --mobile-header-color,
            var(--setting-block-header-text, var(--gradient-color-1-text, var(--white-color, #fff)))
        );
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }
    .btn-setting:hover,
    .btn-setting:focus,
    .btn-setting:active {
        background: var(
            --mobile-bet-bg,
            var(--header-bottom-bg, var(--header-bg, var(--gradient-color-1)))
        );
        color: var(
            --mobile-header-color,
            var(--setting-block-header-text, var(--gradient-color-1-text, var(--white-color, #fff)))
        );
    }
    .btn-setting svg,
    .btn-setting svg path,
    .btn-setting svg g {
        fill: currentColor;
    }
    .header-link.login-view {
        margin-right: 10px;
    }
    .offcanvas.custom-offcanvas {
        width: 100%;
        border: 0;
    }
    .offcanvas.custom-offcanvas .offcanvas-header {
        background: var(
            --mobile-bet-bg,
            var(--header-bottom-bg, var(--header-bg, var(--gradient-color-1)))
        );
    }
    .offcanvas.custom-offcanvas .offcanvas-header h5 {
        color: var(--black-color);
        text-transform: capitalize;
        font-weight: 700;
        font-family: "Tahoma Bold";
        font-size: 24px;
        line-height: 24px;
        margin-bottom: 0;
    }
    .offcanvas.custom-offcanvas .offcanvas-header .btn-close {
        opacity: 1;
        background-size: 22px;
        margin-right: 0;
    }
    .offcanvas.custom-offcanvas .right-side {
        display: block;
        position: unset;
        border: 0;
        width: 100%;
        min-height: unset;
        border-radius: 0;
        border: 1px solid var(--border-color-12);
        padding: 5px;
    }
    .offcanvas.custom-offcanvas .offcanvas-body {
        padding: 10px;
    }
    .in-play-game-tabs .nav.nav-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: calc(100% - 20px);
        margin: 0 auto;
    }
    .in-play-game-tabs .nav.nav-tabs .nav-item {
        width: 100%;
    }
    .in-play-game-tabs .landing-game-market-header {
        display: none;
    }
    .in-play-game-tabs .landing-game-market-back-lay {
        display: none;
    }
    .multi-market-block .landing-game-market-back-lay {
        display: none;
    }
    .multi-market-block .landing-game-market-header {
        display: none;
    }
    .inplay-game-header {
        justify-content: center;
    }
    .sports-game-block .back-lay-box {
        display: none;
    }
    .sports-game-block .landing-game-market-header {
        display: none;
    }
    .sports-game-block .landing-game-market-row {
        padding: 0 10px;
    }
    .sports-game-block .landing-game-market-name-fancy-and-sport-book-chips {
        width: auto;
    }
    .sports-game-block .title-header {
        background: var(--left-menu-header);
    }
    .sports-game-block .title-header h5 {
        color: var(--white-color);
        text-align: center;
    }
    .horse-racing-game-block .banner-block,
    .horse-racing-game-block .title-header {
        display: none;
    }
    .btn-mobile-search {
        width: 20%;
        height: 44px;
        background: var(--streming-tab-bg);
        color: var(--white-color);
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0;
        box-shadow: none;
        border: 0;
    }
    .mobile-view-game-market-block-tabs {
        display: flex;
        align-items: stretch;
        width: 100%;
        background: var(--game-market-block-tab, var(--header-bg));
        overflow: visible;
    }
    /* Middle sports tabs bar only — not top header */
    html[data-king-theme="orange"] .mobile-view-game-market-block-tabs,
    html[data-king-theme="orange"] .mobile-view-game-market-block-tabs #mobile-game-MarketTabs,
    html[data-king-theme="orange"] .mobile-view-game-market-block-tabs .nav.nav-tabs {
        background: linear-gradient(-180deg, #F6A21E 0%, #F6A21E 100%) !important;
    }
    html[data-king-theme="teal"] .mobile-view-game-market-block-tabs,
    html[data-king-theme="teal"] .mobile-view-game-market-block-tabs #mobile-game-MarketTabs,
    html[data-king-theme="teal"] .mobile-view-game-market-block-tabs .nav.nav-tabs,
    html[data-king-theme="teal"] .game-market-block.mobile-view #mobile-game-MarketTabs {
        background: linear-gradient(-180deg, #16ACAB 0, #16ACAB 100%) !important;
    }
    html[data-king-theme="teal"] .mobile-view-game-market-block-tabs .nav-tabs .nav-link,
    html[data-king-theme="teal"] #mobile-game-MarketTabs .nav-link,
    html[data-king-theme="teal"] #mobile-game-MarketTabs .nav-link.active {
        color: #fff !important;
    }
    html[data-king-theme="navy"] .mobile-view-game-market-block-tabs,
    html[data-king-theme="navy"] .mobile-view-game-market-block-tabs #mobile-game-MarketTabs,
    html[data-king-theme="navy"] .mobile-view-game-market-block-tabs .nav.nav-tabs,
    html[data-king-theme="navy"] .game-market-block.mobile-view #mobile-game-MarketTabs {
        background: linear-gradient(#A4DC60 0%, #4F9F21 100%) !important;
    }
    html[data-king-theme="navy"] .mobile-view-game-market-block-tabs .nav-tabs .nav-link,
    html[data-king-theme="navy"] #mobile-game-MarketTabs .nav-link,
    html[data-king-theme="navy"] #mobile-game-MarketTabs .nav-link.active {
        color: #fff !important;
    }
    /* NAV should take remaining space */
    .mobile-view-game-market-block-tabs .nav-tabs {
        display: flex;
        flex: 1;
        overflow-x: auto;
        overflow-y: visible;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        align-items: center;
    }
    /* KEEP buttons same size */
    .mobile-view-game-market-block-tabs .nav-tabs .nav-item {
        flex: 0 0 auto;
    }
    /* FIX SEARCH BUTTON SIZE — match full tab bar height */
    .mobile-view-game-market-block-tabs .btn-mobile-search {
        flex: 0 0 auto;
        width: auto !important;
        min-width: 44px;
        align-self: stretch;
        height: auto;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .search-offcanvas {
        display: flex;
        align-items: center;
        padding: 8px;
        border-bottom: 1px solid var(--black-color);
    }
    #offcanvasSearch .offcanvas-body {
        padding: 0;
    }
    .search-offcanvas .form-control {
        border: 0;
        box-shadow: none;
    }
    .btn-close-offcanvas {
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }
    .search-body ul {
        margin-bottom: 0;
        padding-left: 0;
    }
    #offcanvasSearch {
        height: max-content;
    }
    .search-body {
        overflow-y: scroll;
        max-height: 240px;
    }
    .tips-review-page,
    .promotion-page {
        padding: 10px 0px 0;
    }
    .promotion-page .news-block-content {
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .promotion-page .news-block-body {
        padding: 0;
    }
    .promotion-cards {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }
    .promotion-card {
        width: 100%;
        border-radius: 0;
    }
    .promotion-card-banner-title {
        font-size: 14px;
        margin-bottom: 6px;
    }
    .promotion-card-banner {
        aspect-ratio: 16 / 9;
    }
    .promotion-card-banner-overlay {
        padding: 10px 8px;
    }
    .promotion-card-ribbon {
        padding: 4px 10px;
    }
    .promotion-card-ribbon span {
        font-size: 10px;
    }
    .promotion-card-title {
        font-size: 15px;
    }
    .promotion-card-actions {
        gap: 8px;
    }
    .promotion-card-subscribe-btn {
        padding: 7px 10px;
        font-size: 12px;
    }
    .promotion-details-page {
        padding: 16px 12px 0;
    }
    .promotion-details-header {
        margin-bottom: 12px;
    }
    .promotion-details-back {
        font-size: 22px;
    }
    .promotion-details-wrapper {
        max-width: 100%;
    }
    .promotion-details-banner {
        border-radius: 4px;
    }
    .promotion-details-timer {
        font-size: 10px;
        padding: 5px 10px;
        right: 8px;
        bottom: 8px;
    }
    .promotion-details-info {
        padding: 16px 16px 32px;
    }
    .promotion-details-title {
        font-size: 22px;
    }
    .promotion-details-get-btn {
        width: 100%;
        max-width: 200px;
    }
    .tips-review-details {
        margin-top: 0;
    }
    .lottery-match-details-page {
        padding: 5px 5px 30px;
    }
    .lottery-match-details-row {
        grid-template-columns: repeat(5, 1fr);
    }
    .display-none {
        display: none !important;
    }
    .market-detail-row-back-lay {
        grid-template-columns: repeat(1, 1fr);
    }
    .market-detail-row-left {
        width: 80%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 2px;
    }
    .market-detail-row-left .selection-pl {
        width: 100%;
        margin-top: 0;
    }
    .market-detail-row {
        align-items: center;
    }
    .market-detail-row-right {
        width: 20%;
    }
    .back-lay-block-title.back {
        border-radius: 0;
    }
    .back-lay-block-title.lay {
        border-radius: 0;
    }
    .min-max-block h5 {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--stake-min-max-bg);
        height: 20px;
        font-size: 10px;
        border-radius: 3px;
        gap: 8px;
        color: var(--black-color);
        font-weight: 700;
        font-family: "Tahoma Bold";
        margin-bottom: 0;
        width: 100%;
    }
    .min-max-block h5 span {
        color: var(--min-max-title);
    }
    .min-max-block {
        padding: 5px 5px 5px 0;
        width: 100%;
    }
    .market-detail-back-lay-block {
        padding: 9px 0;
    }
    .sportsbook-market-row-left {
        width: 80%;
    }
    .sportsbook-market-row-right {
        flex-shrink: 0;
        width: 20%;
    }
    .btn-sportsbook-back-lay {
        width: 100%;
    }
    .market-detail-block-header-right {
        width: 100%;
        justify-content: end;
        /* padding-bottom: 3px; */
    }
    .market-detail-block-header {
        /* flex-direction: column;
        align-items: start;*/
        gap: 10px !important;
    }
    .place-bet-top-row .btn-cancel-bet,
    .place-bet-top-row .btn-place-bet {
        display: none;
    }
    .place-bet-top-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .place-bet-bottom-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 4px 12px 0;
        border-top: 1px solid var(--table-back-row);
    }
    .chips-row {
        padding-bottom: 4px;
    }
    .match-details-page.horse-racing-market-page .market-detail-row-left {
        flex-direction: column;
        align-items: start;
        padding: 5px 6px 5px;
    }
    .jockey-info .market-detail-back-lay.min-max-block h5 {
        font-size: 9px;
        white-space: nowrap;
    }
    .account-details-row-right {
        width: 100%;
    }
    .profile-pass-block {
        justify-content: space-between;
    }
    .mobile-account-page-header {
        height: 30px;
        display: flex;
        align-items: center;
        padding-left: 7px;
        background: var(--gradient-color-1);
    }
    .mobile-account-page-header h6 {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 14px;
        line-height: 14px;
        color: var(--mobile-header-color, var(--setting-block-header-text, var(--gradient-color-1-text)));
        margin-bottom: 0
    }
    .mobile-account-menu-list ul {
        padding-left: 0;
        margin-bottom: 0;
    }
    .mobile-account-menu-list ul li {
        list-style: none;
        border-bottom: 1px solid var(--tab-bg-color);
    }
    .mobile-account-menu-list ul li:last-child {
        border-bottom: 0;
    }
    .mobile-account-menu-list ul li .mobile-account-link {
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--landing-market-color);
        font-size: 15px;
        line-height: 15px;
        text-transform: capitalize;
        padding: 7px;
        font-weight: 700;
        font-family: "Tahoma Bold";
        background-color: var(--white-color);
    }
    .mobile-account-menu-list ul li .mobile-account-link i {
        height: 24px;
        width: 24px;
        line-height: 13px;
        border-radius: 4px;
        color: var(--label-color-1);
        border: 1px solid var(--label-color-1);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-account-menu-list ul li .btn-mobile-logout {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        font-size: 16px;
        line-height: 16px;
        background: var(--mobile-logout-bg);
        color: var(--white-color);
        text-decoration: none;
        padding: 5px 12px;
        font-weight: 700;
        font-family: "Tahoma Bold";
        gap: 7px;
        height: 48px;
        border: 1px solid var(--mobile-logout-border);
        margin-top: 20px;
    }
    .mobile-bottom-menu-list a.btn-sports-menu.active::before {
        background: linear-gradient(-180deg, #32617f 20%, #1f4258 91%);
    }
    .mobile-account-page .left-side-menu-header {
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--gradient-color-1);
    }
    .mobile-account-page .left-side-menu-list ul li a {
        background-color: var(--white-color);
        color: var(--label-color-1);
        font-size: 15px;
        line-height: 15px;
        text-transform: capitalize;
        padding: 7px 9px;
        font-weight: 700;
        font-family: "Tahoma Bold";
    }
    .mobile-account-page .left-side-menu-list ul li a i {
        height: 24px;
        width: 24px;
        line-height: 13px;
        border-radius: 4px;
        color: var(--label-color-1);
        border: 1px solid var(--tab-bg-color);
    }
    .mobile-account-page .left-side-menu-list ul li {
        background-color: var(--white-color);
    }
    .mobile-account-page .left-side-menu-list ul.submenu-list li a i {
        border: 0;
        width: auto;
        color: var(--landing-market-color);
    }
    .sports-quick-links-row {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
    }
    .sports-quick-links-row a {
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        font-weight: 700;
        font-family: "Tahoma Bold";
        font-size: 12px;
        line-height: 12px;
        color: var(--white-color);
        text-transform: capitalize;
        background: var(--sports-quick-link-bg);
        border-right: 1px solid var(--sports-quick-link-border);
        text-align: center;
        padding: 12px 0;
    }
    .sports-quick-links-row a svg {
        width: 25px;
        height: 25px;
    }
    .sports-quick-links-row a:last-child {
        border-right: 0;
    }
    .casino-offcanvas-body {
        background-image: url("https://files.mahitoys.com/kingexch/images/casino-bg.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .casino-offcanvas-buttons {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .casino-offcanvas-buttons button {
        width: 120px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: none;
        border: 0;
        border-radius: 6px;
        font-weight: 700;
        font-family: "Tahoma Bold";
        font-size: 12px;
        line-height: 12px;
        text-transform: capitalize;
    }
    .casino-offcanvas-buttons button.btn-live-casino {
        background-color: var(--live-casino-bg);
        color: var(--live-casino-text);
    }
    .casino-offcanvas-buttons button.btn-virtual-casino {
        background-color: var(--live-casino-text);
        color: var(--live-casino-bg);
    }
    #offcanvasBottomCasino .offcanvas-header {
        padding: 5px 10px;
        background-color: var(--black-color);
        justify-content: space-between;
    }
    #offcanvasBottomCasino .offcanvas-header h5 {
        font-weight: 700;
        font-family: "Tahoma Bold";
        font-size: 12px;
        line-height: 12px;
        color: var(--white-color);
        text-transform: capitalize;
        margin-bottom: 0;
    }
    #offcanvasBottomCasino .offcanvas-header .btn-close-offcanvas {
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--live-casino-bg);
    }
    #offcanvasBottomCasino .offcanvas-header .btn-close-offcanvas i {
        font-size: 20px;
    }
    .header-left-logo-section {
        display: none;
    }
}

@media(max-width:767.98px) {
    .filter-block-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .filter-block-row .filter-selection:nth-child(n+3) {
        grid-column: 1 / -1;
    }
    .btn-filter {
        padding: 10px 20px;
        width: auto;
    }
    .settings-block-row {
        grid-template-columns: repeat(1, 1fr);
    }
    .account-section-pages.account-statement-page .filter-block-row {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Tablet only — separate from desktop & mobile */

@media (min-width: 576px) and (max-width: 991.98px) {
    .casino-game-box-block {
        --casino-card-aspect: 195 / 260;
    }
}


/* Laptop only */

@media (min-width: 992px) and (max-width: 1199.98px) {
    .casino-game-box-block {
        --casino-card-aspect: 195 / 260;
    }
}


/* ~1440px / large desktop */

@media (min-width: 1200px) and (max-width: 1599.98px) {
    .casino-game-box-block {
        --casino-card-aspect: 195 / 250;
    }
}

@media(max-width:575.98px) {
    .casino-game-box-block {
        --casino-card-aspect: 200 / 260;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        padding: 12px 8px 24px;
        margin: 0;
    }
    .apk-download img {
        width: 155px;
    }
    .mobile-bottom-menu-list a svg,
    .mobile-bottom-menu-list a img {
        width: 7.70333vw;
        height: 7.33333vw;
    }
    .mobile-bottom-menu-list a {
        text-decoration: none;
        width: 20vw;
        height: 13.33333vw;
        font-size: 3.2vw;
        padding: 5px 2.66667vw 0px;
    }
    .mobile-bottom-menu-list a.btn-sports-menu svg {
        width: 7.70333vw;
        height: 7.33333vw;
        margin: -5px auto 5px;
    }
    .mobile-bottom-menu-list a.btn-sports-menu::before {
        top: -4.26667vw;
        height: 17.53333vw;
    }
    .lottery-block-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 20px 10px 20px;
    }
    .news-block-content {
        background-color: var(--white-color);
        margin: 10px;
        border: 1px solid rgba(0, 0, 0, 0.175);
        border-radius: 6px;
    }
    .promotion-page .news-block-content {
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .btn-bet {
        height: 35px;
        border-radius: 5px;
        padding: 0 15px;
        font-size: 12px;
        line-height: 12px;
        margin-left: 5px;
    }
    .btn-refresh {
        width: 35px;
        height: 35px;
        border-radius: 5px;
        font-size: 16px;
    }
    .btn-setting {
        width: 35px;
        height: 35px;
        border-radius: 5px;
    }
    .header-link.login-view {
        margin-right: 5px;
    }
    .balance-block h6 {
        font-size: 11px;
        line-height: 11px;
        margin-bottom: 5px;
    }
    .balance-block p {
        font-size: 11px;
        line-height: 11px;
    }
    .landing-game-market-name-box a {
        font-size: 13px;
        line-height: 14px;
    }
    .inplay-game-header h6 {
        font-size: 13px;
        line-height: 13px;
    }
    .inplay-game-header {
        height: 25px;
    }
    .inplay-game-body .landing-game-market-row {
        padding: 0 5px;
    }
    .landing-game-market-name-box p {
        font-size: 11px;
        line-height: 11px;
    }
    .landing-game-market-name-fancy-and-sport-book-chips p {
        font-size: 13px;
        line-height: 14px;
    }
    .in-play-game-tabs .nav.nav-tabs {
        width: calc(100% - 10px);
    }
    .sports-game-block .landing-game-market-row {
        padding: 0 5px;
    }
    .btn-mobile-search {
        width: 42%;
    }
    .tips-review-img h6 {
        padding: 8px 8px;
        font-size: 14px;
        line-height: 18px;
    }
    .market-detail-block-header-right p,
    .market-detail-block-header-right h4 {
        font-size: 11px;
        line-height: 11px;
    }
    .btn-cashout {
        font-size: 11px;
        line-height: 11px;
    }
    .market-detail-block-header-right {
        padding-right: 5px;
    }
    .market-detail-block-header-left {
        gap: 6px;
    }
    .btn-market-detail-back-lay-block {
        width: 65px;
    }
    .market-detail-row-right {
        width: auto;
    }
    .market-detail-row-left {
        width: calc(100% - 130px);
    }
    .market-detail-back-lay-block {
        width: 65px;
    }
    .sportsbook-market-row-left {
        width: 75%;
    }
    .sportsbook-market-row-right {
        flex-shrink: 0;
        width: 25%;
    }
    .place-bet-top-row {
        padding: 0 4px 4px;
    }
    .chips-row {
        grid-template-columns: repeat(4, 1fr);
        padding: 4px 4px;
    }
    .place-bet-bottom-row {
        padding: 4px 4px 0;
    }
    .jockey-info {
        gap: 3px;
        margin-top: 5px;
        flex-direction: column;
    }
    .match-details-page.horse-racing-market-page .market-detail-row {
        align-items: start;
    }
    .account-details-row {
        padding: 7px 10px;
    }
    .account-details-row-left {
        width: 40%;
    }
    .account-details-row-left h5 {
        font-size: 12px;
        line-height: 12px;
    }
    .account-details-row-right p {
        font-size: 12px;
        line-height: 12px;
    }
    .profile-pass-block input {
        font-size: 12px;
        line-height: 12px;
        width: 100%;
        max-width: 100%;
    }
    .btn-edit-password {
        font-size: 12px;
        line-height: 12px;
    }
    .account-section-pages {
        padding-top: 10px;
    }
    .table-block-section {
        padding: 10px;
    }
    .table-block table thead tr th {
        font-size: 12px;
        line-height: 12px;
        padding: 10px 8px;
    }
    .table-block table tbody tr td {
        font-size: 12px;
        line-height: 16px;
        padding: 10px 8px;
    }
    .settings-block-header h6 {
        font-size: 14px;
        line-height: 14px;
    }
    .settings-block-header {
        height: 30px;
    }
    .settings-page-header h6 {
        font-size: 15px;
        line-height: 15px;
        font-weight: 700;
        font-family: "Tahoma Bold";
    }
    .settings-block-body {
        padding: 7px 10px;
    }
    .stake-block {
        margin-top: 10px;
    }
    .exposure-modal-body table thead tr th,
    .fancy-book-modal-body table thead tr th {
        font-size: 12px;
        line-height: 12px;
        padding: 8px 5px;
    }
    .exposure-modal-body table tbody tr td,
    .fancy-book-modal-body table tbody tr td {
        font-size: 12px;
        line-height: 12px;
        padding: 8px 5px;
    }
    .casino-mobile-menu .mobile-bottom-menu-list a {
        font-size: 10px;
    }
    .win-predict-row-block .btn-market-detail-back-lay-block {
        width: 110px;
    }
    .win-predict-row-block .btn-market-detail-back-lay-block.tie-block {
        width: 200px;
    }
    .account-section-pages.account-statement-page .filter-block-row {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 991.98px) {
    .game-page-content {
        padding-bottom: 0 !important;
        overflow: hidden;
    }
}

.game-page-contant {
    max-width: 100%;
    overflow-x: hidden;
}

.casino-game-iframe-slot {
    display: block;
    background: transparent;
    -webkit-overflow-scrolling: touch;
}

.casino-game-wrapper-a {
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

@media (min-width: 1200px) and (max-width: 1599.98px) {
    .casino-game-box-block-int {
        --casino-card-aspect: 195 / 250;
    }
}