ol li:not(.ql-direction-rtl),
ul li:not(.ql-direction-rtl) {
    padding-left: 0 !important
}

.Vue-Toastification__container {
    z-index: 999999999 !important
}

@media screen and (min-width:601px) {
    .Vue-Toastification__toast {
        max-width: 350px
    }
}

label.v-label.theme--dark {
    font-size: 16px
}

@media screen and (max-width:600px) {
    label.v-label.theme--dark {
        font-size: 12px
    }
}

.width-grid {
    width: 100%
}

@media screen and (min-width:200px) {
    .width-grid {
        height: auto
    }
}

.back-select-brand {
    align-items: center;
    background: #fff;
    border-radius: 5px;
    display: flex;
    padding: 5px 15px;
    transition: .35s
}

.back-select-brand:hover {
    filter: brightness(.85)
}

.space-brand {
    padding: 5px !important
}


.box-select-game {
    box-shadow: none !important;
    color: #000 !important
}

.box-select-game .box-brand {
    background: rgba(0, 0, 0, .7);
    border-radius: 10px;
    cursor: pointer;
    height: 65px;
    padding: 10px;
    width: 100%
}

.box-select-game .box-brand img {
    height: 100%
}

.box-select-game .box-brand:hover {
    filter: brightness(.75)
}

.box-select-game .box-brand:disabled {
    background: linear-gradient(180deg, var(--primary-color-1) 0, var(--primary-color-2) 100%);
    cursor: default;
    filter: brightness(1)
}

.box-select-game .box-brand:disabled a {
    cursor: default
}

.box-game-show {
    border-radius: 0 10px 10px 10px;
    height: 100%;
    overflow: hidden !important;
    width: 85%
}

.box-game-show .all-game-number {
    display: block
}

.box-game-show .under-swiper-box {
    background: rgba(0, 0, 0, .3)
}

.box-game-show .game-control {
    align-items: center;
    background-color: #fff;
    border-radius: 5px;
    display: flex;
    height: 34px;
    padding: 2px 4px
}

.box-game-show .game-control img {
    cursor: pointer
}

.box-game-show .game-control .active-controller {
    background: #90b6fe;
    border-radius: 5px;
    padding: 2px
}

.box-game-show .header-box-game {
    align-content: center;
    display: flex;
    justify-content: flex-end;
    width: 100%
}

.box-game-show .header-box-game .select-brand-game {
    background: linear-gradient(180deg, var(--secondary-color-1) 0, var(--secondary-color-2) 100%);
    border-radius: 10px;
    color: var(--secondary-font-color);
    padding: 0 15px;
    transition: .3s
}

.box-game-show .header-box-game .select-brand-game:hover {
    opacity: .7
}

.box-game-show .header-box-game .select-brand-game:disabled {
    filter: brightness(.75)
}

.box-game-show .header-box-game .input-search-game {
    background: #fff;
    border: none !important;
    border-radius: 5px;
    box-shadow: none !important;
    font-size: 16px;
    line-height: 0px;
    margin: 0;
    padding: 6px 10px 6px 35px
}

.box-game-show .header-box-game .input-search-game:focus-visible {
    outline: none
}

.box-game-show .header-box-game-mobile {
    position: relative
}

.box-game-show .header-box-game-mobile .inner-box {
    align-content: center;
    display: flex;
    width: 100%
}

.box-game-show .header-box-game-mobile .inner-box .game-control {
    margin-right: 10px
}

.box-game-show .header-box-game-mobile .inner-box .relative-input {
    align-items: center;
    padding: 0 .5rem
}

.box-game-show .header-box-game-mobile .inner-box .relative-input img {
    width: 18px
}

@media screen and (max-width:600px) {
    .box-game-show .header-box-game-mobile .inner-box .relative-input p {
        background: rgba(0, 0, 0, .302);
        border-radius: .5rem;
        font-size: 14px;
        font-weight: 600;
        padding: .25rem 1rem
    }
}

.box-game-show .header-box-game-mobile .inner-box .relative-input .search-field {
    background-color: transparent;
    background: #fff;
    background-image: url(/images/game-img/category/searchVector.svg);
    background-position: 5px;
    background-repeat: no-repeat;
    background-size: 18px 18px;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 0;
    height: 30px;
    margin: 3px 0;
    position: relative;
    transition: width .4s ease, background .4s ease;
    width: 30px
}

.box-game-show .header-box-game-mobile .inner-box .relative-input .search-field:focus {
    border-radius: 1rem;
    color: #000;
    cursor: text;
    font-size: 14px;
    outline: 0;
    padding: 0 0 0 34px;
    width: 150px
}

.box-game-show .header-box-game-mobile .select-brand-game {
    background: linear-gradient(180deg, var(--secondary-color-1) 0, var(--secondary-color-2) 100%);
    border-radius: 10px;
    color: var(--secondary-font-color);
    padding: 0 15px
}

.box-game-show .header-box-game-mobile .select-brand-game:hover {
    opacity: .7
}

.box-game-show .header-box-game-mobile .select-brand-game:disabled {
    filter: brightness(.75)
}

@media screen and (max-width:600px) {
    .box-game-show .header-box-game-mobile .select-brand-game {
        display: none
    }
}

.box-game-show .tab-selected-game-type .box-tab-selected {
    width: 100%
}

.box-game-show .tab-selected-game-type .box-tab-selected .inner-box-selected {
    align-items: center;
    color: #000;
    display: flex;
    width: 100%
}

.box-game-show .tab-selected-game-type .box-tab-selected .inner-box-selected button {
    align-items: center;
    background-color: #fff;
    border: .5px solid #fff;
    border-radius: 8px;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    gap: 4px;
    height: 100%;
    justify-content: center;
    margin: .625rem;
    padding: .225rem;
    width: 100%
}

.box-game-show .tab-selected-game-type .box-tab-selected .inner-box-selected button img {
    height: 2rem
}

.box-game-show .tab-selected-game-bg {
    background: linear-gradient(180deg, var(--secondary-color-1) 0, var(--secondary-color-2) 100%)
}

.box-game-show .flex-normal {
    align-content: center;
    display: flex;
    justify-content: flex-start
}

.box-game-show .grid-game-show {
    grid-gap: 10px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(8.75rem, 2fr))
}

.box-game-show .grid-game-show .img-game-show {
    border-radius: 10px !important;
    cursor: pointer;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%
}

.box-game-show .swiper-slide {
    height: auto;
    min-width: 50px
}

@media only screen and (min-width:100px)and (max-width:374px) {
    .box-game-show .grid-game-show {
        grid-template-columns: repeat(3, minmax(60px, 3fr))
    }
}

@media screen and (min-width:375px)and (max-width:599px) {
    .box-game-show .grid-game-show {
        grid-template-columns: repeat(3, minmax(80px, 1fr))
    }
}

@media only screen and (min-width:600px) {
    .box-game-show .grid-game-show {
        padding: 10px
    }

    .box-game-show .grid-game-show-only-one {
        grid-template-columns: repeat(8, minmax(8.75rem, 2fr));
        padding: 10px
    }
}

@media only screen and (min-width:960px) {
    .box-game-show .grid-game-show {
        padding: 10px
    }

    .box-game-show .swiper-slide {
        height: auto;
        min-width: 100px
    }
}

@media only screen and (min-width:1200px) {
    .box-game-show .grid-game-show {
        padding-top: 20px
    }
}

@media only screen and (max-width:650px) {
    .box-game-show .all-game-number {
        display: none !important
    }
}

@media only screen and (max-width:960px) {
    .box-game-show {
        border-radius: 10px;
        margin-top: .5rem;
        width: 100%
    }
}

.img-game-show {
    border-radius: 10px !important;
    cursor: pointer;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%
}

.card-game-wrapper {
    width: 100%;
    max-width: 150px;
}

.card-game-wrapper .relative-card-game {
    border-radius: 15px;
    height: 100%;
    position: relative !important;
    transition: .55s;
    width: 93%
}

.card-game-wrapper .relative-card-game .no-game-path-box {
    align-items: center;
    background: rgba(65, 65, 65, .376);
    border-radius: 10px !important;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%
}

.card-game-wrapper .relative-card-game .no-game-path-box .image-no-path {
    height: auto;
    width: 100%
}

.card-game-wrapper .relative-card-game .btn-card-game {
    left: 50%;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .25s !important
}

@media screen and (max-width:1366px) {
    .card-game-wrapper .relative-card-game .btn-card-game {
        display: none !important;
        opacity: 0
    }
}

@media screen and (min-width:1366px) {
    .card-game-wrapper .relative-card-game:hover .btn-card-game {
        opacity: 1
    }

    .card-game-wrapper .relative-card-game:hover {
        filter: contrast(1.25) grayscale(.25)
    }
}

.card-game-wrapper .relative-card-game .icon-fav {
    filter: grayscale(1);
    max-width: 50px;
    min-width: 25px;
    position: absolute !important;
    right: -10px;
    top: -10px;
    transition: .25s;
    width: 20%;
    z-index: 1003
}

@media screen and (min-width:1366px) {
    .card-game-wrapper .relative-card-game .icon-fav:hover {
        cursor: pointer;
        filter: grayscale(.75)
    }
}

.card-game-wrapper .relative-card-game .icon-fav-active {
    max-width: 50px;
    min-width: 25px;
    position: absolute !important;
    right: -10px;
    top: -10px;
    transition: .25s;
    width: 20%;
    z-index: 1003
}

@media screen and (min-width:1366px) {
    .card-game-wrapper .relative-card-game .icon-fav-active:hover {
        cursor: pointer;
        filter: grayscale(.25)
    }
}

.card-game-wrapper .relative-card-game .name-inner-box {
    align-items: center;
    background: rgba(0, 0, 0, .8);
    border-radius: 0 0 .625rem .625rem;
    bottom: 0;
    display: flex;
    height: 1.425rem;
    justify-content: flex-start;
    overflow: hidden;
    padding: .125rem .225rem;
    position: absolute;
    width: 100%;
    z-index: 99
}

@media screen and (max-width:600px) {
    .card-game-wrapper .relative-card-game .name-inner-box {
        height: 1.225rem
    }
}

.card-game-wrapper .relative-card-game .name-inner-box span {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%
}

@media screen and (max-width:600px) {
    .card-game-wrapper .relative-card-game .name-inner-box span {
        font-size: .725rem
    }
}

.swiper-game-controller .swiper {
    height: 100%;
    padding: 10px;
    width: 100%
}

.swiper-game-controller .swiper img {
    border-radius: 15px !important;
    height: auto
}

.swiper-game-controller .swiper .slide {
    height: 300px;
    width: 300px
}

.swiper-game-controller .swiper .slide img {
    display: block;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%
}

.swiper-game-controller .swiper .swiper-slide-active {
    transform: scale(1) !important;
    transition: .5s
}

.swiper-game-controller .swiper .swiper-slide {
    transform: scale(.8);
    transition: .5s
}

.swiper-game-controller .swiper-under {
    height: 100%;
    padding-bottom: 0;
    padding-top: 0;
    width: 100%
}

.swiper-game-controller .swiper-under .slide img {
    display: block;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%
}

.relative-input {
    align-items: baseline;
    display: flex;
    position: relative;
    width: 100%
}

.relative-input .search-icon {
    left: 5px;
    position: absolute;
    top: 4px
}

.no-game-data {
    align-content: center;
    display: grid;
    font-size: 16px;
    font-weight: 400;
    justify-content: center;
    margin: 0;
    opacity: .75;
    padding: 15px 0;
    place-content: center;
    text-align: center;
    width: 100%
}

.no-game-data p {
    margin: 0
}

@media screen and (max-width:600px) {
    .no-game-data img {
        height: 150px !important;
        width: 150px !important
    }

    .no-game-data p {
        font-size: 12px
    }
}

.link-lotto {
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    font-weight: 400;
    gap: 8px;
    height: 48px !important;
    justify-content: center;
    margin: 0;
    padding: 8px 0 !important;
    text-align: center;
    width: 55%
}

@media screen and (max-width:960px) {
    .link-lotto {
        width: 98% !important
    }
}

.link-lotto p {
    margin: 0 0 0 8px
}

.link-lotto:hover {
    filter: brightness(.8);
    transition: all .15s ease-in
}

.link-lotto img {
    height: auto;
    width: 40px
}

@media only screen and (max-width:1200px) {
    .box-game-show .grid-game-show .img-game-show {
        width: 100% !important
    }
}

@media only screen and (max-width:960px) {
    .in-mobile {
        display: flex
    }

    .in-mobile .mb-response {
        width: 20%
    }

    .in-mobile .mb-response .box-category-game {
        width: 100%
    }

    .in-mobile .mb-response .box-category-game .relative-fav {
        position: relative
    }

    .in-mobile .mb-response .box-category-game .relative-fav .lock-fav {
        animation: swing 2s linear infinite;
        left: -7%;
        position: absolute;
        top: -22%;
        transform: translate(-50%, -50%)
    }

    .in-mobile .search-mb {
        width: 100%
    }
}

@media only screen and (max-width:600px) {
    .box-game-show .grid-game-show .img-game-show {
        width: 100% !important
    }
}

@media only screen and (max-width:320px) {
    .box-game-show .grid-game-show .img-game-show {
        width: 100% !important
    }
}

.infinite-status-prompt,
.mobile-brand {
    display: none
}

.mobile-brand .card-brand-img {
    position: relative;
    z-index: 1
}

.mobile-brand .card-brand-img:before {
    background: #000;
    border-radius: .5rem;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    opacity: .5;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1
}

@media screen and (max-width:960px) {
    .mobile-brand {
        display: block;
        padding: .5rem 0
    }

    .mobile-brand .card-brand-game {
        display: flex;
        gap: .5rem
    }

    .mobile-brand .card-brand-game .card-img {
        display: flex;
        gap: .5rem;
        overflow: scroll;
        width: 80%
    }

    .mobile-brand .card-brand-game .card-img .img-brand {
        gap: .5rem;
        width: 80px !important
    }

    .mobile-brand .card-brand-game .box-select-brand {
        background: #d9d9d9;
        border-radius: .5rem;
        height: 100%;
        width: 20%
    }

    .mobile-brand .card-brand-game .active {
        background: linear-gradient(180deg, var(--secondary-color-1) 0, var(--secondary-color-2) 100%) !important;
        border-radius: .5rem
    }
}

.blockItem {
    animation: showBlock .5s linear
}

.noblockItem {
    animation: hideBlock .5s linear
}

.loadingGameStart {
    align-items: center;
    background-color: rgba(0, 0, 0, .486);
    border-radius: .625rem;
    display: flex;
    height: 100%;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    transition: .25s;
    width: 100%;
    z-index: 1000
}

.loadingGameStart img {
    width: 100px
}

@media screen and (min-width:1366px) {
    .loadingGameStart {
        display: none
    }
}

.no-item {
    display: none
}

@media screen and (max-width:600px) {
    .no-item {
        height: 60px
    }
}

@media screen and (max-width:960px) {
    .tran-up {
        animation: translateUp .5s linear
    }
}

@keyframes showBlock {
    0% {
        display: none;
        height: 0;
        opacity: 0
    }

    to {
        display: block;
        height: 100%;
        opacity: 1
    }
}

@keyframes hideBlock {
    0% {
        display: block;
        height: 60px;
        opacity: 1
    }

    to {
        display: none;
        height: 0;
        opacity: 0
    }
}

@keyframes translateUp {
    0% {
        transform: translateY(60px)
    }

    to {
        transform: translateY(0)
    }
}






.card-game-wrapper .relative-card-game {
    border-radius: 15px;
    position: relative !important;
    transition: .55s;
    width: 93%;
    /* เพิ่ม aspect ratio เพื่อให้การ์ดมีสัดส่วนเท่ากัน */
    aspect-ratio: 3 / 4;
}

.card-game-wrapper .relative-card-game .img-game-show {
    border-radius: 10px !important;
    cursor: pointer;
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* ทำให้รูปเต็มพื้นที่โดยไม่บิดเบือน */
    object-position: center;
}

.card-game-wrapper .relative-card-game .name-inner-box {
    align-items: center;
    background: rgba(0, 0, 0, .8);
    border-radius: 0 0 .625rem .625rem;
    bottom: 0;
    display: flex;
    height: 1.425rem;
    justify-content: flex-start;
    overflow: hidden;
    padding: .125rem .225rem;
    position: absolute;
    width: 100%;
    z-index: 99;
    /* เพิ่ม left: 0 เพื่อให้แน่ใจว่าอยู่ชิดซ้าย */
    left: 0;
}

@media screen and (max-width:600px) {
    .card-game-wrapper .relative-card-game .name-inner-box {
        height: 1.225rem
    }
}

.card-game-wrapper .relative-card-game .name-inner-box span {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%
}

@media screen and (max-width:600px) {
    .card-game-wrapper .relative-card-game .name-inner-box span {
        font-size: .725rem
    }
}