@charset "utf-8";

/* http://samg.net/2020/wp-content/uploads/2020/08/heartsping_003.png */

.teamplay .game-card .game-card-view[data-num]::before{ 
  content: ""; 
  /* background-image: url(http://samg.net/2020/wp-content/uploads/2020/08/heartsping_003.png); */
  /* background-image: url(img-card-back.png); */
  background-position: center;
  background-size: contain;
  background-image: none;
  background-repeat: no-repeat;
  border-width: 0px;
}

.teamplay .game-card .game-card-view[data-num="0"]::before{ background-image: url(img-card-table-1.png);  }
.teamplay .game-card .game-card-view[data-num="1"]::before{ background-image: url(img-card-table-2.png); }
.teamplay .game-card .game-card-view[data-num="2"]::before{ background-image: url(img-card-az-1.png); }
.teamplay .game-card .game-card-view[data-num="3"]::before{ background-image: url(img-card-az-2.png); }
.teamplay .game-card .game-card-view[data-num="4"]::before{ background-image: url(img-card-dodram-1.png); }
.teamplay .game-card .game-card-view[data-num="5"]::before{ background-image: url(img-card-dodram-2.png);  }
.teamplay .game-card .game-card-view[data-num="6"]::before{ background-image: url(img-card-dodram-3.png); }
.teamplay .game-card .game-card-view[data-num="7"]::before{ background-image: url(img-card-dodram-4.png); }
.teamplay .game-card .game-card-view[data-num="8"]::before{ background-image: none; }
.teamplay .game-card .game-card-view[data-num="9"]::before{ background-image: none; }




.teamplay .game-card .game-card-view::after{
  content: "";
  background: white;
  background-image: url(img-card-back.png);

  /* background-size: clamp(6px, 5vmin, 40px) clamp(6px, 5vmin, 40px); */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  width:100%;
  height:100%;
  z-index: 9;

  border:0px solid #aaa;
}


/* 시작 카운트 다운 */

.cd-layer{
  position: absolute;
  z-index: 20;
  top:0;left:0;right:0;bottom:0;
  background-color: #00000099;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}
.game[data-running="true"] .cd-layer{
  display: none;
}
.game[data-ended="true"] .cd-layer{
  display: none;
}

.cd-layer .circle{
  aspect-ratio: 1/1;
  width:300px;
  background-color: #fff;
  border-radius:100em;
  overflow: hidden;
  position: relative;
}
.cd-layer .circle-num{
  position: absolute;
  top:0;left:0;right:0;bottom:0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  font-size: 200px;
  color: #EF4E38;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 900;
  opacity: 0;
}

.cd-layer.countdown{
  /* animation: cd-layer-off 3s linear 0s 1 normal forwards; */
}
@keyframes cd-layer-off {
  0%{opacity: 1;}
  98%{opacity: 1;}
  100%{opacity: 0; display: none;}
}
.cd-layer.countdown .circle-num-1{
  animation: cd-layer-off 1s linear 2s 1 normal forwards;
}
.cd-layer.countdown .circle-num-2{
  animation: cd-layer-off 1s linear 1s 1 normal forwards;
}
.cd-layer.countdown .circle-num-3{
  animation: cd-layer-off 1s linear 0s 1 normal forwards;
}
@keyframes cd-layer-number-off {
  0%{opacity: 1;}
  98%{opacity: 1;}
  100%{opacity: 0;}
}

.game-timer{
  padding:30px 20px;
  margin-bottom: 20px;
  font-size: 52px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 900;
  color: #4DA47A;
  text-align: center;
}


/* 게임 종료 레이어 안보여줌! */
.game-end-wrap{
  display: none !important;
}


.game-memory {
  min-height: 600px;
}


/* 240201 추가 */
/* gamePlay */
.cont-game{
  background: #F8EEE4;
}
.game-timer {
  font-family: 'yg-jalnan';
  display: flex;
  align-items: center;
  justify-content: center;
}
.timer-second {
  display: block;
  width: 195px;
}

/* gameReady */
.cont-ready{
  background: #f8eee4;
}
.gameReady .cont01{
  background: url('/_asset/events/newyear24/teamplay/gameReady/cont01.png') center center no-repeat;
  height: 691px;
  position: relative;
}
.gameReady .cont02{
  background: #F8EEE4;
  height: auto;
  padding: 1em 0 0.5em;
}
.gameReady .cont02 > p{
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
  width: 60%;
  padding: 10px;
  border-radius: 10px;
  /* background: #C0C0C0; */
  background: #fff;
  border: 3px solid #EF4E38;
  color: #17172b;
  font-weight: bold;
  font-size: 0.7em;
  margin: 0 auto;
  text-align:center;
  cursor: pointer;
  position: relative;
}
.gameReady .cont02 .arrow{
  position: absolute;
  right: 1em;
  width: 22px;
}
.gameReady .cont02 .warning{
  width: 550px;
  margin: 0 auto;
  display: none;
  font-size: 0.5em;
  color: #2C3D5C;
  padding: 1em 1em 1em 1.5em;
}
.gameReady .cont02 .warning li{
  line-height: 1.8;
  user-select: none;
  list-style: outside;
}
.gameReady .cont02 .warning .strong_text{
  font-weight: bold;
  text-decoration: underline;
}
.gameReady .cont-ready-wrap{
  background: url('/_asset/events/newyear24/teamplay/gameReady/cont02.png') top center no-repeat;
  height: 550px;
  position: relative;
}
.gameReady .cont-ready-wrap.cont-ready-ok{
  background: url('/_asset/events/newyear24/teamplay/gameReady/cont02-1.png') top center no-repeat;
  height: 480px;
}
.gameReady .cont-ready-wrap.cont-ready-nickname-fail{
  height: 638px;
}
/* .gameReady .cont03{
  background: url('/_asset/events/newyear24/teamplay/gameReady/cont03.png') center center no-repeat;
  height: 226px;
  position: relative;
} */
.gameReady .btn_wrap{
  width: 100%;
  background: #F8EEE4;
  height: 150px;
  position: absolute;
  box-sizing: border-box;
  top: 368px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 0.5em;
  padding-top: 0.5em;
}
.gameReady .cont-ready-nickname-fail .btn_wrap{
  height: auto;
  top: 456px;
}
.gameReady .btn_wrap .btn{
  display: block;
  width: 500px;
  border: 0;
  border-radius: 12px;
  font-size: 0.8em;
  margin: 0 auto;
  color: #fff;
  text-align: center;
}
.gameReady .btn_wrap .btn_red{
  background: #EF4E38;
}
.gameReady .btn_wrap .btn_navy{
  background: #2C3D5C;
}
.gameReady .form-control {
  border: 0;
  background: none;
  position: absolute;
  font-size: 0.6em;
  left: 49px;
  width: 500px;
  box-sizing: border-box;
  padding: 0 0.5em;
}
.gameReady .form-control:focus{
  outline: none;
  background: none;
}
.gameReady .form-control[name='nickname']{
  top: 91px;
}
.gameReady .form-control[name='game_team']{
  top: 239px;
}
.gameReady .cont-ready-ok .form-control[name='game_team']{
  top: 190px;
}
.gameReady .cont-ready-ok .btn_wrap{
  top: 299px;
}
.gameReady .info_text {
  position: absolute;
  left: 48px;
  color: #3C83ED;
}
.gameReady .info_text.nickname_text{
  top: 139px;
}
.gameReady .info_text.team_text{
  top: 281px;
}
.gameReady .info_text.duple{
  color: #EF4E38;
}
.gameReady .invite_text{
  text-align: center;
  font-size: 0.7em;
  position: absolute;
  width: 100%;
  top: 372px;
}
.gameReady .invite_text span{
  color: #EF4E38;
  font-weight: bold;
}


/* 팀 상세정보 페이지 */
.cont-team{
  background: #F8EEE4;
  padding: 50px 0;
}
.cont-team .team_inner{
  width: 550px;
  height: 1150px;
  margin: 0 auto;
  background: #fff;
  border: 3px solid #EF4E38;
  border-radius: 20px;
  padding: 46px 24px;
}
.cont-team .team_header{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: baseline;
  text-align: center;
  color: #EF4E38;
  margin-bottom: 30px;
}
.cont-team .team_header .team_name{
  font-family: 'yg-jalnan';
  font-size: 1em;
}
.cont-team .team_header .team_total{
  font-size: 0.6em;
  margin-left: 10px;
}
.cont-team .team_score{
  font-family: 'yg-jalnan';
  font-size: 0.85em;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  column-gap: 65px;
  color: #EF4E38;
}
.cont-team .team_score > div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.cont-team .team_score .score_title{
  color: #2C3D5C;
  margin-right: 20px;
}
.cont-team .team_list{
  width: 500px;
  height: 575px;
  background: #fdedeb;
  padding: 20px 30px;
  border-radius: 10px;
  margin: 30px auto 40px;
  color: #2C3D5C;
}
.cont-team .team_list .head{
  font-size: 0.9em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}
.cont-team .team_list .head::after{
  content: '';
  display: block;
  width: 90%;
  height: 1px;
  background: #2C3D5C;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.cont-team .team_list .head p{
  width: fit-content;
  background: #fdedeb;
  margin: 0 auto;
  position: relative;
  padding: 0 16px;
  z-index: 2;
}
.cont-team .list_header{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 0.7fr 0.7fr;
  font-size: 0.65em;
  font-weight: bold;
  letter-spacing: -1px;
  margin-bottom: 15px;
}
.cont-team .list_cont .member{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 0.7fr 0.7fr;
  font-size: 0.55em;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.cont-team .list_cont .member .score{
  text-align: right;
}
.cont-team .list_cont .member .count{
  width: 128px;
  text-align: right;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  padding-right: 8px;
}
.cont-team .team_bottom{
  text-align: center;
  color: #2C3D5C;
  font-size: 0.7em;
  line-height: 1.5;
  word-break: keep-all;
}
.cont-team .team_bottom p span{
  font-weight: bold;
}
.cont-team .team_bottom .invite_team_btn{
  display: block;
  background: #EF4E38;
  width: 500px;
  padding: 0.5em 1em;
  border-radius: 10px;
  font-size: 1em;
  text-align: center;
  border: 0;
  margin: 40px auto 0;
  color: #fff;
  cursor: pointer;
}


/* gameResult 페이지 */
.cont-result{
  background: #F8EEE4;
  padding: 20px 0 40px;
}
.cont-result .game_result_img{
  padding: 20px 0 0;
}
.cont-result .game_result_img img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}
.cont-result .my_score{
  width: 550px;
  height: 295px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.40);
  border-radius: 0 0 20px 20px;
  font-size: 0.8em;
  text-align: center;
  margin: 0 auto 20px;
  color: #2C3D5C;
}
.cont-result .my_score h3{
  width: 80%;
  margin: 0 auto;
  border-top: 1px solid #2C3D5C;
  padding-top: 10px;
  font-size: 0.8em;
  font-weight: bold;
}
.cont-result .my_score .second{
  font-family: 'yg-jalnan';
  font-size: 1.2em;
}
.cont-result .my_score .share_score{
  display: block;
  font-size: 0.6em;
  text-align: center;
  color: #fff;
  background: #EF4E38;
  border-radius: 0 20px 20px 20px;
  padding: 6px 12px;
  margin: 0 auto;
  border: 0;
}
.cont-result .second_wrap{
  width: 80%;
  margin: 0 auto;
  border-bottom: 1px solid #2C3D5C;
  padding-bottom: 10px;
}
.cont-result .score_wrap{
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  padding-top: 20px;
  font-size: 0.8em;
}
.cont-result .score_wrap .num{
  font-family: 'yg-jalnan';
  font-size: 1.3em;
}
.cont-result .btn_wrap {
  margin: 10px auto;
}
.cont-result .info{
  width: 500px;
  margin: 20px auto 0;
  color: #2C3D5C;
  font-size: 0.53em;
  letter-spacing: -1px;
}
.cont-result .btn_wrap .button{
  display: block;
  width: 500px;
  padding: 0.5em 1em;
  border: 0;
  border-radius: 20px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.75em;
  color: #fff;
}
.cont-result  .border_btn_wrap{
  max-width: 500px;
  margin: 20px auto 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.cont-result  .border_btn_wrap .button {
  display: block;
  width: 230px;
  border: 3px solid #EF4E38;
  border-radius: 20px;
  font-size: 0.65em;
  text-align: center;
  background: #fff;
  color: #EF4E38;
  letter-spacing: -1px;
  padding: 0.5em 0;
}
.cont-result .cont03{
  height: 2628px;
}
.cont-result .cont04{
  height: 913px;
}
.cont-result .cont04 .share_btn{
  bottom: 120px;
}
.cont-result .result_form{
  width: 500px;
  margin: 20px auto 10px;
  font-size: 0.6em;
}
.cont-result .already {
  width: 500px;
  text-align: center;
  font-size: 0.7em;
  font-weight: bold;
  color: #2C3D5C;
  margin: 20px auto 0;
  background: rgba(255,255,255,0.7);
  border-radius: 20px;
  padding: 0.5em 0.5em;
  pointer-events: none;
  user-select: none;
}
.cont-result .cont04 button{
  bottom: 120px;
}