@charset "UTF-8";
#virtual {
  background: #303a46 !important;
}

.virtual-button .btn-arrange {
  top: 83.5%;
}

.guide-info {
  z-index: 20;
  top: 22px;
  right: 40px;
}

.guide-hand {
  bottom: 0;
  left: 205px;
}

.guide-hand.show {
  animation: guidehand 4.5s .5s linear both;
}

@keyframes guidehand {
  0% {
    left: 205px;
  }
  66% {
    left: 740px;
  }
  100% {
    left: 528px;
  }
}

.modal-goal .content > p {
  padding: 30px 0 0 40px;
}

.arrange-img {
  display: flex;
  align-items: end;
}

.arrange-img img {
  max-width: 740px;
}

.arrange-img p + p {
  margin-left: 30px;
  padding-bottom: 30px;
}

/* 실제영역 */
.virtual-body {
  display: flex;
  height: 100%;
}

.virtual-body > div {
  height: 100%;
  position: relative;
}

.virtual-body.guide-act {
  pointer-events: none;
}

.visual {
  width: 63%;
}

.visual .graph-hd {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0 36px 115px;
  /* .info {
            width: 138px;
            height: 36px;
            line-height: 39px;
            background: url(../img/m_s3_3_221/hd-info-bg.png) no-repeat 0 0 / contain ;
            font-size: 13px;
            font-weight: 400;
            padding-left: 31px;
        } */
}

.visual .graph-hd .title {
  width: 214px;
  height: 40px;
  line-height: 42px;
  background: url(../img/m_s3_3_221/hd-tit-bg.png) no-repeat 0 0/contain;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  /* margin-left: 88px; */
}

.visual .canvas-wrap {
  position: absolute;
  left: 116px;
  top: 100px;
  width: 655px;
  height: 477px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  border-radius: 18px;
  background: url(../img/m_s3_3_221/graph-bg.png) no-repeat center center/contain;
  overflow: visible;
}

.visual .canvas-wrap canvas {
  margin: 30px 0 0 98px;
  display: block;
}

.visual .canvas-wrap .graph-dot {
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;
  display: none;
  z-index: 2;
}

.visual .canvas-wrap .arrow-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.visual input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  outline: none;
  margin: 0;
  /* reset margin */
  padding: 0;
  /* reset padding */
  background-color: transparent;
}

.visual input[type=range]::-webkit-slider-thumb {
  /* Webkit 기반 브라우저 (iOS 14 Safari 필수) */
  -webkit-appearance: none;
  appearance: none;
  border: none;
  border-radius: 12px;
  transition: all 0.15s ease-in-out;
  /* opacity: 0.2; */
}

.visual input[type=range]::-webkit-slider-runnable-track {
  /* Webkit 기반 브라우저 */
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-color: #7f8b99;
  border-radius: 0.25rem;
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.5);
}

.visual .control {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.visual .control.bar1 {
  top: 119px;
  left: 56px;
  width: 24px;
  height: 398px;
  overflow: visible;
}

.visual .control.bar1 input[type=range] {
  /* iOS Safari 호환: 세로 writing-mode 대신 가로 range 회전 방식 */
  position: absolute;
  left: 50%;
  top: 50%;
  width: 398px;
  height: 24px;
  transform: translate(-50%, -50%) rotate(-90deg);
  -webkit-transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center center;
  -webkit-transform-origin: center center;
  box-sizing: border-box;
  z-index: 2;
}

.visual .control.bar1 input[type=range]::-webkit-slider-thumb {
  width: 33px;
  height: 24px;
  background: url(../img/m_s3_3_221/prog-btn.png) no-repeat center center/contain;
  margin-top: -8px;
}

.visual .control.bar1 input[type=range]::-webkit-slider-runnable-track {
  /* Webkit 기반 브라우저 */
  width: 100%;
  height: 9px;
}

.visual .control.bar1 .line {
  position: absolute;
  /* display: none; */
  width: 1px;
  height: 1px;
  bottom: 120px;
  left: 27px;
  border-top: 3px dashed #9e9e9e;
}

.visual .control.bar2 {
  bottom: 30px;
  left: 202px;
  width: 550px;
  height: 24px;
}

.visual .control.bar2 input[type=range] {
  width: 100%;
  height: 24px;
}

.visual .control.bar2 input[type=range]::-webkit-slider-thumb {
  width: 24px;
  height: 33px;
  margin-top: -11px;
  background: url(../img/m_s3_3_221/prog-btn2.png) no-repeat center center/contain;
}

.visual .control.bar2 input[type=range]::-webkit-slider-runnable-track {
  /* Webkit 기반 브라우저 */
  width: 100%;
  height: 9px;
}

.visual .control.bar2 .line {
  position: absolute;
  /* display: none; */
  width: 1px;
  height: 0px;
  bottom: 28px;
  border-right: 3px dashed #9e9e9e;
}

.result {
  width: 342px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.result .result-picto {
  position: relative;
  width: 231px;
  height: 231px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.result .result-picto > p {
  position: absolute;
  display: none;
  width: 231px;
  height: 231px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center;
  border-radius: 50%;
  overflow: hidden;
}

.result .result-picto > p img {
  width: 100%;
  height: 100%;
  display: block;
}

.result .result-picto > p.picto1 {
  display: block;
  overflow: visible;
  /* 컨테이너는 고정, 떨림 방지 */
  width: 231px;
  height: 231px;
}

.result .result-picto > p.picto1 .connector-layer {
  position: absolute;
  inset: 0;
  width: 231px;
  height: 231px;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.result .result-picto > p.picto1 .connector-line {
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  transition: x1 .12s linear, y1 .12s linear, x2 .12s linear, y2 .12s linear;
}

.result .result-picto > p.picto1 > img {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: block;
  opacity: 1;
  z-index: 1;
  /* 크기는 JS에서 픽셀 지정 */
}

.result .result-picto > p.picto1 .amount {
  width: 231px;
  height: 231px;
  box-sizing: border-box;
  white-space: nowrap;
  position: absolute;
  top: auto;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: center bottom;
  display: flex;
  flex-direction: column;
  opacity: 1;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.8;
  background: url(../img/m_s3_3_221/result-picto1in.png) no-repeat center center/contain;
  border-radius: 50%;
  z-index: 1;
}

.result .result-picto > p.picto1 .amount.over > span {
  position: absolute;
  top: -60px;
  line-height: 1.4;
}

.result .result-picto > p.picto1 .amount.over > span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 30px;
  background-color: #000;
}

.result .result-picto > p.picto1 .amount.zero ~ span.amount-text {
  display: none;
}

.result .result-picto > p.picto1 .amount.zero ~ span.amount-text::after {
  display: none;
}

.result .result-picto > p.picto1 .picto-text {
  position: absolute;
  top: var(--picto-text-top, 15%);
  right: -55%;
  transform-origin: center;
  display: block;
  font-size: 20px;
  font-weight: 400;
  z-index: 3;
}

.result .result-picto > p.picto1 .picto-text::after {
  content: none;
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  width: var(--picto-after-width, 24%);
  height: 2px;
  background-color: #fff;
}

.result .result-picto > p.picto1 .amount-text {
  position: absolute;
  top: var(--amount-text-top, 73%);
  right: -55%;
  transform-origin: center;
  display: block;
  font-size: 20px;
  font-weight: 400;
  z-index: 3;
}

.result .result-picto > p.picto1 .amount-text::after {
  content: none;
  position: absolute;
  top: 50%;
  right: 100%;
  transform: var(--amount-after-transform, translateY(-50%));
  transform-origin: right center;
  width: var(--amount-after-width, 24%);
  height: 2px;
  background-color: #fff;
}

.result .result-board {
  width: 342px;
  height: 312px;
  background: url(../img/m_s3_3_221/board-bg.png) no-repeat 0 0/contain;
  padding: 17px 20px;
}

.result .result-board li {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  padding: 6px 0;
  line-height: 1;
}

.result .result-board li > p.tit {
  width: 7em;
}

.result .result-board li input {
  width: 115px;
  height: 33px;
  background-color: #eaf0fa;
  border-radius: 20px;
  box-shadow: inset -2px 5px 3px rgba(0, 0, 0, 0.2);
  margin-right: 5px;
  color: #0876e0;
  font-weight: 700;
  font-size: 18px;
  padding-top: 3px;
  text-align: center;
  line-height: 1;
}

.result .result-guide {
  position: absolute;
  display: none;
  z-index: 5;
  pointer-events: none;
  top: 286px;
  right: -15px;
  bottom: 35px;
  left: -15px;
  border: 5px dotted #5aa5ff;
  border-radius: 25px;
}

.result .result-guide.show {
  display: block;
  animation: flash 2s 1 linear;
}
