@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;
  }
}
.search-bar {
  padding: 20px 16px;
}
.search-bar > div {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  width: 100%;
}
@media (min-width: 768px) {
  .search-bar > div {
    flex-direction: row;
    gap: 20px;
  }
}
.search-bar > div > div {
  flex: 1;
  width: 100%;
}
.search-bar > div h3 {
  font-size: 16px;
  letter-spacing: 1px;
  margin: 0 0 8px;
}
@media (min-width: 768px) {
  .search-bar > div h3 {
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 28px;
  }
}
.search-bar > div .search {
  margin: 12px auto auto;
  text-align: center;
  width: auto;
}
@media (min-width: 768px) {
  .search-bar > div .search {
    margin: 0;
    max-width: 100px;
  }
}
.search-bar > div .search button {
  width: 100%;
}
.search-bar ul {
  list-style: decimal;
  padding-inline-start: 24px;
}
.search-bar li,
.search-bar p {
  font-size: 14px;
  line-height: 24px;
}
.search-bar .to,
.search-bar li,
.search-bar p {
  color: #797979;
  font-weight: 400;
  letter-spacing: 1px;
}
.search-bar .to {
  flex: 0;
  line-height: 44px;
  margin: -20px 0;
  text-align: center;
}
@media (min-width: 768px) {
  .search-bar .to {
    margin: 0 -12px;
  }
}
.list {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(1, 1fr);
  justify-content: center;
  margin: 28px auto 0;
  padding: 0 0 46px;
  position: relative;
}
@media (min-width: 768px) {
  .list {
    margin: 32px auto 0;
    padding: 0 0 90px;
  }
}
.list .card {
  background: #fff;
  border: 1px solid #dadada;
  border-radius: 10px;
  flex-direction: column;
  gap: 10px;
  height: auto;
  justify-content: center;
  padding: 12px;
  position: relative;
  width: auto;
  width: 100%;
}
@media (min-width: 768px) {
  .list .card {
    flex-direction: row;
    gap: 20px;
  }
}
.list .card > div:first-child {
  align-items: center;
  background: #f5f5f5;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  padding: 12px;
  width: 100%;
}
@media (min-width: 768px) {
  .list .card > div:first-child {
    padding: 20px;
    width: 25%;
  }
}
.list .card > div:first-child img {
  height: 100%;
  max-height: 20vh;
  width: auto;
}
@media (min-width: 768px) {
  .list .card > div:first-child img {
    height: auto;
    max-height: 210px;
    max-height: auto;
  }
}
.list .card > div:nth-child(2) {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  width: 100%;
}
@media (min-width: 768px) {
  .list .card > div:nth-child(2) {
    justify-content: flex-start;
    width: 75%;
  }
}
.list .card > div:nth-child(2) > div:first-child {
  align-items: center;
  border-bottom: 1px solid #dadada;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 0 0 10px;
  width: 100%;
}
@media (min-width: 768px) {
  .list .card > div:nth-child(2) > div:first-child {
    justify-content: space-between;
    padding: 4px 0 12px;
  }
}
.list .card > div:nth-child(2) > div:first-child button {
  border: 1px solid #f40f8f;
  color: #f40f8f;
}
.list
  .card
  > div:nth-child(2)
  > div:first-child
  > div:first-child {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
}
@media (min-width: 768px) {
  .list
    .card
    > div:nth-child(2)
    > div:first-child
    > div:first-child {
    gap: 16px;
  }
}
.list
  .card
  > div:nth-child(2)
  > div:first-child
  > div:first-child
  span {
  background: #f5f5f5;
  border-radius: 4px;
  color: #f40f8f;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 28px;
  padding: 4px 8px;
}
.list
  .card
  > div:nth-child(2)
  > div:first-child
  > div:first-child
  h2 {
  color: #2e2e2e;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 43px;
}
.list
  .card
  > div:nth-child(2)
  > div:first-child
  > div:nth-child(2) {
  display: none;
}
@media (min-width: 768px) {
  .list
    .card
    > div:nth-child(2)
    > div:first-child
    > div:nth-child(2) {
    align-items: center;
    display: flex;
    justify-content: center;
  }
}
.list .card > div:nth-child(2) > div:nth-child(2) {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(1, 1fr);
  justify-content: center;
  margin: 20px 0 10px;
  width: 100%;
}
@media (min-width: 768px) {
  .list .card > div:nth-child(2) > div:nth-child(2) {
    align-items: flex-start;
    gap: 4px 8px;
    grid-template-columns: repeat(5, 1fr);
    margin: 10px 0 0;
  }
}
@media (min-width: 1280px) {
  .list .card > div:nth-child(2) > div:nth-child(2) {
    gap: 12px 0;
  }
}
.list .card > div:nth-child(2) > div:nth-child(2) > div {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
}
@media (min-width: 768px) {
  .list .card > div:nth-child(2) > div:nth-child(2) > div {
    align-items: center;
    flex-direction: column;
    gap: 0;
  }
}
.list .card > div:nth-child(2) > div:nth-child(2) > div > div {
  flex: 1;
}
.list
  .card
  > div:nth-child(2)
  > div:nth-child(2)
  > div
  > div:first-child {
  color: #797979;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 24px;
}
@media (min-width: 768px) {
  .list
    .card
    > div:nth-child(2)
    > div:nth-child(2)
    > div
    > div:first-child {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 32px;
  }
}
.list
  .card
  > div:nth-child(2)
  > div:nth-child(2)
  > div
  > div:nth-child(2) {
  color: #2e2e2e;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 28px;
}
@media (min-width: 768px) {
  .list
    .card
    > div:nth-child(2)
    > div:nth-child(2)
    > div
    > div:nth-child(2) {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 32px;
  }
}
.list .card > div:nth-child(3) {
  align-items: center;
  display: block;
  display: flex;
  justify-content: center;
}
@media (min-width: 768px) {
  .list .card > div:nth-child(3) {
    display: none;
  }
}
.list .card > div:nth-child(3) button {
  border: 1px solid #f40f8f;
  color: #f40f8f;
  width: 100%;
}
.dialog-body {
  background: #f5f5f5;
  padding: 16px 16px 24px;
}
@media (min-width: 768px) {
  .dialog-body {
    padding: 28px 32px;
  }
}
.dialog-body .title {
  color: #2e2e2e;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 28px;
  padding: 0 0 20px;
  text-align: center;
  width: 100%;
}
@media (min-width: 768px) {
  .dialog-body .title {
    padding: 0 0 24px;
  }
}
.dialog-body .date {
  color: #797979;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 24px;
  padding: 20px 0 0;
  text-align: center;
  width: 100%;
}
@media (min-width: 768px) {
  .dialog-body .date {
    padding: 10px 0 0;
  }
}
.table-m {
  border: 3px solid #efdd00;
  border-radius: 6px;
}
.table-m > div:first-child > div:first-child {
  border-radius: 6px 6px 0 0;
}
.table-m > div > div:first-child {
  background: linear-gradient(180deg, #fff59b, #efdd00 76.79%);
  color: #2e2e2e;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 24px;
  padding: 8px 0;
  text-align: center;
}
.table-m > div > div:nth-child(2) {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  padding: 16px 12px;
}
.table-m > div > div:nth-child(2) > div {
  display: flex;
  flex-direction: row;
}
.table-m > div > div:nth-child(2) > div > div:first-child {
  color: #797979;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 24px;
  width: 50%;
  word-break: break-word;
}
.table-m > div > div:nth-child(2) > div > div:nth-child(2) {
  color: #2e2e2e;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 24px;
  width: 50%;
  word-break: break-word;
}
 .el-table tbody tr td:first-child {
  background-color: #fff9db;
}
