@charset "utf-8";

.header_list {
  left: 0;
  transform: translateX(0);
}
/* wrap */
/* .bg_body { background:url("../img/bg_powerball.jpg"); background-position: center; background-size: cover;
background-repeat: no-repeat; height:100%; background-attachment:fixed;} */
.bg_body {
  background: #212121;
}
.wrap {
  width: 100%;
  max-width: 1920px;
  margin: auto;
}
.select_powerballbox {
  height: calc(100vh - 50px);
  height: calc(100svh - 50px);
}
.lotto_header {
  max-width: 1920px;
}
.lotto_powerboll {
  width: 100%;
  padding: 20px;
}

/*번호 선택*/
.lotto_powerboll input[type="checkbox"]:checked + span {
  color: var(--white);
  background: radial-gradient(circle at top, #2e80ed, #2e80ed, var(--white));
}
.lotto_powerboll input[type="checkbox"] {
  display: none;
}
.lotto_powerboll li label {
  box-shadow: 6px 6px 6px -4px rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}
.lotto_powerboll li label span {
  font-family: "lato";
  display: flex;
  justify-content: center;
  align-items: center;
  color: #212121;
  background: radial-gradient(
    circle at top,
    var(--white),
    var(--white),
    var(--white)
  );
  border-radius: 50%;
  border: none;
  width: 44px;
  height: 44px;
  font-size: 16px;
  text-align: center;
  word-break: keep-all;
  word-wrap: break-word;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 5px #000a inset;
  transition-duration: 0.3s;
}
.lotto_powerboll.bonustab li {
  margin: 0 auto;
}

/*보너스번호 선택*/
.bonustab input[type="checkbox"]:checked + span {
  color: var(--white);
  background: radial-gradient(circle at top, #e11d00, #fd3a1d, var(--white));
  box-shadow: none;
}
.bonustab input[type="checkbox"] {
  display: none;
}

/* 내가 선택한 값이 보여지는 영역 */
.powerboll_select {
  display: flex;
  justify-content: center;
  margin: 10px 0;
  gap: 4px;
}
.powerboll_btn {
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 20px;
  padding: 0 20px;
}
.powerboll_select li p,
.bonus_select {
  font-size: 18px;
  border: none;
  background: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "lato";
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.powerboll_select li .plus_select {
  display: inline-block;
  font-family: "lato";
  font-weight: 700;
  margin: 0 10px;
  color: var(--white);
  font-size: 24px;
}

/*내가 선택한 번호 box*/
.powerball_select_numbox {
  position: fixed;
  top: 50px;
  left: 0;
  background: #000;
  width: 100%;
  z-index: 99;
}
.powerboll_select_wrap .height {
  height: 87px;
  background: #000;
}

/*내가 선택한 번호 Text*/
.my_choice_num {
  color: var(--white);
  font-size: 12px;
  padding: 10px 0 0 10px;
  font-weight: 700;
  font-family: "lato";
}
.bonus_select.bonus_active {
  color: var(--white);
  background: radial-gradient(circle at top, #e11d00, #fd3a1d, #101010);
  box-shadow: none;
  border: none;
}

/*상단 찍히는 번호 색상값 230830 - 신정운*/
.powerboll_select li p.num_active {
  color: var(--white);
  background: radial-gradient(circle at top, #2e80ed, #2e80ed, #101010);
  border: none;
}
/*상단 내가 선택한 번호 230830 - 신정운 */
.powerboll_select li {
  margin-right: 8px;
}
.powerboll_select li.no_m {
  margin-right: 0;
}

/* bg만 opactiy 처리 - 230830 신정운 */
.lotto_powerboll {
  background-color: var(--white);
  background-color: rgba(3, 82, 221, 0.7);
  width: calc(100% - 34px);
  margin: 16px auto 0;
  border-radius: 16px;
}
.lotto_powerboll.bonustab {
  background-color: var(--white);
  background-color: rgba(245, 50, 47, 0.7);
  margin: 16px auto 0;
  border-radius: 16px;
  width: calc(100% - 34px);
}

/* 하단파워볼 구매 초기화 버튼색상 왼쪽버튼 초기화, 오른쪽버튼 결제하기 - 230830 신정운 */
.choice_btnwrap {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background: #000;
  padding: 16px;
}
.powerboll_btn button {
  font-family: "lato";
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
  height: 50px;
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.16);
  border: none;
  border-radius: 16px;
  color: var(--white);
}
.powerboll_btn button:nth-child(1) {
  background: linear-gradient(to right, #7b7b7b 0%, #393939 100%);
}
.powerboll_btn button:nth-child(2) {
  background: linear-gradient(to right, #ff413e 0%, #be0008 100%);
}

/* 하단 초기화 버튼 fixed 상태에서 margin, padding으로 밀지 않고 빈박스로 간격 유지 - 230830 신정운 */
.bottom_box {
  height: 87px;
}

/*list 페이지*/
.bg_gray {
  background: #ededed;
}
.list_powerball {
  width: 100%;
  height: 100%;
  max-width: 768px;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--white);
}
.height_box {
  height: 120px;
}

.powerball_img {
  width: 100%;
}
.powerball_img img {
  max-width: 70%;
  margin: 0 auto;
}
.raffle_korea {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin: 30px 0 0;
  font-family: "lato";
}
.prize_amount {
  width: 100%;
  margin-top: 20px;
  text-align: center;
  font-weight: 700;
  font-family: "lato";
}
.prize_amount li:nth-child(1) {
  font-size: 30px;
}
.prize_amount li:nth-child(2) {
  color: #e31d2e;
  font-size: 34px;
  margin: 10px 0;
}
.prize_amount li:nth-child(3) {
  font-size: 28px;
}
.wrap_nofooter {
  height: calc(100vh - 50px);
  height: calc(100svh - 50px);
}
.buy_powerballbtn {
  width: 100%;
  margin-top: 30px;
  display: flex;
}
.buy_powerballbtn button {
  width: 100%;
  font-size: 20px;
  font-family: "lato";
  background: #212121;
}

.eng {
  font-family: "lato";
}
.history_powerball {
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  height: 100%;
}
.history_box {
  border: 1px solid #d5d5d5;
}
.history_box li p {
  font-family: "lato";
  font-weight: 700;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.history_box li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ededed;
  padding: 10px 20px;
  min-height: 53px;
  font-family: "lato";
  color: var(--white);
}
.history_box li:last-child {
  border-bottom: none;
}
.num_chk {
  background: radial-gradient(circle at top, #1162f8, #1162f8, #1162f8);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  border: none;
}
.bonus_num_chk {
  background: radial-gradient(circle at top, #e31d2e, #e31d2e, #e31d2e);
}
.buynumbox span {
  margin-right: 6px;
}
.buynumbox span:last-child {
  margin-right: 0;
}
.buynumbox {
  display: flex;
  align-items: center;
}
.num_chkplus {
  font-size: 20px;
  position: relative;
  top: -2px;
}
.powerballno_data {
  width: 100%;
  height: 100%;
  font-family: "lato";
  text-align: center;
  font-weight: 700;
  font-size: 20px;
}
.winning_wrap {
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  background: var(--white);
}
.winning_list {
  padding: 20px 0;
  white-space: nowrap;
  overflow-x: auto;
}
.winning_list table th,
.winning_list table td {
  border: 1px solid #ddd;
  padding: 4px;
  font-weight: 700;
  font-family: "lato";
  font-size: 15px;
  color: #212121;
}
.winning_list table th span {
  display: flex;
  justify-content: center;
  align-items: center;
}
.winning_list table td {
  padding: 10px 4px;
}
.winning_list table {
  width: 100%;
  border: 0;
  border-spacing: 0px;
  border-collapse: collapse;
  text-align: center;
}
.blue_winning {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: rgba(3, 82, 221, 0.7);
  border-radius: 50%;
}
.red_winning {
  display: inline-block;
  background: rgba(245, 50, 47, 0.7);
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.winning_list_color {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.winning_list_color span {
  margin-right: 4px;
}
.winning_list_color span:last-child {
  margin-right: 0;
}
.winning_info {
  padding: 20px 14px;
  color: #212121;
}
.winning_infotxt {
  padding-left: 10px;
}
.winning_infotxt li {
  list-style: disc;
  margin-bottom: 10px;
  font-size: 15px;
  word-break: break-all;
}
.winning_infotxt li:last-child {
  margin-bottom: 0;
}
.winning_infotxt li,
.winning_info p {
  font-family: "lato";
  font-weight: 600;
}
.no_scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.no_scroll::-webkit-scrollbar {
  display: none;
}
.lotto_powerboll_numbox {
  --borderWidth: 10px;
  outline: 10px solid transparent;
  position: relative;
  border-radius: var(--borderWidth);
}
.lotto_powerboll_numbox:after {
  content: "";
  position: absolute;
  top: calc(-1 * var(--borderWidth));
  left: calc(-1 * var(--borderWidth));
  height: calc(100% + var(--borderWidth) * 2);
  width: calc(100% + var(--borderWidth) * 2);
  background: linear-gradient(
    60deg,
    #f148fb,
    #08f7fe,
    #ebf875,
    #ff1493,
    #00feca
  );
  border-radius: calc(2 * var(--borderWidth));
  z-index: -1;
  animation: animatedgradient 3s ease alternate infinite;
  background-size: 300% 300%;
}
.taraball_winning {
  background: var(--main);
  color: var(--gray0c);
  border-radius: 6px;
  padding: 0 10px;
  margin-top: 10px;
}
.taraball_winning a {
  font-family: "lato";
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.taraball_winning img {
  width: 40px;
  height: 40px;
  margin-left: 10px;
}

/*231011 리스트 페이지 디자인 추가 작업*/
.list_powerball_introbg {
  width: 100%;
  height: auto;
  background: url("https://taraplanet.net/lotto/assets/img/intro/intro_bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 0;
  max-width: 768px;
  margin: 0 auto;
}
.powerball_intro_img img {
  max-width: 100%;
}
.buy_powerballbtn {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-row-gap: 10px;
  grid-column-gap: 10px;
  margin-top: 0;
}

.button_gra {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  background-image: linear-gradient(
    to right,
    #ff8008 0%,
    #ffc837 51%,
    #ff8008 100%
  );
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
  display: block;
  color: var(--white);
}
.powerballno_data {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 100px);
}
.box_height_lotto {
  height: calc(var(--svh, 1svh) * 100);
  height: calc(var(--vh, 1vh) * 100);
}
.box_height_lotto_j {
  position: fixed;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

@keyframes animatedgradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.week_onebox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
.week_onebox select {
  min-width: 90px;
  text-align: center;
}
.winnerinfo {
  font-weight: 700;
  font-size: 20px;
  color: #e31d2e;
}
.h100 {
  height: 100%;
}
/*미디어 쿼리*/
@media screen and (min-width: 768px) {
  .lotto_powerboll {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px 12px;
  }
  .lotto_powerboll.bonustab {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .lotto_powerboll li label span {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }
  .powerboll_select li p,
  .bonus_select {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }
  .powerboll_select_wrap .height {
    height: 120px;
  }
  .my_choice_num {
    font-size: 16px;
  }
  .powerboll_select {
    justify-content: space-evenly;
  }
}

@media screen and (max-width: 767px) {
  .lotto_powerboll {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px 10px;
    place-items: center;
  }
  .lotto_powerboll.bonustab {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px 10px;
    place-items: center;
  }
  .powerball_img img {
    max-width: 95%;
  }
  .raffle_korea {
    font-size: 22px;
  }
  .prize_amount li:nth-child(1) {
    font-size: 24px;
  }
  .prize_amount li:nth-child(2) {
    font-size: 26px;
  }
  .prize_amount li:nth-child(3) {
    font-size: 22px;
  }
  .buy_powerballbtn button {
    font-size: 20px;
  }
}

@media screen and (max-width: 550px) {
  .winning_list table td {
    font-size: 14px;
  }
  .winning_listamount .red_winning,
  .winning_listamount .blue_winning {
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
  }
  .red_winning,
  .blue_winning {
    width: 13px;
    height: 13px;
  }
}

@media screen and (max-width: 450px) {
  .history_box li {
    flex-wrap: wrap;
  }
  .history_box li p:nth-child(1) {
    width: 100%;
    margin-bottom: 6px;
  }
  /* .buy_powerballbtn button {font-size:19px;} */
}

@media screen and (max-width: 375px) {
  .lotto_powerboll,
  .lotto_powerboll.bonustab {
    grid-template-columns: repeat(5, 1fr);
  }
  .buynumbox {
    flex-wrap: wrap;
  }
  .buy_powerballbtn button {
    font-size: 17px;
  }
  .taraball_winning a {
    font-size: 16px;
  }
}
