pre {
    white-space: pre-wrap;
    word-break: break-all;
    overflow: auto;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    background-color: #000000a8;
}

.contact-us {
    position: absolute;
    top: 0;
    right: 0;
    margin-bottom: 100px;
    color: rgba(161, 54, 255, 0.664);
  }


/* 팝업창 */
#popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 25px;
    background: #161515;
    width: 300px;
    padding: 20px;
    z-index: 9999;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 상하 중앙 정렬 대신 상하 간격을 고르게 분배 */
    align-items: center;
}

.popup1 h1,
.popup2 h1,
.popup3 h1,
.popup4 h1,
.popup5 h1,
.popup6 h1,
.popup7 h1,
.popup8 h1,
.popup9 h1 {
    text-align: center;
    margin-top: 0;
}

.popup1,
.popup2,
.popup3,
.popup4,
.popup5,
.popup6,
.popup7,
.popup8,
.popup9  {
    text-align: left;
    margin-left: 10px;
    margin-right: 10px;
}

.popup1 p,
.popup2 p,
.popup3 p,
.popup4 p,
.popup5 p,
.popup6 p,
.popup7 p,
.popup8 p,
.popup9 p {
    word-break: keep-all;
    margin-top: 3px; /* 원하는 간격으로 설정 */
    margin-bottom: 20px; /* 원하는 간격으로 설정 */
  }

#button-container {
    display: flex;
    flex-direction: row; /* 좌우 배치를 위해 row로 변경 */
    justify-content: center;
    align-items: center;
    gap: 10px; /* 좌우 간격을 조정 */
}

.btnM {
    background: rgb(96, 9, 240);
    background: linear-gradient(0deg, rgba(96, 9, 240, 1) 0%, rgba(129, 5, 240, 1) 100%);
    width: 100px;
    height: 30px;
    border-radius: 5px;
    color: #fff;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btnM:hover {
    background: rgb(96, 9, 240);
    background: linear-gradient(0deg, rgba(129, 5, 240, 1) 0%, rgba(96, 9, 240, 1) 100%);
}

.arrow-btnL,
.arrow-btnR {
    background: rgb(96, 9, 240);
    background: linear-gradient(0deg, rgba(96, 9, 240, 1) 0%, rgba(129, 5, 240, 1) 100%);
    width: 30px; /* 좌우 버튼의 너비를 조정 */
    height: 30px;
    border-radius: 5px;
    color: #fff;
    justify-content: center;
    align-items: center;
    border: none;
}
.arrow-btnL:hover,
.arrow-btnR:hover {
    background: rgb(96, 9, 240);
    background: linear-gradient(0deg, rgba(129, 5, 240, 1) 0%, rgba(96, 9, 240, 1) 100%);
}



#manual-trigger { 
    font-size: 14px;
    color: rgba(161, 54, 255, 0.664);
    margin-right: 5px;
    text-decoration: underline;
}


.BasicSetting {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 25px;
    padding: 25px;
    width: 75%;
    min-width: 325px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    margin-top: 5%;
    margin-bottom: 5%;
    position: relative;
    left: 50%;
    transform: translate(-50%);
}

.QestionSetting img {
    width: 90%;
    max-width: 500px;
}

.QestionSetting {
    text-align: center;
    color: white;
}

.LinkSetting {
    display: flex;
    text-align: center;
    justify-content: center;
}

#LinkSetting span {
    margin-right: 5px;
  }

#donate {
    font-size: 14px;
    color: rgba(161, 54, 255, 0.664);
    margin-right: 5px;
  }

#First-message,
#Second-message,
#Third-message,
#Fourth-message,
#Fifth-message,
#Sixth-message,
#Seventh-message,
#chatsetting {
    font-size: 15px;
}

.chatsetting {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
}

.chat-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.chat-box {
    padding: 10px;
    border-radius: 20px;
    margin-bottom: 20px;
    overflow-y: scroll;
    height: auto;
    min-height: 50px;
    max-height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-box::-webkit-scrollbar {
    width: 10px;
  }
.chat-box::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #2f3542;
    background-clip: padding-box;
    border: 2px solid transparent;
  }
.chat-box::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.8);
  }


.btnS2L,
.btnS3L,
.btnS4L,
.btnS5L,
.btnS6L,
.btnS7L {
    background: rgb(96, 9, 240);
    background: linear-gradient(0deg, rgba(96, 9, 240, 1) 0%, rgba(129, 5, 240, 1) 100%);
    width: 70px;
    height: 30px;
    border-radius: 5px;
    color: #fff;
    border: none;
    margin-right: 20px;
}
.btnS2L:hover,
.btnS3L:hover,
.btnS4L:hover,
.btnS5L:hover,
.btnS6L:hover,
.btnS7L:hover {
    background: rgb(96, 9, 240);
    background: linear-gradient(0deg, rgba(129, 5, 240, 1) 0%, rgba(96, 9, 240, 1) 100%);
}

.btnS1 {
    background: rgb(96, 9, 240);
    background: linear-gradient(0deg, rgba(96, 9, 240, 1) 0%, rgba(129, 5, 240, 1) 100%);
    width: 100px;
    height: 30px;
    border-radius: 5px;
    color: #fff;
    border: none;
}

.btnS2,
.btnS3,
.btnS4,
.btnS5,
.btnS6,
.btnS7 {
    background: rgb(96, 9, 240);
    background: linear-gradient(0deg, rgba(96, 9, 240, 1) 0%, rgba(129, 5, 240, 1) 100%);
    width: 70px;
    height: 30px;
    border-radius: 5px;
    color: #fff;
    border: none;
    margin-left: 20px;
}

.btnS1:hover,
.btnS2:hover,
.btnS3:hover,
.btnS4:hover,
.btnS5:hover,
.btnS6:hover,
.btnS7:hover {
    background: rgb(96, 9, 240);
    background: linear-gradient(0deg, rgba(129, 5, 240, 1) 0%, rgba(96, 9, 240, 1) 100%);
}


#date {
    padding: 5px;
    border-radius: 5px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    width: 100px;
    height: 18px;
    color: black;
}

/* <select> styles */
#Old {
    /* Reset */
    appearance: none;
    border: 0;
    outline: 0;
    font: inherit;
    /* Personalize */
    width: 140px;
    height: 35px;
    padding: 0 32px 0 8px;
    background: url(https://upload.wikimedia.org/wikipedia/commons/9/9d/Caret_down_font_awesome_whitevariation.svg) no-repeat right 5px center / 25px,
        linear-gradient(to left, rgba(255, 255, 255, 0.3) 5px, rgba(255, 255, 255, 0.2) 48px);
    color: white;
    border-radius: 4px;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.2);
    text-align: center;
    cursor: pointer;
}

/* <option> colors */
#Old option {
    color: inherit;
    background-color: #030303ab;
    text-align: center;
}

/* Remove focus outline */
&:focus {
    outline: none;
}

/* Remove IE arrow */
&::-ms-expand {
    display: none;
}

/* <select> styles */
#MBTI {
    /* Reset */
    appearance: none;
    border: 0;
    outline: 0;
    font: inherit;
    /* Personalize */
    width: 140px;
    height: 35px;
    padding: 0 32px 0 8px;
    background: url(https://upload.wikimedia.org/wikipedia/commons/9/9d/Caret_down_font_awesome_whitevariation.svg) no-repeat right 5px center / 25px,
        linear-gradient(to left, rgba(255, 255, 255, 0.3) 5px, rgba(255, 255, 255, 0.2) 48px);
    color: white;
    border-radius: 4px;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.2);
    text-align: center;
    cursor: pointer;
}

/* <option> colors */
#MBTI option {
    color: inherit;
    background-color: #030303ab;
    text-align: center;
}

/* Remove focus outline */
&:focus {
    outline: none;
}

/* Remove IE arrow */
&::-ms-expand {
    display: none;
}

#gender {
    /* Reset */
    appearance: none;
    border: 0;
    outline: 0;
    font: inherit;
    /* Personalize */
    width: 140px;
    height: 35px;
    padding: 0 32px 0 8px;
    background: url(https://upload.wikimedia.org/wikipedia/commons/9/9d/Caret_down_font_awesome_whitevariation.svg) no-repeat right 5px center / 25px,
        linear-gradient(to left, rgba(255, 255, 255, 0.3) 5px, rgba(255, 255, 255, 0.2) 48px);
    color: white;
    border-radius: 4px;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.2);
    text-align: center;
    cursor: pointer;
}

/* <option> colors */
#gender option {
    color: inherit;
    background-color: #030303ab;
    text-align: center;
}

/* Remove focus outline */
&:focus {
    outline: none;
}

/* Remove IE arrow */
&::-ms-expand {
    display: none;
}

#textJ {
    padding: 5px;
    border-radius: 5px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    width: 140px;
    height: 22px;
    font-size: 12px;
    color: white;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.3) 5px, rgba(255, 255, 255, 0.2));

}

#textR {
    padding: 5px;
    border-radius: 5px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    width: 140px;
    height: 22px;
    font-size: 12px;
    color: white;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.3) 5px, rgba(255, 255, 255, 0.2));

}

.assistant-message {
    background: linear-gradient(120deg, #257287, #248A52);
    color: #fff;
    border-radius: 15px 15px 15px 0;
    text-align: left;
    padding: 6px 10px 7px;
    max-width: 75%;
    margin-bottom: 10px;
    margin-top: 10px;
    align-self: flex-start;
}

.user-message {
    float: right;
    color: #fff;
    background: linear-gradient(120deg, #248A52, #257287);
    border-radius: 15px 15px 0px 15px;
    padding: 0% 5%;
    max-width: 75%;
    margin-bottom: 10px;
    flex: 1;
    align-self: flex-end;
    text-align: left;
}


.chat-message p {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.chat-input {
    margin-top: 20px;
    display: flex;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 15px;
    margin-right: 10px;
    
}

.chat-input button {
    background: rgb(96, 9, 240);
    background: linear-gradient(0deg, rgba(96, 9, 240, 1) 0%, rgba(129, 5, 240, 1) 100%);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 15px;
    cursor: pointer;

}

.chat-input button:hover {
    background: rgb(96, 9, 240);
    background: linear-gradient(0deg, rgba(129, 5, 240, 1) 0%, rgba(96, 9, 240, 1) 100%);
}



/* 설명서 팩맨 */
@keyframes ldio-B-1 {
    0% { transform: rotate(0deg) }
   50% { transform: rotate(-45deg) }
  100% { transform: rotate(0deg) }
}
@keyframes ldio-B-2 {
    0% { transform: rotate(180deg) }
   50% { transform: rotate(225deg) }
  100% { transform: rotate(180deg) }
}
.ldio-B > div:nth-child(2) {
  transform: translate(-15px,0);
}
.ldio-B > div:nth-child(2) div {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 60px;
  height: 30px;
  border-radius: 60px 60px 0 0;
  background: #85a2b6;
  animation: ldio-B-1 33.333333333333336s linear infinite;
  transform-origin: 30px 30px
}
.ldio-B > div:nth-child(2) div:nth-child(2) {
  animation: ldio-B-2 33.333333333333336s linear infinite
}
.ldio-B > div:nth-child(2) div:nth-child(3) {
  transform: rotate(-90deg);
  animation: none;
}@keyframes ldio-B-3 {
    0% { transform: translate(95px,0); opacity: 0 }
   20% { opacity: 1 }
  100% { transform: translate(35px,0); opacity: 1 }
}
.ldio-B > div:nth-child(1) {
  display: block;
}
.ldio-B > div:nth-child(1) div {
  position: absolute;
  top: 46px;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bbcedd;
  animation: ldio-B-3 33.333333333333336s linear infinite
}
.ldio-B > div:nth-child(1) div:nth-child(1) { animation-delay: -0.0268s }
.ldio-B > div:nth-child(1) div:nth-child(2) { animation-delay: -0.013200000000000002s }
.ldio-B > div:nth-child(1) div:nth-child(3) { animation-delay: 0s }
.loadingio-spinner-bean-eater-A {
  width: 84px;
  height: 84px;
  display: inline-block;
  overflow: hidden;
  background: none;
}
.ldio-B {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(0) scale(0.84);
  backface-visibility: hidden;
  transform-origin: 0 0; /* see note above */
}
.ldio-B div { box-sizing: content-box; }









/* 로딩팩맨 */
@keyframes ldio-r919gpr9vul-1 {
    0% { transform: rotate(0deg) }
   50% { transform: rotate(-45deg) }
  100% { transform: rotate(0deg) }
}
@keyframes ldio-r919gpr9vul-2 {
    0% { transform: rotate(180deg) }
   50% { transform: rotate(225deg) }
  100% { transform: rotate(180deg) }
}
.ldio-r919gpr9vul > div:nth-child(2) {
  transform: translate(-15px,0);
}
.ldio-r919gpr9vul > div:nth-child(2) div {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 60px;
  height: 30px;
  border-radius: 60px 60px 0 0;
  background: #85a2b6;
  animation: ldio-r919gpr9vul-1 33.333333333333336s linear infinite;
  transform-origin: 30px 30px
}
.ldio-r919gpr9vul > div:nth-child(2) div:nth-child(2) {
  animation: ldio-r919gpr9vul-2 33.333333333333336s linear infinite
}
.ldio-r919gpr9vul > div:nth-child(2) div:nth-child(3) {
  transform: rotate(-90deg);
  animation: none;
}@keyframes ldio-r919gpr9vul-3 {
    0% { transform: translate(95px,0); opacity: 0 }
   20% { opacity: 1 }
  100% { transform: translate(35px,0); opacity: 1 }
}
.ldio-r919gpr9vul > div:nth-child(1) {
  display: block;
}
.ldio-r919gpr9vul > div:nth-child(1) div {
  position: absolute;
  top: 46px;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bbcedd;
  animation: ldio-r919gpr9vul-3 33.333333333333336s linear infinite
}
.ldio-r919gpr9vul > div:nth-child(1) div:nth-child(1) { animation-delay: -0.0268s }
.ldio-r919gpr9vul > div:nth-child(1) div:nth-child(2) { animation-delay: -0.013200000000000002s }
.ldio-r919gpr9vul > div:nth-child(1) div:nth-child(3) { animation-delay: 0s }
.loadingio-spinner-bean-eater-5nszj9mcn9v {
  width: 84px;
  height: 84px;
  display: inline-block;
  overflow: hidden;
  background: none;
}
.ldio-r919gpr9vul {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(0) scale(0.84);
  backface-visibility: hidden;
  transform-origin: 0 0; /* see note above */
}
.ldio-r919gpr9vul div { box-sizing: content-box; }


.kako-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 5px;
    min-width: 335px;
    min-height: 110px;
    z-index: 2;
}