/*
@font-face {
    font-family: notoFont;
    src: url("../font/NotoSansKR-Regular.otf") format("opentype");
    font-style: "bold";
    font-weight: 400;
}
@font-face {
    font-family: "SpoqaHanSansNeo";
    src: url("../../../_plug/SpoqaHanSansNeo-Regular.woff2") format("opentype");
}
@font-face {
    font-family: Cafe24Ssurround-Bold;
    src: url("../font/Cafe24Ssurround-v2.0.woff2");
    font-style: "bold";
}
@font-face {
    font-family: Pretendard-SemiBold;
    src: url("../../../../dfLOAD_Page/fonts/Pretendard-SemiBold.woff2");
}
*/
@font-face {
  font-family: "GmarketSansTTF";
  src: url("../../../../dfLOAD_Page/fonts/GmarketSansMedium.otf")
    format("opentype");
}
body {
  font-family: "GmarketSansTTF";
  /*font-family: "Pretendard Variable";*/
  padding: env(safe-area-inset-top) 0 0 0;
  margin: 0;
}
#ver {
  position: absolute;
  color: red;
  font-size: 1rem;
  left: 0em;
  top: 0em;
}
#_scrdbg {
  color: red;
  font-size: 0.7rem;
  line-height: 0.6rem;
}

/* 반응형 - PC 대응 */
@media (max-width: 359px) {
  html {
    font-size: 14px;
  }
}
@media (min-width: 360px) {
  html {
    font-size: 15px;
  }
}
@media (min-width: 400px) {
  html {
    font-size: 16px;
  }
}
@media (min-width: 500px) {
  html {
    font-size: 20px;
  }
}
@media (min-width: 560px) {
  html {
    font-size: 22px;
  }
}
@media (min-width: 719px) {
  html {
    font-size: 28px;
  }
}

.position-absolute {
  position: absolute;
}
.w-100 {
  width: 100%;
}
.text-light {
  color: #f8f9fa;
}
.container-fluid {
  max-width: 720px;
  /* overflow-x: hidden; */
}

.header {
  max-width: 720px;
  position: fixed;
  top: env(safe-area-inset-top);
  width: 100%;
  z-index: 100;
}
.header::before {
  content: "";
  position: fixed;
  top: 0;
  width: 100%;
  height: env(safe-area-inset-top);
  background-color: white;
}
.btn-close {
  position: absolute;
  width: 10%;
  height: 78%;
  right: 0;
  z-index: 1;
  margin: 2.75% 3.15% 0px 0px;
  border-radius: 50%;
  cursor: pointer;
}
.btn-close-01 {
  width: 10%;
  float: right;
  margin: 2.75% 3.15% 0px 0px;
}
.btn-close-02 {
  position: absolute;
  width: 100%;
}

.event-term {
  width: 50%;
  transform: translateX(-50%);
  height: 0.87%;
  top: 7.2%;
  left: 50%;
  text-align: center;
}
.event-term span {
  transform: translate(-50%, -50%);
  top: 50%;
  font-size: 3vw;
}
@media (min-width: 768px) {
  .event-term span {
    font-size: 0.83rem;
  }
}

.section {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
#section4 {
  font-size: 1rem;
  background-color: rgb(236 232 231);
  padding: 2em 0.5em;
}
#section4 .title {
  font-size: 1.8rem;
  text-align: center;
}
.section ul {
  list-style: disc;
  padding-inline-start: 2rem;
  padding-right: 0.8rem;
}
.warp-img {
  width: 100%;
}
.warp-box {
  position: absolute;
}
.section1-div,
.section2-div {
  position: relative;
}
.btn-start {
  left: 49%;
  top: 22%;
  height: 4%;
  width: 45%;
  transform: translateX(-50%);
  cursor: pointer;
}
.btn-start img {
  width: 100%;
}

.date {
  top: 76.6%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-size: 1rem;
  color: white;
  font-weight: bold;
}
.share-area {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 43.8%;
  width: 86%;
  height: 4.9%;
  cursor: pointer;
}
.share-area div {
  /* width: 50%; */
  cursor: pointer;
}
.share-area div img {
  width: 100%;
}
/* .share-area div:nth-child(1) {
    float: left;
} */
.share-area div:nth-child(2) {
  /* float: right; */
  /* width: 45%; */
  margin-top: 13.5%;
}

.mypoint_box {
  position: absolute;
  /* transform: translateX(-50%); */
  right: 16.9%;
  top: 59.6%;
  /* width: 89%; */
  font-size: 1.1rem;
  font-weight: bold;
  /* background: red; */
}

.user-info {
  transform: translateX(-50%);
  left: 50%;
  width: 90%;
  text-align: center;
  top: 14.7%;
  font-size: 1.6rem;
  font-weight: 600;
  color: #633353;
}
.user-info span {
  position: absolute;
  width: 49%;
}
.user-info span:nth-child(1) {
  left: 0;
}
.user-info span:nth-child(2) {
  right: 0;
}

.chance {
  top: 56.2%;
  left: 75%;
  font-size: 5vw;
  color: #430000;
  /*font-family: Pretendard-SemiBold;*/
  font-family: "GmarketSansTTF";
  font-weight: 600;
}

.gamelink {
  top: 49.7%;
  width: 100%;
}
.gamelink .btnL {
  cursor: pointer;
  position: absolute;
  top: 0%;
  width: 42.2%;
  left: 7%;
  /*background:red*/
  padding-bottom: 34%;
}
.gamelink .btnR {
  cursor: pointer;
  position: absolute;
  top: 0%;
  width: 42.2%;
  right: 7.2%;
  /*background:#3e2f81;*/
  padding-bottom: 34%;
}
.gamelink img {
  width: 100%;
}

.rank {
  top: 77.7%;
  left: 50%;
  transform: translateX(-50%);
  width: 93%;
  height: 21.1%;
  font-size: 4vw;
  line-height: 1.4rem;
  text-align: center;
  font-weight: 700;
  position: absolute;
  overflow: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  color: #6f7881;
  font-family: GmarketSansTTF;
  /*font-family: Pretendard-SemiBold;*/
}
.rank img {
  width: 100%;
  height: 100%;
}

.rank::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}
/* .rank td {
  width: 50%;
  text-align: center;
  vertical-align: middle;
}
.rank div td:nth-child(1) {
  width: 50%;
} */
.rank div {
  height: calc(100% * 2 / 20);
  width: 96%;
  margin: 0% 2%;
}
.rank div span {
  float: left;
  width: 33.3%;
  height: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
  font-size: 0.9rem;
}
.rank ::-webkit-scrollbar-thumb {
  background: rgb(65 190 56); /* 스크롤바 색상 */
  border-radius: 10px; /* 스크롤바 둥근 테두리 */
}
.rank ::-webkit-scrollbar-track {
  background: rgba(185, 185, 185, 0.7); /*스크롤바 뒷 배경 색상*/
}
.rank .rankTabs {
  position: absolute;
  top: 0;
  width: 50%;
  height: 14%;
  margin: 0px;
  padding: 0px;
  cursor: pointer;
}
.rank .rankTabs.left {
  left: 0;
}
.rank .rankTabs.right {
  right: 0;
}
.rank .rankTITLE {
  position: absolute;
  top: 14%;
  background: #0f5f34;
  width: 99%;
  left: 0px;
  margin: 1%;
  color: #fff;
  font-size: 0.9rem;
}
.rank .rankTITLE .help {
  position: relative;
  right: -3%;
  top: -2%;
  width: auto;
  height: 41%;
  cursor: pointer;
}
.rank .rankList {
  position: absolute;
  top: 27%;
  color: #6f7881;
  overflow-y: auto;
  height: 69.5%;
}

/* Arror */
.arrow-box {
  position: fixed;
  right: 0;
  margin-right: 5%;
  font-size: 1.5rem;
  bottom: 5%;
  text-align: center;
}
.to-top {
  color: rgba(0, 0, 0, 0.4);
  padding-top: 2.2rem;
  display: block;
  position: relative;
  border-color: rgba(0, 0, 0, 0.4);
  text-decoration: none;
  transition: all 0.3s ease-out;
}
.to-top:before {
  content: "▲";
  font-size: 2rem;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -1.2rem;
  border: solid 0.13rem white;
  border-radius: 10rem;
  width: 2.2rem;
  height: 2.2rem;
  line-height: 1.8rem;
  border-color: inherit;
}
.to-bottom {
  color: rgba(0, 0, 0, 0.4);
  padding-top: 1.5rem;
  display: block;
  position: relative;
  border-color: rgba(0, 0, 0, 0.4);
  text-decoration: none;
  transition: all 0.3s ease-out;
}
.to-bottom:before {
  content: "▼";
  font-size: 2rem;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -1.2rem;
  border: solid 0.13rem white;
  border-radius: 10rem;
  width: 2.2rem;
  height: 2.2rem;
  line-height: 1.8rem;
  border-color: inherit;
}

.mission-area {
  width: 77%;
  height: 4.5%;
  top: 24%;
  transform: translateX(-50%);
  left: 50%;
}
.btn-mission {
  width: 49%;
  height: 42%;
  cursor: pointer;
}
.mission-area div:nth-child(2) {
  right: 0;
}
.mission-area div:nth-child(3) {
  bottom: 0;
}
.mission-area div:nth-child(4) {
  right: 0;
  bottom: 0;
}

#rank-line {
  position: absolute;
  top: 67%;
}

.rank-form {
  background: #0a2342;
  position: relative;
  height: 9.5%;
}
.life {
  /* bottom: 70%; */
  top: 32.5%;
  width: 100%;
  padding: 0 3rem;
  /* padding-left: 46%; */
  height: auto;
  text-align: center;
}
.life > div {
  clear: both;
}
.life > div > div {
  width: 20%;
  float: left;
  /* padding: 0rem; */
  /* margin-right: calc(20%); */
  margin-bottom: 4%;
  padding-right: calc(20% / 8);
}
.life > div > div:last-child {
  margin-right: 0;
}

.game-count {
  position: absolute;
  width: 84%;
  height: 2%;
  top: 67.45%;
  left: 8%;
  font-family: GmarketSansTTF;
  /*font-family: Pretendard-SemiBold;*/
  font-weight: 700;
}
.game-count span {
  position: absolute;
  transform: translate(-50%, -50%);
  /* left: 50%; */
  top: 55%;
  /* width: 100%; */
  text-align: right;
  font-size: 1.2rem;
  font-weight: 600;
  color: #363636;
}
.game-count span:nth-child(1) {
  left: 18.1%;
  width: 32%;
}
.game-count span:nth-child(2) {
  left: 74.1%;
  width: 32%;
}
/* common */
.hide {
  display: none;
}
.show {
  display: block;
}
.max-width {
  width: 100vw;
}
.max-height {
  height: 100vh;
}

.noticeTitleWrap {
  position: relative;
}
.btn-notice {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  width: 8%;
}

.guideline {
  padding-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3rem;
  color: #ffffff;
  background-color: #783d9d;
}

.noticeTitle {
  padding: 10px;
  font-size: 1.5rem;
  text-align: center;
  font-weight: bold;
}
.notice {
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  top: 100%;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3rem;
  display: none;
}
.notice li {
  font-weight: 200;
  color: #5e5e5e;
}
.notice .strong {
  font-weight: bold;
  color: black;
}

.deliberated {
  background-color: #e6e6e6;
  padding: 20px 0;
}
.deliberated ul {
  margin: 0;
  padding: 1rem;
}
.deliberated li {
  list-style: none;
}

.img-fluid {
  width: 100%;
}

.notice-text-area {
  position: absolute;
  width: 96%;
  height: 90%;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  overflow: scroll;
  font-size: 0.8rem;
  line-height: 1.4rem;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.notice-text-area::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}
.btn-insert {
  position: absolute;
  width: 45.5%;
  transform: translate(-50%, -0%);
  left: 50%;
  bottom: 4.1%;
  height: 9.4%;
  cursor: pointer;
}
ol,
ul {
  padding-left: 7%;
}

/* 참조사항 */
.alert_notice {
  position: absolute;
  width: 100%;
  letter-spacing: -2px;
  font-size: 10pt;
  bottom: 0px;
}
.alert_notice ul {
  position: absolute;
  width: 100%;
  background: #757575;
  color: #fff;
  font-weight: bold;
  margin-top: -180px;
  padding-bottom: 50px;
}
.alert_notice li {
  width: 95%;
}
@media (min-width: 0px) and (max-width: 310px) {
  .alert_notice ul {
    display: none;
  }
}
@media (min-width: 311px) and (max-width: 340px) {
  .alert_notice ul {
    margin-top: -95px;
  }
}
@media (min-width: 341px) and (max-width: 370px) {
  .alert_notice ul {
    margin-top: -100px;
  }
}
@media (min-width: 371px) and (max-width: 400px) {
  .alert_notice ul {
    margin-top: -110px;
    font-size: 12pt;
  }
}
@media (min-width: 401px) and (max-width: 430px) {
  .alert_notice ul {
    margin-top: -120px;
    font-size: 12pt;
  }
}
@media (min-width: 431px) and (max-width: 460px) {
  .alert_notice ul {
    margin-top: -130px;
    font-size: 13pt;
  }
}
@media (min-width: 461px) and (max-width: 490px) {
  .alert_notice ul {
    margin-top: -140px;
    font-size: 14pt;
  }
}
@media (min-width: 491px) and (max-width: 520px) {
  .alert_notice ul {
    margin-top: -145px;
    font-size: 14pt;
  }
}
@media (min-width: 521px) and (max-width: 560px) {
  .alert_notice ul {
    margin-top: -150px;
    font-size: 14pt;
  }
}
@media (min-width: 561px) and (max-width: 590px) {
  .alert_notice ul {
    margin-top: -165px;
    font-size: 14pt;
  }
}
@media (min-width: 591px) and (max-width: 640px) {
  .alert_notice ul {
    margin-top: -175px;
    font-size: 14pt;
  }
}
@media (min-width: 641px) and (max-width: 670px) {
  .alert_notice ul {
    margin-top: -190px;
    font-size: 14pt;
  }
}
@media (min-width: 671px) and (max-width: 700px) {
  .alert_notice ul {
    margin-top: -200px;
    font-size: 14pt;
  }
}
@media (min-width: 701px) and (max-width: 840px) {
  .alert_notice ul {
    margin-top: -200px;
    font-size: 15pt;
  }
  .rank,
  .chance,
  .game-count {
    font-size: 35px;
  }
}
@media (min-width: 841px) {
  .alert_notice ul {
    margin-top: -200px;
    font-size: 15pt;
  }
  .rank,
  .chance,
  .game-count {
    font-size: 35px;
  }
}
/**/

.btn_av3 {
  width: 19.6rem;
  height: 7rem;
  position: absolute;
  top: -3.6rem;
  left: -15.8rem;
}

/**/
.noticeBOX {
  /*font-family: "SpoqaHanSansNeo";*/
  position: relative;
  background: #fff;
  letter-spacing: -0.02em;
  /*margin-top: -44.1%;*/
  /* border: 1px solid #bcb5b9; */
}
.noticeBOX img {
  width: 100%;
}
.noticeBOX div {
  clear: both;
}
.noticeBOX ul {
  margin: 0px;
  padding: 0px;
}

.noticeBOX li {
  margin: 0px;
  padding: 10px 0px;
}
.noticeBOX dl {
  margin: 0px;
  margin-bottom: 10px;
}
.noticeBOX dd {
  margin: 0px;
  padding-left: 3%;
}

.noticeBOX .noticeBOX_POS {
  width: 90%;
  position: relative;
  left: 50%;
  transform: translate(-50%, 0px);
}
.noticeBOX .noticeBOX_POS .glevel {
  background: #f5f7fa;
  padding: 35px 30px;
}
/**/

.bonusBOX .line {
  padding: 6% 0 !important;
}
.bonusBOX .tIMG {
  width: 72% !important;
}

.bonusBOX .title {
  padding: 0% 0px 4% !important;
  font-size: 1.5rem;
}
.bonusBOX .bonusCK {
  width: 22% !important;
}

.bonusBOX .title .btnCLOSE div {
  height: 1.4rem !important;
}
.bonusBOX .title .btnCLOSE div img {
  height: 100% !important;
}
.bonusBOX,
.bonusBOX .timer,
.popup-box div,
.popup-box li {
  /*font-family:"Pretendard Variable" !important*/
  /*font-family:"GmarketSansTTF" !important*/
}

.subADBOX {
  position: fixed;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  width: 53%;
  text-align: center;
  background: #9c9c9c;
  color: #fff;
  padding: 3% 0 2%;
  line-height: 1rem;
  font-size: 1rem;
  border-radius: 1rem;
  z-index: 9999990;
}
.subADBOX.active {
  background: #2959d4;
}

/****** AV5 ******/
.nextBtn {
  position: absolute;
  top: 33.4%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 576px;
  height: 13%;
  /* background-color: rgba(0, 0, 0, 0.5); */
  cursor: pointer;
}
.nextBtn > img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.popup_privacy_back {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}
.popup_privacy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 83%;
  max-width: 598px;
}
.img_privacy {
  width: 100%;
}
.privacy_content {
  position: absolute;
  left: 50%;
  top: 27%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 17%;
  border: none;
  font-size: clamp(10px, 2.5vw, 16px);
  font-weight: 400;
  resize: none;
  outline: none;
}
.btn_agree_privacy {
  position: absolute;
  left: 52%;
  top: 40.5%;
  transform: translate(-50%, -50%);
  width: 30%;
  height: 5%;
}
.img_check {
  position: absolute;
  left: 21%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 90%;
}
.username {
  position: absolute;
  left: 52%;
  top: 51.5%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 10%;
  text-align: center;
}
.usercall {
  position: absolute;
  left: 52%;
  top: 66.5%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 10%;
  text-align: center;
}
.input_username,
.input_usercall {
  position: relative;
  top: 50%;
  width: 50%;
  height: 50%;
  border: none;
  background-color: transparent;
  outline: none;
  font-size: clamp(16px, 2vw, 20px);
  text-align: center;
}
.btn_submit_privacy {
  position: absolute;
  left: 50%;
  top: 81.5%;
  transform: translate(-50%, -50%);
  width: 84%;
  height: 10%;
  cursor: pointer;
}

/*** scratch ***/
.scratchContainer {
  position: absolute;
  top: 33.4%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 576px;
  height: 13%;
}
.scratch_img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
#cvs {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
}
.ticketImage {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  width: 50%;
}
.floatingImg {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  width: 70%;
  pointer-events: none;
}

/***** link *****/
.linkBox {
  position: absolute;
  top: 95%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  width: 83%;
  height: 3%;
  cursor: pointer;
}
.linkBox > a:nth-child(1) {
  width: 32%;
}
.linkBox > a:nth-child(2) {
  width: 37%;
}
.linkBox > a:nth-child(3) {
  width: 31%;
}
