@charset "UTF-8";
.ball {
  background: 50% / cover no-repeat url(../images/bg/ball.svg);
  border-radius: 50px;
  display: block;
  font-size: 16px;
  font-weight: 700;
  height: 34px;
  letter-spacing: 1px;
  line-height: 34px;
  width: 34px;
}
@media (min-width: 768px) {
  .ball {
    font-size: 20px;
    height: 48px;
    letter-spacing: 2px;
    line-height: 48px;
    width: 48px;
  }
}
.color-super {
  background: 50% / cover no-repeat url(../images/bg/ball_super.svg);
  color: #fff;
}
.color-super.ball {
  position: relative;
}
.color-super.ball.secondary-area,
.color-super.ball.special-number {
  margin-top: 20px;
}
@media (min-width: 768px) {
  .color-super.ball.secondary-area,
  .color-super.ball.special-number {
    margin-top: 34px;
  }
}
.color-super.ball.secondary-area:before {
  content: "第二區";
}
.color-super.ball.special-number:before {
  content: "特別號";
}
.color-super.ball.secondary-area:before,
.color-super.ball.special-number:before {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  left: 50%;
  letter-spacing: 1px;
  line-height: 1;
  min-width: -moz-max-content;
  min-width: max-content;
  position: absolute;
  top: 0;
  transform: translate(-50%, -150%);
}
@media (min-width: 768px) {
  .color-super.ball.secondary-area:before,
  .color-super.ball.special-number:before {
    font-size: 16px;
    line-height: 1.4;
  }
}
.color-bigSmall {
  background: 50% / cover no-repeat url(../images/bg/ball_big_small.svg);
}
.color-singleDouble {
  background: 50% / cover no-repeat url(../images/bg/ball_single_double.svg);
  color: #fff;
}
.custom-container {
  margin-inline: auto !important;
  width: calc(100vw - 32px) !important;
}
@media (min-width: 768px) {
  .custom-container {
    width: 90vw !important;
  }
}
@media (min-width: 1024px) {
  .custom-container {
    max-width: 1200px !important;
    width: 75vw !important;
  }
}
.carousel-card {
  padding: 0 28px;
  position: relative;
}
@media (min-width: 768px) {
  .carousel-card {
    padding: 0 32px;
  }
}
.carousel-card__header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}
.swiper {
  padding: 0 4px;
}
.swiper-slide {
  height: auto;
}
.swiper-pagination__wrap {
  margin-left: auto;
}
.swiper-pagination {
  position: relative;
  z-index: 0;
}
.swiper-pagination .swiper-pagination-bullet {
  background-color: #fff;
  border-radius: 10px;
  height: 2px;
  opacity: 1;
  width: 16px;
}
@media (min-width: 768px) {
  .swiper-pagination .swiper-pagination-bullet {
    height: 4px;
    width: 30px;
  }
}
.swiper-pagination .swiper-pagination-bullet-active {
  background-color: #ff8550;
}
.carousel-card__content {
  position: relative;
}
.carousel-card-navigation {
  display: block;
  height: 100%;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
.carousel-card-navigation > * {
  align-items: center;
  cursor: pointer;
  display: flex;
  height: 100%;
  pointer-events: all;
  position: absolute;
  top: 0 !important;
}
.carousel-card-navigation .swiper-button-prev {
  align-items: center;
  display: flex;
  justify-content: center;
  left: 0;
  transform: translate(-100%);
}
.carousel-card-navigation .swiper-button-prev:after {
  content: none;
}
.carousel-card-navigation .swiper-button-prev img {
  height: 28px;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  width: 28px;
}
@media (min-width: 768px) {
  .carousel-card-navigation .swiper-button-prev img {
    height: 32px;
    width: 32px;
  }
}
.carousel-card-navigation .swiper-button-next {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 0;
  right: 0;
  transform: translate(100%);
}
.carousel-card-navigation .swiper-button-next:after {
  content: none;
}
.carousel-card-navigation .swiper-button-next img {
  height: 28px;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  width: 28px;
}
@media (min-width: 768px) {
  .carousel-card-navigation .swiper-button-next img {
    height: 32px;
    width: 32px;
  }
}
.carousel-card-navigation .swiper-button-disabled {
  display: none;
}
.ball {
  background: 50% / cover no-repeat url(../images/bg/ball.svg);
  border-radius: 50px;
  display: block;
  font-size: 16px;
  font-weight: 700;
  height: 34px;
  letter-spacing: 1px;
  line-height: 34px;
  width: 34px;
}
@media (min-width: 768px) {
  .ball {
    font-size: 20px;
    height: 48px;
    letter-spacing: 2px;
    line-height: 48px;
    width: 48px;
  }
}
.color-super {
  background: 50% / cover no-repeat url(../images/bg/ball_super.svg);
  color: #fff;
}
.color-super.ball {
  position: relative;
}
.color-super.ball.secondary-area,
.color-super.ball.special-number {
  margin-top: 20px;
}
@media (min-width: 768px) {
  .color-super.ball.secondary-area,
  .color-super.ball.special-number {
    margin-top: 34px;
  }
}
.color-super.ball.secondary-area:before {
  content: "第二區";
}
.color-super.ball.special-number:before {
  content: "特別號";
}
.color-super.ball.secondary-area:before,
.color-super.ball.special-number:before {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  left: 50%;
  letter-spacing: 1px;
  line-height: 1;
  min-width: -moz-max-content;
  min-width: max-content;
  position: absolute;
  top: 0;
  transform: translate(-50%, -150%);
}
@media (min-width: 768px) {
  .color-super.ball.secondary-area:before,
  .color-super.ball.special-number:before {
    font-size: 16px;
    line-height: 1.4;
  }
}
.color-bigSmall {
  background: 50% / cover no-repeat url(../images/bg/ball_big_small.svg);
}
.color-singleDouble {
  background: 50% / cover no-repeat url(../images/bg/ball_single_double.svg);
  color: #fff;
}
.custom-container {
  margin-inline: auto !important;
  width: calc(100vw - 32px) !important;
}
@media (min-width: 768px) {
  .custom-container {
    width: 90vw !important;
  }
}
@media (min-width: 1024px) {
  .custom-container {
    max-width: 1200px !important;
    width: 75vw !important;
  }
}
#canvas-cover {
  background-repeat: no-repeat;
  background-size: 100%;
  margin: auto;
  max-width: 600px;
  width: 100%;
}
@media (min-width: 768px) {
  #canvas-cover {
    max-height: 60vh;
    width: auto;
  }
}
.ball {
  background: 50% / cover no-repeat url(../images/bg/ball.svg);
  border-radius: 50px;
  display: block;
  font-size: 16px;
  font-weight: 700;
  height: 34px;
  letter-spacing: 1px;
  line-height: 34px;
  width: 34px;
}
@media (min-width: 768px) {
  .ball {
    font-size: 20px;
    height: 48px;
    letter-spacing: 2px;
    line-height: 48px;
    width: 48px;
  }
}
.color-super {
  background: 50% / cover no-repeat url(../images/bg/ball_super.svg);
  color: #fff;
}
.color-super.ball {
  position: relative;
}
.color-super.ball.secondary-area,
.color-super.ball.special-number {
  margin-top: 20px;
}
@media (min-width: 768px) {
  .color-super.ball.secondary-area,
  .color-super.ball.special-number {
    margin-top: 34px;
  }
}
.color-super.ball.secondary-area:before {
  content: "第二區";
}
.color-super.ball.special-number:before {
  content: "特別號";
}
.color-super.ball.secondary-area:before,
.color-super.ball.special-number:before {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  left: 50%;
  letter-spacing: 1px;
  line-height: 1;
  min-width: -moz-max-content;
  min-width: max-content;
  position: absolute;
  top: 0;
  transform: translate(-50%, -150%);
}
@media (min-width: 768px) {
  .color-super.ball.secondary-area:before,
  .color-super.ball.special-number:before {
    font-size: 16px;
    line-height: 1.4;
  }
}
.color-bigSmall {
  background: 50% / cover no-repeat url(../images/bg/ball_big_small.svg);
}
.color-singleDouble {
  background: 50% / cover no-repeat url(../images/bg/ball_single_double.svg);
  color: #fff;
}
.custom-container {
  margin-inline: auto !important;
  width: calc(100vw - 32px) !important;
}
@media (min-width: 768px) {
  .custom-container {
    width: 90vw !important;
  }
}
@media (min-width: 1024px) {
  .custom-container {
    max-width: 1200px !important;
    width: 75vw !important;
  }
}
.search-bar {
  align-items: flex-start;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  position: relative;
}
@media (min-width: 768px) {
  .search-bar {
    flex-direction: row;
  }
}
.search-bar > img {
  align-self: center;
  height: auto;
  width: 40%;
}
@media (min-width: 768px) {
  .search-bar > img {
    height: 100px;
    width: auto;
  }
}
.search-bar > div:not(:last-child) {
  flex: 1;
  width: 100%;
}
.search-bar h3 {
  font-size: 16px;
  letter-spacing: 1px;
  margin: 0 0 8px;
}
.search-bar .search {
  margin: 12px auto auto;
  text-align: center;
  width: auto;
}
@media (min-width: 768px) {
  .search-bar .search {
    margin: 0;
    width: 88px;
  }
}
.search-bar .tip {
  color: #797979;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 24px;
}
.search-bar .empty {
  display: none;
  visibility: hidden;
}
@media (min-width: 768px) {
  .search-bar .empty {
    display: block;
  }
}
.bg-wave {
  background-color: #fffcf3;
  height: 130px;
  width: 100%;
}
@media (min-width: 768px) {
  .bg-wave {
    height: 30px;
  }
}
.game-on-sale {
  background-color: #ffe87d;
  position: relative;
}
@media (min-width: 768px) {
  .game-on-sale {
    background-color: #fffcf3;
    background-image: url(../images/bg/green_triangle.svg),
      url(../images/bg/wave_1.png);
    background-position: left 16px bottom 40px, bottom;
    background-repeat: no-repeat;
    background-size: 56px, 100vw 100px;
  }
}
.game-on-sale:before {
  background-image: url(../images/bg/green_triangle.svg),
    url(../images/bg/wave_1.png);
  background-position: left 16px top 0, bottom;
  background-repeat: no-repeat;
  background-size: 44px, 100vw 100px;
  content: "";
  height: 110px;
  left: 0;
  position: absolute;
  top: -110px;
  width: 100vw;
}
@media (min-width: 768px) {
  .game-on-sale:before {
    display: none;
  }
}
.game-on-sale h2 {
  color: #2e2e2e;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 28px;
  text-align: center;
}
.game-on-sale .list {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  padding: 20px 0 12px;
}
@media (min-width: 768px) {
  .game-on-sale .list {
    gap: 24px;
    grid-template-columns: repeat(4, 1fr);
  }
}
.game-on-sale .list .card {
  background-color: #fff;
  border: 1px solid #dadada;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.game-on-sale .list .card > div:first-child {
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 10px 10px 0 0;
  display: flex;
  flex: 1;
  justify-content: center;
  padding: 20px;
}
.game-on-sale .list .card > div:first-child img {
  max-height: calc(37.5vw - 12px);
}
@media (min-width: 768px) {
  .game-on-sale .list .card > div:first-child img {
    max-height: calc(18.75vw - 72px);
  }
}
.game-on-sale .list .card > div:nth-child(2) {
  padding: 10px 6px 8px;
  text-align: center;
}
.game-on-sale .list .card > div:nth-child(2) > div:first-child,
.game-on-sale
  .list
  .card
  > div:nth-child(2)
  > div:nth-child(2) {
  color: #2e2e2e;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 24px;
}
@media (min-width: 768px) {
  .game-on-sale
    .list
    .card
    > div:nth-child(2)
    > div:first-child,
  .game-on-sale
    .list
    .card
    > div:nth-child(2)
    > div:nth-child(2) {
    line-height: 28px;
  }
}
.game-on-sale
  .list
  .card
  > div:nth-child(2)
  > div:nth-child(3) {
  color: #797979;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 24px;
  padding: 0 0 8px;
}
@media (min-width: 768px) {
  .game-on-sale
    .list
    .card
    > div:nth-child(2)
    > div:nth-child(3) {
    font-size: 16px;
    line-height: 28px;
    padding: 0 0 12px;
  }
}
.game-on-sale
  .list
  .card
  > div:nth-child(2)
  > div:nth-child(4) {
  background: linear-gradient(
      0deg,
      rgba(244, 15, 143, 0.08),
      rgba(244, 15, 143, 0.08)
    ),
    #fff;
  border-radius: 6px;
  padding: 7px 5px;
}
.game-on-sale
  .list
  .card
  > div:nth-child(2)
  > div:nth-child(4)
  > div:first-child {
  color: #797979;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 24px;
}
.game-on-sale
  .list
  .card
  > div:nth-child(2)
  > div:nth-child(4)
  > div:nth-child(2) {
  color: #f40f8f;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 28px;
}
@media (min-width: 768px) {
  .game-on-sale
    .list
    .card
    > div:nth-child(2)
    > div:nth-child(4)
    > div:nth-child(2) {
    font-size: 28px;
  }
}
.dialog-body > div:first-child {
  background-color: #ffe361;
  padding: 32px 12px;
  position: relative;
}
@media (min-width: 768px) {
  .dialog-body > div:first-child {
    padding: 32px 32px 84px;
  }
}
.dialog-body > div:first-child .swiper-img-content {
  padding: 0 0 5%;
}
@media (min-width: 768px) {
  .dialog-body > div:first-child .swiper-img-content {
    padding: 12px 0 44px;
  }
}
.dialog-body > div:first-child > div:nth-child(2) {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 100%;
}
@media (min-width: 768px) {
  .dialog-body > div:first-child > div:nth-child(2) {
    bottom: 84px;
    position: absolute;
    right: 32px;
    width: auto;
  }
}
.dialog-body > div:first-child > div:nth-child(2) button {
  border: 1px solid #f40f8f;
  color: #f40f8f;
  width: auto;
}
.dialog-body > div:nth-child(2) {
  align-items: center;
  background-color: #fff9db;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  padding: 20px 12px;
}
@media (min-width: 768px) {
  .dialog-body > div:nth-child(2) {
    padding: 0 32px 40px;
  }
}
.dialog-body > div:nth-child(2) .card-1 {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 14px #704b031a;
  padding: 20px 16px;
  position: relative;
  width: 100%;
}
@media (min-width: 768px) {
  .dialog-body > div:nth-child(2) .card-1 {
    margin-top: -66px;
  }
}
.dialog-body > div:nth-child(2) .card-1 > div:first-child {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
@media (min-width: 768px) {
  .dialog-body > div:nth-child(2) .card-1 > div:first-child {
    flex-direction: row;
  }
}
.dialog-body
  > div:nth-child(2)
  .card-1
  > div:first-child
  > div:first-child {
  color: #2e2e2e;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 43px;
  text-align: center;
}
@media (min-width: 768px) {
  .dialog-body
    > div:nth-child(2)
    .card-1
    > div:first-child
    > div:first-child {
    font-size: 36px;
    letter-spacing: 5px;
    line-height: 48px;
  }
}
@media (min-width: 1024px) {
  .dialog-body
    > div:nth-child(2)
    .card-1
    > div:first-child
    > div:first-child {
    font-size: 40px;
    letter-spacing: 7px;
    line-height: 52px;
  }
}
.dialog-body
  > div:nth-child(2)
  .card-1
  > div:first-child
  > div:nth-child(2) {
  background: linear-gradient(
      0deg,
      rgba(255, 133, 80, 0.15),
      rgba(255, 133, 80, 0.15)
    ),
    #fff;
  border-radius: 43px;
  color: #ff8550;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 28px;
  padding: 4px 16px;
}
@media (min-width: 768px) {
  .dialog-body
    > div:nth-child(2)
    .card-1
    > div:first-child
    > div:nth-child(2) {
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 32px;
    padding: 12px 24px;
  }
}
.dialog-body > div:nth-child(2) .card-1 > div:nth-child(2) {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 0;
  justify-content: center;
  padding: 20px 0 0;
}
@media (min-width: 768px) {
  .dialog-body > div:nth-child(2) .card-1 > div:nth-child(2) {
    flex-direction: column;
    gap: 4px;
  }
}
.dialog-body
  > div:nth-child(2)
  .card-1
  > div:nth-child(2)
  > div {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  width: 50%;
}
@media (min-width: 768px) {
  .dialog-body
    > div:nth-child(2)
    .card-1
    > div:nth-child(2)
    > div {
    flex-direction: row;
    width: 100%;
  }
  .dialog-body
    > div:nth-child(2)
    .card-1
    > div:nth-child(2)
    > div
    > div {
    width: 20%;
  }
}
.dialog-body
  > div:nth-child(2)
  .card-1
  > div:nth-child(2)
  > div:first-child {
  color: #797979;
  font-size: 16px;
  font-weight: 400;
  justify-content: space-evenly;
  letter-spacing: 1px;
  line-height: 24px;
}
.dialog-body
  > div:nth-child(2)
  .card-1
  > div:nth-child(2)
  > div:nth-child(2) {
  color: #2e2e2e;
  font-size: 16px;
  font-weight: 700;
  justify-content: space-evenly;
  letter-spacing: 1px;
  line-height: 28px;
}
.dialog-body > div:nth-child(2) .card-2 {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 14px #704b031a;
  padding: 20px 16px;
  width: 100%;
}
@media (min-width: 768px) {
  .dialog-body > div:nth-child(2) .card-2 {
    padding: 20px 32px;
  }
}
.dialog-body > div:nth-child(3) {
  background-color: #fff9db;
}
.dialog-body > div:nth-child(3) > div:first-child {
  text-align: center;
}
.dialog-body
  > div:nth-child(3)
  > div:first-child
  > div:first-child {
  color: #2e2e2e;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 43px;
  padding: 0 0 8px;
}
@media (min-width: 768px) {
  .dialog-body
    > div:nth-child(3)
    > div:first-child
    > div:first-child {
    font-size: 40px;
    letter-spacing: 7px;
    line-height: 52px;
  }
}
.dialog-body
  > div:nth-child(3)
  > div:first-child
  > div:nth-child(2) {
  color: #2e2e2e;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 32px;
}
.dialog-body > div:nth-child(3) > div:nth-child(2) {
  padding: 16px 12px 20px;
  width: 100%;
}
.dialog-body > div:nth-child(3) > div:nth-child(3) {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  padding: 0 0 52px;
  width: 100%;
}
.dialog-body > div:nth-child(3) > div:nth-child(3) > .bonus {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding: 0 12px;
}
.dialog-body
  > div:nth-child(3)
  > div:nth-child(3)
  > .bonus
  > div:first-child {
  background-color: #efdd00;
  border-radius: 3px;
  height: 3px;
  transform: rotate(65deg);
  width: 24px;
}
@media (min-width: 768px) {
  .dialog-body
    > div:nth-child(3)
    > div:nth-child(3)
    > .bonus
    > div:first-child {
    width: 40px;
  }
}
.dialog-body
  > div:nth-child(3)
  > div:nth-child(3)
  > .bonus
  > div:nth-child(2) {
  color: #2e2e2e;
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 28px;
  padding: 0 4px;
}
@media (min-width: 768px) {
  .dialog-body
    > div:nth-child(3)
    > div:nth-child(3)
    > .bonus
    > div:nth-child(2) {
    font-size: 28px;
    letter-spacing: 3px;
    line-height: 43px;
  }
}
.dialog-body
  > div:nth-child(3)
  > div:nth-child(3)
  > .bonus
  > div:nth-child(3) {
  background-color: #efdd00;
  border-radius: 3px;
  height: 3px;
  transform: rotate(-65deg);
  width: 24px;
}
@media (min-width: 768px) {
  .dialog-body
    > div:nth-child(3)
    > div:nth-child(3)
    > .bonus
    > div:nth-child(3) {
    width: 40px;
  }
}
.pagination {
  background-color: #ffe87d;
  padding: 20px 0 60px;
  position: relative;
}
@media (min-width: 768px) {
  .pagination {
    padding: 20px 0 100px;
  }
}
.pagination:after {
  background-image: url(../images/bg/green_triangle_right.svg);
  background-position: right -35px bottom -70px;
  background-repeat: no-repeat;
  background-size: 100%;
  bottom: 0;
  content: "";
  height: 124px;
  position: absolute;
  right: 0;
  width: 124px;
}
@media (min-width: 768px) {
  .pagination:after {
    background-position: right 0 bottom 0;
    height: 145px;
    width: 145px;
  }
}
