@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;
  }
}
.bg-handle {
  background: bottom/100% no-repeat url(../images/bg/shine.svg), #fff;
  padding: 20px 0 48px;
}
@media (min-width: 768px) {
  .bg-handle {
    padding: 64px 0 96px;
  }
}
h2 {
  text-align: center;
}
.result-cards .result-card {
  background: #fcf1c0;
  border: 4px solid #efdd00;
  border-radius: 10px;
  gap: 5px;
  margin: 12px 0;
  padding: 12px;
  position: relative;
}
@media (min-width: 768px) {
  .result-cards .result-card {
    display: flex;
    gap: 20px;
    margin: 27px 0 0;
    padding: 16px 20px;
  }
}
.result-cards .result-card > img {
  margin: auto;
  max-width: 33%;
  width: 33%;
}
@media (min-width: 768px) {
  .result-cards .result-card > img {
    max-width: 180px;
    width: 100%;
  }
}
.result-cards .result-card .result-info {
  background: #fff9db;
  flex-grow: 1;
  margin: 6px 0 0;
}
@media (min-width: 768px) {
  .result-cards .result-card .result-info {
    border-radius: 10px;
    display: flex;
    margin: 0;
  }
}
.result-cards .result-card .result-info .time-info {
  border-bottom: 1px solid #dadada;
  color: #2e2e2e;
  display: flex;
  flex-wrap: wrap;
  font-weight: 700;
  justify-content: center;
  margin: 0 8px;
  padding: 10px 0;
  text-align: center;
}
@media (min-width: 768px) {
  .result-cards .result-card .result-info .time-info {
    align-items: center;
    border-bottom: none;
    border-right: 1px solid #dadada;
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 32px;
    margin: 8px 0;
    min-width: -moz-fit-content;
    min-width: fit-content;
    padding: 0 10px;
    text-align: left;
  }
}
@media (min-width: 1024px) {
  .result-cards .result-card .result-info .time-info {
    padding: 0 20px;
  }
}
.result-cards .result-card .result-info .result {
  padding: 10px;
  text-align: center;
}
@media (min-width: 768px) {
  .result-cards .result-card .result-info .result {
    padding: 14px 12px;
    text-align: left;
  }
}
@media (min-width: 1024px) {
  .result-cards .result-card .result-info .result {
    padding: 14px 24px;
  }
}
.result-cards .result-card .result-info .result .result-balls {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  text-align: center;
}
@media (min-width: 768px) {
  .result-cards
    .result-card
    .result-info
    .result
    .result-balls {
    gap: 12px;
    justify-content: flex-start;
  }
  .result-cards > div:last-child {
    display: flex;
    gap: 20px;
  }
  .result-cards > div:last-child .result-card {
    display: flex;
    flex-grow: 1;
    gap: 5px;
  }
}
@media (min-width: 768px) and (min-width: 1024px) {
  .result-cards > div:last-child .result-card {
    gap: 20px;
  }
}
@media (min-width: 768px) {
  .result-cards > div:last-child .result-card > img {
    margin-left: -10px;
    width: 25%;
  }
}
@media (min-width: 768px) and (min-width: 1024px) {
  .result-cards > div:last-child .result-card > img {
    width: 30%;
  }
}
@media (min-width: 768px) and (min-width: 1280px) {
  .result-cards > div:last-child .result-card > img {
    margin-left: 0;
    width: 100%;
  }
}
@media (min-width: 768px) {
  .result-cards > div:last-child .result-card .result-info {
    display: block;
    width: 400%;
  }
}
@media (min-width: 768px) and (min-width: 1024px) {
  .result-cards > div:last-child .result-card .result-info {
    width: 100%;
  }
}
@media (min-width: 768px) {
  .result-cards
    > div:last-child
    .result-card
    .result-info
    .time-info {
    border-bottom: 1px solid #dadada;
    border-right: none;
    margin: 0 8px;
    padding: 10px 0;
    text-align: center;
  }
  .result-cards
    > div:last-child
    .result-card
    .result-info
    .result {
    padding: 16px 8px;
  }
  .result-cards
    > div:last-child
    .result-card
    .result-info
    .result
    .result-balls {
    justify-content: center;
    min-width: -moz-max-content;
    min-width: max-content;
  }
}
.hint {
  color: #797979;
  margin-top: 20px;
}
