.top_board_big{
  position: relative;
  width: 100%;
  height: 350px;
  font-family: 'Paperlogy';
  margin-bottom: calc(var(--padding)*5);
}
.top_board_big.side_back{
  height: 250px;
}
.top_board_big .back{
  overflow-x: hidden;
  margin: auto;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important;
}
.top_board_big .back .background{
  display: block;
  height: 100%;
}
.top_board_big .back img{
  display: block;
  height: 100%;
}
.top_board_big .img_box{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 25%;
  max-width: 420px;
  min-width: 280px;
  width: 80%;
  z-index: 1;
}
.top_board_big .img_box img{
  display: block;
  width: 100%;
}
.top_board_big .giftimg_box{
  position: absolute;
  top: 16%;
  left: 53%;
  transform: translateX(-50%);
  max-width: 432px;
  width: 80%;
  z-index: 1;
}
.top_board_big .giftimg_box img{
  display: block;
  width: 100%;
}
.top_board_big .top30{
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translateX(-50%);
}
.top_board_big.pack .img_box{
  width: 55%;
  top: 27%;
  left: 46%;
  transform: translateX(-50%);
}
.top_board_big .title{
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
}

.ch_game{
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  gap: 30px;
  padding-bottom: calc(var(--padding)*6);
  margin-bottom: calc(var(--padding)*6);
  border-bottom: 1px solid #ebebeb;
}

/* 게임판 */
.game_sec{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  max-width: 650px;
  width: 100%;
  box-sizing: border-box;
  background-color: #EFEFEF;
  padding: 50px;
  border-radius: 15px;
}

.game_sec .row{
  display: flex;
  justify-content: space-evenly;
  gap: 40px;
  position: relative;
}

.game_sec .row::after{
  display: none;
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  width: calc(100% - 10px);
  height: 18px;
  background: #ececec;
  border-radius: 2px;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.12);
  z-index: 0;
}

/* 비타민 아이템 */
.vitamin_item{
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  max-width: 110px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.vitamin_body{
  display: block;
  width: 100%;
  transition: opacity 0.35s ease;
  z-index: 3;
}

.vitamin_body img,
.vitamin_cap img{
  display: block;
  width: 100%;
  height: auto;
}

.vitamin_body img{
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.18));
}

.vitamin_cap{
  position: absolute;
  top: 0;
  left: 50%;
  width: 86%;
  transform: translateX(-50%) translateY(0) rotate(0deg);
  transform-origin: right bottom;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.vitamin_cap img{
  filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.18));
}

/* 닫힘 / 열림 이미지 */
.vitamin_body--closed{
  opacity: 1;
}

.vitamin_body--open{
  position: absolute;
  inset: 0;
  opacity: 0;
}

/* 열림 상태 */
.vitamin_item.is-open .vitamin_body--closed{
  opacity: 0;
}

.vitamin_item.is-open .vitamin_body--open{
  opacity: 1;
}

.vitamin_item.is-open .vitamin_cap{
  opacity: 1;
  animation: capOpen 1.15s ease-out forwards;
}

@keyframes capOpen{
  0%{
    opacity: 0;
    transform: translate(-50%, 0) rotate(0deg);
  }

  /* 1단계: 위로 들림 (핵심) */
  30%{
    opacity: 1;
    transform: translate(-70%, -95%) rotate(-11deg);
  }

  /* 2단계: 위로 더 들리면서 살짝 이동 */
  60%{
    transform: translate(-80%, -105%) rotate(-22deg);
  }

  /* 3단계: 자연스럽게 마무리 */
  100%{
    transform: translate(-95%, -123%) rotate(-43deg);
  }
}

.vitamin_click{
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1em;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #FBA918 0%, #FBA918 100%);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 5;
  pointer-events: none;

  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* 열리면 숨김 */
.vitamin_item.is-open .vitamin_click{
  opacity: 0;
  visibility: hidden;
}

/* 아래 말풍선 느낌 꼬리 */
.vitamin_click::after{
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #FBA918;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}



.game_list{
  width: 100%;
  max-width: 350px;
  box-sizing: border-box;
}
.game_prize{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
}
.game_prize_head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.game_prize_title{
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

.game_prize_badge{
  margin: 0;
  padding: 6px 20px;
  border-radius: 999px;
  background: var(--point_yellow);
  font-size: 1em;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}

.game_prize_icons{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin: 0 0 25px;
  padding: 0;
  list-style: none;
}

.game_prize_icons li{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #f3efe6;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.game_prize_icons li img{
  max-width: 100%;
}
.game_prize_icons li span{
  display: flex;
  justify-content: center;
  align-items: center;
}
.game_prize_rank{
  margin: 0 0 35px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.game_prize_rank li{
  display: flex;
  align-items: center;
  gap: 5px;
}

.game_prize_rank li strong{
  flex: 0 0 60px;
  height: 30px;
  border-radius: 5px;
  background: #F2F2F2;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1em;
  font-weight: 700;
}

.game_prize_rank li p{
  margin: 0;
  font-size: 1em;
  font-weight: 500;
  line-height: 1;
  color: #222;
}

.game_today_winner{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #ededed;
}

.game_today_winner strong{
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}

.game_today_winner p{
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #444;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.winner_swiper{
  background: #F2F2F2;
  margin: 0;
  /* margin-bottom: 25px; */
  margin-top: auto;
}

.game_action_btns{
  /* display: flex; */
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  display: none;
}

.game_action_btn{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  width: fit-content;
  min-width: 240px;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity 0.2s ease;
}

.game_action_btn:hover{
  opacity: 0.9;
}

.game_action_btn--light{
  background: var(--point_yellow);
  color: #fff;
}

.game_action_btn--green{
  background: var(--point_main);
  color: #fff;
}

.game_action_btn i{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  flex: 0 0 22px;
}

.game_action_btn--light i{
  background: #fff;
  color: var(--point_yellow);
}

.game_action_btn--green i{
  background: #fff;
  color: var(--point_main);
}

/* game_lull */
.game_lull{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2%;
  padding-bottom: calc(var(--padding)*5);
  border-bottom: 1px solid var(--grey3);
  margin-bottom: calc(var(--padding)*5);
  display: none;
}
.game_lull li{
  background-color: #EFEFEF;
  border-radius: 20px;
  text-align: center;
  height: 175px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
.game_lull li h2{
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1em;
  padding-bottom: calc(var(--padding)*2);
}
.game_lull li p{
  font-size: 1.15em;
  line-height: 1.3em;
}
.winner,
.winner_list{
  padding-bottom: calc(var(--padding)*5);
}
.winner h2,
.warning h2{
  font-size: 1.6em;
  line-height: 1em;
  font-weight: 600;
  padding-bottom: calc(var(--padding)*2.5);
}
.winner_list li,
.warning li{
  font-size: 14px;
  padding: 5px 0;
  line-height: 1.3em;
}
.warning.game_warning{
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.warning.game_warning li{
  padding: 2px 0;
}
.warning li::before{
  content: '-';
  padding-right: 3px;
}
.warning li a{
  font-size: 14px;
  color: #3265D7;
}
.event_steps{
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 25px;
  border-radius: 10px;
  background: #F2F2F2;
  list-style: none;
  margin-bottom: 30px;
}

.event_steps li{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

/* 숫자 뱃지 */
.step_num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ff4b6e;
  color: #fff;
  font-size: 12px;
  line-height: 12px;
  font-weight: 700;
}

/* 텍스트 */
.event_steps p{
  margin: 0;
}
.tab_fin{
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 30px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 50px;
}
.tab_fin .title{
  /* padding-bottom: calc(var(--padding)*2.5); */
}
.tab_fin .data{
  font-size: 0.85em;
}
.tab_fin h2{
  font-size: 1.6em;
  line-height: 1em;
  font-weight: 600;
  padding-bottom: 15px;
}
.tab_fin .rank_item h2{
  padding-bottom: calc(var(--padding)*2.5);
}
.tab_fin .del,
.tab_fin .sel{
  width: 50%;
}
.winner_img{
  max-width: 100%;
  padding-bottom: calc(var(--padding)*1.5);
}
.winner_img img{
  display: block;
  max-width: 100%;
  margin: 0;
}
.reward_list{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 5px;
  list-style: none;
  padding: 0;
  margin: 0;
  padding-bottom: calc(var(--padding)*2);
}
.reward_list.dum_pc{
  grid-template-columns: 1fr 1fr;
}
.reward_list.dum_pc li{
  font-size: 10px;
}
.reward_list li{
  font-size: 15px;
  line-height: 1.4;
}
/*  */
.reward_list{
  display: grid;
}
.reward_list.dum_pc{
  display: none;
}


.tab_fin .spon_slide{
  padding: 0px;
  border: none;
  margin-bottom: 0px;
}


@media (max-width:1000px){
  .reward_list{
    display: grid;
  }
  .reward_list.dum_pc{
    display: none;
  }
}
/*  */


.reward_list li span{
  padding: 5px;
  min-width: 30px;
  display: inline-block;
  background: #F8F6F7;
  border-radius: 5px;
  text-align: center;
}
.reward_list .reward_range{
  grid-column: 1 / -1;
}
.rank_item .ev_tip{
  margin-top: auto;
  font-size: 0.85em;
  line-height: 2em;
  padding-bottom: 50px;
}
.rank_item .ev_tip em{
  opacity: .5;
  word-break: keep-all;
  padding-left: 5px;
}
.ghref{
  background: #3265D7;
  color: #fff;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 1.1em;
  line-height: 1em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}
.tab_fin .rank_list{
  font-size: 13px;
  background: white;
}
.tab_fin .rank_list li:not(:first-child){
  background-color: #F8F6F7;
}
.spon_list{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 20px;
}
.spon_list li{
  max-width: 135px;
}
.spon_list img{
  width: 100%;
}


.plus_lok{
  display: block;
  margin: 20px auto 0;
  padding: 10px 20px;
  font-size: 14px;
  line-height: 1em;
  font-weight: 600;
  cursor: pointer;
}

/* view */
.event_mall_view .back{
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}
.table_view .title{
  text-align: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.table_view .title h2{
  font-weight: bold;
  font-size: clamp(1.1em, 3.5vw, 1.35em);
  line-height: 1.1;
  margin-bottom: 5px;
}
.table_view .title h3{
  font-size: clamp(1.1em, 3.5vw, 1.2em);
  line-height: 1.45;
}
.table_view .table_content{
  padding: 30px 0;
}
.table_view .table_content .content{
  color: #493c35;
  font-size: clamp(0.85em, 3.5vw, 1.15em);
  line-height: 1.45;
  height: auto;
}
.top_button{
  display: none;
}

.left_nav{
  position: relative;
  flex: 1;
  padding: calc(var(--padding)*5) calc(var(--padding)*2);
  box-shadow: 7px -2px 8px 0px rgb(23 29 47 / 7%);
}
.my_table{
  flex: 3;
}
.left_nav .top .my_kind{
  display: inline-block;
  padding: 4px 16px;
  border-radius: 100px;
  border: 1px solid #7a7a7a;
  color: #7a7a7a;
  font-weight: normal;
  margin-bottom: 5px;
}
.left_nav .top .my_info{
  font-size: 1.55rem;
  font-weight: bold;
  line-height: 1.3em;
  padding-bottom: 15px;
}
.left_nav .point_data{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
}
.left_nav .point_data li{
  border: 1px solid #ebebeb;
  color: #7a7a7a;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
}
.left_nav .point_data li.active{
  border-color: var(--point_yellow);
  color: var(--point_yellow);
}
.left_nav .point_data li.active i{
  color: var(--point_yellow);
}
.left_nav .point_data li a{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}
.left_nav .point_data li a i{
  color: #d4d4d4;
  font-size: 0.8em;
}
.left_nav .bottom{
  margin-top: 35px;
  color: #a3a3a3;
}
.left_nav .bottom .point{
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--padding)*2.5);
  color: #a3a3a3;
}
.left_nav .bottom .point .txt{
  font-size: 0.85em;
  line-height: 1;
  font-weight: 500;
}
.left_nav .bottom .point .num{
  font-size: 1.7em;
  line-height: 1.1em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.left_nav .bottom .point .num .p{
  background-color: #d3d3d3;
  color: white;
  padding: 2px 4px;
  border-radius: 4px;
}
.left_nav .bottom .point.red{
  color: var(--point_yellow);
}

/* table */
.mypage_hight{
  min-height: calc(100vh - 250px - 263px);
  margin-top: 108px;
  padding-bottom: 0px;
}
.mypage{
  display: flex;
  justify-content: start;
  align-items: stretch;
}
.my_table{
  width: 100%;
  padding-top: calc(var(--padding)*5);
  padding-left: calc(var(--padding)*5);
}
.my_table .href_link{
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 10px;
  padding-bottom: calc(var(--padding)*1.5);
  font-size: 0.85em;
  color: #777777;
}
.my_table .href_link i{
  font-size: 0.8em;
  color: var(--grey3);
}
.my_table .href_link a{
  transition: .3s;
}
.my_table .href_link a:hover{
  color: var(--point_blue);
}
.point_list{
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  border-top: 1px solid var(--dark);
  /* border-bottom: 1px solid var(--dark); */
  margin-bottom: calc(var(--padding)*5);
}

.point_list .table_row,
.point_list .table_header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 10px;
  border-bottom: 1px solid #e0e0e0;
}
.point_list .table_header{
  background: #f7f7f7;
  font-weight: bold;
  color: #333;
}

.point_list span{
  flex: 1;
  text-align: center;
}
.point_list span.table_type{
  flex: .5;
}
.point_list span.table_type2{
  flex: 1.5;
}
.point_list span em{
  background-color: #d3d3d3;
  color: white;
  padding: 2px 4px;
  border-radius: 4px;
}
.table_date{
  flex: 1.2;
}

.table_type{
  flex: 1;
}

.table_desc{
  flex: 2;
  text-align: left;
  padding-left: 10px;
}

.table_point,
.table_total{
  flex: 1.2;
  font-weight: 600;
}

.table_point.minus{
  color: #e53935;
}

.table_type.out{
  color: #d00;
}
.arow_but{
  display: none;
}
@media screen and (max-width:1000px){
  .mypage_hight{
    margin-top: 55px;
    min-height: calc(100vh - 263px - 55px);
  }
}

@media screen and (max-width:850px){
  .game_sec{
    padding: 35px;
  }
  .game_sec .row{
    gap: 20px;
  }
}
@media screen and (max-width:768px){
  .mypage_hight{
    margin-top: 55px;
    min-height: calc(100vh - 195px - 55px);
    padding-bottom: 50px;
  }
  .ch_game{
    flex-direction: column;
    padding-bottom: 50px;
  }

  .top_board_big{
    height: 220px;
  }
  .top_board_big.side_back{
    height: 180px;
  }
  .top_board_big.pack{
    max-height: 250px;
  }

  .top_board_big.pack .background{
    height: 100%;
  }

  .top_board_big.pack .background img{
    max-height: 250px;
  }

  .top_board_big .gift{
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    min-width: 370px;
    max-width: 480px;
  }

  .top_board_big .gift img{
    width: 100%;
  }

  .top_board_big .rullet{
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    min-width: 280px;
    max-width: 305px;
  }

  .top_board_big .rullet img{
    width: 100%;
  }

  .top_board_big .img_box{
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    min-width: 260px;
    max-width: 280px;
    top: 25%;
  }

  .top_board_big .img_box img{
    width: 100%;
  }

  .top_board_big.pack .img_box{
    width: 70%;
    min-width: auto;
    max-width: 350px;
    top: 25%;
  }

  .top_board_big .top30{
    width: 165px;
    max-width: 110px;
    top: 70%;
  }

  .top_board_big .top30 img{
    display: block;
    width: 100%;
  }

  .game_sec{
    margin: 0 auto 30px;
    padding: 40px;
  }

  .game_sec .row{
    gap: 30px;
  }

  .game_sec .row::after{
    bottom: -22px;
    height: 16px;
  }

  .vitamin_item{
    max-width: 120px;
  }

  .game_list{
    margin: 0 auto;
  }

  .event_steps{
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px 10px;
  }

  .event_steps li{
    white-space: normal;
    font-size: 14px;
    gap: 5px;
  }

  .winner_swiper{
    order: -1;
    margin-bottom: 25px;
  }

  .game_lull,
  .winner,
  .winner_list{
    display: block;
    max-width: 350px;
    margin: 0 auto;
  }
  .warning{
    max-width: 350px;
    display: block;
    margin: 0 auto;
  }
  .game_lull{
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
  }

  .game_lull li{
    position: relative;
    padding: 0;
    padding-left: 15px;
    background: #fff;
    background-color: white;
    text-align: left;
    margin: 0 auto;
    height: auto;
    width: 100%;
    align-items: start;
  }

  .game_lull li::before{
    content: '▶';
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 0.5em;
    color: var(--grey3);
  }

  .game_lull li h2{
    font-size: 18px;
    padding-bottom: 5px;
  }

  .game_lull li p{
    font-size: 15px;
  }

  .game_lull li p br{
    display: none;
  }

  .game_action_btns{
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }

  .game_action_btn{
    min-width: auto;
    width: 100%;
    font-size: 18px;
    justify-content: center;
    padding: 12px 10px;
    line-height: 1em;
  }

  .game_action_btn span strong{
    display: none;
  }

  .winner h2,
  .warning h2{
    padding-bottom: 0;
    font-size: clamp(20px, 6.5vw, 24px);
  }

  .winner .d-flex.just_space,
  .warning .d-flex.just_space{
    padding-bottom: calc(var(--padding)*1.5);
  }

  .winner_list li{
    font-size: 15px;
  }

  .tab_fin{
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .tab_fin .del,
  .tab_fin .sel{
    width: 100%;
  }

  .tab_fin .rank_list{
    font-size: 0.8em;
  }

  .pharm_list{
    position: absolute;
    bottom: 50px;
  }

  .pharm_list2{
    bottom: 0;
  }

  .pharm_list a{
    padding: 8px 16px;
  }

  .pharm_list a img{
    width: 20px !important;
  }

  .pharm_list2 a{
    padding: 8px 16px;
  }

  .pharm_list2 a img{
    width: 20px !important;
  }

  .warning_list{
    font-size: 14px;
    word-break: keep-all
  }

  .mypage{
    flex-direction: column;
  }

  .left_nav{
    padding: calc(var(--padding)*3) 0 0;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    min-width: auto;
    gap: 10px;
    min-height: auto;
    border-bottom: 1px solid var(--border);
    margin-bottom: calc(var(--padding)*2.5);
  }

  .left_nav .bottom{
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: 0.5s ease;
    display: flex;
    flex-direction: column;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
  }

  .left_nav.open .bottom{
    max-height: 500px;
  }

  .arow_but i{
    transition: transform 0.5s ease;
  }

  .left_nav.open .arow_but i{
    transform: rotate(-180deg);
  }

  .left_nav .point_data{
    gap: 2%;
    justify-content: space-between;
    font-size: clamp(14px, 2vw, 14px);
    position: relative;
    cursor: pointer;
    max-width: 200px;
    margin: 0 auto;
    border: 1px solid var(--point_yellow);
    border-radius: 10px;
  }

  .left_nav .point_data li.active a i{
    visibility: visible;
    position: absolute;
    top: 10px;
    transform: rotate(90deg);
    right: 5%;
  }

  .left_nav .point_data.open li.active i{
    transform: rotate(270deg);
  }

  .left_nav .point_data li a i{
    visibility: hidden;
    transition: .3s;
  }

  .left_nav .top .my_kind{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  .left_nav .top .my_info{
    text-align: center;
  }

  .left_nav .top .my_info br{
    display: none;
  }

  .my_table{
    padding: 0;
  }

  .left_nav .point_data li{
    width: 100%;
    display: none;
    border: none;
  }

  .left_nav .point_data li.active{
    display: block;
  }

  .left_nav .point_data li a{
    padding: 8px 12px;
    justify-content: center;
  }

  .left_nav .point_data.open li{
    display: block;
    background: #fff;
  }

  .left_nav .point_data.open{
    z-index: 10;
    background: #fff;
  }

  .left_nav .top{
    padding-bottom: calc(var(--padding)*2.5);
    height: 140px;
    position: relative;
  }

  .left_nav .history_wrap{
    display: flex;
    order: 2;
    padding-bottom: calc(var(--padding)*1.5);
    gap: 3%;
  }

  .left_nav .history_wrap .point{
    flex: 1;
  }

  .left_nav .bottom .point{
    align-items: center;
    padding-bottom: calc(var(--padding));
    padding: 10px;
    border-radius: 6px;
  }

  .left_nav .bottom .point.red{
    order: 1;
    background: white;
  }

  .left_nav .bottom .point .txt{
    padding-bottom: 5px;
  }

  .arow_but{
    display: block;
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--dark);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
  }

  .point_list{
    min-width: auto;
  }

  .winner_img{
    margin: 0 auto;
  }
  .spon_slide .h2q{
    text-align: left;
  }
}

@media (max-width:500px){
  .top_board_big.pack .img_box.trinb{
    width: 90%;
    top: 30%;
  }
}

@media screen and (max-width:480px){
  .game_sec{
    gap: 25px;
    padding: 30px;
  }

  .game_sec .row{
    gap: 25px;
  }

  .game_sec .row::after{
    bottom: -18px;
    height: 14px;
  }

  .vitamin_item{
    max-width: 95px;
  }

  .tab_fin .rank_list{
    font-size: 0.7em;
  }

  .reward_list li{
    font-size: 0.75em;
    white-space: nowrap;
    line-height: 1.4;
  }


  .warning_list{
    font-size: 0.85em;
  }

  .left_nav .bottom .point .txt{
    font-size: 0.75em;
  }

  .left_nav .bottom .point .num{
    font-size: 1.35em;
  }

  .point_list .table_row,
  .point_list .table_header{
    padding: 8px 6px;
  }

  .point_list{
    font-size: 11px;
  }

  .table_desc{
    padding-left: 5px;
  }

  .my_table .href_link{
    font-size: 0.75em;
  }

  .rank_item .ev_tip{
    font-size: 0.75em;
  }
  .vitamin_click{
    font-size: 14px;
    padding: 8px 16px;
  }
}

@media (max-width:460px){
  .top_board_big.pack .img_box.trinb{
    top: 30%;
    width: 95%;
  }
}

@media screen and (max-width:400px){
  .top_board_big.pack .img_box{
    top: 31%;
  }
  .reward_list li{
    font-size: 0.625em;
    line-height: 1.4;
  }

  .reward_list li span{
    min-width: 28px;
  }

  .top_board_big .top30{
    top: 60%;
  }

  .pharm_list{
    width: 110px;
    font-size: 14px !important;
    right: -10px;
    bottom: -7px;
  }

  .pharm_list2{
    width: 110px;
    font-size: 14px !important;
    right: -10px;
    bottom: -50px;
  }
}

@media (max-width:340px){
  .reward_list{
    gap: 4px 6px;
  }

  .reward_list li{
    font-size: 0.55em;
  }
}






/* 알약 효과 */
/* 알약 파티클 효과 */
.vitamin_item{
  overflow: visible;
}

.vitamin_fx{
  position: absolute;
  top: 30%;              /* 기존 bottom 기준 → top 기준으로 변경 */
  left: 50%;
  width: 100%;
  height: 0;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;            /* body보다 뒤 */
}

.vitamin_particle{
  position: absolute;
  left: 50%;
  top: 0;                /* 기준점 */
  width: 22%;
  max-width: 30px;
  aspect-ratio: 1 / 1.45;
  opacity: 0;
  transform: translate(-50%, 0) scale(0.6) rotate(0deg);
  will-change: transform, opacity;
  z-index: 0;
}

.vitamin_particle::before{
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.35) 18%,
      transparent 20%
    ),
    linear-gradient(
      180deg,
      var(--pill-light, #8fe388) 0%,
      var(--pill-dark, #34b94d) 100%
    );
  box-shadow:
    inset 0 -2px 4px rgba(0,0,0,0.12),
    0 6px 10px rgba(0,0,0,0.12);
}

.vitamin_particle::after{
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1px;
  background: rgba(255,255,255,0.35);
  transform: translateY(-50%);
}

/* 당첨시 실행 */
.vitamin_item.is-burst .vitamin_particle{
  animation: vitaminBurstUp var(--dur, 1.1s) cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes vitaminBurstUp{
  0%{
    opacity: 0;
    transform: translate(-50%, 10%) scale(0.5);
  }

  20%{
    opacity: 1;
  }

  100%{
    opacity: 0;
    transform:
      translate(
        calc(-50% + var(--x, 0px)),
        calc(-15% - var(--y, 10%))   /* 위로 -15% 상승 */
      )
      scale(1)
      rotate(var(--rot, 0deg));
  }
}



.new_side_pont{
  position: fixed;
  top: 400px;
  left: calc(50% + 550px);
  color: #a3a3a3;
  padding: calc(var(--padding)*1) calc(var(--padding)*2);
  border: 2px solid #EFEFEF;
  border-radius: 6px;
  transition: top 0.3s ease; /* 핵심 */
}
.new_side_pont .point{
  padding: calc(var(--padding)*1) 0 calc(var(--padding)*1);
  border-bottom: 1px solid #EFEFEF;
}
.new_side_pont .point.red{
  color: #FF4375;
}
.new_side_pont .point.bordn{
  border: none;
}
.new_side_pont .txt{
  display: block;
  font-size: 0.85em;
  line-height: 1;
  font-weight: 500;
  padding-bottom: 5px;
}
.new_side_pont .num{
  font-size: 1.55em;
  line-height: 1.1em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.new_side_pont .num .p{
  background-color: #d3d3d3;
  color: white;
  padding: 0px 4px;
  border-radius: 4px;
}


/* New Page */
.top_board_big.pack .new_rank_tt{
  /* transform: translateX(5%); */
  max-width: 650px;
}
.top_board_big.pack .new_rank_tt img{
  display: block;
  width: 100%;
}
@media (max-width: 768px){
  .top_board_big.pack .new_rank_tt{
    max-width: 480px;
    width: 70%;
  }
  .top_board_big.pack .new_rank_tt img{
    display: block;
    width: 100%;
  }
}
@media (max-width: 520px){
  .top_board_big.pack .new_rank_tt{
    display: block;
    width: 85%;
  }
}
.diber{
  margin-top: calc(var(--padding)*6);
  background-color: #F2F2F2;
  border-radius: 10px;
  font-size: clamp(15px, 3.5vw, 17px);
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: 20px;
  margin-bottom: calc(var(--padding)*3.5);
}
.diber.dob{
  flex-direction: column;
  justify-content: start;
  align-items: start;
  padding: 20px 2%;
  margin-top: calc(var(--padding)*2.5);
  gap: 12px;
  margin-bottom: calc(var(--padding)*3.5);
}
.diber.dob{
  padding-left: 22%;
}
@media (max-width: 1000px){
  .diber.dob{
      padding: 20px 2%;
  }
}
.diber.dob li span{
  color: rgb(94, 94, 94);
  font-size: 0.85em;
}
@media (max-width: 480px){
  .diber.dob{
      padding: 15px 10px;
      gap: 8px;
  }
}
.diber li{
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 5px;
  line-height: 1.1em;
}
.diber li em{
  border-radius: 50%;
  background-color: var(--point_yellow);
  color: var(--white);
  width: 25px;
  height: 25px;
  display: flex;
  flex: 0 0 25px;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px){
  .diber{
    padding: 15px;
    margin-top: calc(var(--padding)*3);
    flex-direction: column;
    gap: 10px;
    font-size: clamp(0.85em, 2.5vw, 1em);
  }
}
