header{
  display: none;
}
#content{
  padding-bottom: 0 !important;
  margin-bottom: 61px;
}
#card_wrap{
  /* background-image: url('https://framerusercontent.com/images/usb0bbdFEdDKakspU3yNwqwVos.png'); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  background-color: #201f22;
  /* min-height: 100%; */
  min-height: 700px;
  height: calc(100vh - 61px);
  display: flex;
  justify-content: center;
}
.position{
  max-width: 500px;
  width: 100%;
  /* background: linear-gradient(to bottom, #383A3D 0px, rgba(22, 35, 43, 0) 100px, #101112 100px); */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: absolute;
  top: 42.5%;
  padding: 0 20px 81px;

}
/* 카드 목록  */
.position .card_list{
  background: #282A2B;
  padding: 15px 20px;
  width: 100%;
  max-height: 22%;
  border-radius: 15px;
}
.position .card_list .title{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}
.position .card_list .title img{
  width: 15px;
  height: 15px;
}
.position .card_list .border_img{
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 15px;
}
.position .card_list .border_img img{
  width: 100%;
  height: 100%;
  max-width: 76px;
  max-height: 116px;
  /* height: 56%; */
  /* aspect-ratio: 9 / 16; */
}
.position .card_list .border_img div{
  position: relative;
  width: 74px;
  height: 116px;
}
.position .card_list .border_img .poca_border{
  position: absolute;
  top: 0;
  left: 0;
}

.position .card_list .collection{
  margin-top: 14px;
  font-size: 14px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.collection svg{
  width: 15px;
  height: 15px;
}
.position #stellagem{
  text-align: center;
  margin: 26px 0;
}
.position .draw{
  width: 100%;
  display: flex;
  gap: 11px;
  margin-bottom: 36px;
}
.position .draw div p{
  font-size: 12px;
}
.position .draw div,
.popup_draw{
  width: 50%;
  height: 74px;
  border-radius: 15px;
  background: linear-gradient(105deg, #383A3D 0%, #101112 100%);
  display: flex;
  gap: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.position .draw div span{
  display: flex;
  gap: 4px;
  align-items: center;
}
.position .draw div img{
  width: 12px;
  height: 12px;
}
.position .draw .flex{
  gap: 5px;
}
.through{
  text-decoration: line-through;
}
#card_wrap .stellagem_inner{
  position: relative;
}
.position .composition{
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.position .composition svg{
  width: 15px;
  height: 15px;
}
.position .composition b{
  font-size: 14px;
}
#stellagem .sign_event{
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
#stellagem .sign_event button{
  height: 33px;
  max-width: 148px;
  font-weight: bold;
  padding: 3px 10px;
}
.apply_button_wrap{
  display: flex;
  gap: 14px;
  height: 46px;
  margin-top: 33px;
}
.apply_button_wrap a{
  font-weight: bold;
  font-size: 16px;
  color: #fff;
}
/* 뽑기 팝업 */
.popup{
  width: 450px;
}
.popup_header{
  display: flex;
  justify-content: space-between;
}
.colse_btn{
  width: 20px;
  cursor: pointer;
}
.popup_body{
  text-align: center;
  margin-top: 47px;
}

.popup_body .info,
.apply_date{
  display: flex;
  flex-direction: column;
  margin-top: 39px;
  align-items: center !important;
}
.popup_body .info p:last-of-type{
  max-width: 335px;
}
.popup_body .info span{
  color: #EE5B5B;
  display: inline-block;
  font-weight: bold;
}
.popup_body img{
  width: 13px;
  height: 13px;
  /* margin-right: 5px; */
}
.popup_body p{
  margin-top: 10px;
  font-size: 14px;
}
.popup_body .popup_draw{
  margin: 39px auto 0;
  display: flex;
  gap: 0;
}
.popup_body .popup_draw > div{
  justify-content: center;
}

.popup_body .popup_draw span,
.popup_body .popup_draw span p{
  display: flex;
  align-items: flex-end;
  gap: 5px;
}
.popup_body .popup_draw span p{
  font-size: 12px;
  gap: 5px;
}
/* .popup_body .popup_draw span img{
  margin-left: 4px;
} */
/* 응모 정보 확인 */
#apply_check_popup .popup_header b{
  margin-left: 0px !important;
}
#apply_check_popup .apply_info{
  margin-top: 10px;
}
.apply_info{
  margin: 0 auto;
  width: 300px;
}
.apply_info a[href^="tel:"]{
    color: #fff !important;
}
.apply_info .flex{
  gap: 10px;
}
.apply_info .flex p:first-of-type{
  width: 60px;
  text-align: left;
}
.apply_info > .flex > p:last-of-type{
  text-align: left;
  word-break: break-all;
  max-width: 230px;
}
.space{
  white-space: nowrap;
  text-align: left;
}

.space p:not(:first-child){
  margin-top: 2px !important;
}
.event_page{
  width: 50% !important;
  margin: 0 auto;
}
/* 전체 구성 확인  */
.all_card_list_cover{
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  max-width: 500px;
  display: none;
}
#all_card_list{
  position: fixed;
  height: 69%;
  bottom: 61px;
  width: 100%;
  max-width: 500px;
  display: none;
}
#all_card_list .card {
  background: #19191e;
  padding: 30px 30px 0 30px;
  height: 100%;
  border-radius: 10px 10px 0 0 !important;
}
#all_card_list .list_header {
  align-items: center;
  justify-content: space-between;
  /* margin-bottom: 34px; */
  position: sticky;
  top: 0;
  background-color: #19191e; 
}
#all_card_list .list_header img {
  width: 25px;
}
#all_card_list .grade_img_wrap {
  overflow: auto;
  height: calc(100% - 60px);
}
#all_card_list .grade_img_wrap img {
  width: 100%;
}
#all_card_list .grade_img_wrap::-webkit-scrollbar{
  display: none;
}
/* 500px 이하 반응형  */
@media (max-width: 499px) {
  .popup{
    width: 90%;
    height: auto;
  }
  html{
    background: #201f22;
  }
  /* #card_wrap{
    background-size: contain;
  } */
  .position{
    padding: 0 20px 61px !important;
  }
  .position .card_list .border_img div{
    width: 55px;
    height: 86px;
  }
  .position .draw{
    margin-bottom: 27px !important;
  }
  .event_page{
    width: 70% !important;
  }
}
@media (max-width: 440px) {
  .position .draw div,
  .popup_draw{
    width: 65% !important;
  }
  .position .draw div span{
    font-size: 11px;
  }
}