@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;
  }
}
label {
  background: #f5f5f5;
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
label,
label div {
  display: inline-block;
}
label div {
  font-size: 14px;
  padding: 5px 10px;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
label div:first-of-type {
  color: #2e2e2e;
  font-weight: 700;
}
label div:first-of-type:before {
  background: #efdd00;
  border-radius: 4px;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transition: 0.2s;
  width: 50%;
  z-index: -1;
}
label input {
  display: none;
}
label input:checked ~ div:first-of-type {
  font-weight: 500;
}
label input:checked ~ div:first-of-type:before {
  left: 50%;
}
label input:checked ~ div:last-of-type {
  font-weight: 700;
}
