canvas {
    box-shadow: 0px 3px 15px rgba(21, 24, 50, 0.6);
}

html {
    background: url(image/bg.png) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

html body {
    background: none !important;
}

@property --scroll-bar-color {
    syntax: "<color>";
    inherits: true;
    initial-value: transparent;
}

#game-overlay {
    height: 0px;
    position: absolute;
    width: 0px;
}

#game-shell {
    display: flex;
    height: 100%;
    position: fixed;
    width: 100%;
}

.game-shell {
    font-family: PingFang SC, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif;
    touch-action: none;
}

#game-overlay {
    transform: scale(calc(var(--construct-scale) * 2.99)) rotate(0deg);
}

.rcs-inner-container::-webkit-scrollbar {
    width: 6px;
}

.rcs-inner-container::-webkit-scrollbar-track {
    background-color: transparent;
}

.rcs-inner-container::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--scroll-bar-color);
}

.rcs-inner-container:hover {
    --scroll-bar-color: hsla(0, 0%, 46%, .7);
}

.rcs-inner-container {
    transition: --scroll-bar-color .4s ease-out;
}

.start-button-container-land,
.start-button-container-land-pc,
.start-button-container-port {
    align-items: center;
    display: flex;
    justify-content: center;
    left: 0px;
    margin: auto;
    position: absolute;
    right: 0px;
}

.start-button-container-port {
    height: 38px;
    width: 178px;
}

.start-button {
    background-color: #30a2d0;
    border: 2px solid rgba(0, 0, 0, .15);
    border-radius: 8px;
    text-shadow: 0px 2px 3px #30a2d0;
}

.start-button-show-land,
.start-button-show-land-pc,
.start-button-show-port {
    animation-name: show-bounce;
}

.start-button-inner {
    background-image: linear-gradient(180deg, hsla(0, 0%, 100%, .5), hsla(0, 0%, 100%, 0));
    background-origin: border-box;
    border: .87px solid hsla(0, 0%, 100%, .4);
    border-radius: 6px;
    bottom: 0px;
    left: 0px;
    position: absolute;
    right: 0px;
    top: 0px;
}

.text-land,
.text-land-pc,
.text-port {
    font-family: PingFang SC, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif;
    color: #fff;
    font-size: 10.3px;
    margin: 0;
    padding: 0;
}

.start-button .text-land,
.start-button .text-land-pc,
.start-button .text-port {
    font-size: 14px;
    font-weight: 900;
}

.screen_safe_area {
    height: 100%;
    z-index: 0;
}

.screen_safe_area,
.screen_safe_area_land {
    font-family: PingFang SC, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif;
    touch-action: none;
    bottom: 0px;
    left: 0px;
    margin: auto;
    position: absolute;
    right: 0px;
    top: 0px;
}

.animationTipsContainer-land,
.animationTipsContainer-land-pc,
.animationTipsContainer-port {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 35px;
    margin: 515px auto 0;
    position: relative;
    width: 100%;
}

.animationTipsContainer-port {
    margin-top: 38px;
    z-index: 1;
}

.loading-container-land,
.loading-container-land-pc,
.loading-container-port {
    align-items: center;
    display: flex;
    flex-direction: column;
    left: 0px;
    position: absolute;
    right: 0px;
}

.loading-container-port {
    top: 0;
}

.progress-bar-container-land,
.progress-bar-container-land-pc,
.progress-bar-container-port {
    background-color: initial;
    height: 14.5px;
    position: relative;
    width: 245px;
}

.text-land,
.text-land-pc,
.text-port {
    color: #fff;
    font-size: 11.3px;
    margin: 0;
    padding: 0;
}

#tips-text {
    margin-top: 4px;
    text-align: center;
    text-overflow: ellipsis;
    width: 90%;
}

.tips-text-child2-hidden {
    display: none;
}

.tips-text-child2 {
    margin-left: 5px;
}

.progress-bar-background {
    background-color: #111;
    border-radius: 3.5px;
    height: 100%;
    position: absolute;
    width: 100%;
}

.progress-bar-fill-container {
    bottom: 0.87px;
    left: 0.87px;
    position: absolute;
    right: 0.87px;
    top: 0.87px;
}

.progress-bar-outline {
    border-radius: 3.5px;
    bottom: 0px;
    left: 0px;
    position: absolute;
    right: 0px;
    top: 0px;
    transform: translateZ(0px);
}

.border-inner {
    border: 1.7px solid #272727;
}

.border-outer {
    border: .85px solid #111;
}

.progress-bar-fill {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: #30a2d0;
    background-size: 8.7px 100%;
    border-radius: 3.5px;
    height: 100%;
    position: absolute;
    width: 0px;
}

.stripes {
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-name: animate-stripes;
    animation-timing-function: linear;
    background-image: linear-gradient(-75deg, hsla(0, 0%, 100%, 0) 35%, hsla(0, 0%, 100%, .1) 0, hsla(0, 0%, 100%, .1) 75%, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, 0));
}

.front-highlight {
    background-image: linear-gradient(90deg, hsla(0, 0%, 100%, 0), #fff);
    border-radius: 0 3.5px 3.5px 0;
    height: 100%;
    max-width: 20px;
    right: 0px;
    width: 50%;
}

.front-highlight,
.top-highlight {
    position: absolute;
    transform: translateZ(0px);
}

.top-highlight {
    background-color: hsla(0, 0%, 100%, .2);
    border-radius: 3.5px 3.5px 0 0;
    height: 50%;
    width: 100%;
}

.animated_text_wrap {
    color: #fff;
    font-size: 11px;
    height: 26px;
    line-height: 26px;
    position: relative;
    text-align: center;
    width: 100%;
}

.animated_text {
    align-items: center;
    display: flex;
    height: 26px;
    justify-content: center;
    line-height: 13px;
    margin: 0;
    opacity: 0;
    position: absolute;
    top: 100%;
    width: 100%;
}

.animated-text-move-to-top-port,
.animated-text-reset-to-bottom-port {
    opacity: 0;
}

.animated-text-reset-to-bottom-port {
    top: 26px;
}

.animated-text-move-to-top-port,
.animated_text_move_to_center {
    transition: top 1s, opacity 1s;
    transition-timing-function: linear;
}

.animated_text_move_to_center {
    opacity: 1;
    top: 0;
}

.animated-text-move-to-top-port {
	top: -30px;
}

@keyframes animate-stripes {
    0% {
        background-position: 0 0
    }

    to {
        background-position: 34.7px 0
    }
}


.bet-amount {
    color: rgb(255, 173, 233);
}

#table-history {
    overflow-y: scroll;
    overflow-x: hidden;
    text-align: center;
	font-family: PingFang SC, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif;
}

#table-history::-webkit-scrollbar {
    width: 6px;
}

/* Track */
#table-history::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
#table-history::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 12px;
}

/* Handle on hover */
#table-history::-webkit-scrollbar-thumb:hover {
    background: #555;
}


.no_history {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bd_pink_pink {
    text-align: center;
    font-size: 12px;
    color: #fca1fc;
    cursor: pointer;
    border: 1px solid #fca1fc;
    background: #252330;
}

#BtnEnough {
    text-align: center;
    font-size: 15px;
    padding: 5px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-out;
    color: #fff;
    background: #e376fc;
}

@media screen and (max-width: 700px) {
    #BtnEnough {
        font-size: 8px;
    }

}

select {
    text-align: center;
    color: white;
    border: none;
    appearance: none;
}


.spacing {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spacing p {
    color: #fca1fc;
}

.spacing img {
    width: 20px;
}

.all_displayed {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.all_displayed p {
    color: #ccc;
}

table-history .row ul li div {
    color: rgb(147, 158, 149);
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    border: solid #939e95;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 3px;
}

.row {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 10px 5px;
    align-items: center;
    list-style: none;
    justify-content: center;
    text-decoration: none;
    height: 11%;
}

.row .col-3 {
    width: 25%;
}

.row .col-1 {
    width: 8.3333333%;
}

.row .col-2 {
    width: 16.66666%;
}

.row .col-4 {
    width: 33.333333%;
}

.row .col-5 {
    width: 41.666666%;
}

#table-history ul:nth-child(even) {
    background-color: #34343e;
}

#table-history ul:nth-child(odd) {
    background-color: #30303c;
}

ul li {
    text-decoration: none;
    font-size: 12px;
    list-style: none;
    padding: 0 5px;
}

#table-history ul:hover {
    background-color: #282834;
}

div#table-history ul li:nth-child(4) {
    text-align: end;
}

.row li:nth-child(5) {
    text-align: right;
    padding-right: 10px;
}

@media only screen and (max-width: 176px) {

    @media (min-height : 769px) {
        .row li {
            font-size: 8px !important;
        }
    }

    @media (max-height: 768px) {
        .row li {
            font-size: 6px !important;
        }
    }


}

@media only screen and (max-width: 340px) and (min-width: 178px) {

    @media (min-height : 769px) {
        .row li {
            font-size: 10px !important;
        }
    }

    @media (max-height: 768px) {
        .row li {
            font-size: 8px !important;
        }
    }



}

@media only screen and (min-width: 341px)and (max-width: 467px) {

    @media (min-height : 769px) {
        .row li {
            font-size: 13px !important;
        }
    }

    @media (max-height: 768px) {
        .row li {
            font-size: 11px !important;
        }
    }

}

@media only screen and (max-width: 767px) and (min-width: 468px) {

    @media (min-height : 769px) {
        .row li {
            font-size: 14px !important;
        }
    }

    @media (max-height: 768px) {
        .row li {
            font-size: 12px !important;
        }
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {

    @media (min-height : 769px) {
        .row li {
            font-size: 15px !important;
        }
    }


    @media (max-height: 768px) {
        .row li {
            font-size: 13px !important;
        }
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) and (min-height: 769px) and (max-height: 1024px) {
    .row li {
        font-size: 15px !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) and (min-height: 1030px) {
    .row li {
        font-size: 15px !important;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1199px) {
    @media (min-height : 769px) {
        .row li {
            font-size: 15px !important;
        }
    }

    @media (max-height : 768px) {
        .row li {
            font-size: 11px !important;
        }
    }

}

@media only screen and (min-width: 1200px) and (max-height: 678px) {
    .row li {
        font-size: 12px !important;
    }
}

@media only screen and (min-width: 1200px) and (min-height: 679px) {
    .row li {
        font-size: 15px !important;
    }
}

@media only screen and (min-width: 1300px) {


    @media (min-height : 769px) {
        .row li {
            font-size: 15px !important;
        }
    }

    @media (max-height : 768px) {
        .row li {
            font-size: 15px !important;
        }
    }
}

@media only screen and (min-width: 1600px) {
    @media (max-height : 768px) {
        .row li {
            font-size: 15px !important;
        }
    }

    @media (min-height : 769px) {
        .row li {
            font-size: 15px !important;
        }
    }
}

@media only screen and (min-width: 1900px) {
    @media (max-height : 768px) {
        .row li {
            font-size: 15px !important;
        }
    }

    @media (min-height : 769px) {
        .row li {
            font-size: 15px !important;
        }
    }
}


#toast-container {
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    visibility: visible;
    z-index: 950;
}

#toast.toast_show {
    opacity: .96;
    visibility: visible;
    animation: fadeOut 5s ease-in-out forwards;
}

#toast.toast_bottom {
    bottom: 20px;
}

#toast {
    background-color: #30303c;
    border-radius: 3.48px;
    box-shadow: 0 12px 18px 0 rgba(0, 0, 0, .4), inset 0 1px 0 0 hsla(0, 0%, 100%, .1);
    color: hsla(0, 0%, 100%, .9);
    display: inline-block;
    font-size: 14px;
    line-height: 18px;
    margin: auto;
    max-height: 676px;
    max-width: 300px;
    opacity: 0;
    padding: 18px;
    pointer-events: auto;
    position: absolute;
    text-align: center;
    visibility: hidden;
}

@keyframes fadeOut {
    0% {
        opacity: 0.96;
        visibility: visible;
    }

    60% {
        opacity: 0.96;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}