@charset "UTF-8";
#virtual {
  background: #303a46;
}

#virtual.show .virtual {
  pointer-events: none;
}

.virtual-button .btn-arrange {
  top: 65%;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: auto;
}

button {
  transition: none;
}

.guide-info {
  z-index: 3;
  top: 33px;
  right: 17px;
}

.guide-info .char {
  right: 6px;
}

.guide-hand {
  display: none;
  position: absolute;
  z-index: 1000;
}

.guide-hand.show {
  display: block;
}

.guide-hand .hand {
  position: absolute;
  z-index: 3;
  left: 15px;
  top: -103px;
}

/* 가이드 손모양: 2번 깜박임(사라지지 않음) */
.guide-hand.blink-2 .hand,
.guide-hand.blink-2 .circle {
  animation-iteration-count: 2;
}

/* 1단계: 탄산 나트륨 증가 버튼 위치 */
#hand-step1 {
  left: 165px;
  top: 170px;
}

#hand-step1-2 {
  left: 390px;
  top: 170px;
}

#hand-step1-3 {
  left: 125px;
  top: 172px;
}

#hand-step2 {
  left: 780px;
  top: 565px;
}

#hand-step2-2 {
  left: 780px;
  top: 640px;
}

#hand-step2-3 {
  left: 505px;
  top: 695px;
}

/* 3단계: 물 선택 버튼 */
#hand-step3 {
  left: 165px;
  top: 170px;
}

#hand-step3-1 {
  left: 390px;
  top: 170px;
}

.media-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  position: relative;
}

.tab-select-wrap {
  display: flex;
  align-items: center;
}

.btn-tab {
  border-radius: 15px;
  padding: 10px 20px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.btn-tab-water {
  background-image: url(../img/m_s3_3_122/btn-tab-water.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.btn-tab-hydrogen {
  background-image: url(../img/m_s3_3_122/btn-tab-hydrogen.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.btn-tab-water.off {
  color: #303a46;
  background-image: url(../img/m_s3_3_122/btn-tab-water-off.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.btn-tab-hydrogen.off {
  color: #303a46;
  background-image: url(../img/m_s3_3_122/btn-tab-hydrogen-off.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.board {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background-image: -moz-linear-gradient(90deg, #738294 0%, #919fb1 51%, #aebccd 100%);
  background-image: -webkit-linear-gradient(90deg, #738294 0%, #919fb1 51%, #aebccd 100%);
  background-image: -ms-linear-gradient(90deg, #738294 0%, #919fb1 51%, #aebccd 100%);
  box-shadow: 10.348px 15.935px 32px 0px rgba(12, 17, 23, 0.41);
  width: 100%;
  height: 310px;
}

.hydrogen-wrap {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 0;
  top: 0;
  will-change: transform;
}

.oxygen-wrap {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 0;
  top: 0;
  will-change: transform;
}

.hydrogen-wrap span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-size: 100%;
  background-repeat: no-repeat;
  font-weight: normal;
}

.hydrogen-wrap .hydrogen-1 {
  width: 27.5px;
  height: 32px;
  font-size: 12px;
  color: #2b0000;
  background-image: url(../img/m_s3_3_122/hydrogen-1.png);
  left: 3px;
}

.hydrogen-wrap .hydrogen {
  width: 32px;
  height: 32px;
  font-size: 12px;
  color: #2b0000;
  background-image: url(../img/m_s3_3_122/hydrogen.png);
  right: 3px;
}

.oxygen-wrap span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-size: 100%;
  background-repeat: no-repeat;
  font-weight: normal;
}

.oxygen-wrap .oxygen-1 {
  width: 58px;
  height: 58px;
  font-size: 16px;
  color: #2b0000;
  background-image: url(../img/m_s3_3_122/oxygen-1.png);
  left: 8px;
}

.oxygen-wrap .oxygen {
  width: 58px;
  height: 58px;
  font-size: 16px;
  color: #2b0000;
  background-image: url(../img/m_s3_3_122/oxygen.png);
  right: 8px;
}

.h2o-wrap {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 0;
  top: 0;
  will-change: transform;
}

.h2o-wrap span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-size: 100%;
  background-repeat: no-repeat;
  font-weight: normal;
}

.h2o-wrap .oxygen {
  width: 58px;
  height: 58px;
  font-size: 16px;
  color: #2b0000;
  background-image: url(../img/m_s3_3_122/oxygen.png);
  left: 8px;
}

.h2o-wrap .hydrogen-2, .h2o-wrap .hydrogen-3 {
  width: 29.5px;
  height: 31px;
  font-size: 12px;
  color: #2b0000;
  background-image: url(../img/m_s3_3_122/hydrogen-2.png);
  right: 62px;
  bottom: -16px;
}

.h2o-wrap .hydrogen-3 {
  width: 29.5px;
  height: 31px;
  background-image: url(../img/m_s3_3_122/hydrogen-3.png);
  right: 40px;
}

.h2o2-wrap {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 0;
  top: 0;
  will-change: transform;
}

.h2o2-wrap span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-size: 100%;
  background-repeat: no-repeat;
  font-weight: normal;
  z-index: 2;
}

.h2o2-wrap .oxygen-1 {
  width: 58px;
  height: 58px;
  font-size: 16px;
  color: #2b0000;
  background-image: url(../img/m_s3_3_122/oxygen-1.png);
  left: 8px;
}

.h2o2-wrap .oxygen {
  width: 58px;
  height: 58px;
  font-size: 16px;
  color: #2b0000;
  background-image: url(../img/m_s3_3_122/oxygen.png);
  right: 8px;
}

.h2o2-wrap .hydrogen-2, .h2o2-wrap .hydrogen-4 {
  width: 32px;
  height: 32px;
  font-size: 12px;
  color: #2b0000;
  background-image: url(../img/m_s3_3_122/hydrogen-2.png);
  right: 122px;
  bottom: -16px;
}

.h2o2-wrap .hydrogen-2 {
  width: 29.5px;
  height: 31px;
  background-image: url(../img/m_s3_3_122/hydrogen-2.png);
  padding-top: 5px;
  padding-right: 10px;
  z-index: 1;
}

.h2o2-wrap .hydrogen-4 {
  width: 27.5px;
  height: 31px;
  background-image: url(../img/m_s3_3_122/hydrogen-4.png);
  right: 56px;
  bottom: 16px;
}

/* 수조 내 입자: transform으로 위치 갱신 → 떨림 방지, GPU 가속 */
.water .element {
  left: 0;
  top: 0;
  will-change: transform;
}

.element p {
  margin-top: 0.4em;
}

/* 기본적으로 btn-area 클릭 차단 (1차 가이드 전/중 클릭 방지), 2차 가이드 실행 시 JS에서 해제 */
.btn-area {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  row-gap: 5px;
  margin-top: 10px;
  background-color: #2c3744;
  border: 2px solid #4b5869;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 16.368px 17.552px 79px 0px rgba(27, 31, 35, 0.5);
}

.button-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 410px;
  height: 70px;
  padding: 0 20px;
  gap: 10px;
  background-image: url(../img/m_s3_3_122/btn-wrap.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.bottom-button-wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bottom-button-wrap button:disabled {
  opacity: 0.7;
  pointer-events: none;
}

.button-label {
  flex-grow: 1;
  width: 110px;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  line-height: 1;
  color: #fff;
  text-align: center;
}

.button-wrap-inner {
  flex-grow: 1;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.btn-left {
  width: 70px;
  height: 40px;
  background-image: url(../img/m_s3_3_122/btn-left-on.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.btn-right {
  width: 70px;
  height: 40px;
  background-image: url(../img/m_s3_3_122/btn-right-on.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.btn-left:disabled {
  background-image: url(../img/m_s3_3_122/btn-left.png);
}

.btn-right:disabled {
  background-image: url(../img/m_s3_3_122/btn-right.png);
}

/* 건너뛰기 */
.skip {
  position: absolute;
  bottom: 30px;
  left: 36px;
}

.skip.hide {
  display: none;
}

.btn-skip {
  background: url(../common/img/btn-skip.png) no-repeat center/contain;
  width: 124px;
  height: 54px;
  color: white;
  font-size: 17px;
  font-weight: 500;
  opacity: 1;
}

.btn-skip:disabled {
  opacity: 0.7;
  pointer-events: none;
}

.btn-reaction-start,
.btn-reaction-pause,
.btn-reaction-reset {
  width: 125px;
  height: 40px;
  padding-top: 3px;
  color: #fff;
  font-size: 18px;
  background-image: url(../img/m_s3_3_122/btn-large.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.molecule-num {
  border-radius: 20px;
  min-width: 80px;
  padding: 5px 0 0;
  background-color: #eaf0fa;
  box-shadow: inset 0px 10px 29px 0px rgba(0, 0, 0, 0.29);
  color: #303a46;
  text-align: center;
}

#virtual1-guide.hide {
  display: block !important;
  animation: fadeOut 0.5s ease-out forwards;
}

.modal-result-table .modal-dialog {
  max-width: 70%;
}

.modal-result-table .modal-content .title {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.modal-result-table .modal-content .title > strong {
  display: inline-block;
  border-radius: 50px;
  padding: 10px 25px 5px;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.modal-result-table .modal-content .title > .title-water {
  background-image: -moz-linear-gradient(90deg, #3f8058 0%, #578964 54%, #6e916f 100%);
  background-image: -webkit-linear-gradient(90deg, #3f8058 0%, #578964 54%, #6e916f 100%);
  background-image: -ms-linear-gradient(90deg, #3f8058 0%, #578964 54%, #6e916f 100%);
}

.modal-result-table .modal-content .title > .title-h2o2 {
  background-image: -moz-linear-gradient(90deg, #c35c2a 0%, #d4732a 54%, #e58a29 100%);
  background-image: -webkit-linear-gradient(90deg, #c35c2a 0%, #d4732a 54%, #e58a29 100%);
  background-image: -ms-linear-gradient(90deg, #c35c2a 0%, #d4732a 54%, #e58a29 100%);
}

.modal-result-table .modal-content {
  width: 100%;
  padding: 50px 30px;
  border-style: solid;
  border-width: 3px;
  border-color: #4b5869;
  background-image: -moz-linear-gradient(90deg, #475465 0%, #687789 100%);
  background-image: -webkit-linear-gradient(90deg, #475465 0%, #687789 100%);
  background-image: -ms-linear-gradient(90deg, #475465 0%, #687789 100%);
  box-shadow: 16.368px 17.552px 79px 0px rgba(10, 11, 11, 0.66);
}

.result-table-wrap {
  width: 100%;
  margin: 35px auto 0;
  padding: 10px;
  border-radius: 30px;
  background-image: -moz-linear-gradient(90deg, #808790 0%, #aab0b7 48%, #d4d8dd 100%);
  background-image: -webkit-linear-gradient(90deg, #808790 0%, #aab0b7 48%, #d4d8dd 100%);
  background-image: -ms-linear-gradient(90deg, #808790 0%, #aab0b7 48%, #d4d8dd 100%);
  box-shadow: 3.812px 5.871px 27px 0px rgba(29, 36, 46, 0.79);
}

.result-table-wrap .table {
  margin-bottom: 5px;
}

.result-table-wrap .table .table-head {
  display: flex;
  font-size: 18px;
  font-weight: 700;
  color: #272d34;
  text-align: center;
  padding: 7px 5px;
  border-bottom: none;
}

.result-table-wrap .table .table-head .table-head-item {
  width: 20%;
  border-right: 3px solid #aeb4bc;
}

.result-table-wrap .table .table-head:first-child {
  border-left: none;
}

.result-table-wrap .table .table-head .table-head-item:last-child {
  border-right: none;
}

.result-table-wrap .table .table-body {
  padding: 5px;
  border-radius: 15px;
  background-color: #161c24;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
}

.result-table-wrap .table .table-body .table-body-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.result-table-wrap .table .table-body .table-body-item .items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 20%;
  padding: 13px 0 8px;
  border-radius: 15px;
  background-color: #3e3f49;
}

.result-table-wrap .table .table-body .table-body-item .table-body-item-label:before {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background-color: #3c3d48;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -14px;
}

.btn-replay {
  bottom: 40px;
  right: 30px;
}
