@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;
  }
}
.profit-root {
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.profit-root .lotto-profit-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 44px;
  margin-top: 20px;
  max-width: 1160px;
  padding: 0 16px;
  width: 100%;
}
@media (min-width: 1024px) {
  .profit-root .lotto-profit-container {
    margin-bottom: 82px;
    margin-top: 52px;
    padding: 0;
  }
}
.profit-root .lotto-profit-container .lotto-profit-rate-area {
  background-color: #fff;
  border-radius: 10px;
  max-width: 1160px;
  padding: 20px 16px;
  width: 100%;
}
@media (min-width: 768px) {
  .profit-root .lotto-profit-container .lotto-profit-rate-area {
    border-radius: 20px;
    padding: 36px 40px;
  }
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .lotto-profit-rate-content {
  align-items: center;
  display: flex;
  flex-direction: column;
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .lotto-profit-rate-content
  .title-bar {
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 100%;
}
@media (min-width: 768px) {
  .profit-root
    .lotto-profit-container
    .lotto-profit-rate-area
    .lotto-profit-rate-content
    .title-bar {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .lotto-profit-rate-content
  .title-bar
  .title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 32px;
}
@media (min-width: 768px) {
  .profit-root
    .lotto-profit-container
    .lotto-profit-rate-area
    .lotto-profit-rate-content
    .title-bar
    .title {
    font-size: 28px;
    letter-spacing: 3px;
    line-height: 43px;
  }
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .lotto-profit-rate-content
  .title-bar
  .note {
  font-size: 16px;
  line-height: 28px;
  margin-top: 12px;
}
@media (min-width: 768px) {
  .profit-root
    .lotto-profit-container
    .lotto-profit-rate-area
    .lotto-profit-rate-content
    .title-bar
    .note {
    margin-top: 0;
  }
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .lotto-profit-rate-content
  .profit-rate-pic {
  aspect-ratio: 1648/928;
  background-image: url(../images/profit_rate_small.png);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 20px 0 23px;
  max-width: 978px;
  width: 100%;
}
@media (min-width: 768px) {
  .profit-root
    .lotto-profit-container
    .lotto-profit-rate-area
    .lotto-profit-rate-content
    .profit-rate-pic {
    aspect-ratio: 978/435;
    background-image: url(../images/profit_rate.png);
    margin: 47px 51px 39px;
  }
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .lotto-profit-rate-content
  .gray-line {
  background-color: #dadada;
  height: 1px;
  width: calc(100% + 32px);
}
@media (min-width: 768px) {
  .profit-root
    .lotto-profit-container
    .lotto-profit-rate-area
    .lotto-profit-rate-content
    .gray-line {
    width: calc(100% + 80px);
  }
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .lotto-profit-rate-content
  .profit-rate-formula {
  margin-top: 28px;
  width: 100%;
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .lotto-profit-rate-content
  .profit-rate-formula
  .formula-with-pic {
  align-items: flex-end;
  display: inline;
  line-height: 32px;
  width: -moz-fit-content;
  width: fit-content;
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .lotto-profit-rate-content
  .profit-rate-formula
  .formula-with-pic
  .formula-pic-container {
  align-items: center;
  display: inline-flex;
  height: 100%;
  margin-left: 4px;
  vertical-align: bottom;
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .lotto-profit-rate-content
  .profit-rate-formula
  .formula-with-pic
  .formula-pic-container
  .a-pic {
  display: inline-block;
  margin-right: 8px;
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .lotto-profit-rate-content
  .profit-rate-formula
  .formula-with-pic
  .formula-pic-container
  .b-pic {
  display: inline-block;
  margin-left: 8px;
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .profit-rate-formula-desc {
  border: 1px solid #dadada;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  margin-top: 18px;
  padding: 16px;
  width: 100%;
}
@media (min-width: 768px) {
  .profit-root
    .lotto-profit-container
    .lotto-profit-rate-area
    .profit-rate-formula-desc {
    border-radius: 20px;
    padding: 32px 30px;
  }
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .profit-rate-formula-desc
  .desc-container {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .profit-rate-formula-desc
  .desc-container:first-child {
  margin-top: 0;
}
@media (min-width: 768px) {
  .profit-root
    .lotto-profit-container
    .lotto-profit-rate-area
    .profit-rate-formula-desc
    .desc-container {
    flex-direction: row;
  }
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .profit-rate-formula-desc
  .desc-container
  .desc-text-container {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .profit-root
    .lotto-profit-container
    .lotto-profit-rate-area
    .profit-rate-formula-desc
    .desc-container
    .desc-text-container {
    margin-left: 16px;
  }
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .profit-rate-formula-desc
  .desc-container
  .desc-text-container
  .desc-title {
  display: flex;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin-top: 16px;
  width: 100%;
}
@media (min-width: 768px) {
  .profit-root
    .lotto-profit-container
    .lotto-profit-rate-area
    .profit-rate-formula-desc
    .desc-container
    .desc-text-container
    .desc-title {
    margin-top: 0;
  }
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .profit-rate-formula-desc
  .desc-container
  .desc-text-container
  .desc-title
  .a-pic {
  margin-right: 16px;
}
.profit-root
  .lotto-profit-container
  .lotto-profit-rate-area
  .profit-rate-formula-desc
  .desc-container
  .desc-text-container
  .desc-text {
  font-size: 16px;
  line-height: 28px;
  margin-top: 8px;
}
.profit-root .lotto-profit-container .lotto-profit-notice-area {
  color: #797979;
  font-size: 17px;
  letter-spacing: 1px;
  line-height: 28px;
  margin-top: 14px;
  max-width: 1160px;
  width: 100%;
}
@media (min-width: 768px) {
  .profit-root .lotto-profit-container .lotto-profit-notice-area {
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 24px;
  }
}
.profit-root .lotto-profit-container .lotto-profit-notice-area .notice-line {
  display: flex;
}
.profit-root .lotto-profit-container .a-pic {
  background-image: url(../images/restrictOverBetting/A_bg.svg);
}
.profit-root .lotto-profit-container .a-pic,
.profit-root .lotto-profit-container .b-pic {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 28px;
  min-width: 28px;
  width: 28px;
}
.profit-root .lotto-profit-container .b-pic {
  background-image: url(../images/restrictOverBetting/B_bg.svg);
}
