@font-face {
    font-family: 'SpoqaHanSansNeo-Regular';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SpoqaHanSansNeo-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body,html {margin: 0;padding: 0;overflow: hidden;width: 830px;font-size: 13px;color: #fff;height: 623px;font-family: 'SpoqaHanSansNeo-Regular';}
audio,canvas,progress,video {display: inline-block;vertical-align: baseline;}
a {background-color: transparent;}
a:active,a:hover {outline: 0;}
b,strong {font-weight: bold;}
h1 {font-size: 2em;margin: 0.67em 0;}
mark {background: #ff0;color: #000;}
img {border: 0;}
button {color: inherit;font: inherit;margin: 0;}
button {overflow: visible;}
button,select {text-transform: none;}
button,input[type="button"],input[type="reset"],input[type="submit"] {-webkit-appearance: button;cursor: pointer;}
button[disabled],input[disabled] {cursor: default;}
button::-moz-focus-inner,input::-moz-focus-inner {border: 0;padding: 0;}
input {line-height: normal;}
input[type="checkbox"],input[type="radio"] {box-sizing: border-box;padding: 0;}
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {height: auto;}
table {border-collapse: collapse;border-spacing: 0;}
td,th {padding: 0;}
div {position: relative; box-sizing: border-box;}
ul,li{margin:0;padding: 0}

.gmImg {
    display: block;
    position: absolute;
    background-image: url(../assets/img/baccarat/img.png);
}

.gmText {
    display: block;
    position: absolute;
    background-image: url(../assets/img/baccarat/text.png)
}

#sound {
    display: none
}

#wrapper {
    width: 100%;
    height: 100%;
}

.relativeBox {
    position: relative;
    width: 100%;
    height: calc(100% - 30px);
}

.gmContent {
    display: flex;
    position: relative;
    width: 830px;
    height: 630px;
    padding-bottom: 30px;
    background: url(../assets/img/baccarat/bg.jpg) no-repeat top;
    flex-wrap: wrap;
}

.topbtnBox {
    display: block;
    width: 100%;
    height: 130px;
}

.topbtnBox button {
    top: 42px;
    width: 45px;
    height: 45px;
    background-color: transparent;
    border: none
}

.topbtnBox .btn_ranking {
    left: 40px;
    background-position: 0 -67px
}

.topbtnBox .btn_mypick {
    left: 95px;
    background-position: -45px -67px
}

.topbtnBox .btn_help {
    right: 147px;
    background-position: -90px -67px
}

.topbtnBox .btn_scrap {
    right: 95px;
    background-position: -135px -67px
}

.topbtnBox .btn_sound {
    right: 40px;
    background-position: -180px -67px
}

.topbtnBox .btn_sound.off {
    background-position: -225px -67px
}

.titleBox {
    width: 270px;
    height: 113px;
    z-index: 1;
    background-image:url(../assets/img/baccarat/logo.png);
    top: 0;
    left: 0;
    /* transform: translateX(-50%); */
}

.info_container {
    float: left;
    top: -5px;
    width: 223px;
    height: 20px;
    text-align: center;
}

.clockBox {
    float: right;
    top: -5px;
    width: 234px;
    height: 20px;
    right: 0;
    text-align: center;
}


.scrapBox,.leftBox {
    float: left;
    width: 180px;
    height: calc(100% - 130px);
    padding: 20px 0 0 10px;
    /* border: solid 1px #fff; */
    /* display: none; */
}
.scrapBox,.leftBox h4, .scrapBox,.rightBox h4 {width: 100%;height: 30px;line-height: 30px;text-align: center;margin: 0;font-size: 14px;}

.scrollBox {
    margin: 0;
    height: 100%;
    text-align: center;
    overflow: hidden;
    overflow-y: auto;
    -ms-overflow-style: none;
    /* border: solid 1px #ccc; */
}

.scrollBox::-webkit-scrollbar {
    display: none
}

.scrollBox ul {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.scrollBox li {width: 100%;height: 63px;margin-bottom: 4px;}
.scrollBox li .num{width: 100%;height: 23px;line-height: 23px;font-size: 12px;background: linear-gradient(rgb(36 36 36) 0%, rgb(8 8 8) 100%);border: 1px solid rgba(0, 0, 0, 0.21);border-bottom: 1px solid rgb(0 0 0 / 8%);border-radius: 3px;border-bottom-left-radius: 0;border-bottom-right-radius: 0;text-shadow: 0 0px 2px rgb(0 0 0 / 50%);}
.scrollBox li .Boxcards {display: flex;width: 100%;height: 38px;line-height: 38px;font-size: 12px;background: rgb(0 0 0 / 18%);border: 1px solid rgba(0, 0, 0, 0.21);border-radius: 3px;border-top-left-radius: 0;border-top-right-radius: 0;text-shadow: 0 0px 2px rgb(0 0 0 / 50%);justify-content: space-evenly;align-items: center;}
.scrollBox li .Boxcards .p_cards{display: flex;width: 46%;overflow: hidden;justify-content: flex-end;align-items: center;}
.scrollBox li .Boxcards .b_cards {display: flex;width: 46%;overflow: hidden;justify-content: flex-start;align-items: center;}
.pcd{width: 56px;height: 82px;border-radius: 5px;margin-right: 4px;background-image: url(../assets/img/baccarat/card.png);background-color: #fff;zoom: .4;}

.scrollBox li .Boxcards .right_winner {
    width: 64px;
    height: 27px;
    line-height: 27px;
    border: 1px solid rgba(0, 0, 0, 0.21);
    border-bottom: 1px solid rgb(0 0 0 / 8%);
    border-radius: 5px;
    text-shadow: 0 0px 5px rgb(0 0 0 / 50%);
}
.scrollBox li .Boxcards .right_winner span {
    position: absolute;
    top: 1px;
    right: -15px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    font-size: 10px;
    border-radius: 50%;
    background: linear-gradient(#7b56bd 0%, #422674 100%);
}
.scrollBox li .Boxcards .right_winner.PLAYER {
    background-image: linear-gradient(0deg, #2f85c9 0%, #52a5f7 100%);
}
.scrollBox li .Boxcards .right_winner.BANKER {
    background: linear-gradient(0deg, #b93022 0%, #fd5454 100%);
}

.scrollBox li .Boxcards .right_winner.TIE {
    background: linear-gradient(0deg, #18871c 0%, #43dd49 100%);
}

.centerBox {
    float: left;
    width: calc(100% - 360px);
    height: calc(100% - 100px);
}

.centerBox .inBox {
}

.centerBox .inBox .shoe {
    position: absolute;
    top: 0;
    right: 0%;
    width: 56px;
    height: 82px;
    transform: translateX(-50%);
    z-index: 10;
}
.centerBox .inBox .shoe .card {
  position: absolute;
  width: 56px;
  height: 82px;
  background-size: 100%;
  background-repeat: no-repeat;
  opacity: 0;
}




.card .front {
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
  backface-visibility: hidden;
  background-image: url(../assets/img/baccarat/card.png);
  background-color: #f0f0f0;
  background-position: -142px -3px;
  transition: transform 0.2s ease-in-out;
}


.card .back {
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
  backface-visibility: hidden;
  transform: rotateY(180deg);
  background-image: url(../assets/img/baccarat/card.png);
  background-color: #fff;
  border-radius: 4px;
  background-repeat: no-repeat;
  transition: transform 0.2s ease-in-out;
}

.card.p0 {animation: moveCard1 .4s ease forwards;}
.card.b0 {animation: moveCard2 .4s ease forwards;}
.card.p1 {animation: moveCard3 .4s ease forwards;}
.card.b1 {animation: moveCard4 .4s ease forwards;}
.card.p2 {animation: moveCard5 .4s ease forwards;}
.card.b2 {animation: moveCard6 .4s ease forwards;}

@keyframes moveCard1 {
    0% {transform: translate(0, 0);opacity: 0;}
    20% {opacity:1;}
    100% {transform: translate(-363px, 166px);opacity:1; }
}
@keyframes moveCard2 {
    0% {transform: translate(0, 0);opacity: 0;}
    20% {opacity:1;}
    100% {transform: translate(-61px, 166px);opacity:1}
}
@keyframes moveCard3 {
    0% {transform: translate(0, 0);opacity: 0}
    20% {opacity:1;}
    100% {transform: translate(-297px, 166px);opacity:1}
}
@keyframes moveCard4 {
    0% {transform: translate(0, 0);opacity: 0}
    20% {opacity:1;}
    100% {transform: translate(5px, 166px);opacity:1}
}
@keyframes moveCard5 {
    0% {transform: translate(0, 0);opacity: 0}
    20% {opacity:1;}
    100% {transform: translate(-297px, 257px);opacity:1}
}
@keyframes moveCard6 {
    0% {transform: translate(0, 0);opacity: 0}
    20% {opacity:1;}
    100% {transform: translate(-61px, 257px);opacity:1}
}


.centerBox .inBox .playBox {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
}
.playBox .area{
    margin-top: 30px;
    width: 170px;
    height: 215px;
}
.playBox .area .area-in{
    position: absolute;
    width: 56px;
    height: 82px;
    border: dashed 1px #ffbf0070;
    border-radius: 2px;
}
.playBox .area .area-sum{
    position: absolute;
    width: 40px;
    height: 40px;
    color: #fff;
    line-height: 40px;
    font-size: 20px;
    border-radius: 50%;
    text-align: center;
}

.area-sum#psum {display: none;top: 84px;left: 61px;background-image: linear-gradient(45deg, #215ab0, #74acf1);z-index: 11;}
.area-sum#bsum {display: none;top: 84px;left: 65px;background-image: linear-gradient(45deg, #9d2b1e, #ff6251);z-index: 11;}

.area-in#p0 {
    top: 18px;
    right: 91px;
}
.area-in#p1 {
    top: 18px;
    right: 25px;
}
.area-in#p2 {
    right: 25px;
    top: 110px;
}
.area-in#b0 {
    top: 18px;
    left: 25px;
}
.area-in#b1 {
    top: 18px;
    left: 91px;
}
.area-in#b2 {
    top: 110px;
    left: 25px;
}


.area#player {}
.area#banker {}


.playBox .console_box {
    width: calc(100% - 340px);
    height: 135px;
    margin-top: 5px;
    z-index: 1;
}
.playBox .console_box .width_box {
    width: 100%;
    height: 100%;
    background: #002f00;
    border-radius: 10px;
}
.width_box .round {
    width: 100%;
    height: 40px;
    text-align: center;
    font-size: 18px;
    color: #FFEB3B;
    line-height: 40px;
}
.width_box .round_time {
    width: 100%;
    height: 40px;
    text-align: center;
    font-size: 30px;
    color: #f5f5f5;
    line-height: 40px;
}
.width_box .progressBar {
    width: calc(100% - 20px);
    height: 15px;
    margin-top: 20px;
    margin-left: 50%;
    border-radius: 7px;
    background-color: #0d1a0d;
    transform: translateX(-50%);
}
.width_box .progressBar .progress {
    background: linear-gradient(180deg, #FFBB00 0%, #FFE65D 47.92%, #FFBB00 100%);
    border-radius: 20px;
    width: 100%;
    height: 15px;
}


.playBox .console_box .result_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0d202c;
    border-radius: 10px;
    display: none;
}

.result_box  div {
    width: 100%;
    height: 40px;
    text-align: center;
    font-size: 18px;
    color: #03A9F4;
    line-height: 40px;
}
.result_box .result_round {
    width: 100%;
    height: 40px;
    text-align: center;
    font-size: 18px;
    color: #03A9F4;
    line-height: 40px;
}
.result_box .winner {
    font-size: 25px;
    color: #FFEB3B;
}


.rightBox {
    float: right;
    width: 180px;
    height: calc(100% - 130px);
    padding: 20px 10px 0 0;
}

.scrapBox .inBox .scrollBox,.rightBox .inBox .scrollBox {
    height: calc(100% - 10px);
    overflow: hidden;
    overflow-y: auto;
    -ms-overflow-style: none;
}

.scrapBox .inBox .scrollBox::-webkit-scrollbar,.leftBox .inBox .scrollBox::-webkit-scrollbar, .rightBox .inBox .scrollBox::-webkit-scrollbar {
    display: none
}

.popupbg {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: 1000
}

.popuplayer {
    display: none;
    position: absolute;
    top: 0;
    right: 15px;
    width: 800px;
    z-index: 1500;
    background-color:#1b2429;
    box-sizing: border-box;
    padding-bottom: 10px
}

.popuplayer h2 {
    display: flex;
    align-items: center;
    justify-content: left;
    position: relative;
    background-position: 0 -125px;
    background-color:#0d3443;
    color: #fff;
    padding: 0 30px;
    height: 75px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 10px
}

.popuplayer h3 {
    display: flex;
    align-items: center;
    justify-content: left;
    position: relative;
    height: 30px;
    background-position: 0 -141px;
    margin: 10px 0;
    padding: 0 20px;
    color: #fcba1d;
    font-weight: 700;
    letter-spacing: -1px
}

.popuplayer ul.thlep {
    padding: 0 30px;
    margin: 0
}

.popuplayer ul.thlep li {
    line-height: 20px;
    color:#90bccd;
    font-size: 12px;
    letter-spacing: -1px
}



.popuplayer .default {
    line-height: 20px;
    color: #90bccd;
    font-size: 12px;
    letter-spacing: -1px;
    padding: 0 30px
}

.popuplayer .codebox {
    display: flex;
    border-radius: 5px;
    padding: 10px;
    align-items: center;
    justify-content: center;
    background-color: #110803;
    margin: 10px 30px
}

.popuplayer .codebox p {
    flex: 1;
    word-break: break-all;
    color: #ffc438;
    font-family: Tahoma,Helvetica,sans-serif;
    font-size: 12px;
    letter-spacing: 0;
    padding: 10px 20px 10px 10px;
    margin-right: auto;
    text-align: left
}

.popuplayer .codebox button {
    display: flex;
    position: relative;
    width: 145px;
    height: 45px;
    border-radius: 5px;
    background-color: #0d3443;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    vertical-align: top;
    top: 0;
    color: #fff;
    font-weight: 700;
    letter-spacing: -1px
}

.topbtnBox button.layer_close {
    z-index: 1600;
    top: 36px;
    right: 22px;
    width: 31px;
    height: 31px;
    background-position: -175px -28px
}

.topbtnBox button.arrow_close {
    position: relative;
    width: 14px;
    height: 7px;
    background-position: -206px -28px;
    margin: 0 auto
}

.scroll::-webkit-scrollbar-track {
    border-radius: 3px;
    box-shadow: inset 0 0 6px #221f1f;
    background-color: #221f1f;
    margin-bottom: 10px 10px 10px 10px
}

.scroll::-webkit-scrollbar {
    width: 10px
}

.scroll::-webkit-scrollbar-thumb {
    border-radius: 3px;
    box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #a78440
}

.S1 {background-position: -2px -95px;}
.S2 {background-position: -72px -95px;}
.S3 {background-position: -142px -95px;}
.S4 {background-position: -212px -95px;}
.S5 {background-position: -282px -95px;}
.S6 {background-position: -352px -95px;}
.S7 {background-position: -422px -95px;}
.S8 {background-position: -492px -95px;}
.S9 {background-position: -562px -95px;}
.S10 {background-position: -632px -95px;}
.S11 {background-position: -702px -95px;}
.S12 {background-position: -772px -95px;}
.S13 {background-position: -842px -95px;}
.H1 {background-position: -2px -185px;}
.H2 {background-position: -72px -185px;}
.H3 {background-position: -142px -185px;}
.H4 {background-position: -212px -185px;}
.H5 {background-position: -282px -185px;}
.H6 {background-position: -352px -185px;}
.H7 {background-position: -422px -185px;}
.H8 {background-position: -492px -185px;}
.H9 {background-position: -562px -185px;}
.H10 {background-position: -632px -185px;}
.H11 {background-position: -702px -185px;}
.H12 {background-position: -772px -185px;}
.H13 {background-position: -842px -185px;}
.D1 {background-position: -2px -275px;}
.D2 {background-position: -72px -275px;}
.D3 {background-position: -142px -275px;}
.D4 {background-position: -212px -275px;}
.D5 {background-position: -282px -275px;}
.D6 {background-position: -352px -275px;}
.D7 {background-position: -422px -275px;}
.D8 {background-position: -492px -275px;}
.D9 {background-position: -562px -275px;}
.D10 {background-position: -632px -275px;}
.D11 {background-position: -702px -275px;}
.D12 {background-position: -772px -275px;}
.D13 {background-position: -842px -275px;}
.C1 {background-position: -2px -364px;}
.C2 {background-position: -72px -364px;}
.C3 {background-position: -142px -364px;}
.C4 {background-position: -212px -364px;}
.C5 {background-position: -282px -364px;}
.C6 {background-position: -352px -364px;}
.C7 {background-position: -422px -364px;}
.C8 {background-position: -492px -364px;}
.C9 {background-position: -562px -364px;}
.C10 {background-position: -632px -364px;}
.C11 {background-position: -702px -364px;}
.C12 {background-position: -772px -364px;}
.C13 {background-position: -842px -364px;}

