.mf_view {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mf_view_inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 2rem 2.8rem 2.8rem;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--border-radius-l);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);

  margin-bottom: 3rem;
}

.mf_view_inner.blood_gh {
  background: linear-gradient(135deg, #fff0f3 0%, #ffe4ec 50%, #ffd6e0 100%);
  border: 1px solid rgba(255, 182, 193, 0.4);
}
.mf_view_title_box_nonbg {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mf_view_title_box {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(135deg, #f7b733 0%, #fc4a1a 100%);
  border-radius: var(--border-radius-s);
}
.mf_view_title_box.center {
  align-items: center;
}

.mf_view_title {
  font-size: 3rem;
  font-weight: 700;
  color: white;
}
.mf_view_title.orange {
  text-align: center;
  color: #ff6b2a;
}
.mf_view_title.pink {
  text-align: center;
  color: #e75480;
}
.mf_view_sub_title {
  font-size: var(--size-base);
  font-weight: var(--weight-regular);
  color: var(--color-white);
}
.mf_view_direction_text {
  text-align: center;
  font-weight: 500;
  font-size: var(--size-xs);
  color: var(--color-gray2);
  white-space: pre-line;
}
.mf_view_direction_text.lottery {
  width: 80%;
  padding: 16px;
  font-size: var(--size-sm);
  background-color: #7e7e7e;
  border-radius: var(--border-radius-xs);
  white-space: wrap;
  color: var(--color-white);
}
.mf_view_button_box {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}

.mf_view_button {
  font-size: var(--size-lg);
  font-weight: 600;
  color: var(--color-white);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 30px;
  border-radius: 100px;
  width: 60%;
  background: linear-gradient(135deg, #f7b733 0%, #fc4a1a 100%);
  white-space: nowrap;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.mf_view_button.pink {
  background: linear-gradient(135deg, #ff6b95 0%, #e75480 100%);
  width: 60%;
}
.mf_view_button.blue {
  background: linear-gradient(135deg, #6aaaf8 0%, #3b82f6 100%);
  width: 60%;
}
.mf_view_button.w40 {
  width: 40%;
}

.roulette-wrapper {
  position: relative;
  width: 340px;
  height: 340px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#rouletteCanvas {
  width: 100%;
  height: 100%;
  transition: transform 5s cubic-bezier(0.15, 0, 0.15, 1);
}

/* 룰렛 상단 바늘 */
.roulette-pin {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 30px solid #ff5e00;
  z-index: 10;
}

/* 중앙 버튼 스타일 */
.spin-main-button {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #fdb03b;
  color: #fff;
  border: 4px solid #cda957;
  font-weight: bold;
  cursor: pointer;
  z-index: 11;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: 0.2s;
  font-size: var(--size-base);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.spin-main-button:hover {
  transform: scale(1.05);
}
.spin-main-button:disabled {
  background: #999;
  border-color: #ccc;
  cursor: default;
}
.white_bg_box {
  flex: 1;
  width: 100%;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--color-white);
  border-radius: var(--border-radius-s);
}
.white_bg_box.center {
  align-items: center;
}
.white_bg_box.orange_border {
  border: 2px solid #d97706;
  gap: 10px;
}
.white_bg_box_title {
  font-size: var(--size-base);
  font-weight: var(--weight-medium);
  color: #d97706;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border-gray);
}
.white_bg_box_title.white {
  color: white;
}
.white_bg_box_title.blue {
  color: #4a90d9;
}
.white_bg_box_title.pink {
  color: #e75480;
}
.white_bg_box_title.nbb {
  padding: 0;
  border: none;
}
.white_bg_box_text {
  font-size: var(--size-base);
  font-weight: var(--weight-regular);
  color: var(--color-black2);
}
.white_bg_box_text p {
  white-space: pre-line;
}
.white_bg_box_text span {
  white-space: pre-line;
}
.white_bg_box_text.text_center {
  text-align: center;
  font-size: var(--size-sm);
  color: var(--color-gray);
}
.view_ddi_icon_img {
  width: 40px;
  aspect-ratio: 1/1;
}

#today_ddi_text {
  text-align: center;
}
#lotto_number {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.lotto-num {
  width: 38px;
  height: 38px;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.2), 2px 2px 5px rgba(0, 0, 0, 0.1);
}
.ball-yellow {
  background-color: #fbc400;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}
.ball-blue {
  background-color: #69c8f2;
}
.ball-gray {
  background-color: #aaaaaa;
}
.ball-pink {
  background-color: #ee84af;
}
.ball-green {
  background-color: #b0d840;
}
.blood_type_select_box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blood_type_button_box {
  width: 100%;
  display: flex;
  gap: 10px;
}
.blood_type_button {
  flex: 1;
  padding: 16px 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--border-radius-s);
  border: 1px solid var(--color-border-gray);
  font-size: var(--size-sm);
  font-weight: var(--weight-medium);

  /* 탭 하이라이트 제거 (반짝임 방지) */
  -webkit-tap-highlight-color: transparent;

  /* 터치 시 시스템 메뉴 방지 (선택 사항) */
  touch-action: manipulation;

  /* 텍스트 선택 방지 (더 버튼 같은 느낌을 줌) */
  user-select: none;
  -webkit-user-select: none;
}
.selected_blood_type {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.selected_male_blood_type {
  font-size: var(--size-lg);
  font-weight: var(--weight-large);
  color: #4a90d9;
}
.selected_female_blood_type {
  font-size: var(--size-lg);
  font-weight: var(--weight-large);
  color: #e75480;
}
/* 남성 버튼 선택 시 */
.blood_type_select_box:nth-child(1) .blood_type_button.active {
  background-color: #4a90d9; /* 주신 남성 텍스트 컬러와 맞춤 */
  color: #ffffff;
  border-color: #4a90d9;
}

/* 여성 버튼 선택 시 */
.blood_type_select_box:nth-child(2) .blood_type_button.active {
  background-color: #e75480; /* 주신 여성 텍스트 컬러와 맞춤 */
  color: #ffffff;
  border-color: #e75480;
}
.select_ddi_box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
}
.select_ddi_item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background-color: var(--color-white);
  border-radius: var(--border-radius-s);
  padding: 16px;
  border: 1px solid #f59e0b33;
}
.select_ddi_item img {
  width: 30px;
  height: 30px;
}
.select_ddi_item span {
  font-size: var(--size-sm);
  font-weight: var(--weight-large);
  color: #d97706;
  text-align: center;
}
.select_ddi_item:hover {
  border-color: #f59e0b;
  background-color: #fffbeb;
  transform: translateY(-2px);
}
.select_ddi_item.active {
  background-color: #f59e0b;
  border-color: #d97706;
}
.number_input_container {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  position: relative;
}

#job_number_input {
  width: 100%;
  padding: 10px 0;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 0;
  text-align: center;
  border: 2px solid #ddd;
  border-radius: 15px;
  background-color: #f8f9fa;
  color: #6c757d;
  caret-color: #6c757d;
}
#lucky_number_input {
  width: 100%;
  padding: 10px 0;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  border: 2px solid #ddd;
  border-radius: 15px;
  background-color: #f8f9fa;
  color: #6c757d;
  caret-color: #6c757d;
}

#job_number_input,
#lucky_number_input:focus {
  outline: none;
  border-color: #e6a33e;
  background-color: #fff;
}
.oheang_text {
  font-size: var(--size-3xl);
  font-weight: var(--weight-medium);
  color: #089722;
  text-align: center;
}
.intro_img_box {
  margin: 0 auto;
  width: 180px;
  aspect-ratio: 1/1;
  border-radius: 100%;
  overflow: hidden;
  border: 4px solid #f7b733;
}
.intro_img {
  width: 100%;
  aspect-ratio: 1/1;
}
.spin_coin_img {
  width: 80px;
}
.selected_gender_img {
  width: 140px;
  aspect-ratio: 1/1;
}
.birth_info_text {
  font-size: var(--size-sm);
  font-weight: var(--weight-medium);
  color: #d97706;
  text-align: center;
}
.birth_info_text.pink {
  color: #e75480;
}

.luckyFashionIntroView {
  cursor: default;
}

.luckyFashionIntroInner {
  gap: 1.8rem;
  padding: 2.4rem 2.4rem 2.8rem;
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 74%);
  border: 1px solid #ead6ad;
  border-radius: var(--border-radius-l);
  box-shadow: 0 8px 24px rgba(122, 82, 24, 0.08);
}

.luckyFashionIntroTitleBox {
  padding: 0.4rem 0 0;
  gap: 0.6rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.luckyFashionIntroTitleBox .mf_view_title {
  font-size: 2.2rem;
  line-height: 1.3;
  color: #242231;
  text-align: center;
  text-shadow: none;
}

.luckyFashionIntroTitleBox .mf_view_sub_title {
  font-size: var(--size-sm);
  line-height: 1.5;
  color: var(--color-gray4);
  text-align: center;
}

.luckyFashionIntroImageBox {
  width: 14rem;
  height: auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 3px solid #f7b733;
  border-radius: 100%;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(122, 82, 24, 0.08);
}

.luckyFashionIntroImage {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: none;
}

.luckyFashionIntroPrompt {
  width: 100%;
  padding: 1.2rem 1.4rem;
  font-size: var(--size-base);
  line-height: 1.6;
  font-weight: var(--weight-medium);
  color: #242231;
  background: rgba(255, 248, 239, 0.78);
  border: 1px solid rgba(234, 190, 124, 0.36);
  border-radius: 1.2rem;
  box-shadow: 0 6px 16px rgba(122, 82, 24, 0.05);
}

.luckyFashionGenderButtons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.luckyFashionGenderButtons .mf_view_button {
  width: 100%;
  min-height: 6.4rem;
  margin-top: 0;
  padding: 1.4rem;
  justify-content: flex-start;
  gap: 1.2rem;
  border-radius: 1.6rem;
  line-height: 1.3;
  text-align: left;
  box-shadow: none;
  cursor: pointer;
}

.luckyFashionGenderButton.female {
  color: #c43a31;
  background: linear-gradient(180deg, #fff8f7 0%, #fff1ee 100%);
  border: 1px solid rgba(210, 58, 50, 0.42);
}

.luckyFashionGenderButton.male {
  color: #2f69c5;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f7ff 100%);
  border: 1px solid rgba(87, 146, 229, 0.42);
}

.luckyFashionGenderText {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.3rem;
}

.luckyFashionGenderText strong {
  font-size: var(--size-xl);
  font-weight: var(--weight-bold);
}

.luckyFashionGenderText small {
  font-size: var(--size-xs);
  font-weight: var(--weight-regular);
  color: var(--color-gray4);
  word-break: keep-all;
}

.luckyFashionGenderArrow {
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--color-white);
  border-radius: 50%;
  background: #f18e91;
}

.luckyFashionGenderButton.male .luckyFashionGenderArrow {
  background: #78a8e8;
}

.luckyFashionDrawView,
.luckyFashionResultView {
  cursor: default;
}

.luckyFashionDrawCard {
  width: 100%;
  padding: 2rem;
  gap: 1.6rem;
  background: var(--color-white);
  border: 1px solid rgba(234, 190, 124, 0.36);
  border-radius: 1.6rem;
  box-shadow: 0 8px 20px rgba(122, 82, 24, 0.06);
}

.luckyFashionDrawCard .selected_gender_img {
  width: 12rem;
  height: 12rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  object-fit: contain;
}

.luckyFashionDrawCard .spin_coin_img {
  width: 7.2rem;
  filter: drop-shadow(0 8px 14px rgba(122, 82, 24, 0.12));
}

.luckyFashionStopButton {
  width: min(100%, 24rem);
  margin-top: 0;
  background: linear-gradient(135deg, #f7b733 0%, #f08a4b 100%);
  box-shadow: 0 8px 18px rgba(240, 138, 75, 0.22);
  cursor: pointer;
}

.luckyFashionGuideCard {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.luckyFashionResultInner {
  gap: 1.6rem;
  padding: 2.4rem 2.4rem 2.8rem;
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 74%);
  border: 1px solid #ead6ad;
  border-radius: var(--border-radius-l);
  box-shadow: 0 8px 24px rgba(122, 82, 24, 0.08);
}

.luckyFashionElementCard {
  width: 100%;
  padding: 1.6rem;
  background: #fff8ef;
  border: 1px solid rgba(234, 190, 124, 0.42);
  border-radius: 1.6rem;
  box-shadow: none;
}

.luckyFashionElementCard .oheang_text {
  margin-bottom: 0.6rem;
  font-size: 4rem;
  line-height: 1;
}

.luckyFashionResultCard {
  width: 100%;
  padding: 1.6rem;
  background: var(--color-white);
  border: 1px solid var(--color-border-gray);
  border-radius: 1.4rem;
  box-shadow: none;
}

.luckyFashionResultCard .white_bg_box_title {
  margin-bottom: 1rem;
  font-size: var(--size-lg);
  line-height: 1.4;
  color: #d97706;
}

.luckyFashionResultCard .white_bg_box_text {
  font-size: var(--size-sm);
  line-height: 1.8;
  color: var(--color-black2);
  word-break: keep-all;
}

.luckyFashionWishText {
  width: 100%;
  padding: 1rem 1.2rem;
  color: #d97706;
  background: rgba(255, 248, 239, 0.78);
  border-radius: 1.2rem;
}

@media screen and (max-width: 500px) {
  .roulette-wrapper {
    width: 280px;
    height: 280px;
    margin: 15px auto;
  }
  .mf_view_title {
    font-size: 2.8rem;
  }
  .luckyFashionIntroInner {
    padding: 2.4rem 1.6rem;
  }
  .luckyFashionIntroTitleBox .mf_view_title {
    font-size: 1.6rem;
  }
  .luckyFashionIntroTitleBox .mf_view_sub_title,
  .luckyFashionIntroPrompt {
    font-size: var(--size-xs);
  }
  .luckyFashionGenderButtons {
    grid-template-columns: 1fr;
  }
  .luckyFashionIntroImage {
    width: 100%;
  }
  .luckyFashionIntroImageBox {
    width: 13rem;
  }
  .luckyFashionGenderButtons .mf_view_button {
    min-height: 6.8rem;
  }
  .luckyFashionDrawCard {
    padding: 1.6rem;
  }
  .luckyFashionDrawCard .selected_gender_img {
    width: 10rem;
    height: 10rem;
  }
  .luckyFashionDrawCard .spin_coin_img {
    width: 6rem;
  }
  .luckyFashionResultInner {
    padding: 2.4rem 1.6rem;
  }
  .luckyFashionElementCard .oheang_text {
    font-size: 3.4rem;
  }
  .luckyFashionResultCard {
    padding: 1.4rem;
  }
}
@media screen and (max-width: 420px) {
  .roulette-wrapper {
    width: 220px;
    height: 220px;
    margin: 15px auto;
  }
  .spin-main-button {
    width: 50px;
    height: 50px;
    font-size: 10px;
  }
}

@media screen and (max-width: 360px) {
  .roulette-wrapper {
    width: 200px;
    height: 200px;
    margin: 15px auto;
  }
  .spin-main-button {
    width: 50px;
    height: 50px;
    font-size: 10px;
  }
  .roulette-pin {
    top: -10px;
    border-top-width: 25px;
    border-left-width: 12px;
    border-right-width: 12px;
  }
  .mf_view_title {
    font-size: 2.2rem;
  }
  .mf_view_sub_title {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  .select_ddi_box {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .select_ddi_item {
    padding: 10px 2px;
  }
  .select_ddi_item img {
    width: 36px;
    height: 36px;
  }
  #job_number_input {
    font-size: 20px;
  }
  #lucky_number_input {
    font-size: 18px;
  }
  .mf_view_button {
    font-size: var(--size-sm);
  }
  .intro_img {
    width: 180px;
    height: auto;
  }
}

@media screen and (max-width: 320px) {
  .roulette-wrapper {
    width: 180px;
    height: 180px;
    margin: 15px auto;
  }
  .spin-main-button {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }
}

.lotteryView {
  cursor: default;
}

.lotteryView .lotteryViewInner {
  gap: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 3rem;
}

.lotteryIntroView .lotteryViewInner {
  padding: 28px 24px;
  background: linear-gradient(180deg, #fffaf2 0%, #ffffff 78%);
  border: 1px solid #f3dfbf;
  border-radius: var(--border-radius-l);
}

.lotteryView .mf_view_title_box_nonbg {
  align-items: center;
  gap: 14px;
}

.lotteryView .mf_view_title.orange {
  color: #d97706;
  font-size: var(--size-xl);
  line-height: 1.3;
}

.lotteryView .white_bg_box {
  border: 1px solid var(--color-border-gray);
  border-radius: var(--border-radius-l);
  box-shadow: 0 8px 22px rgba(37, 16, 69, 0.05);
}

.lotteryView .mf_view_title_box_nonbg .white_bg_box {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.lotteryRoulette {
  margin: 10px auto 12px;
}

.lotteryView .roulette-pin {
  border-top-color: #f6a33a;
  filter: drop-shadow(0 2px 4px rgba(217, 119, 6, 0.25));
}

.lotteryView .spin-main-button {
  background: #f6a33a;
  border: 0;
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.28);
  text-shadow: none;
}

.lotteryView .spin-main-button:disabled {
  background: #b8b8b8;
}

.lotteryView .mf_view_direction_text.lottery {
  width: min(100%, 520px);
  padding: 16px 24px;
  background: #f6a33a;
  border-radius: 999px;
  color: var(--color-white);
  font-size: var(--size-base);
  font-weight: var(--weight-black);
  box-shadow: 0 8px 18px rgba(217, 119, 6, 0.2);
}

.lotteryView .white_bg_box_text.text_center {
  color: var(--color-gray4);
}

.lotteryResultView .mf_view_title_box {
  align-items: flex-start;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.lotteryResultView .mf_view_title {
  color: #d97706;
  font-size: var(--size-2xl);
  line-height: 1.3;
}

.lotteryResultView .mf_view_sub_title {
  color: var(--color-gray4);
}

.lotteryResultCard {
  padding: 24px;
}

.lotteryResultCard .white_bg_box_title {
  border-bottom: 0;
  padding-bottom: 0;
  color: #d97706;
  font-size: var(--size-lg);
  font-weight: var(--weight-black);
}

.lotteryResultCard .white_bg_box_text {
  color: var(--color-black2);
  line-height: 1.85;
  word-break: keep-all;
}

.lotteryNumberCard {
  align-items: center;
  gap: 26px;
  padding: 28px 24px;
}

.lotteryNumberCard #lotto_number {
  gap: 14px;
  margin-top: 0;
}

.lotteryNumberCard .lotto-num {
  width: 52px;
  height: 52px;
  font-size: var(--size-lg);
  text-shadow: none;
  box-shadow: 0 6px 14px rgba(37, 16, 69, 0.12);
}

.lotteryBonusBox {
  padding: 24px;
  border: 1px solid var(--color-border-gray);
  border-radius: var(--border-radius-l);
  background: var(--color-white);
  box-shadow: 0 8px 22px rgba(37, 16, 69, 0.05);
}

.lotteryBonusBox .guideBox_content {
  gap: 14px;
}

.lotteryBonusBox .guide_content_title {
  color: var(--color-black2);
  font-size: var(--size-lg);
  font-weight: var(--weight-black);
}

.lotteryBonusBox .guide_content_desc {
  color: var(--color-black2);
  font-size: var(--size-base);
  line-height: 1.85;
  word-break: keep-all;
}

.foodCompatibilityView .lotteryViewInner {
  gap: 24px;
}

.foodCompatibilityView .mf_view_title.orange,
.foodCompatibilityResultView .mf_view_title {
  color: #d97706;
}

.foodCompatibilityView .mf_view_title_box_nonbg .white_bg_box {
  width: min(100%, 560px);
}

.foodElementCard {
  align-items: center;
  gap: 12px;
}

.foodElementCard .oheang_text {
  margin-bottom: 0;
  font-size: 4rem;
  line-height: 1;
}

.foodElementCard .white_bg_box_title {
  color: var(--color-black2);
  font-size: var(--size-base);
  font-weight: var(--weight-black);
  line-height: 1.45;
  text-align: center;
}

.foodResultCard {
  padding: 26px;
}

.foodWishText {
  width: 100%;
  padding: 16px 18px;
  color: #d97706;
  background: rgba(255, 248, 239, 0.78);
  border-radius: var(--border-radius-l);
}

.travelDomesticView .mf_view_title.orange,
.travelDomesticResultView .mf_view_title,
.travelOverseasView .mf_view_title.orange,
.travelOverseasResultView .mf_view_title {
  color: #d97706;
}

.travelDomesticView .mf_view_title_box_nonbg .white_bg_box,
.travelOverseasView .mf_view_title_box_nonbg .white_bg_box {
  width: min(100%, 560px);
}

.travelResultCard {
  padding: 26px;
}

.travelWishText {
  width: 100%;
  padding: 16px 18px;
  color: #d97706;
  background: rgba(255, 248, 239, 0.78);
  border-radius: var(--border-radius-l);
}

.bloodGhView {
  cursor: default;
}

.bloodGhView .bloodGhViewInner {
  gap: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 3rem;
}

.bloodGhView:not(.bloodGhResultView) .bloodGhViewInner {
  padding: 28px 24px;
  background: linear-gradient(180deg, #fff7fb 0%, #ffffff 78%);
  border: 1px solid #f5d7e4;
  border-radius: var(--border-radius-l);
}

.bloodGhView .mf_view_title_box_nonbg {
  align-items: center;
  gap: 14px;
}

.bloodGhView .mf_view_title.pink {
  color: #e75480;
  font-size: var(--size-2xl);
  line-height: 1.3;
}

.bloodGhView .white_bg_box {
  border: 1px solid var(--color-border-gray);
  border-radius: var(--border-radius-l);
  box-shadow: 0 8px 22px rgba(37, 16, 69, 0.05);
}

.bloodGhView .white_bg_box_text.text_center {
  color: var(--color-gray4);
  line-height: 1.75;
  word-break: keep-all;
}

.bloodGhIntroCard {
  padding: 20px;
}

.bloodGhSelectCard {
  gap: 24px;
  padding: 24px;
}

.bloodGhView .white_bg_box_title {
  border-bottom: 0;
  padding-bottom: 0;
  font-size: var(--size-base);
  font-weight: var(--weight-black);
}

.bloodGhView .mf_view_button.pink {
  width: min(100%, 360px);
  margin-top: 0;
  background: #e75480;
  box-shadow: 0 8px 18px rgba(231, 84, 128, 0.2);
}

.bloodGhView .blood_type_button {
  border-color: var(--color-border-gray);
  background: var(--color-white);
}

.bloodGhPairCard {
  padding: 24px;
}

.bloodGhPairCard .selected_blood_type {
  justify-content: center;
}

.bloodGhResultCard {
  padding: 26px;
}

.bloodGhResultCard .white_bg_box_title {
  color: #e75480;
  font-size: var(--size-lg);
}

.bloodGhResultCard .white_bg_box_text {
  color: var(--color-black2);
  line-height: 1.85;
  word-break: keep-all;
}

.numberEnergyView {
  cursor: default;
}

.numberEnergyView .numberEnergyViewInner {
  gap: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 3rem;
}

.numberEnergyIntroView .numberEnergyViewInner {
  padding: 28px 24px;
  background: linear-gradient(180deg, #f7f4ff 0%, #ffffff 78%);
  border: 1px solid #ded5f4;
  border-radius: var(--border-radius-l);
}

.numberEnergyView .mf_view_title_box {
  align-items: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.numberEnergyView .mf_view_title {
  color: var(--color-purple2);
  font-size: var(--size-2xl);
  line-height: 1.3;
}

.numberEnergyView .mf_view_sub_title,
.numberEnergyView .white_bg_box_title.white {
  color: var(--color-gray4);
}

.numberEnergyView .white_bg_box {
  border: 1px solid var(--color-border-gray);
  border-radius: var(--border-radius-l);
  box-shadow: 0 8px 22px rgba(37, 16, 69, 0.05);
}

.numberEnergyIntroCard {
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.numberEnergyInputCard {
  gap: 18px;
  padding: 24px;
}

.numberEnergyInputCard .white_bg_box_title {
  color: var(--color-black2);
  font-size: var(--size-lg);
  font-weight: var(--weight-black);
}

.numberEnergyView #job_number_input {
  border-color: color-mix(in srgb, var(--color-purple2) 30%, var(--color-border-gray));
  color: var(--color-purple2);
}

.numberEnergyView .mf_view_button {
  width: min(100%, 360px);
  margin-top: 0;
  background: var(--color-purple2);
  box-shadow: 0 8px 18px rgba(82, 66, 145, 0.18);
}

.numberEnergyResultCard {
  padding: 26px;
}

.numberEnergyResultCard .white_bg_box_title {
  border-bottom: 0;
  padding-bottom: 0;
  color: var(--color-purple2);
  font-size: var(--size-lg);
  font-weight: var(--weight-black);
}

.numberEnergyResultCard .white_bg_box_text {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  color: var(--color-black2);
  line-height: 1.85;
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
}

.numberJobView {
  cursor: default;
}

.numberJobView .numberJobViewInner {
  gap: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 3rem;
}

.numberJobIntroView .numberJobViewInner {
  padding: 28px 24px;
  background: linear-gradient(180deg, #f3fbf8 0%, #ffffff 78%);
  border: 1px solid #cfe8df;
  border-radius: var(--border-radius-l);
}

.numberJobResultView .numberJobViewInner {
  padding: 28px 24px;
  background: linear-gradient(180deg, #f3fbf8 0%, #ffffff 78%);
  border: 1px solid #cfe8df;
  border-radius: var(--border-radius-l);
}

.numberJobView .mf_view_title_box {
  align-items: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.numberJobView .mf_view_title {
  color: #27806f;
  font-size: var(--size-2xl);
  line-height: 1.3;
}

.numberJobView .mf_view_sub_title,
.numberJobView .white_bg_box_title.white {
  color: var(--color-gray4);
}

.numberJobView .white_bg_box {
  border: 1px solid var(--color-border-gray);
  border-radius: var(--border-radius-l);
  box-shadow: 0 8px 22px rgba(37, 16, 69, 0.05);
}

.numberJobIntroCard {
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.numberJobInputCard {
  gap: 18px;
  padding: 24px;
  background: var(--color-white);
}

.numberJobInputCard .white_bg_box_title {
  color: var(--color-black2);
  font-size: var(--size-lg);
  font-weight: var(--weight-black);
}

.numberJobView #job_number_input,
.numberJobView #lucky_number_input {
  border-color: color-mix(in srgb, #27806f 30%, var(--color-border-gray));
  color: #27806f;
}

.numberJobView .mf_view_button {
  width: min(100%, 360px);
  margin-top: 0;
  background: #27806f;
  box-shadow: 0 8px 18px rgba(39, 128, 111, 0.18);
}

.numberJobResultCard {
  padding: 26px;
  background: var(--color-white);
}

.numberJobResultCard .white_bg_box_title {
  border-bottom: 0;
  padding-bottom: 0;
  color: #27806f;
  font-size: var(--size-lg);
  font-weight: var(--weight-black);
}

.numberJobResultCard .white_bg_box_text {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  color: var(--color-black2);
  line-height: 1.85;
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
}

.numberLuckyView.numberJobIntroView .numberJobViewInner,
.numberLuckyView.numberJobResultView .numberJobViewInner {
  background: linear-gradient(180deg, #fff7ea 0%, #ffffff 78%);
  border-color: #f1d8ae;
}

.numberLuckyView .mf_view_title {
  color: #d97706;
}

.numberLuckyView #lucky_number_input {
  border-color: color-mix(in srgb, #d97706 30%, var(--color-border-gray));
  color: #d97706;
}

.numberLuckyView .mf_view_button {
  background: #d97706;
  box-shadow: 0 8px 18px rgba(217, 119, 6, 0.18);
}

.numberLuckyView .numberJobResultCard .white_bg_box_title {
  color: #d97706;
}

.idealResultView {
  cursor: default;
}

.idealResultView .idealResultViewInner {
  gap: 18px;
  padding: 28px 24px;
  background: linear-gradient(180deg, #fff7fb 0%, #ffffff 78%);
  border: 1px solid #f5d7e4;
  border-radius: var(--border-radius-l);
  box-shadow: none;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.idealResultView .mf_view_title_box_nonbg {
  align-items: center;
  gap: 14px;
}

.idealResultView .mf_view_title.pink {
  color: #e75480;
  font-size: var(--size-2xl);
  line-height: 1.3;
}

.idealInfoCard {
  width: 100%;
  min-height: 54px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  border: 1px solid var(--color-border-gray);
  border-radius: var(--border-radius-l);
  background: var(--color-white);
  box-shadow: 0 8px 22px rgba(37, 16, 69, 0.05);
  color: var(--color-black2);
  font-size: var(--size-base);
  line-height: 1.25;
  font-weight: var(--weight-large);
}

.idealInfoSeparator {
  width: 1px;
  height: 18px;
  flex: 0 0 1px;
  background-color: #efb9cc;
}

.idealResultCard {
  padding: 26px;
  border: 1px solid var(--color-border-gray);
  border-radius: var(--border-radius-l);
  box-shadow: 0 8px 22px rgba(37, 16, 69, 0.05);
}

.idealResultCard .white_bg_box_title {
  border-bottom: 0;
  padding-bottom: 0;
  color: #e75480;
  font-size: var(--size-lg);
  font-weight: var(--weight-black);
}

.idealResultCard #result_title {
  border-bottom: 0;
  padding-bottom: 0;
  color: #e75480;
  font-size: var(--size-lg);
  font-weight: var(--weight-black);
}

.idealResultCard .white_bg_box_text {
  color: var(--color-black2);
  line-height: 1.85;
  word-break: keep-all;
}

.ddiBombView {
  cursor: default;
}

.ddiBombView .ddiBombViewInner {
  gap: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 3rem;
}

.ddiBombIntroView .ddiBombViewInner {
  padding: 28px 24px;
  background: linear-gradient(180deg, #fff8f0 0%, #ffffff 78%);
  border: 1px solid #f1d9bd;
  border-radius: var(--border-radius-l);
}

.ddiBombResultView .ddiBombViewInner {
  padding: 28px 24px;
  background: linear-gradient(180deg, #fff8f0 0%, #ffffff 78%);
  border: 1px solid #f1d9bd;
  border-radius: var(--border-radius-l);
}

.ddiBombView .mf_view_title_box {
  align-items: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.ddiBombView .mf_view_title {
  color: #d97706;
  font-size: var(--size-2xl);
  line-height: 1.3;
}

.ddiBombView .mf_view_sub_title {
  color: var(--color-gray4);
}

.ddiBombView .white_bg_box {
  border: 1px solid var(--color-border-gray);
  border-radius: var(--border-radius-l);
  box-shadow: 0 8px 22px rgba(37, 16, 69, 0.05);
}

.ddiBombIntroCard {
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.ddiBombSelectBox {
  width: 100%;
  padding: 22px;
  border: 1px solid var(--color-border-gray);
  border-radius: var(--border-radius-l);
  background: var(--color-white);
  box-shadow: 0 8px 22px rgba(37, 16, 69, 0.05);
}

.ddiBombSelectBox .select_ddi_item {
  background: var(--color-white);
  border-color: var(--color-border-gray);
}

.ddiBombDdiCard {
  gap: 12px;
  padding: 22px;
}

.ddiBombDdiCard .view_ddi_icon_img {
  width: 48px;
}

.ddiBombDdiCard .white_bg_box_title {
  color: var(--color-black2);
  font-size: var(--size-base);
  font-weight: var(--weight-black);
  line-height: 1.45;
}

.ddiBombResultCard {
  padding: 26px;
}

.ddiBombResultCard .white_bg_box_title {
  border-bottom: 0;
  padding-bottom: 0;
  color: #d97706;
  font-size: var(--size-lg);
  font-weight: var(--weight-black);
}

.ddiBombResultCard .white_bg_box_text {
  color: var(--color-black2);
  line-height: 1.85;
  word-break: keep-all;
}

@media screen and (max-width: 480px) {
  .lotteryView .lotteryViewInner {
    gap: 18px;
  }

  .lotteryIntroView .lotteryViewInner {
    padding: 22px 16px;
  }

  .lotteryView .mf_view_title.orange,
  .lotteryResultView .mf_view_title {
    font-size: var(--size-xl);
  }

  .lotteryView .mf_view_direction_text.lottery {
    font-size: var(--size-sm);
  }

  .foodElementCard,
  .foodResultCard {
    padding: 22px 18px;
  }

  .foodElementCard .oheang_text {
    font-size: 3.4rem;
  }

  .lotteryNumberCard #lotto_number {
    gap: 10px;
  }

  .lotteryNumberCard .lotto-num {
    width: 42px;
    height: 42px;
    font-size: var(--size-base);
  }

  .bloodGhView .bloodGhViewInner {
    gap: 16px;
  }

  .bloodGhView:not(.bloodGhResultView) .bloodGhViewInner {
    padding: 22px 16px;
  }

  .bloodGhView .mf_view_title.pink {
    font-size: var(--size-xl);
  }

  .bloodGhSelectCard,
  .bloodGhResultCard {
    padding: 22px 18px;
  }

  .numberEnergyView .numberEnergyViewInner {
    gap: 16px;
  }

  .numberEnergyIntroView .numberEnergyViewInner {
    padding: 22px 16px;
  }

  .numberEnergyView .mf_view_title {
    font-size: var(--size-xl);
  }

  .numberEnergyInputCard,
  .numberEnergyResultCard {
    padding: 22px 18px;
  }

  .numberJobView .numberJobViewInner {
    gap: 16px;
  }

  .numberJobIntroView .numberJobViewInner,
  .numberJobResultView .numberJobViewInner {
    padding: 22px 16px;
  }

  .numberJobView .mf_view_title {
    font-size: var(--size-xl);
  }

  .numberJobInputCard,
  .numberJobResultCard {
    padding: 22px 18px;
  }

  .idealResultView .idealResultViewInner {
    gap: 16px;
    padding: 22px 16px;
  }

  .idealResultView .mf_view_title.pink {
    font-size: var(--size-xl);
  }

  .idealResultCard {
    padding: 22px 18px;
  }

  .idealInfoCard {
    gap: 8px 10px;
    padding: 14px 12px;
    font-size: var(--size-sm);
  }

  .ddiBombView .ddiBombViewInner {
    gap: 16px;
  }

  .ddiBombIntroView .ddiBombViewInner {
    padding: 22px 16px;
  }

  .ddiBombResultView .ddiBombViewInner {
    padding: 22px 16px;
  }

  .ddiBombView .mf_view_title {
    font-size: var(--size-xl);
  }

  .ddiBombSelectBox,
  .ddiBombResultCard {
    padding: 22px 18px;
  }

  .ddiBombDdiCard {
    padding: 20px 16px;
  }
}
