/****** Reset ******/
@charset "UTF-8"; body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, textarea, p, blockquote, th, td, input, select, button { margin: 0; padding: 0 } fieldset, img { border: 0 none } dl, ul, ol, menu, li { list-style: none } blockquote, q { quotes: none } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none } input, select, textarea, button { vertical-align: middle; font-size: 100% } button { border: 0 none; background-color: transparent; cursor: pointer } table { border-collapse: collapse; border-spacing: 0 } body {  background-color: #fff; -webkit-text-size-adjust: none } input:checked[type='checkbox'] { background-color: #666; -webkit-appearance: checkbox } input[type='text'], input[type='password'], input[type='submit'], input[type='search'], input[type='tel'], input[type='email'], html input[type='button'], input[type='reset'] { -webkit-appearance: none; border-radius: 0 } input[type='search']::-webkit-search-cancel-button { -webkit-appearance: none } body, th, td, input, select, textarea, button { font-size: 14px; line-height: 1.5; font-family: 'Pretendard','Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', system-ui, sans-serif; color: #000 } a { color: #005a96; text-decoration: none } a:active, a:hover { text-decoration: none } button, a, img { -webkit-user-drag: none; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } button:focus, a:focus, img:focus { outline: none !important; } address, caption, cite, code, dfn, em, var { font-style: normal; font-weight: normal } hr { border: 0 none; } img { width: 100%; } .modal-table { display: table; width: 100%; height: 100%; table-layout: fixed; } .modal-cell { display: table-cell; width: 100%; height: 100%; vertical-align: middle; text-align: center; } .ir { display: block; font-size: 0; text-indent: -99999px; height: 0; } #kakaoHead { padding: 40px 0 60px; } #kakaoHead .img_title { position: relative; display: block; width: 100%; padding-top: 55%; background-size: contain; } #kakaoHead .img-date { padding-top: 15px; }
@charset "UTF-8";

.right {float: right;}
.clearfix::after {
    display: block;
    content: '';
    clear: both;
}
video {
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
}
img {
    max-width:375px;
}

/* guide padding */
[data-view-guide="true"] .inner {position:relative;}
[data-view-guide="true"] .inner:not(.no-wrap):before,
[data-view-guide="true"] .inner:not(.no-wrap):after {content:'';display:block;width:35px;height:100%;position:absolute;top:0; background:#FFB2B2;opacity:0.3;}
[data-view-guide="true"] .inner:not(.no-wrap):before {left:0;}
[data-view-guide="true"] .inner:not(.no-wrap):after {right:0;}

/* design-guide */
.inner {
    width:100%;
    max-width:884px;
    margin:0 auto;
    padding-right:24px;
    padding-left:24px;
    box-sizing: border-box;
    overflow: hidden;
}
.inner.no-wrap {
    padding:0;
    /*max-width: unset;*/
    overflow: inherit;
}

/* 유의사항 */
.event-info {
  padding-bottom: 60px;
}
#eventInfo .inner{
    height: auto;
    overflow: visible;
    padding: 0 30px;
}
#eventInfo .info-tit {
    padding-top:60px;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
}
#eventInfo .info-cont {
    margin-top:25px;
    padding-bottom:16px;
}
#eventInfo .info-stit { 
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}
#eventInfo .info-stit + .info-list {
    margin-top:16px;
}
#eventInfo .info-list {
    word-break: keep-all;
}
#eventInfo .noline .info-list {
    margin-top: 0;
}
#eventInfo .info-list li {
    position:relative;
    padding-left:10px;
    font-size: 14px;
    line-height: 24px;
}
#eventInfo .info-list li::before {
    /*content: "・";*/
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    display: inline-block;
    width:3px;
    height:3px;
    border-radius: 50%;
}
.accordion-block {
    padding:16px 0;
    padding-bottom:0;
    overflow: hidden;
}
.accordion-block.noline  {
    padding:40px 0 30px;
}
.accordion-block .b-line {
    margin-bottom: 16px;
    padding-bottom:16px;
    border-bottom: 1px solid #444;
}
.accordion-block .accordion-btn {
    position: relative;
    width:100%;
    text-align: left;
    color: var(--Black-90, #222);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 150% */
    padding-bottom: 16px;
}
.accordion-block .accordion-btn span {
    vertical-align: middle;
}
.accordion-block .accordion-btn .title {
    display: inline-block;
    width: calc(100% - 25px);
}
.accordion-block .accordion-btn .icon-arrow {
    position: absolute;
    right:0;
    line-height:0;
    font-size: 0;
}
.accordion-block .accordion-btn .icon-arrow svg {
    transform: rotate(0deg);
    transition: transform 0.3s;
}
.accordion-block .accordion-btn.is-active .icon-arrow svg {
    transform: rotate(180deg);
    transition: transform 0.3s;
}
.accordion-block .accordion-content {
    display: none; 
    padding-bottom: 16px;
}
.accordion-block .accordion-content .tit {
    margin-top:24px;
    padding-bottom: 16px;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 150% */
}
.accordion-block.unfold .accordion-content {
    display: block;
}
.accordion-block.unfold .accordion-btn {
    pointer-events: none;
}
.accordion-block.unfold .icon-arrow {
    display: none;
}
/* 심의필 */
#eventInfo .serial {
    padding-bottom:140px;
    font-size:14px;
    font-weight:500;
    line-height:24px;
}
#eventInfo .serial .info-list li::before {
    width:3px;
    height:3px;
}
#eventInfo .serial.serial-tline {
  margin-top:16px;
  font-size:16px;
}
#eventInfo .serial.serial-tline .info-list {
  margin-top:0;
}

/* 플로팅 버튼 */
.wrap_apply {
    position:fixed;
    bottom:34px;
    z-index:-1;
    width:100%;
    text-align: center;
    box-sizing:border-box;
    visibility:hidden;  
    opacity:0;
    transition:all 0.3s 1s;
}
.wrap_apply.is-active {
  z-index:9;
  opacity:1;
  visibility:visible;
  display:block;
  transition:all 0.5s;
}
.wrap_apply .inner {
    padding:0 16px;
}
.wrap_apply .link_apply {
    display:flex;
    justify-content: center;
    align-items: center;
    width:100%;
    height:60px;
    margin:0 auto;
    font-size:17px;
    font-weight:700;
    line-height:21px;
    color: var(--wrap_apply--color, #000);
    text-align:center;
    border-radius: var(--Radius-R12, 12px);
    text-decoration:none;
    background-color: var(--wrap_apply--bg, #FFE300);
}
.wrap_apply .link_apply .ico_arrow {
    display: inline-block;
    width:7px;
    height:13px;
    margin:27px 0 0 4px;
}

/* theme color */
.theme-default #eventInfo {background: #F9F9F9;}
.theme-default #eventInfo * {color: #444;}
.theme-default #eventInfo .info-tit,
.theme-default #eventInfo .info-stit,
.theme-default #eventInfo .accordion-block .tit {color:#222;}
.theme-default #eventInfo .info-cont,
.theme-default #eventInfo .accordion-block { border-bottom: 1px solid #444;}
.theme-default #eventInfo .info-list li::before {background: #333;}
.theme-default #eventInfo .accordion-block .accordion-btn span:first-child {color:#222;}
.theme-default #eventInfo .accordion-block .accordion-btn.is-active .icon-arrow svg path {stroke: #000;}

.theme-dark #eventInfo {background:#444444;}
.theme-dark #eventInfo * {color:#F1F1F1;}
.theme-dark #eventInfo .info-tit,
.theme-dark #eventInfo .info-stit {color:#F1F1F1;}
.theme-dark #eventInfo .info-cont,
.theme-dark #eventInfo .accordion-block { border-bottom: 1px solid #F1F1F1;}
.theme-dark #eventInfo .info-list li::before {background: #F1F1F1;}
.theme-dark #eventInfo .accordion-block .accordion-btn span:first-child {color:#F1F1F1;}
.theme-dark #eventInfo .accordion-block .accordion-btn .icon-arrow svg path {stroke: #F1F1F1;}

.accordion-block.noline {border-top:none;}


/* 팝업 */
.popups {
    /*display: none;*/
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top:0;
    right:0;
    bottom:0;
    left:0; 
    z-index:999;
    transition:all 0.4s;
}
.popups.on {
    /*display: block;*/
    visibility: visible;
    opacity: 1;
}
.popups .dimmed {
    position: absolute;
    width:100%; 
    height:100%;
    background:#000;
    opacity: 0.6;
}
.popups .modal-table {
    display: table;
    width:100%; 
    height:100%;
    table-layout: fixed;
}
.popups .modal-cell {
    display: table-cell;
    width: 100%; 
    height:100%;
    vertical-align: middle;
    text-align: center;
}
.popups .modal-content {
    position:relative;
    max-width:327px;
    margin:0 auto;
    padding:36px 16px 16px;
    box-sizing: border-box;
    border-radius: 24px;
    background: #fff;
}
.popups .title {
    margin: 0 auto ;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    line-height: 21.5px;
    color: #222;
}
.popups .modal-image:not(.d-none) + .title {
    margin-top:20px;
}
.popups .copy[class*="--b"],
.popups .desc {
  margin:20px auto 0;
}
.popups .sub {
  display:block;
  font-weight:400;
  font-size:13px;
  line-height:18px;
  color:#666;
}
.popups .desc {
    padding:20px;
    border-radius: 8px;
    background: #F7F7F7;
    box-sizing: border-box;
}
.popups .sub:not([class*="--b"]) {
  margin:12px auto 0;
} 
.popups .okay-btn {
    width: 100%;
}
.popups .okay-btn .btn-ok {
    display: inline-block;
    padding: 17.5px 0;
    width: 100%;
    text-align: center;
    line-height: 24px;
    border-radius: 10px;
    font-size: 16px;
    line-height:19px;
    font-weight: 400;
    color: #222;
    background: #ddd; /* custom */
    box-sizing: border-box;
}
.popups .okay-btn.cnt-2 .btn-ok {
    display: inline-block;
    width: 49%; /* 버튼 두개일 때 디자인 필요 */
}
.popup-single .modal-content .modal-image {
    line-height:0; font-size:0;
}
.popup-single .modal-content .modal-image > img, 
.popup-single .modal-content .modal-image .pu-img {
    width:55px;
    height:55px;
}
.popup-single .modal-btn {
    display:flex;
    gap:8px;
    margin-top: 32px;
}
.popup-single .modal-btn .okay-btn:not([class*='--info']) {
    /* flex:0 0 115px;     */
    flex: 0 0 calc(40% - 4px);
}
.popup-single .modal-btn .okay-btn .btn-ok[class*='--info'] {
    background-color:#ffd600;
}
.popup-single .modal-btn .close-on {
    display: none;
}

/* bottomsheet 팝업  */
.popup-bottom .pop-content {
    position: absolute;
    left: 0;
    bottom: -500px;
    width: 100%;
    transition: bottom 0.3s;
  }
  .popup-bottom.on .pop-content {
    bottom:0;
  }
  .popup-bottom .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width:26px;
    height: 26px;
    text-indent: -99999px;
    /* background:url("../../img/icons/icon_close.png") no-repeat center / 100%; */
  }
  .popup-bottom .pop-content-inner {
    position: relative;
    margin: 0 auto;
    padding: 45px 0 34px;
    background: #fff;
    border-radius: 30px 30px 0 0;
    text-align: center;
  }
  .popup-bottom .detail {
    text-align: center;
  }
  .popup-bottom .detail .img {
    width: 94px;
    margin: 0 auto 24px;
  }
  .popup-bottom .detail .title {
    display: block;
    margin-top:0;
    color:#000;
    font-size: 20px;
    line-height: 24px;
  }
  .popup-bottom .detail .text {
    font-size: 13px;
    color: #777;
    line-height: 18px;
    margin-top: 16px;
  }
  .popup-bottom .detail .btn-area {
    --color: #222;
    position: static;
    margin: 46px auto 0;
  }
  .popup-bottom .detail .btn-area .btn-close {
    --bg: #ddd;
    position: static;
    width: 39%;
    height: 60px;
    text-indent: 0;
  }
  .popup-bottom .detail .btn-area .is-active {
    width: 58%
  }
  .popup-bottom .detail .title + .cont {
    margin-top:30px;
  }
  .popup-bottom .detail .cont {
    display:flex;
    align-items: center;
  }
  .popup-bottom .detail .cont::before {
    content:"";
    display:inline-flex;
    flex:0 0 54px;
    margin-right:18px;
    width:54px;
    height:54px;
    border-radius:15px;
  }
  .popup-bottom .detail .cont span {
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    text-align: left;
  }

 /*  default motion */
/* .inmotion {
    opacity: 0;
    transform: translateY(var(--y));
  } */
  .inmotion-section {
    opacity:0;
    transform:translateY(30px);
    transition:all 0.3s;
  }
  .inmotion-section.play {
    transform:translateY(0);
    opacity:1;
    transition:all 0.3s;
  }
  .inmotion {
    --y:20px;
    transform:translate(0, var(--y)); 
    opacity: 0;
  }
  .play-inmotion.inmotion,
  .play.inmotion {
    transform:translate(0, 0); 
    opacity: 1; 
    transition:transform 0.6s 0.1s, opacity 0.6s 0.1s; 
    -webkit-transition:transform 0.6s 0.1s, opacity 0.6s 0.1s; 
    -moz-transition:transform 0.6s 0.1s, opacity 0.6s 0.1s; 
    -ms-transition:transform 0.6s 0.1s, opacity 0.6s 0.1s; 
    -o-transition:transform 0.6s 0.1s, opacity 0.6s 0.1s; 
  }

@media screen and (max-width: 375px) {
    .inner.no-wrap {
        overflow: hidden;
    }
}
@media screen and (max-width: 360px) {
    /* .inner {padding: 0 25px;} */
    .popups .modal-content {
        min-width:272px;
        /* max-width:312px; */
        max-width:calc(100% - 48px)
    }
    #share .share-btn .btn {
        padding:25px 28px;
    }
}
@media screen and (max-width: 340px) {

}
@charset "UTF-8";
/** 공유하기 - 버튼 **/
#share {
  width: 100%;
  padding: 0 16px 60px;
  text-align: center;
  box-sizing: border-box;
}
#share .share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height:64px;
  padding: 20px 30px;
  background: #fff;
  color:#000;
  border-radius: 40px;
  font-size: 18px;
  font-weight: 700;
  box-sizing: border-box;
}
#share .share-btn svg {
  margin-right:10px;
}
/* theme color */
/* .theme-default #share {background:#FFD600;}
.theme-dark #share {background:#fff;} */
.theme-default #share .share-btn {background:#555555;color:#fff;}
.theme-dark #share .share-btn {background:#555555;color:#fff;}
/* .theme-default #share .share-btn svg {stroke: #333333;} 
.theme-dark #share .share-btn svg {stroke: #ffffff;}*/


/** 공유하기 - 팝업 **/
.popup-share .pop-content {
  position: absolute;
  left: 0;
  bottom: -500px;
  width: 100%;
  transition: bottom 0.3s;
}
.popup-share .pop-content-inner {
  position:relative;
  margin: 0 auto;
  padding:10px 18px 34px;
  background: #fff;
  border-radius: 30px 30px 0 0;
  text-align: center;
  box-sizing: border-box;
}
.popup-share .btn-close {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 5px;
  border-radius: 20px;
  text-indent: -9999px;
   background-color:#EAECEF;
}
.popup-share .pop-share-btn-list {
  margin-top: 35px;
}
.popup-share li+li {
  margin-top: 10px;
}
.popup-share .pop-share-btn-list a {
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  background: #F1F1F1;
  border-radius: 15px;
  font-size: 15px;
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', system-ui, sans-serif;
  font-weight: 600;
  color: #000;
}
.popup-share .pop-share-btn-icon {
  margin-right: 6px;
  width: 26px;
  height: 26px;
}
.popup-share .pop-share-btn-list button:after {content: none;}
.popup-share .pop-share-btn-list .kakaotalk {background: #FAE200;}
.popup-share .pop-share-btn-list .facebook {background: #1877F2;color:#fff;}
.popup-share .pop-share-btn-list .twitter {background: #1D9BF0;color:#fff;}
.popup-share .pop-share-btn-list .x {background: #000;color:#fff;}
.popup-share .pop-share-btn-list .copy {margin:0;}

.popup-share.on {
  visibility: visible;
  opacity: 1;
}
.popup-share.on .pop-content {
  bottom:0;
}


/** 공유하기 - 팝업 **/
.type-bottom .pop-content {
  position: absolute;
  left: 0;
  bottom: -500px;
  width: 100%;
  transition: bottom 0.7s;
}

.type-bottom .pop-content-inner {
  margin: 0 auto;
  padding: 0 30px 44px;
  background: #fff;
  border-radius: 30px 30px 0 0;
  text-align: center;
}

/* .type-bottom .btn-close {
  position: relative;
  width: 35px;
  height: 5px;
  border-radius: 20px;
  text-indent: -9999px;
  background: #799FAD;
} */

.type-bottom.on {
  visibility: visible;
  opacity: 1;
}

.type-bottom.on .pop-content {
  bottom: 0;
}
:root {
  --yellow: #ffc226;
  --dark: #222;
}

html,
body {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: -moz-none;
  -o-user-select: none;
  user-select: none;
  min-width: initial;
  height: 100%;
  touch-action: manipulation;
}

* {
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', system-ui, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  line-height: 1;
}
a,
input,
button,
label {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

section,
.section {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}
.section-top {
  z-index: 5;
}

body {
  position: relative;
  /* overflow: hidden; */
  /* height: auto !important; */
  overflow-y: auto;
  color: #000;
  background: #fff;
}
.main,
#output {
  height: 100%;
}

::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera*/
  scrollbar-width: none;
  /* Firefox */
  scroll-behavior: smooth;
}
.d-none {
  display: none !important;
}

/* cta 버튼  */
.wrap_apply {
  --y: 30px;
}

.draws-text {
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
}

/* popups */
.popup-more .btn-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 26px;
  height: 26px;
  background: url(https://og.kakaobank.io/view/eb5e6e64-3866-4c15-bb16-f64af4251a6f) no-repeat 0 0 / 100%;
  text-indent: -99999px;
}

.popup-more.type-bottom .pop-content-inner {
  padding-top: 40px;
}
.popup-more .detail {
  text-align: left;
}
.popup-more .detail .title {
  display: block;
  margin-bottom: 30px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 800;
  text-align: left;
}
.popup-more .detail img {
  width: 54px;
}

/* .popup-more .detail li {
  font-size:0;
  margin-top:20px;
} 
.popup-more .detail li:first-child {
  margin-top:0;
}
.popup-more .detail li span {
  display: inline-block;
  vertical-align: top;
  font-size:15px;
  line-height: 22px;
  font-weight: 600;
  padding:5px 0 0 18px;
}*/
.popup-more .ul-list li {
  position: relative;
  padding-left: 15px;
  color: #444;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 171.429% */
}
.popup-more .ul-list li::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 5px;
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #444;
}

.inner {
  position: relative;
  height: 100%;
}
.btn-area {
  display: flex;
  justify-content: space-between;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 34px;
  width: 100%;
  max-width: 884px;
  padding: 0 16px;
  z-index: 99;
}
.common-btn {
  width: 100%;
  height: 60px;
  padding: 20px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  line-height: inherit;
  color: var(--color);
  background: var(--bg);
}
.btn-area .common-btn.is-active {
  background: var(--yellow);
  color: var(--dark);
}
.btn-area .chance {
  position: absolute;
  top: -59px;
  left: 50%;
  min-width: 116px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 48px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.85;
  color: #000;
}
.btn-area .chance strong {
  color: #1877f2;
}
.btn-area .chance.none strong {
  color: #f21827;
}
.spacing {
  width: 100%;
  height: 94px;
}

/* 타이틀 */
.octagon-title {
  position: relative;
  width: calc(100% - 30px);
  margin: 0 auto;
  transform: translateY(30px);
  opacity: 0;
  z-index: 1;
  transition: all 0.45s ease-out;
}
.octagon-title .contents {
  width: 100%;
  height: 100%;
  height: 96px;
  padding: 23px 30px;
  font-weight: 500;
}
.octagon-title .contents > * {
  font-size: 16px;
  line-height: 24px;
}
.is-visible .octagon-title {
  opacity: 1;
  transform: translateY(0);
}

/* 타이틀 영역 */
.octagon-title .bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  z-index: -1;
}
.octagon-title .bg span {
  position: absolute;
  width: 14px;
  height: 2px;
  background: var(--color, #000);
}
.octagon-title .top,
.octagon-title .bottom {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 10px;
}
.octagon-title .top {
  top: 0;
  border-top: 2px solid var(--color, #000);
}
.octagon-title .bottom {
  bottom: 0;
  border-bottom: 2px solid var(--color, #000);
}
.octagon-title .top .left {
  left: -10px;
  top: 0;
  transform: rotate(-45deg) translate(-3px, 1px);
}
.octagon-title .top .right {
  right: -10px;
  top: 0;
  transform: rotate(45deg) translate(3px, 1px);
}
.octagon-title .bottom .left {
  left: -10px;
  bottom: 0;
  transform: rotate(45deg) translate(-3px, -1px);
}
.octagon-title .bottom .right {
  right: -10px;
  bottom: 0;
  transform: rotate(-45deg) translate(3px, -1px);
}
.octagon-title .line_left,
.octagon-title .line_right {
  position: absolute;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--color, #000);
}
.octagon-title .line_left {
  left: 0;
}
.octagon-title .line_right {
  right: 0;
}

/* 게임 배경 */
.in-class {
  background: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/board.jpg) no-repeat 50% 0 / cover;
}
.in-class.kakaobankqa {
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/board.jpg);
}
.in-class .around {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.in-class .around > div {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: no-repeat 50% 100% / cover;
}
.girl .in-class .bg_front {
  background-image: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/bg_front_girl.png);
}
.girl .in-class .bg_back {
  background-image: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/bg_back_girl.png);
}
.boy .in-class .bg_front {
  background-image: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/bg_front_boy.png);
}
.boy .in-class .bg_back {
  background-image: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/bg_back_boy.png);
}
.girl .in-class.kakaobankqa .bg_front {
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/bg_front_girl.png);
}
.girl .in-class.kakaobankqa .bg_back {
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/bg_back_girl.png);
}
.boy .in-class.kakaobankqa .bg_front {
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/bg_front_boy.png);
}
.boy .in-class.kakaobankqa .bg_back {
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/bg_back_boy.png);
}
.in-class .state {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.in-class .state > div {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: auto 100%;
  will-change: background-image;
}
.in-class .teacher {
  top: 0;
  width: 100%;
  max-width: 500px;
  height: 100%;
}
.in-class .teacher > div {
  background-position: 50%;
}
.in-class .teacher .default {
  --step1: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/back_1.png);
  --step2: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/back_2.png);
  background-image: var(--step1);
}
.in-class.kakaobankqa .teacher .default {
  --step1: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/back_1.png);
  --step2: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/back_2.png);
}

.in-class .teacher .dots {
  display: flex;
  justify-content: center;
  position: absolute;
  left: -8px;
  right: 0;
  top: calc(50% - 37.8vh);
}
.in-class .teacher .dots img {
  width: 1.7vh;
  margin: 0 0.25vh;
  opacity: 0;
}

.in-class .teacher .angry {
  background-image: var(--step1);
}
.in-class .teacher .angry.s {
  --step1: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_1_1.png);
  --step2: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_1_2.png);
  --step3: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_1_3.png);
  --step4: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_1_4.png);
}
.in-class .teacher .angry.m {
  --step1: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_2_1.png);
  --step2: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_2_2.png);
  --step3: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_2_3.png);
  --step4: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_2_4.png);
}
.in-class .teacher .angry.l {
  --step1: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_3_1.png);
  --step2: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_3_2.png);
  --step3: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_3_3.png);
  --step4: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_3_4.png);
}
.in-class.kakaobankqa .teacher .angry.s {
  --step1: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_1_1.png);
  --step2: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_1_2.png);
  --step3: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_1_3.png);
  --step4: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_1_4.png);
}
.in-class.kakaobankqa .teacher .angry.m {
  --step1: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_2_1.png);
  --step2: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_2_2.png);
  --step3: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_2_3.png);
  --step4: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_2_4.png);
}
.in-class.kakaobankqa .teacher .angry.l {
  --step1: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_3_1.png);
  --step2: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_3_2.png);
  --step3: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_3_3.png);
  --step4: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/lvel_3_4.png);
}

.in-class .student {
  bottom: 0;
  width: 100%;
  height: 50%;
  z-index: 10;
}
.in-class .student > div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: 50% 100%;
}

.girl .in-class .student .default {
  background-image: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/girl_1.png);
}
.boy .in-class .student .default {
  background-image: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/boy_1.png);
}
.in-class .student .eating {
  background-image: var(--step1);
}
.in-class .student .eating.step1 {
  background-image: var(--step2);
}
.girl .in-class .student .eating {
  --step1: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/girl_2.png);
  --step2: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/girl_3.png);
}
.boy .in-class .student .eating {
  --step1: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/boy_2.png);
  --step2: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/boy_3.png);
}

.girl .in-class.kakaobankqa .student .default {
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/girl_1.png);
}
.boy .in-class.kakaobankqa .student .default {
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/boy_1.png);
}
.girl .in-class.kakaobankqa .student .eating {
  --step1: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/girl_2.png);
  --step2: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/girl_3.png);
}
.boy .in-class.kakaobankqa .student .eating {
  --step1: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/boy_2.png);
  --step2: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/boy_3.png);
}

.in-class .student .upset {
  background-image: var(--step1);
}
.girl .in-class .student .upset {
  --step1: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/girl_4.png);
  --step2: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/girl_5.png);
  --step3: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/girl_6.png);
}
.boy .in-class .student .upset {
  --step1: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/boy_4.png);
  --step2: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/boy_5.png);
  --step3: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/boy_6.png);
}
.girl .in-class.kakaobankqa .student .upset {
  --step1: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/girl_4.png);
  --step2: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/girl_5.png);
  --step3: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/girl_6.png);
}
.boy .in-class.kakaobankqa .student .upset {
  --step1: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/boy_4.png);
  --step2: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/boy_5.png);
  --step3: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/boy_6.png);
}

.in-class .controls {
  display: flex;
  justify-content: space-between;
  padding: 12px;
}
.in-class .time {
  position: relative;
  width: 99px;
  height: 44px;
  padding: 5px 10px 5px 44px;
  background: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/timebar.png) no-repeat 50% / cover;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.83;
}
.in-class.kakaobankqa .time {
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/timebar.png)
}
.in-class .time > span {
  display: block;
  padding: 7px 0;
  text-align: center;
}
.in-class .time .alert {
  color: #ffe693;
}
.in-class .time .bar {
  position: absolute;
  top: 9px;
  left: 10px;
  width: 24px;
  height: 24px;
  text-align: center;
}
.in-class .time .moved {
  top: 11px;
  animation: clock 1.5s linear infinite;
}
.in-class .time .bar img {
  width: 5px;
}
.in-class .time .moved img {
  vertical-align: top;
  height: 13px;
}
@keyframes clock {
  100% {
    transform: rotate(1turn);
  }
}
.in-class .snack {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  width: 165px;
  max-height: 60px;
}
.in-class .snack span {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: no-repeat 50% / cover;
}
.in-class .snack span:not(:nth-child(10n-9)) {
  margin-left: -15px;
}
.in-class .snack span:nth-child(n + 11) {
  margin-top: -15px;
}
.in-class .snack.Level1 span {
  background-image: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/level1_count.png);
}
.in-class .snack.Level2 span {
  background-image: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/level2_count.png);
}
.in-class .snack.Level3 span {
  background-image: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/level3_count.png);
}
.in-class.kakaobankqa .snack.Level1 span {
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/level1_count.png);
}
.in-class.kakaobankqa .snack.Level2 span {
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/level2_count.png);
}
.in-class.kakaobankqa .snack.Level3 span {
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/level3_count.png);
}
.in-class .snack-area .Level1 {
  background: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/level1.png) no-repeat 50% / cover;
}
.in-class .snack-area .Level2 {
  background: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/level2.png) no-repeat 50% / cover;
}
.in-class .snack-area .Level3 {
  background: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/level3.png) no-repeat 50% / cover;
}
.in-class.kakaobankqa .snack-area .Level1 {
  background: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/level1.png) no-repeat 50% / cover;
}
.in-class.kakaobankqa .snack-area .Level2 {
  background: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/level2.png) no-repeat 50% / cover;
}
.in-class.kakaobankqa .snack-area .Level3 {
  background: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/level3.png) no-repeat 50% / cover;
}

/* animation */
@keyframes step2 {
  0% {
    background-image: var(--step1);
  }
  50% {
    background-image: var(--step2);
  }
  100% {
    background-image: var(--step1);
  }
}
@keyframes step3 {
  0% {
    background-image: var(--step1);
  }
  33.333333% {
    background-image: var(--step2);
  }
  66.666666% {
    background-image: var(--step3);
  }
  100% {
    background-image: var(--step3);
  }
}
@keyframes step4 {
  0% {
    background-image: var(--step1);
  }
  25% {
    background-image: var(--step2);
  }
  50% {
    background-image: var(--step3);
  }
  75% {
    background-image: var(--step4);
  }
  100% {
    background-image: var(--step4);
  }
}

@media (min-width: 884px) {
  .btn-area {
    left: calc(50% - 442px);
  }
}
@media (max-width: 370px) {
  .common-btn {
    padding: 20px 0;
  }
}
@media (max-width: 360px), (max-height: 670px) {
  .in-class .time {
    transform: scale(0.85);
  }
  .in-class .snack {
    transform: scale(0.85);
    transform-origin: 100% 50%;
  }
}

.intro {
  height: 100%;
  min-height: 100vh;
}
.intro .keyVisual {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  text-align: center;
  overflow: hidden;
  z-index: -1;
}
.intro .keyVisual .visual {
  --step1: url(https://kakaobankcontent.com/public/statics/events/sjteacher/main/intro_1.png);
  --step2: url(https://kakaobankcontent.com/public/statics/events/sjteacher/main/intro_2.png);
  --step3: url(https://kakaobankcontent.com/public/statics/events/sjteacher/main/intro_3.png);
  --step4: url(https://kakaobankcontent.com/public/statics/events/sjteacher/main/intro_4.png);
  position: absolute;
  bottom: 0;
  left: 50%;
  max-width: 884px;
  max-height: 650px;
  width: 100%;
  height: 65vh;
  background: var(--step1) no-repeat 50% 0% / cover;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  animation: step4 1.2s steps(1, end) infinite;
}
.intro .keyVisual .visual.kakaobankqa {
  --step1: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/main/intro_1.png);
  --step2: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/main/intro_2.png);
  --step3: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/main/intro_3.png);
  --step4: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/main/intro_4.png);
}
.intro .keyVisual .bg {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  min-width: 500px;
  max-width: 884px;
  height: 100%;
  transform: translateX(-50%);
}
.intro .keyVisual .bg img {
  width: 100%;
  max-width: 884px;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}
.intro .tit-box {
  padding-top: 33px;
  text-align: center;
}
.intro .tit-box .caption {
  font-size: 17px;
  font-weight: 600;
  color: #d4eeee;
  margin-top: 7px;
}
.intro ~ .btn-area .chance{
  opacity: 0;
  transform: translate(-50%, 50px);
}
.is-visible.intro ~ .btn-area .chance {
  opacity: 1;
  transform: translate(-50%, 0);
  transition: all 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28) 0.6s;
}
.intro ~ .btn-area .btn-share {
  width: calc(50% - 4px);
  background: #444;
  color: #fff;
}
.intro ~ .btn-area  .btn-apply {
  width: calc(50% - 4px);
}
.intro .sound input {
  display: none;
}
.intro .sound {
  position: absolute;
  top: 20px;
  right: 18px;
  width: 40px;
  height: 40px;
}
.intro .sound .ico {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
}
.intro .sound .ico .img_off {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: opacity 0.2s;
}
.intro .sound input:checked + .ico .img_off {
  opacity: 0;
}

@media (min-width: 884px) {
  .intro .sound {
    right: calc(50% - 442px + 18px);
  }
}

@media (min-height: 1070px) {
  .intro .keyVisual .visual {
    max-height: 100%;
  }
}

@media (max-height: 700px) {
  .intro .tit-box {
    transform: scale(0.85);
  }
  .intro .keyVisual .visual {
    height: 60vh;
  }
}

.select {
  height: calc(var(--vh, 1vh) * 100);
  min-height: 100vh;
}
.select .inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 0;
  background: url(https://kakaobankcontent.com/public/statics/events/sjteacher/select/note_bg_375.png) no-repeat 0 0 / cover;
}
.select .inner.kakaobankqa {
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/select/note_bg_375.png)
}

/* 타이틀 */
.select .octagon-title {
  --color: #059d00;
}
.select .level {
  display: none;
  margin-bottom: 5px;
}
.select .level > div {
  display: flex;
  align-items: center;
  font-weight: 800;
}
.select .star {
  display: flex;
  margin-left: 9px;
}
.select .star span {
  width: 24px;
  height: 24px;
  margin-right: 2px;
  background: url(https://kakaobankcontent.com/public/statics/events/sjteacher/select/star_off.png) no-repeat 0 0 / cover;
}
.select .star span.on {
  background-image: url(https://kakaobankcontent.com/public/statics/events/sjteacher/select/star_on.png);
}
.select .kakaobankqa .star span {
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/select/star_off.png)
}
.select .kakaobankqa .star span.on {
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/select/star_on.png);
}

.select .snack-list {
  flex-shrink: 1;
  position: relative;
  max-width: 375px;
  width: 100%;
  height: 414px;
  margin: 42px auto 33px;
}
.select .snack-list input {
  display: none;
}
.select .snack-list li {
  position: absolute;
}
.select .snack-list li.complete {
  pointer-events: none;
}
.select .snack-list li:first-child {
  left: 20px;
  top: 110px;
  width: 176px;
  height: 172px;
}
.select .snack-list li:nth-child(2) {
  right: 26px;
  top: 276px;
  width: 232px;
  height: 138px;
}
.select .snack-list li:nth-child(3) {
  top: 0;
  right: 20px;
  width: 166px;
  height: 196px;
}
.select .snack-list p {
  font-size: 0;
  line-height: 0;
  text-indent: -999px;
}
.select .snack-list label {
  display: block;
  width: 100%;
  height: 100%;
}
.select .snack-list .img {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  will-change: transform;
}
.select .snack-list .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.select .level3 img {
  transform: translate(-10px, -2px);
}
.select .snack-list .img::before,
.select .snack-list .img::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.select input:checked + .img {
  animation: bounce 0.5s linear forwards;
}
.select input:checked + .level1::before {
  background: url(https://kakaobankcontent.com/public/statics/events/sjteacher/select/level1_select.svg) no-repeat 50% / cover;
  z-index: -1;
}
.select input:checked + .level2::before {
  background: url(https://kakaobankcontent.com/public/statics/events/sjteacher/select/level2_select.svg) no-repeat 50% / cover;
  z-index: -1;
}
.select input:checked + .level3::before {
  background: url(https://kakaobankcontent.com/public/statics/events/sjteacher/select/level3_select.svg) no-repeat 50% / cover;
  z-index: -1;
}
.select input:disabled + .level1::after {
  background: url(https://kakaobankcontent.com/public/statics/events/sjteacher/select/level1_complete.png) no-repeat 50% / cover;
}
.select input:disabled + .level2::after {
  background: url(https://kakaobankcontent.com/public/statics/events/sjteacher/select/level2_complete.png) no-repeat 50% / cover;
}
.select input:disabled + .level3::after {
  background: url(https://kakaobankcontent.com/public/statics/events/sjteacher/select/level3_complete.png) no-repeat -21px -2px / cover;
}
.select .kakaobankqa input:checked + .level1::before{
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/select/level1_select.svg);
}
.select .kakaobankqa input:checked + .level2::before{
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/select/level2_select.svg);
}
.select .kakaobankqa input:checked + .level3::before{
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/select/level3_select.svg);
}
.select .kakaobankqa input:disabled + .level1::after {
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/select/level1_complete.png)
}
.select .kakaobankqa input:disabled + .level2::after {
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/select/level2_complete.png)
}
.select .kakaobankqa input:disabled + .level3::after {
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/select/level3_complete.png)
}

@keyframes bounce {
  20% {
    transform: scale(1.1);
  }
  40% {
    transform: scale(1.12);
  }
  60% {
    transform: scale(1.1);
  }
  80% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1.1);
  }
}

.select .btn-select {
  background: #b8b8b8;
  color: #fff;
}
.select .btn-select.disable {
  pointer-events: none;
}

@media (min-width: 551px) {
  .select .inner {
    background: url(https://kakaobankcontent.com/public/statics/events/sjteacher/select/note_bg_1000.png) no-repeat 50% 0 / cover;
  }
  .select .inner.kakaobankqa {
    background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/select/note_bg_1000.png)
  }
}
@media (max-width: 360px), (max-height: 670px) {
  .select .snack-list {
    max-width: 320px;
    height: 275px;
  }
  .select .snack-list li:first-child {
    top: 10px;
    left: 16px;
    width: 150px;
    height: 146px;
  }
  .select .snack-list li:nth-child(2) {
    top:156px;
    right: 11px;
    width: 197px;
    height: 117px
  }
  .select .snack-list li:nth-child(3) {
    right: 10px;
    width: 141px;
    height: 167px
  }
}

.tutorial {
  height: calc(var(--vh, 1vh) * 100);
  min-height: 100vh;
}
.tutorial .inner {
  padding: 14px 0 0;
}
.tutorial .octagon-title {
  z-index: 12;
}
.tutorial .contents .text {
  white-space: pre-line;
}

.tutorial .teacher .default {
  display: block;
  animation: step2 0.4s steps(1, end) infinite forwards;
}
.tutorial .teacher .default.stop {
  animation-play-state: paused;
}
.tutorial .teacher .dots img {
  animation-delay: 0.3s;
}
.tutorial .dots img:nth-child(2) {
  animation-delay: 0.6s;
}
.tutorial .dots img:nth-child(3) {
  animation-delay: 0.9s;
}
.tutorial .active .dots img {
  animation-name: dot;
  animation-duration: 0s;
  animation-fill-mode: forwards;
}
.tutorial .teacher .angry {
  animation: step4 0.8s steps(1, end) infinite;
}

.tutorial .student .default {
  display: block;
}
.tutorial .student .upset {
  animation: step3 0.6s steps(1, end) forwards;
}

.tutorial .controls {
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
}
.tutorial .time .moved {
  transform: rotate(135deg);
  animation-play-state: paused;
}

.tutorial .snack-area {
  position: fixed;
  bottom: 32px;
  left: 50%;
  width: 100%;
  max-width: 500px;
  height: 196px;
  text-align: right;
  z-index: 20;
  transform: translateX(-50%);
}
.tutorial .snack-area button {
  --scale: 1;
  width: 226px;
  height: 100%;
  animation: beat 2.4s ease-in-out 1s infinite;
}
.tutorial .snack-area button.stop {
  animation-play-state: paused;
}
.tutorial .snack-area button.active {
  transform: scale(0.92855);
}

.tutorial .btn-area {
  z-index: 99;
  opacity: 0;
  transform: translateY(30px);
}
.tutorial .btn-area.up {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s;
}
.tutorial .btn-start {
  --bg: #ffc226;
  --color: #222;
}

@keyframes beat {
  0%,
  40%,
  100% {
    transform: scale(var(--scale))
  }
  8% {
    transform: scale(calc(var(--scale) + 0.05))
  }
  16% {
    transform: scale(calc(var(--scale) - 0.03))
  }
  24% {
    transform: scale(calc(var(--scale) + 0.03))
  }
  32% {
    transform: scale(calc(var(--scale) - 0.02))
  }
}

@media (max-width: 360px), (max-height: 670px) {
  .tutorial .time {
    transform: scale(0.85);
  }
  .tutorial .snack {
    transform: scale(0.85);
    transform-origin: 100% 50%;
  }
  .tutorial .snack-area button {
    --scale: 0.85;
    transform: scale(var(--scale));
  }
}

.game {
  height: calc(var(--vh, 1vh) * 100);
  min-height: 100vh;
}
.game > div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.ready {
  height: 100%;
  overflow: hidden;
}
.ready .board {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: absolute;
  bottom: 0;
  left: calc(50% - 442px);
  width: 100%;
  max-width: 884px;
  height: 100%;
  overflow: hidden;
}
.ready .board img {
  width: 1000px;
  max-width: 1000px;
  height: 110%;
  object-fit: cover;
  transform: translateY(5%);
}
.ready .inner {
  padding: 14px 0 0;
}
.ready .title {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.23;
}
.ready .box {
  position: absolute;
  left: 50%;
  top: calc(50% - 45px);
  width: 100%;
  max-width: 375px;
  transform: translate(-50%, -50%);
}
.ready .inner .bg {
  position: absolute;
}
.ready .inner .bg img {
  vertical-align: top;
}
.ready .bg_01 {
  left: 0;
  top: -106px;
  width: 133px;
}
.ready .bg_02 {
  top: -67px;
  right: 18px;
  width: 149px;
}
.ready .bg_03 {
  bottom: 11%;
  left: 35px;
  width: 185px;
}
.ready .bg_04 {
  bottom: -156px;
  right: 39px;
  width: 100px;
}
.ready .bg_05 {
  bottom: -113px;
  left: 36px;
  width: 116px;
}
.ready .box .timer {
  position: relative;
  width: 88px;
  height: 130px;
  margin: 0 auto;
}
.ready .timer div {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: translateY(-20px);
  opacity: 0;
  animation: countDown2 1s linear 0.1s forwards;
}
.ready .timer .t_2 {
  animation-delay: 1.1s;
}
.ready .timer .t_1 {
  --op: 1;
  animation-delay: 2.1s;
}
.ready .timer div img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@keyframes countDown2 {
  10% {
    opacity: 1;
  }
  20% {
    transform: translateY(0) scale(var(--scale, 1));
    opacity: 1;
  }
  28% {
    transform: translateY(-3px) scale(var(--scale, 1));
    opacity: 1;
  }
  40% {
    transform: translateY(0) scale(var(--scale, 1));
    opacity: 1;
  }
  90% {
    transform: translateY(0) scale(var(--scale, 1));
    opacity: 1;
  }
  95% {
    transform: translateY(0) scale(var(--scale, 1));
    opacity: var(--op, 0);
  }
  100% {
    transform: translateY(0) scale(var(--scale, 1));
    opacity: var(--op, 0);
  }
}

.start {
  --duration: 0.3s;
  height: 100%;
}
.start img {
  max-width: 100%;
}
.start .inner {
  padding: 0;
}
/* 승제쌤 */
.start .teacher .default {
  display: block;
  animation: step2 calc(var(--duration) * 1) steps(1, end) infinite forwards;
}
.start .teacher .default.stop {
  animation-play-state: paused;
}
.start .dots img:nth-child(2) {
  animation-delay: calc(var(--duration) * 0.5);
}
.start .dots img:nth-child(3) {
  animation-delay: var(--duration);
}
.start .active .dots img {
  animation-name: dot;
  animation-duration: 0s;
  animation-fill-mode: forwards;
}
.start .teacher .angry {
  background-image: var(--step1);
  animation: step4 calc(var(--duration) * 4) steps(1, end) infinite forwards;
}
.start .teacher .angry.end {
  animation: step4 0.7s steps(1, end) forwards
}

/* 학생 */
.start .student .default {
  display: block;
}
.start .student .upset {
  animation: step3 calc(var(--duration) * 2) steps(1, end) infinite forwards;
}
.start .student .upset.end {
  animation: step3 0.7s steps(1, end) forwards;
}
.start.dimm::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}
@keyframes dot {
  100% {
    opacity: 1;
  }
}

.start .snack-area {
  position: fixed;
  bottom: 32px;
  left: 0;
  width: 100%;
  max-width: 500px;
  height: 196px;
  text-align: right;
  z-index: 999;
}
.start .snack-area button {
  width: 226px;
  height: 100%;
}
.start .snack-area button.active {
  transform: scale(0.92855);
}

@media (max-width: 884px) {
  .ready .board {
    left: 0;
  }
}

@media (min-width: 500px) {
  .start .snack-area {
    left: calc(50% - 250px);
  }
}

@media (max-width: 360px), (max-height: 670px) {
  .ready .box {
    max-width: 340px;
  }
  .ready .box > *,
  .ready .bg_03 {
    transform: scale(0.85);
  }
  .ready .bg_03 {
    left: 20px;
    transform-origin: 0 50%;
  }
  .ready .box .timer {
    --scale: 0.85;
  }
  .start .snack-area button {
    transform: scale(0.85);
  }
}

.result {
  height: 100%;
  min-height: 100vh;
  color: #fff;
}
.result .visual {
  text-align: center;
  margin-bottom: 12px;
}
.result .title {
  font-size: 25px;
  text-align: center;
  font-weight: 700;
  line-height: 1.52;
}
.result .title p {
  color: #ffc226;
}
.result .teacher .angry.l {
  display: block;
  background-image: var(--step4);
}
.result .contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  padding-bottom: 160px;
  z-index: 20;
}
.result ~ .btn-area {
  pointer-events: none
}
.result ~ .btn-area.active {
  pointer-events: auto;
}
.result ~ .btn-area .chance{
  opacity: 0;
  transform: translate(-50%, 50px);
}
.result ~ .btn-area.active .chance {
  opacity: 1;
  transform: translate(-50%, 0);
  transition: all 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.win.girl .student .default {
  display: block;
  background-image: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/girl_1.png);;
}
.win.boy .student .default {
  display: block;
  background-image: url(https://kakaobankcontent.com/public/statics/events/sjteacher/game/boy_1.png);;
}
.win .common-btn svg {
  animation: rotate 1s linear infinite;
}
.win.girl .kakaobankqa .student .default {
  display: block;
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/girl_1.png);;
}
.win.boy .kakaobankqa .student .default {
  display: block;
  background-image: url(https://stg.kakaobankcontent.com/public/statics/events/sjteacher/game/boy_1.png);;
}

.fail ~ .btn-area .btn-share {
  --bg: #ddd;
  --color: #222;
  width: calc(50% - 4px);
}
.fail ~ .btn-area .btn-reset {
  width: calc(50% - 4px);
}
.fail .controls {
  position: absolute;
  padding: 0;
  top: 14px;
  left: 12px;
  right: 12px;
}
.fail .time .moved {
  animation-play-state: paused;
  transform: rotate(135deg);
}
.fail.girl .student .upset {
  display: block;
  background-image: var(--step3);
}
.fail.boy .student .upset {
  display: block;
  background-image: var(--step3);
}

@keyframes rotate {
  to {
    transform: rotate(1turn);
  }
}



