@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;
  }
}
.swiper-slide {
  width: auto !important;
}
.section-nav {
  background-color: #fff;
  border-top: 1px solid #dadada;
  box-shadow: 0 0 8px #0000001a;
  color: #797979;
}
.section-nav ol {
  background-color: #fff;
  display: flex;
  overflow-y: auto;
  position: sticky;
  scroll-behavior: auto;
  top: 64px;
  z-index: 10;
}
.section-nav a {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 48px;
  padding: 0 16px;
  position: relative;
}
@media (min-width: 768px) {
  .section-nav a {
    font-size: 18px;
    line-height: 56px;
    padding: 0 20px;
  }
}
.section-nav a:hover {
  background-color: #e5f2f2;
}
.section-nav a:after {
  background-color: #007979;
  border-radius: 6px;
  bottom: 0;
  content: "";
  height: 0;
  left: 0;
  position: absolute;
  transition: 0.3s;
  width: 100%;
}
.section-nav a.reading {
  color: #007979;
}
.section-nav a.reading:after {
  height: 4px;
}
.section-nav::-webkit-scrollbar {
  background-color: #f5f5f5;
  height: 0;
}
.section-nav::-webkit-scrollbar-thumb {
  background: #dadada;
  border-radius: 10px;
}
.lotto-nav {
  background: #e5f2f2;
  box-shadow: -5px 0 0 5px #e5f2f2;
  padding: 8px 10px 8px 0;
}
@media (min-width: 768px) {
  .lotto-nav {
    padding: 9px 10px 9px 0;
  }
}
.lotto-nav:hover .lotto-list {
  display: block;
}
.lotto-nav .current-logo {
  height: 32px;
  padding: 0 10px;
}
@media (min-width: 768px) {
  .lotto-nav .current-logo {
    height: 38px;
    padding: 0 10px;
  }
}
.lotto-nav .drop-down {
  height: 18px;
}
@media (min-width: 768px) {
  .lotto-nav .drop-down {
    height: 24px;
  }
}
.lotto-nav .lotto-list {
  display: none;
  left: 0;
  padding: 10px 5px;
  position: fixed;
  top: 110px;
}
@media (min-width: 768px) {
  .lotto-nav .lotto-list {
    top: 120px;
  }
}
.lotto-nav .lotto-list ul {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 0 8px #0000001a;
  max-height: calc(100vh - 65px);
  overflow-y: auto;
}
@media (min-width: 768px) {
  .lotto-nav .lotto-list ul {
    max-height: calc(100vh - 73px);
  }
}
.lotto-nav .lotto-list ul::-webkit-scrollbar {
  background-color: #f5f5f5;
  width: 6px;
}
.lotto-nav .lotto-list ul::-webkit-scrollbar-thumb {
  background: #dadada;
  border-radius: 10px;
}
.lotto-nav .lotto-list ul li a {
  display: block;
  padding: 12px 10px;
}
.lotto-nav .lotto-list ul li a:hover {
  background: #e5f2f2;
}
.lotto-nav .lotto-list ul li a img {
  height: 40px;
}
@media (min-width: 768px) {
  .lotto-nav .lotto-list ul li a img {
    height: 50px;
  }
}
