@charset "UTF-8";
/* CSS Document */
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&family=Quicksand:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC&display=swap");
.green {
  color: #57c67a;
}

.red {
  color: #f04e55;
}

.blue {
  color: #5ebbd8;
}

.yellow {
  color: #ffd863;
}

:root {
  --bg-image-path: url(../images/bg.jpg);
  --bg-mac-image-path: url(../images/bg_mac.jpg);
  --bg-mob-image-path: url(../images/bg_mob.jpg);
  --bg-mob1-image-path: url(../images/bg_mob_img01.png);
  --bg-mob2-image-path: url(../images/bg_mob_img02.png);
  --bg-mob3-image-path: url(../images/bg_mob_img03.png);
  --bg-mob5-image-path: url(../images/bg_mob_img05.png);
  --bg-store_tt-image-path: url(../images/store/img_title.png);
}

.strokes {
  color: white;
  position: relative;
  z-index: 2;
  font-family: "rounround";
}
.strokes::after {
  content: attr(title);
  position: absolute;
  -webkit-text-stroke: 0.25em #b17010;
  left: 0;
  top: 0;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: none;
}

body, div, dl, dt, dd, ul, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, figure {
  margin: 0;
  padding: 0;
}

button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  line-height: inherit;
  overflow: visible;
  vertical-align: inherit;
}

button:focus {
  outline: none;
}

ol {
  margin: 0;
}

iframe {
  width: 100%;
}

iframe, img {
  border: 0;
}

ul {
  list-style: none;
}

.clear {
  clear: both;
}

.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

.block {
  display: block;
}

.t-align-center {
  text-align: center;
}

.t-align-left {
  text-align: left;
}

.fz_80 {
  font-size: 5em;
}

.fz_50 {
  font-size: 3.125em;
}

.fz_30 {
  font-size: 1.563em;
}

.fz_25 {
  font-size: 1.563em;
}

.fz_20 {
  font-size: 1.25em;
}

.w100 {
  width: 100%;
}

.w90 {
  width: 90%;
}

.w80 {
  border-radius: 30px 0 0 30px;
  background-color: #f89c00;
  width: 80%;
}

.w70 {
  width: 70%;
}

.w60 {
  width: 60%;
}

.w55 {
  width: 55%;
}

.w50 {
  width: 50%;
}

.w40 {
  width: 40%;
}

.w30 {
  width: 30%;
}

.w25 {
  width: 25%;
}

.w20 {
  width: 20%;
}

.w15 {
  width: 15%;
}

.w10 {
  width: 10%;
}

.w9 {
  width: 9%;
}

.w8 {
  width: 8%;
}

.w7 {
  width: 7%;
}

.w6 {
  width: 6%;
}

.w5 {
  width: 5%;
}

.w4 {
  width: 4%;
}

.m_10 {
  margin-bottom: 10px;
}

.m_20 {
  margin-bottom: 20px;
}

.m_30 {
  margin-bottom: 30px;
}

.m_40 {
  margin-bottom: 40px;
}

.m_50 {
  margin-bottom: 50px;
}

.m_60 {
  margin-bottom: 60px;
}

.m_70 {
  margin-bottom: 70px;
}

.m_80 {
  margin-bottom: 80px;
}

.m_90 {
  margin-bottom: 90px;
}

.m_100 {
  margin-bottom: 100px;
}

.m_110 {
  margin-bottom: 110px;
}

.m_120 {
  margin-bottom: 120px;
}

.m_130 {
  margin-bottom: 130px;
}

.m_140 {
  margin-bottom: 140px;
}

.m_150 {
  margin-bottom: 150px;
}

.m_160 {
  margin-bottom: 160px;
}

.m_170 {
  margin-bottom: 170px;
}

.m_180 {
  margin-bottom: 180px;
}

.m_190 {
  margin-bottom: 190px;
}

.m_200 {
  margin-bottom: 200px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.justify-center {
  justify-content: center;
}

.items-center {
  align-items: center;
}

.col-1 {
  flex: 0 0 8.333333%;
  max-width: 8.333333%;
}

.col-2 {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-5 {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-7 {
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}

.col-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-9 {
  flex: 0 0 75%;
  max-width: 75%;
}

.col-10 {
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.col-11 {
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 768px) {
  .col-md {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
  }
  .row-cols-md-1 > * {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .row-cols-md-2 > * {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .row-cols-md-3 > * {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .row-cols-md-4 > * {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .row-cols-md-5 > * {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .row-cols-md-6 > * {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-md-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
  .col-md-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-md-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-md-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-md-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  border-radius: 10px;
}

/* Handle on hover */
@font-face {
  font-family: "rounround";
  src: url("../fonts/rounround.woff") format("woff");
}
.t_center {
  text-align: center;
}

.d_no {
  display: none;
}

.d_block {
  display: block;
}

body,
html {
  width: 100%;
  height: 100%;
}

button {
  border: 0;
  background: 0;
  cursor: pointer;
  padding: 0;
}

body {
  background: var(--bg-image-path) center no-repeat fixed;
  color: #5c5c5c;
  font-family: "微软雅黑";
  font-size: 100%;
  position: relative;
  overflow-x: hidden;
}
body.active {
  overflow: hidden;
}
@media (max-width: 1300px) {
  body {
    background: var(--bg-mac-image-path) center no-repeat fixed;
    background-size: cover;
  }
}
@media (max-width: 320px) {
  body {
    width: 320px;
  }
}

.container {
  position: relative;
  width: 100%;
  max-width: 1470px;
  padding-left: 15px;
  padding-right: 15px;
  margin: auto;
}

.menu_button {
  width: 26px;
  height: 20px;
  display: inline-block;
  position: relative;
  transition: 0.25s;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  position: relative;
  z-index: 9999;
  display: none;
}
.menu_button .menuicon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
  width: 50%;
  height: 0.15rem;
  background: white;
  transition: 0.2s;
  border-radius: 2.5rem;
}
.menu_button:before, .menu_button:after {
  display: block;
  content: "";
  height: 0.15rem;
  width: 100%;
  background: white;
  position: absolute;
  transition: 0.2s;
  border-radius: 1rem;
  left: 0;
}
.menu_button:before {
  top: 0;
}
.menu_button:after {
  bottom: 0;
}
@media (max-width: 1200px) {
  .menu_button {
    display: block;
  }
}

@keyframes showResult {
  100% {
    opacity: 1;
  }
}
@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-100px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-50px);
  }
  100% {
    transform: translateY(0);
  }
}
.popup_page {
  position: relative;
  background: url(../images/bg_page.png) center no-repeat;
}
.popup_page .container {
  height: 100vh;
  padding: 15px;
}
.popup_page .container .popup_page_main h2 {
  color: black;
  margin-bottom: 15px;
}
.popup_page .container .popup_page_main ul {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  -moz-column-gap: 15px;
       column-gap: 15px;
  row-gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
.popup_page .container .popup_page_main ul li {
  text-align: center;
}
.popup_page .container .popup_page_main ul li a {
  border-radius: 10px;
  background: #D72333;
  color: white;
  display: block;
  padding: 10px 5px;
  font-size: 0.9em;
}
.popup_page .container .popup_page_main ul li a:hover {
  color: #ffd863;
}

@media (max-width: 768px) {
  .question_pop {
    position: relative;
  }
  .question_pop:before {
    content: "";
    width: 18px;
    height: 18px;
    background: url(../images/icon_question_close.png);
    display: block;
    position: absolute;
    bottom: 108%;
    right: 0;
  }
}
.dice {
  width: 100px;
  height: 100px;
  background-repeat: no-repeat;
  background-size: contain;
}
.dice:before {
  position: absolute;
  top: -9999rem;
  left: -9999rem;
  opacity: 0;
  content: url(../images/dice/1.png) url(../images/dice/2.png) url(../images/dice/3.png) url(../images/dice/4.png) url(../images/dice/5.png) url(../images/dice/6.png) url(../images/dice/7.png) url(../images/dice/8.png) url(../images/dice/9.png) url(../images/dice/point_1.png) url(../images/dice/point_2.png) url(../images/dice/point_3.png) url(../images/dice/point_4.png) url(../images/dice/point_5.png) url(../images/dice/point_6.png) url(../images/pop/destiny/img_start.png) url(../images/pop/destiny/img_end.png);
}
.dice.box {
  background-image: url("../images/dice/1.png");
}

.throw {
  animation: changeColor 0.3s infinite;
}

.point_1 {
  background-image: url("../images/dice/point_1.png");
}

.point_2 {
  background-image: url("../images/dice/point_2.png");
}

.point_3 {
  background-image: url("../images/dice/point_3.png");
}

.point_4 {
  background-image: url("../images/dice/point_4.png");
}

.point_5 {
  background-image: url("../images/dice/point_5.png");
}

.point_6 {
  background-image: url("../images/dice/point_6.png");
}

@keyframes changeColor {
  0% {
    background-image: url("../images/dice/1.png");
  }
  11.11% {
    background-image: url("../images/dice/2.png");
  }
  22.22% {
    background-image: url("../images/dice/3.png");
  }
  33.33% {
    background-image: url("../images/dice/4.png");
  }
  44.44% {
    background-image: url("../images/dice/5.png");
  }
  55.55% {
    background-image: url("../images/dice/6.png");
  }
  66.66% {
    background-image: url("../images/dice/7.png");
  }
  77.77% {
    background-image: url("../images/dice/8.png");
  }
  88.88% {
    background-image: url("../images/dice/9.png");
  }
  100% {
    background-image: url("../images/dice/1.png");
  }
}
.data_field {
  max-width: 475px;
  width: 100%;
  position: absolute;
  top: 210px;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
}
.data_field .data_menu {
  display: flex;
  justify-content: flex-end;
  grid-gap: 10px;
  padding-right: 10px;
}
.data_field .data_menu li {
  position: relative;
}
.data_field .data_menu li button:hover img {
  filter: hue-rotate(299deg) brightness(100%) saturate(120%);
}
.data_field .data_menu li.log:before {
  content: "+";
  content: "+";
  width: 20px;
  height: 20px;
  border-radius: 100%;
  border: 1px #ff9b96 solid;
  background: #fff05a;
  color: #dd515d;
  position: absolute;
  top: -4px;
  right: -8px;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.125em;
  font-weight: bold;
  pointer-events: none;
}
@media (max-width: 1200px) {
  .data_field {
    top: 143px;
  }
}

.level_toggle {
  max-width: 475px;
  width: 100%;
  position: absolute;
  top: 270px;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
}
.level_toggle .main {
  display: flex;
  justify-content: flex-end;
  grid-gap: 10px;
  padding-right: 10px;
}
@media (max-width: 1200px) {
  .level_toggle {
    top: 204px;
  }
  .level_toggle .main a img {
    max-width: 90%;
  }
}
@media (max-width: 500px) {
  .level_toggle {
    top: 197px;
  }
}

.checkerboard {
  background-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 37px rgb(255, 255, 255);
  max-width: 475px;
  margin: auto;
  position: relative;
  padding: 200px 28px 95px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(11, 1fr);
  font-family: "M PLUS Rounded 1c", sans-serif;
}
.checkerboard .img {
  display: none;
}
.checkerboard .item {
  background-repeat: no-repeat;
  background-size: contain;
  padding-bottom: 100%;
  position: relative;
}
.checkerboard .item:before {
  content: "";
  width: 20px;
  height: 17px;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.checkerboard .item .box {
  position: absolute;
  width: 100%;
  height: 100%;
  padding-bottom: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  grid-gap: 3px;
}
.checkerboard .item .box p {
  color: white;
  font-weight: bolder;
  font-size: clamp(13px, 3vw, 16px);
  line-height: 100%;
  position: relative;
  z-index: 0;
}
.checkerboard .item:nth-of-type(odd) {
  background-image: url(../images/g_brick.png);
}
.checkerboard .item:nth-of-type(odd):before {
  background-image: url(../images/img_g_arrow.png);
}
.checkerboard .item:nth-of-type(even) {
  background-image: url(../images/p_brick.png);
}
.checkerboard .item:nth-of-type(even):before {
  background-image: url(../images/img_p_arrow.png);
}
.checkerboard .item.right:before {
  transform: translate(-50%, -50%) rotate(270deg);
}
.checkerboard .item.bottom:before {
  transform: translate(-50%, -50%) rotate(-180deg);
}
.checkerboard .item.left:before {
  transform: translate(-50%, -50%) rotate(90deg);
}
.checkerboard .item.up:before {
  transform: translate(-50%, -50%) rotate(180deg);
}
.checkerboard .item.destiny {
  background-image: url(../images/r_brick.png);
}
.checkerboard .item.destiny .box p {
  font-family: 微軟正黑體;
}
.checkerboard .item.destiny .box p:before {
  -webkit-text-stroke: 0.25em #ca2130;
}
.checkerboard .item.start .box {
  grid-gap: 7px;
  justify-content: center;
}
.checkerboard .item.start .box img {
  transform: rotate(270deg);
}
.checkerboard .item.end::after {
  border-radius: 0 10px 10px 0;
  content: "终点";
  color: white;
  background: #8326b3;
  display: block;
  font-size: 0.6em;
  position: absolute;
  top: 0;
  left: 0;
  padding: 2px 5px;
}
.checkerboard .item.gift .box p::after {
  -webkit-text-stroke: 0.25em #58b0e3;
}
.checkerboard .item.get .get_box {
  color: #b4731c;
  font-weight: bold;
  display: block;
  position: absolute;
  top: 23px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  white-space: nowrap;
  font-family: 微软雅黑;
  font-weight: bold;
}
@media (max-width: 375px) {
  .checkerboard .item.get .get_box {
    top: 17px;
    font-size: 0.9em;
  }
}
.checkerboard .item.get .box img {
  opacity: 0.5;
}
.checkerboard .item.get:before {
  width: auto;
  height: auto;
  background: none;
}
.checkerboard .item.no_arrow:before {
  width: auto;
  height: auto;
  background: none;
}
@media (max-width: 500px) {
  .checkerboard .item .box img {
    max-height: 25px;
  }
}
@media (max-width: 375px) {
  .checkerboard .item .box img {
    max-height: 20px;
  }
}
@media (max-width: 1300px) {
  .checkerboard {
    background-color: rgba(0, 0, 0, 0.45);
  }
  .checkerboard .img {
    display: block;
  }
  .checkerboard .img.type1 {
    grid-column: 2/span 4;
    grid-row: 7/span 4;
    background: var(--bg-mob1-image-path) left bottom 17%/contain no-repeat;
  }
  .checkerboard .img.type2 {
    grid-column: 5/span 2;
    grid-row: 7/span 2;
    background: var(--bg-mob2-image-path) center/contain no-repeat;
  }
  .checkerboard .img.type3 {
    grid-column: 3/span 3;
    grid-row: 4/span 2;
    background: var(--bg-mob3-image-path) center/contain no-repeat;
    background-size: contain;
  }
  .checkerboard .img.type4 {
    grid-column: 4/span 3;
    grid-row: 2/span 1;
    background: url(../images/bg_mob_img04.png) center no-repeat;
  }
  .checkerboard .img.type5 {
    max-width: 46px;
    grid-column: 1/span 1;
    grid-row: 5/span 1;
    background: var(--bg-mob5-image-path) center/contain no-repeat;
  }
}
@media (max-width: 1200px) {
  .checkerboard {
    padding: 140px 28px 135px;
  }
}
.checkerboard.page {
  grid-template-rows: inherit;
  margin: inherit;
  padding: 10px 28px 10px;
}
.checkerboard.hight .item.gift .box p::after {
  -webkit-text-stroke: 0.25em #f345bb;
}
.checkerboard.hight .item:nth-of-type(odd) {
  background-image: url(../images/y_brick.png);
}
.checkerboard.hight .item:nth-of-type(odd):before {
  background-image: url(../images/img_y_arrow.png);
}
.checkerboard.hight .item:nth-of-type(even) {
  background-image: url(../images/b_brick.png);
}
.checkerboard.hight .item:nth-of-type(even):before {
  background-image: url(../images/img_b_arrow.png);
}
.checkerboard.hight .item.destiny {
  background-image: url(../images/r_brick.png);
}

#piece {
  position: relative;
  z-index: 2;
  display: none;
}
#piece img {
  position: relative;
}
#piece.active {
  display: flex;
  justify-content: center;
  align-items: center;
}
#piece.bounce {
  animation: bounce 1s ease-in-out;
}
#piece.light {
  position: relative;
  animation: pulse 2s infinite;
  border-radius: 100%;
}
#piece.light:before {
  content: "";
  width: 112px;
  height: 92px;
  background: url(../images/img_piece-light.png) no-repeat center;
  background-size: contain;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 4s linear infinite; /* 使用名為 rotate 的動畫，持續時間為 4 秒，線性運動，無限循環 */
  transform-origin: center; /* 將旋轉基準點設置為中心點 */
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  100% {
    box-shadow: 0 0 0 50px rgba(255, 255, 255, 0);
  }
}
.menu {
  width: 100%;
  height: 79px;
  background: url(../images/bg_menu.png) center;
  position: relative;
}
.menu .marquee {
  width: 100%;
  height: 40px;
  background: url(../images/bg_marquee.png) center no-repeat;
  position: absolute;
  top: 91px;
  z-index: 9;
}

.login_page {
  height: 100vh;
  grid-template-columns: 1fr;
  grid-template-rows: 55fr 45fr;
  padding: 190px 28px 0;
}
.login_page .logo {
  text-align: center;
  grid-column: 1/span 10;
  grid-row: 1/span 1;
  position: relative;
  padding-bottom: 100%;
}
.login_page .logo img {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.login_page .btn {
  grid-row: 2/span 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding-top: 25px;
}
.login_page .btn a {
  display: block;
}
.login_page .btn a:hover img {
  filter: hue-rotate(136deg);
}
@media (max-width: 1300px) {
  .login_page {
    background-color: transparent;
  }
}
@media (max-width: 1200px) {
  .login_page {
    height: 100%;
    padding: 130px 28px 0;
  }
}

.control {
  max-width: 475px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  grid-gap: 5px;
  padding: 5px;
  position: fixed;
  bottom: 0;
  z-index: 9;
  left: 50%;
  transform: translateX(-50%);
}
.control ul {
  display: flex;
  justify-content: space-between;
  grid-gap: 5px;
}
.control ul li {
  position: relative;
}
.control ul li a {
  width: 55px;
  height: 56px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-gap: 2px;
  font-size: 14px;
  position: relative;
}
.control ul li a img {
  max-height: 17px;
  filter: drop-shadow(4px 4px 1px rgba(13, 49, 36, 0.34));
}
.control ul li a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/btn_control.png);
  z-index: -1;
}
.control ul li a:hover:before {
  filter: hue-rotate(299deg) brightness(100%) saturate(120%);
}
.control ul li .lap {
  background: #8326b3;
  border-radius: 15px;
  color: white;
  font-size: 0.7em;
  white-space: nowrap;
  padding: 3px 8px;
  position: absolute;
  left: 50%;
  top: -17px;
  transform: translate(-50%, 0);
}
@media (max-width: 1200px) {
  .control {
    bottom: 40px;
  }
}
.control.disable .store a:before,
.control.disable .store img,
.control.disable .item a:before,
.control.disable .item img,
.control.disable #randomButton:before {
  filter: saturate(0);
}
.control.disable #randomButton::after {
  display: none;
}

#randomButton {
  width: 173px;
  height: 82px;
  position: relative;
}
#randomButton .box {
  color: white;
  text-align: left;
  padding: 20px 0 0 10px;
}
#randomButton .box strong {
  font-size: clamp(20px, 3vw, 27px);
  line-height: 100%;
}
#randomButton .box p {
  font-size: 14px;
}
#randomButton .box p span {
  color: #ffee2d;
}
#randomButton:after {
  content: "";
  width: 32px;
  height: 30px;
  background: url(../images/btn_randomButton-hand.png);
  display: block;
  position: absolute;
  top: 40px;
  right: -10px;
  animation: ldx-jingle 1s infinite linear;
}
#randomButton:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/btn_randomButton.png);
  z-index: -1;
}
#randomButton:hover:before {
  filter: hue-rotate(299deg) brightness(100%) saturate(120%);
}

.step_1 {
  grid-column: 1/span 1;
  grid-row: 1/span 1;
}

.step_2 {
  grid-column: 2/span 1;
  grid-row: 1/span 1;
}

.step_3 {
  grid-column: 3/span 1;
  grid-row: 1/span 1;
}

.step_4 {
  grid-column: 3/span 1;
  grid-row: 2/span 1;
}

.step_5 {
  grid-column: 3/span 1;
  grid-row: 3/span 1;
}

.step_6 {
  grid-column: 4/span 1;
  grid-row: 3/span 1;
}

.step_7 {
  grid-column: 5/span 1;
  grid-row: 3/span 1;
}

.step_8 {
  grid-column: 6/span 1;
  grid-row: 3/span 1;
}

.step_9 {
  grid-column: 6/span 1;
  grid-row: 4/span 1;
}

.step_10 {
  grid-column: 6/span 1;
  grid-row: 5/span 1;
}

.step_11 {
  grid-column: 6/span 1;
  grid-row: 6/span 1;
}

.step_12 {
  grid-column: 5/span 1;
  grid-row: 6/span 1;
}

.step_13 {
  grid-column: 4/span 1;
  grid-row: 6/span 1;
}

.step_14 {
  grid-column: 4/span 1;
  grid-row: 7/span 1;
}

.step_15 {
  grid-column: 4/span 1;
  grid-row: 8/span 1;
}

.step_16 {
  grid-column: 4/span 1;
  grid-row: 9/span 1;
}

.step_17 {
  grid-column: 5/span 1;
  grid-row: 9/span 1;
}

.step_18 {
  grid-column: 6/span 1;
  grid-row: 9/span 1;
}

.step_19 {
  grid-column: 6/span 1;
  grid-row: 10/span 1;
}

.step_20 {
  grid-column: 6/span 1;
  grid-row: 11/span 1;
}

.step_21 {
  grid-column: 5/span 1;
  grid-row: 11/span 1;
}

.step_22 {
  grid-column: 4/span 1;
  grid-row: 11/span 1;
}

.step_23 {
  grid-column: 3/span 1;
  grid-row: 11/span 1;
}

.step_24 {
  grid-column: 2/span 1;
  grid-row: 11/span 1;
}

.step_25 {
  grid-column: 1/span 1;
  grid-row: 11/span 1;
}

.step_26 {
  grid-column: 1/span 1;
  grid-row: 10/span 1;
}

.step_27 {
  grid-column: 1/span 1;
  grid-row: 9/span 1;
}

.step_28 {
  grid-column: 1/span 1;
  grid-row: 8/span 1;
}

.step_29 {
  grid-column: 1/span 1;
  grid-row: 7/span 1;
}

.step_30 {
  grid-column: 2/span 1;
  grid-row: 7/span 1;
}

.step_31 {
  grid-column: 2/span 1;
  grid-row: 6/span 1;
}

.step_32 {
  grid-column: 2/span 1;
  grid-row: 5/span 1;
}

.step_33 {
  grid-column: 2/span 1;
  grid-row: 4/span 1;
}

.step_34 {
  grid-column: 1/span 1;
  grid-row: 4/span 1;
}

.step_35 {
  grid-column: 1/span 1;
  grid-row: 3/span 1;
}

.step_36 {
  grid-column: 1/span 1;
  grid-row: 2/span 1;
}

body.store {
  background: url(../images/store/bg.jpg) center no-repeat fixed;
}
@media (max-width: 1300px) {
  body.store.store, body.store.login {
    background: url(../images/bg_mob.jpg) center no-repeat fixed;
  }
}

.store_top {
  max-width: 541px;
  width: 100%;
  height: 212px;
  background: url(../images/store/bg_roof.png) center top no-repeat;
  margin: auto;
  position: relative;
  z-index: 2;
  padding: 183px 35px 0;
}
.store_top .nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.store_top .title {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.store_top .title .tt {
  max-width: 213px;
  width: 100%;
  height: 81px;
  background: var(--bg-store_tt-image-path) no-repeat;
  position: relative;
}
.store_top .title .tt:before, .store_top .title .tt:after {
  display: block;
  position: absolute;
  top: -12px;
  left: 57px;
  font-weight: bold;
}
.store_top .title .tt:before {
  content: var(--store_tt);
  color: #d45d63;
  z-index: 2;
}
.store_top .title .tt::after {
  content: var(--store_tt);
  -webkit-text-stroke: 0.25em white;
}
.store_top .title .countdown {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}
.store_top .title .countdown .clock {
  border: 3px #ffd863 solid;
  border-radius: 10px;
  background: #ff8f00;
  padding: 3px 10px 3px 33px;
  position: relative;
}
.store_top .title .countdown .clock span {
  font-size: 10px;
}
.store_top .title .countdown .clock span:not(:empty) {
  font-size: 20px;
}
.store_top .title .countdown .clock:before {
  content: "";
  width: 39px;
  height: 39px;
  background: url(../images/pop/ranking/img_clock.png);
  display: block;
  position: absolute;
  top: -4px;
  left: -12px;
}
.store_top .title .countdown .strokes:after {
  -webkit-text-stroke: 0.25em #267ade;
}
.store_top .title .countdown .clock {
  border: 3px #2a79dd solid;
  background: #6babf7;
  margin-top: -5px;
}
.store_top .title .countdown .clock:before {
  background: url(../images/store/img_clock.png);
}
@media (max-width: 1200px) {
  .store_top {
    height: auto;
    padding: 140px 15px 0;
  }
  .store_top .title {
    gap: 0;
    flex-direction: column;
    align-items: center;
  }
}

.store_main {
  background-color: rgba(255, 255, 255, 0.65);
  position: relative;
  margin-top: -51px;
  display: block;
  font-family: "Noto Sans SC", sans-serif;
  z-index: 1;
  padding: 160px 28px 95px;
}
.store_main .integral .strokes {
  margin-bottom: 5px;
}
.store_main .integral .strokes:after {
  -webkit-text-stroke: 0.25em #4e9bf2;
}
.store_main .integral .field {
  width: 100%;
  border: 1px #aaedfb solid;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  grid-gap: 10px;
  padding: 5px 10px;
  margin-bottom: 20px;
  border: 1px #4f99f1 solid;
}
.store_main .integral .field img {
  max-height: 25px;
}
.store_main ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 0;
}
.store_main ul li {
  display: flex;
  flex-direction: column;
  grid-gap: 10px;
}
.store_main ul li .commodity {
  height: 170px;
  background: url(../images/store/bg_blue.png) center no-repeat;
  background-size: contain;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 10px 0 17px;
}
.store_main ul li .commodity .hint {
  position: absolute;
  right: 3px;
  top: -10px;
}
.store_main ul li .commodity .question_pop {
  border: 1px #fcf4e1 solid;
  background: #57c67a;
  border-radius: 10px;
  color: white;
  position: absolute;
  top: 55px;
  right: 10px;
  font-size: 0.9em;
  padding: 5px;
  white-space: nowrap;
  z-index: 3;
  display: none;
}
.store_main ul li .commodity .question_pop.active {
  display: block;
}
.store_main ul li .commodity .tt {
  margin-bottom: 5px;
}
.store_main ul li .commodity picture {
  margin-bottom: 5px;
}
.store_main ul li .commodity .price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.store_main ul li .commodity .price .box {
  display: flex;
  gap: 3px;
  align-items: center;
}
.store_main ul li .commodity .price .original p {
  font-size: 19px;
  line-height: 100%;
  position: relative;
}
.store_main ul li .commodity .price .original img {
  max-height: 20px;
}
.store_main ul li .commodity .price .special {
  align-items: baseline;
}
.store_main ul li .commodity .price .special p {
  font-size: 13px;
  line-height: 100%;
}
.store_main ul li .commodity .price .special span {
  font-size: 19px;
  line-height: 100%;
}
.store_main ul li .commodity .price .special .strokes:after {
  -webkit-text-stroke: 0.25em #f04e55;
}
.store_main ul li .commodity .price.sale .original {
  text-decoration: line-through;
  text-decoration-color: white;
}
.store_main ul li .quantity {
  display: flex;
  justify-content: center;
  gap: 7px;
}
.store_main ul li .quantity .input {
  border: 1px #5592c7 solid;
  width: 40px;
  text-align: center;
  border-radius: 5px;
}
.store_main ul li .buy:hover img {
  filter: hue-rotate(262deg);
}
.store_main ul li:nth-of-type(odd) .commodity {
  background: url(../images/store/bg_blue.png) center no-repeat;
}
.store_main ul li:nth-of-type(even) .commodity {
  background: url(../images/store/bg_yellow.png) center no-repeat;
}
.store_main ul li:nth-child(1) .commodity .question_pop, .store_main ul li:nth-child(4) .commodity .question_pop {
  right: inherit;
  left: 10px;
}
@media (max-width: 500px) {
  .store_main ul {
    gap: 30px 5px;
  }
  .store_main ul li .commodity .hint {
    right: -5px;
    top: -5px;
  }
  .store_main ul li .commodity .hint img {
    max-width: 25px;
  }
}
@media (max-width: 1200px) {
  .store_main {
    margin-top: -68px;
    padding: 70px 5px 95px;
  }
}

.md .md-modal {
  max-width: 500px;
  width: 100%;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 2000;
  visibility: hidden;
  backface-visibility: hidden;
  transform: translateX(-50%) translateY(-50%);
}
.md .md-modal .md_top {
  width: 100%;
  text-align: right;
  position: relative;
}
.md .md-modal .md_top .title {
  position: absolute;
  left: 50%;
  top: -12px;
  transform: translate(-50%, -50%);
  z-index: 5;
}
.md .md-modal .md_top .md_close {
  width: 40px;
  height: 40px;
  border: 2px white solid;
  background: #5ebbd8;
  border-radius: 100%;
  position: absolute;
  top: -50px;
  right: 10px;
}
.md .md-modal .md-content {
  border-radius: 20px;
  border: 6px #7fe2ff solid;
  background-color: #f1fcff;
  padding: 40px 30px;
  position: relative;
  margin: auto;
}
.md .md-close {
  color: white;
  border-radius: 25%;
  font-size: 45px;
  display: flex;
  position: absolute;
  top: -54px;
  right: 10px;
  visibility: hidden;
  align-items: center;
  justify-content: center;
}

.md-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  visibility: hidden;
  pointer-events: none;
  top: 0;
  left: 0;
  z-index: 99;
  opacity: 0;
  background: black;
  transition: all 0.3s;
}

.md.active .md-modal {
  visibility: visible;
}
.md.active .md-overlay {
  opacity: 0.8;
  visibility: visible;
  pointer-events: auto;
}
.md.active .md-close {
  visibility: visible;
  right: 1px;
}

.md.light .md-modal .md_top {
  height: 145px;
}
.md.light .md-modal .md_top .title {
  top: inherit;
  bottom: -73%;
}
.md.light .md-modal .md_top .md_close {
  bottom: 20px;
  top: inherit;
}
.md.light .md-modal .md_top:before {
  content: "";
  width: 100%;
  height: 144px;
  background: url(../images/pop/img_star.png) center top no-repeat;
  background-size: contain;
  display: block;
  position: absolute;
  bottom: 11px;
}
.md.light .md-modal:before {
  content: "";
  width: 230%;
  height: 100vh;
  background: url(../images/pop/img_light.png) center no-repeat;
  background-size: contain;
  display: block;
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, 0);
  z-index: -1;
  animation: rotate 4s linear infinite;
  pointer-events: none;
}

.md_mine .md-modal .md-content {
  background: url(../images/pop/bg_cloud.png) center bottom no-repeat #f1fcff;
  padding: 80px 20px 30px;
}
@media (max-width: 380px) {
  .md_mine .md-modal .md-content {
    overflow-y: auto;
    max-height: calc(100vh - 160px);
  }
}
.md_mine .md-modal .md-content .user {
  display: flex;
  align-items: center;
  grid-gap: 20px;
  margin-bottom: 20px;
}
.md_mine .md-modal .md-content .user picture {
  flex-shrink: 0;
}
.md_mine .md-modal .md-content .user .info-box {
  margin-bottom: 0;
}
.md_mine .md-modal .md-content .info-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.md_mine .md-modal .md-content .info-box h3 {
  color: #0493bd;
  font-size: 0.9em;
}
.md_mine .md-modal .md-content .info-box .field {
  width: 100%;
  border: 1px #aaedfb solid;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  grid-gap: 10px;
  padding: 5px 10px;
  margin-top: 5px;
}
.md_mine .md-modal .md-content .info-box .section {
  display: flex;
  align-items: center;
  grid-gap: 5px;
  margin-bottom: 20px;
  position: relative;
}
.md_mine .md-modal .md-content .info-box .section .question_pop {
  visibility: hidden;
  pointer-events: none;
  border-radius: 15px;
  color: white;
  position: absolute;
  bottom: 100%;
  padding: 10px;
  background: #0c92bb;
}
.md_mine .md-modal .md-content .info-box .section .question_pop.active {
  visibility: visible;
}
.md_mine .md-modal .md-content .info-box .star {
  display: flex;
  grid-gap: 10px;
}
.md_rule .md-modal .md-content .main .list li p, .md_rule .md-modal .md-content .main .time li p, .md_rule .md-modal .md-content .main .txt p {
  color: #5c5c5c;
  font-size: 0.9em;
}
.md_rule .md-modal {
  max-width: 1000px;
}
.md_rule .md-modal .md-content {
  background: url(../images/pop/bg_cloud.png) center bottom no-repeat #f1fcff;
  overflow-y: auto;
  max-height: calc(100vh - 244px);
}
.md_rule .md-modal .md-content .main .txt {
  line-height: 125%;
  margin-bottom: 20px;
  padding-left: 30px;
}
.md_rule .md-modal .md-content .main .txt h3 {
  color: #0493bd;
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 10px;
}
.md_rule .md-modal .md-content .main .txt p span {
  color: #0493bd;
}
.md_rule .md-modal .md-content .main .time {
  background: #b6eeff;
  border-radius: 20px;
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 25px;
  margin-bottom: 20px;
}
.md_rule .md-modal .md-content .main .time li .tt {
  color: #0493bd;
  font-size: 0.9em;
  font-weight: bold;
  margin-bottom: 5px;
}
.md_rule .md-modal .md-content .main .time li .box {
  display: flex;
  align-items: center;
  grid-gap: 5px;
}
.md_rule .md-modal .md-content .main .time li .box .item {
  border-radius: 5px;
  background: #239cda;
  color: white;
  padding: 5px 10px;
}
.md_rule .md-modal .md-content .main .list {
  border: 1px #239cda solid;
  border-radius: 20px;
  margin-bottom: 20px;
}
.md_rule .md-modal .md-content .main .list li {
  display: flex;
  align-items: center;
  grid-gap: 15px;
  padding: 10px;
}
.md_rule .md-modal .md-content .main .list li picture {
  flex-basis: 65px;
  flex-shrink: 0;
  text-align: center;
}
.md_rule .md-modal .md-content .main .list li p {
  flex-grow: 1;
}
.md_rule .md-modal .md-content .main .list li p span {
  color: #239cda;
}
.md_rule .md-modal .md-content .main .list li:not(:last-child) {
  border-bottom: 1px #239cda solid;
}
@media (max-width: 768px) {
  .md_rule .md-modal .md_top .md_close {
    right: 10px;
  }
  .md_rule .md-modal .md-content {
    padding: 40px 5px;
  }
  .md_rule .md-modal .md-content .main .txt {
    padding: 0;
  }
  .md_rule .md-modal .md-content .main .txt h3 {
    margin-bottom: 5px;
  }
  .md_rule .md-modal .md-content .main .time {
    display: flex;
    padding: 10px;
    flex-direction: column;
    grid-gap: 15px;
  }
}

.md_log .md-modal {
  max-width: 560px;
}
.md_log .md-modal .md_top ul {
  display: flex;
  justify-content: center;
  grid-gap: 19px;
  position: relative;
}
.md_log .md-modal .md_top ul li button {
  height: 50px;
  border: 5px solid #7fe2ff;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  padding: 3px 9px;
}
.md_log .md-modal .md_top ul {
  grid-gap: 5px;
}
.md_log .md-modal .md_top ul li button {
  width: 130px;
  height: 70px;
  background-repeat: no-repeat;
  background-position: center top 5px;
  background-color: #91908f;
}
.md_log .md-modal .md_top ul li.active button {
  background-position: center top -57px;
}
.md_log .md-modal .md_top ul li.game button {
  background-image: url(../images/pop/log/icon_tab_1.png);
}
.md_log .md-modal .md_top ul li.game.active button {
  background-color: #5ee1ae;
  box-shadow: inset 0 0 11px #4a9246;
}
.md_log .md-modal .md_top ul li.integral button {
  background-image: url(../images/pop/log/icon_tab_2.png);
}
.md_log .md-modal .md_top ul li.integral.active button {
  background-color: #ff8298;
  box-shadow: inset 0 0 11px #db7185;
}
.md_log .md-modal .md_top ul li.festival button {
  background-image: url(../images/pop/log/icon_tab_3.png);
}
.md_log .md-modal .md_top ul li.festival.active button {
  background-color: #aa78ec;
  box-shadow: inset 0 0 11px #8e51df;
}
.md_log .md-modal .md_top ul li.lottery button {
  background-image: url(../images/pop/log/icon_tab_4.png);
}
.md_log .md-modal .md_top ul li.lottery.active button {
  background-color: #fe9920;
  box-shadow: inset 0 0 11px #fd8617;
}
@media (max-width: 500px) {
  .md_log .md-modal .md_top ul li button {
    background-size: cover;
    width: 86px;
    height: 58px;
  }
  .md_log .md-modal .md_top ul li.active button {
    background-position: center top -45px;
  }
}
.md_log .md-modal .md-content {
  padding: 20px 30px;
  margin-top: -2px;
  overflow-y: auto;
  max-height: calc(100vh - 244px);
}
.md_log .md-modal .md-content .log_main .bonus {
  margin-bottom: 20px;
}
.md_log .md-modal .md-content .log_main .bonus h3 {
  color: #5ebdd9;
  font-size: 0.9em;
}
.md_log .md-modal .md-content .log_main .bonus .field {
  width: 100%;
  border: 1px #aaedfb solid;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  grid-gap: 10px;
  padding: 5px 10px;
}
.md_log .md-modal .md-content .log_main .moon {
  margin-bottom: 10px;
}
.md_log .md-modal .md-content .log_main .moon select {
  color: #5ebbd8;
  width: 100%;
  border: 1px #aaedfb solid;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  grid-gap: 10px;
  padding: 5px 10px;
  margin-top: 5px;
  text-align: center;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 10px 20px 10px; /* 让图片有空间显示 */
  background: white url("../images/pop/icon_arrow.png") no-repeat right 17px center;
}
.md_log .md-modal .md-content .log_main table {
  box-shadow: 0 0 0 1px #5ebbd8;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  width: 100%;
  margin-bottom: 20px;
}
.md_log .md-modal .md-content .log_main table th {
  background: #5ebbd8;
  color: white;
  padding: 5px;
}
.md_log .md-modal .md-content .log_main table td {
  text-align: center;
  padding: 8px;
}
.md_log .md-modal .md-content .log_main table td.awards {
  color: #f04e55;
}
.md_log .md-modal .md-content .log_main .txt p {
  margin-bottom: 10px;
}
.md_log .md-modal .md-content .log_main .txt .red {
  color: #ff748b;
}
.md_log .md-modal .md-content .log_main.integral .bonus h3 {
  color: #ff738a;
}
.md_log .md-modal .md-content .log_main.integral .bonus .field {
  border: 1px #ff738a solid;
}
.md_log .md-modal .md-content .log_main.integral .moon select {
  border: 1px #ff738a solid;
  background: white url(../images/pop/icon_arrow-red.png) no-repeat right 17px center;
  color: #ff738a;
}
.md_log .md-modal .md-content .log_main.integral table {
  box-shadow: 0 0 0 1px #ff738a;
}
.md_log .md-modal .md-content .log_main.integral table th {
  background: #ff738a;
}
.md_log .md-modal .md-content .log_main.festival .bonus h3 {
  color: #a876e9;
}
.md_log .md-modal .md-content .log_main.festival .bonus .field {
  border: 1px #a876e9 solid;
}
.md_log .md-modal .md-content .log_main.festival .moon select {
  border: 1px #a876e9 solid;
  background: white url(../images/pop/icon_arrow-purple.png) no-repeat right 17px center;
  color: #a876e9;
}
.md_log .md-modal .md-content .log_main.festival table {
  box-shadow: 0 0 0 1px #a876e9;
}
.md_log .md-modal .md-content .log_main.festival table th {
  background: #a876e9;
}
.md_log .md-modal .md-content .log_main.lottery .bonus h3 {
  color: #ff7705;
}
.md_log .md-modal .md-content .log_main.lottery .bonus .field {
  border: 1px #ff7705 solid;
}
.md_log .md-modal .md-content .log_main.lottery .moon select {
  border: 1px #ff7705 solid;
  background: white url(../images/pop/icon_arrow-orange.png) no-repeat right 17px center;
  color: #ff7705;
}
.md_log .md-modal .md-content .log_main.lottery table {
  box-shadow: 0 0 0 1px #ff7705;
}
.md_log .md-modal .md-content .log_main.lottery table th {
  background: #ff7705;
}
@media (max-width: 500px) {
  .md_log .md-modal .md_top ul {
    grid-gap: 2px;
  }
  .md_log .md-modal .md_top ul li button {
    background-size: cover;
    width: 86px;
    height: 58px;
  }
}

.md_ranking .md-modal .md_top ul {
  display: flex;
  justify-content: center;
  grid-gap: 19px;
  position: relative;
}
.md_ranking .md-modal .md_top ul li button {
  height: 50px;
  border: 5px solid #7fe2ff;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  padding: 3px 9px;
}
.md_ranking .md-modal .md_top .md_close {
  background: #ffd863;
  top: 20px;
}
.md_ranking .md-modal .md_top .countdown {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}
.md_ranking .md-modal .md_top .countdown .clock {
  border: 3px #ffd863 solid;
  border-radius: 10px;
  background: #ff8f00;
  padding: 3px 10px 3px 33px;
  position: relative;
}
.md_ranking .md-modal .md_top .countdown .clock span {
  font-size: 10px;
}
.md_ranking .md-modal .md_top .countdown .clock span:not(:empty) {
  font-size: 20px;
}
.md_ranking .md-modal .md_top .countdown .clock:before {
  content: "";
  width: 39px;
  height: 39px;
  background: url(../images/pop/ranking/img_clock.png);
  display: block;
  position: absolute;
  top: -4px;
  left: -12px;
}
.md_ranking .md-modal .md_top ul {
  grid-gap: 5px;
}
.md_ranking .md-modal .md_top ul li button {
  border-color: #ffd863; /* 改变边框颜色 */
}
.md_ranking .md-modal .md_top ul li.ranking {
  max-width: 300px;
  width: 100%;
}
.md_ranking .md-modal .md_top ul li.ranking button {
  width: 100%;
  background: url(../images/pop/ranking/icon_tab.png) no-repeat left 50px top -11px #91908f;
}
.md_ranking .md-modal .md_top ul li.ranking.active button {
  background: url(../images/pop/ranking/icon_tab.png) no-repeat left 50px top -54px #ff8f00;
  box-shadow: inset 0 0 11px #b76700;
}
.md_ranking .md-modal .md_top ul li.rule button {
  width: 100px;
  background: url(../images/pop/ranking/icon_tab.png) no-repeat left -244px top -11px #91908f;
}
.md_ranking .md-modal .md_top ul li.rule.active button {
  background: url(../images/pop/ranking/icon_tab.png) no-repeat left -244px top -54px #ff8f00;
  box-shadow: inset 0 0 11px #b76700;
}
.md_ranking .md-modal .md_top ul:before {
  content: "";
  width: 99px;
  height: 72px;
  background: url(../images/pop/ranking/img_crown.png);
  display: block;
  position: absolute;
  top: -50px;
  left: 20px;
  z-index: -1;
}
.md_ranking .md-modal .md-content {
  border: 6px #ffd863 solid;
  background: white;
  padding: 20px 30px;
  margin-top: -2px;
  overflow-y: auto;
  max-height: calc(100vh - 244px);
}
.md_ranking .md-modal .md-content .log_main .moon {
  margin-bottom: 10px;
}
.md_ranking .md-modal .md-content .log_main .moon select {
  color: #5ebbd8;
  width: 100%;
  border: 1px #aaedfb solid;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  grid-gap: 10px;
  padding: 5px 10px;
  margin-top: 5px;
  text-align: center;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 10px 20px 10px; /* 让图片有空间显示 */
  border: 1px #ffd863 solid;
  color: #5c5c5c;
  background: white url("../images/pop/icon_arrow-yellow.png") no-repeat right 17px center;
}
.md_ranking .md-modal .md-content .log_main .my {
  border-radius: 20px;
  background: #ffd863;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 15px;
  padding: 20px;
  margin-bottom: 20px;
}
.md_ranking .md-modal .md-content .log_main .my li .tt {
  margin-bottom: 5px;
}
.md_ranking .md-modal .md-content .log_main .my li .field {
  width: 100%;
  border: 1px #aaedfb solid;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  grid-gap: 10px;
  padding: 5px 10px;
  border: 0;
  grid-gap: 5px;
}
.md_ranking .md-modal .md-content .log_main table {
  box-shadow: 0 0 0 1px #5ebbd8;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  width: 100%;
  margin-bottom: 20px;
  box-shadow: 0 0 0 1px #ffd863;
}
.md_ranking .md-modal .md-content .log_main table th {
  background: #5ebbd8;
  color: white;
  padding: 5px;
}
.md_ranking .md-modal .md-content .log_main table td {
  text-align: center;
  padding: 8px;
}
.md_ranking .md-modal .md-content .log_main table td.awards {
  color: #f04e55;
}
.md_ranking .md-modal .md-content .log_main table th {
  background: #ffd863;
  color: #5c5c5c;
}
.md_ranking .md-modal .md-content .log_main .txt .tt {
  background: #ffd863;
  border-radius: 20px;
  padding: 5px 10px;
  display: inline-block;
}
.md_ranking .md-modal .md-content .log_main .txt p {
  margin-bottom: 10px;
}
.md_ranking .md-modal .md-content .log_main.rule table td,
.md_ranking .md-modal .md-content .log_main.rule table th {
  border: 1px solid #ffd863;
}
@media (max-width: 500px) {
  .md_ranking .md-modal .md_top ul li.ranking {
    max-width: 220px;
  }
  .md_ranking .md-modal .md_top ul li.ranking button {
    background: url(../images/pop/ranking/icon_tab.png) no-repeat left 10px top -11px #91908f;
  }
  .md_ranking .md-modal .md_top ul li.ranking.active button {
    background: url(../images/pop/ranking/icon_tab.png) no-repeat left 10px top -54px #ff8f00;
  }
  .md_ranking .md-modal .md_top ul:before {
    display: none;
  }
  .md_ranking .md-modal .md-content {
    padding: 20px 15px;
  }
}

.md_finish .md-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background-image: url(../images/pop/bg_cloud.png);
  background-repeat: no-repeat;
  background-position: center bottom;
}
.md_finish .md-content .txt {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.md_finish .md-content .txt strong {
  font-size: clamp(32px, 3vw, 36px);
}
.md_finish .md-content .txt strong:after {
  -webkit-text-stroke: 0.15em #4e9bf2;
}
.md_finish .md-content .txt p {
  color: #4e9bf2;
}
.md_finish .md-content .btn {
  display: flex;
  justify-content: center;
  gap: 35px;
}
.md_finish .md-modal {
  max-width: 400px;
}
.md_finish .md-modal .md_top .md_close {
  background: #7fe2ff;
}
.md_finish .md-modal .md_top .title {
  bottom: -73%;
}
.md_finish .md-modal .md_top .title img {
  width: 254px;
  max-width: inherit;
}
.md_finish .md-modal .md-content {
  background: url(../images/pop/bg_cloud.png) center bottom no-repeat #f1fcff;
  padding: 80px 20px 30px;
}
.md_finish .md-modal .md-content .txt {
  margin-bottom: 40px;
}
.md_finish .md-modal .md-content .txt .strokes::after {
  -webkit-text-stroke: 0.25em #4e9bf2;
}
.md_finish .md-modal .md-content .txt .product {
  font-size: clamp(18px, 3vw, 24px);
  color: white;
  font-weight: bold;
  letter-spacing: 4px;
}
.md_finish .md-modal .md-content .txt .product::after {
  -webkit-text-stroke: 0.15em #4e9bf2;
}
.md_finish .md-modal .md-content .txt .schedule {
  font-size: clamp(32px, 3vw, 36px);
  color: white;
  font-weight: bold;
  letter-spacing: 4px;
}
.md_finish .md-modal .md-content .txt .schedule::after {
  -webkit-text-stroke: 0.15em #4e9bf2;
}

.md_quantity .md-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background-image: url(../images/pop/bg_cloud.png);
  background-repeat: no-repeat;
  background-position: center bottom;
}
.md_quantity .md-content .txt {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.md_quantity .md-content .txt strong {
  font-size: clamp(32px, 3vw, 36px);
}
.md_quantity .md-content .txt strong:after {
  -webkit-text-stroke: 0.15em #4e9bf2;
}
.md_quantity .md-content .txt p {
  color: #4e9bf2;
}
.md_quantity .md-content .btn {
  display: flex;
  justify-content: center;
  gap: 35px;
}
.md_quantity .md-modal {
  max-width: 355px;
}
.md_quantity .md-modal .md_top .md_close {
  background: #7fe2ff;
}
.md_quantity .md-modal .md-content {
  background-image: url(../images/pop/bg_cloud.png);
  background-repeat: no-repeat;
  background-position: center bottom;
}
.md_quantity .md-modal .md-content .txt p {
  font-size: clamp(32px, 3vw, 36px);
  color: white;
  font-weight: bold;
  letter-spacing: 4px;
}
.md_quantity .md-modal .md-content .txt p::after {
  -webkit-text-stroke: 0.15em #4e9bf2;
}

.md_insufficient .md-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background-image: url(../images/pop/bg_cloud.png);
  background-repeat: no-repeat;
  background-position: center bottom;
}
.md_insufficient .md-content .txt {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.md_insufficient .md-content .txt strong {
  font-size: clamp(32px, 3vw, 36px);
}
.md_insufficient .md-content .txt strong:after {
  -webkit-text-stroke: 0.15em #4e9bf2;
}
.md_insufficient .md-content .txt p {
  color: #4e9bf2;
}
.md_insufficient .md-content .btn {
  display: flex;
  justify-content: center;
  gap: 35px;
}
.md_insufficient .md-modal {
  max-width: 400px;
}
.md_insufficient .md-modal .md_top .md_close {
  background: #7fe2ff;
}
.md_insufficient .md-modal .md-content .btn .link_esb {
  width: auto;
}

.md_store_log .md-modal .md_top .md_close {
  background: #6babf7;
  top: -75px;
}
.md_store_log .md-modal .md_top .title {
  top: 8px;
}
.md_store_log .md-modal .md_top .title img {
  max-width: inherit;
}
.md_store_log .md-modal .md-content {
  padding: 50px 15px 20px;
  margin-top: -2px;
  overflow-y: auto;
  max-height: calc(100vh - 244px);
  border: 6px #6babf7 solid;
  background: white;
}
.md_store_log .md-modal .md-content .log_main .moon {
  margin-bottom: 10px;
}
.md_store_log .md-modal .md-content .log_main .moon select {
  color: #5ebbd8;
  width: 100%;
  border: 1px #aaedfb solid;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  grid-gap: 10px;
  padding: 5px 10px;
  margin-top: 5px;
  text-align: center;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 10px 20px 10px; /* 让图片有空间显示 */
  background: white url("../images/pop/store/icon_arrow.png") no-repeat right 17px center;
  color: #6babf7;
  border: 1px #6babf7 solid;
}
.md_store_log .md-modal .md-content .log_main table {
  box-shadow: 0 0 0 1px #5ebbd8;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  width: 100%;
  margin-bottom: 20px;
  box-shadow: 0 0 0 1px #6babf7;
}
.md_store_log .md-modal .md-content .log_main table th {
  background: #5ebbd8;
  color: white;
  padding: 5px;
}
.md_store_log .md-modal .md-content .log_main table td {
  text-align: center;
  padding: 8px;
}
.md_store_log .md-modal .md-content .log_main table td.awards {
  color: #f04e55;
}
.md_store_log .md-modal .md-content .log_main table th {
  background: #6babf7;
}

.md_item .md-modal {
  max-width: 490px;
}
.md_item .md-modal .md_top .title img:first-of-type {
  display: inline-block;
}
.md_item .md-modal .md_top .title img:last-of-type {
  display: none;
}
@media (max-width: 380px) {
  .md_item .md-modal .md-content {
    overflow-y: auto;
    max-height: calc(100vh - 160px);
  }
}
.md_item .md-modal .md-content.md_item_menu {
  padding: 95px 10px 20px;
  background-image: url(../images/pop/bg_cloud.png);
  background-repeat: no-repeat;
  background-position: center bottom;
}
.md_item .md-modal .md-content.md_item_menu ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 0;
}
.md_item .md-modal .md-content.md_item_menu ul li {
  display: flex;
  flex-direction: column;
  grid-gap: 10px;
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity {
  height: 170px;
  background: url(../images/store/bg_blue.png) center no-repeat;
  background-size: contain;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 10px 0 17px;
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity .hint {
  position: absolute;
  right: 3px;
  top: -10px;
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity .question_pop {
  border: 1px #fcf4e1 solid;
  background: #57c67a;
  border-radius: 10px;
  color: white;
  position: absolute;
  top: 55px;
  right: 10px;
  font-size: 0.9em;
  padding: 5px;
  white-space: nowrap;
  z-index: 3;
  display: none;
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity .question_pop.active {
  display: block;
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity .tt {
  margin-bottom: 5px;
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity picture {
  margin-bottom: 5px;
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity .price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity .price .box {
  display: flex;
  gap: 3px;
  align-items: center;
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity .price .original p {
  font-size: 19px;
  line-height: 100%;
  position: relative;
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity .price .original img {
  max-height: 20px;
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity .price .special {
  align-items: baseline;
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity .price .special p {
  font-size: 13px;
  line-height: 100%;
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity .price .special span {
  font-size: 19px;
  line-height: 100%;
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity .price .special .strokes:after {
  -webkit-text-stroke: 0.25em #f04e55;
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity .price.sale .original {
  text-decoration: line-through;
  text-decoration-color: white;
}
.md_item .md-modal .md-content.md_item_menu ul li .quantity {
  display: flex;
  justify-content: center;
  gap: 7px;
}
.md_item .md-modal .md-content.md_item_menu ul li .quantity .input {
  border: 1px #5592c7 solid;
  width: 40px;
  text-align: center;
  border-radius: 5px;
}
.md_item .md-modal .md-content.md_item_menu ul li .buy:hover img {
  filter: hue-rotate(262deg);
}
.md_item .md-modal .md-content.md_item_menu ul li:nth-of-type(odd) .commodity {
  background: url(../images/store/bg_blue.png) center no-repeat;
}
.md_item .md-modal .md-content.md_item_menu ul li:nth-of-type(even) .commodity {
  background: url(../images/store/bg_yellow.png) center no-repeat;
}
.md_item .md-modal .md-content.md_item_menu ul li:nth-child(1) .commodity .question_pop, .md_item .md-modal .md-content.md_item_menu ul li:nth-child(4) .commodity .question_pop {
  right: inherit;
  left: 10px;
}
@media (max-width: 500px) {
  .md_item .md-modal .md-content.md_item_menu ul {
    gap: 30px 5px;
  }
  .md_item .md-modal .md-content.md_item_menu ul li .commodity .hint {
    right: -5px;
    top: -5px;
  }
  .md_item .md-modal .md-content.md_item_menu ul li .commodity .hint img {
    max-width: 25px;
  }
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity .tt {
  margin-bottom: 10px;
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity picture {
  height: 64px;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.md_item .md-modal .md-content.md_item_menu ul li .commodity .have {
  display: flex;
  gap: 10px;
}
.md_item .md-modal .md-content.md_item_menu ul li select {
  color: #5ebbd8;
  width: 100%;
  border: 1px #aaedfb solid;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  grid-gap: 10px;
  padding: 5px 10px;
  margin-top: 5px;
  text-align: center;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 10px 20px 10px; /* 让图片有空间显示 */
  background: white url(../images/pop/store/icon_arrow.png) no-repeat right 10px center;
  border: 1px #5592c7 solid;
  border-radius: 10px;
  max-width: 125px;
  color: #5c5c5c;
  padding: 5px 10px;
  margin: auto;
  text-align: left;
}
.md_item .md-modal .md-content.md_item_menu ul li .buy:disabled img {
  filter: saturate(0);
}
.md_item .md-modal .md-content.md_item_menu ul li.specify .commodity {
  background: url(../images/store/bg_blue.png) center no-repeat;
}
.md_item .md-modal .md-content.md_item_effect {
  background: #fdd54c;
  border: 6px #fff843 solid;
  padding: 45px 10px 20px;
}
.md_item .md-modal .md-content.md_item_effect ul {
  position: relative;
  z-index: 1;
}
.md_item .md-modal .md-content.md_item_effect ul li {
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: white;
  text-align: center;
  display: none;
}
.md_item .md-modal .md-content.md_item_effect ul li .tt {
  font-size: clamp(30px, 3vw, 36px);
  font-weight: bold;
  letter-spacing: 4px;
}
.md_item .md-modal .md-content.md_item_effect ul li .tt::after {
  -webkit-text-stroke: 0.15em #b17010;
}
.md_item .md-modal .md-content.md_item_effect ul li .result {
  font-size: clamp(30px, 3vw, 36px);
  font-weight: bold;
  letter-spacing: 4px;
  display: flex;
}
.md_item .md-modal .md-content.md_item_effect ul li .result::after {
  -webkit-text-stroke: 0.15em #b17010;
}
.md_item .md-modal .md-content.md_item_effect ul li .result p,
.md_item .md-modal .md-content.md_item_effect ul li .result span {
  font-weight: bold;
  letter-spacing: 4px;
}
.md_item .md-modal .md-content.md_item_effect ul li .result p::after,
.md_item .md-modal .md-content.md_item_effect ul li .result span::after {
  -webkit-text-stroke: 0.15em #b17010;
}
.md_item .md-modal .md-content.md_item_effect ul li .confirm:hover img {
  filter: hue-rotate(299deg);
}
.md_item .md-modal .md-content.md_item_effect ul li.double .dice {
  position: relative;
}
.md_item .md-modal .md-content.md_item_effect ul li.double .dice .mark {
  position: absolute;
  right: -60px;
  bottom: 20px;
}
.md_item .md-modal .md-content.md_item_effect ul li.double .confirm.active {
  visibility: hidden;
  pointer-events: none;
}
.md_item .md-modal .md-content.md_item_effect ul li.back picture img {
  animation: ldx-flip-h 1s infinite linear;
}
.md_item .md-modal .md-content.md_item_effect ul li.world {
  overflow: hidden;
}
.md_item .md-modal .md-content.md_item_effect ul li.world picture img {
  animation: ldx-rush-ltr 1s infinite linear;
}
.md_item .md-modal .md-content.md_item_effect ul li.specify picture img {
  max-width: 110px;
}
.md_item .md-modal .md-content.md_item_effect::after {
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/pop/img_light_y.png) center no-repeat;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.md_item.effect .md-modal .md_top:before {
  filter: hue-rotate(177deg);
}
.md_item.effect .md-modal .md_top .title img:first-of-type {
  display: none;
}
.md_item.effect .md-modal .md_top .title img:last-of-type {
  display: inline-block;
}
.md_item.effect .md-modal .md_item_effect li.active {
  display: flex;
}

.md_money .md-modal {
  max-width: 360px;
}
.md_money .md-modal .md_top .title .img {
  height: 115px;
  width: 188px;
  position: relative;
  left: 50%;
  top: -45px;
  transform: translate(-50%, 0);
  overflow: hidden;
}
.md_money .md-modal .md_top .title .img img {
  transform: translateY(200px);
}
.md_money .md-modal .md_top .title .img .bag {
  position: absolute;
  left: 50%;
  top: 1px;
  transform: translate(-50%, 0);
  z-index: 1;
}
.md_money .md-modal .md_top .title .img .coin01 {
  position: absolute;
  left: 31px;
  top: 31px;
}
.md_money .md-modal .md_top .title .img .coin02 {
  position: absolute;
  left: 2px;
  top: 50px;
  z-index: 2;
}
.md_money .md-modal .md_top .title .tt {
  position: absolute;
  left: 50%;
  top: 45px;
  transform: translate(-50%, 0);
}
.md_money .md-modal .md_top .title .tt img {
  max-width: inherit;
}
.md_money .md-modal .md_top:before {
  animation: bright 2.5s infinite alternate;
}
.md_money .md-modal .md-content {
  border: 0;
  background: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.md_money .md-modal .md-content .main {
  border-radius: 20px;
  border: 6px #7fe2ff solid;
  background: linear-gradient(to bottom, #68e0cf, #209cff);
  padding: 40px 0 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.md_money .md-modal .md-content .main h3 {
  color: white;
  font-size: clamp(30px, 3vw, 36px);
  text-align: center;
}
.md_money .md-modal .md-content .main h3:after {
  -webkit-text-stroke: 0.15em #4e9bf2;
}
.md_money .md-modal .md-content .main .amount {
  color: white;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(100px, 3vw, 120px);
  font-weight: bold;
  line-height: 100%;
  letter-spacing: -8px;
  text-indent: -8px;
}
.md_money .md-modal .md-content .main .amount:after {
  -webkit-text-stroke: 0.05em #4e9bf2;
}
.md_money .md-modal .md-content .main .txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(16px, 3vw, 20px);
}
.md_money .md-modal .md-content .main .txt p:after {
  -webkit-text-stroke: 0.25em #4e9bf2;
}
.md_money .md-modal .md-content .main::after {
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/pop/img_light_y.png) center no-repeat;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  filter: hue-rotate(145deg);
}
.md_money .md-modal .md-content .main:before {
  content: "";
  width: 394px;
  height: 102px;
  background: url(../images/pop/money/img_ribbon.png);
  display: block;
  position: absolute;
  left: calc(50% - 2px);
  bottom: -9px;
  transform: translate(-50%, 0);
  z-index: 1;
}
.md_money .md-modal .md-content .confirm:hover img {
  filter: hue-rotate(299deg);
}
.md_money .md-modal .md-content:before, .md_money .md-modal .md-content:after {
  content: "";
  width: 48px;
  height: 30px;
  background: url(../images/pop/money/img_coin03.png);
  display: block;
  position: absolute;
  z-index: 2;
  animation: ldx-metronome 1s infinite linear;
}
.md_money .md-modal .md-content:before {
  left: -30px;
  top: 41px;
}
.md_money .md-modal .md-content:after {
  right: -30px;
  bottom: 181px;
}
.md_money.active .md-modal .md_top .title .img .bag img {
  animation: move-up 1s linear forwards;
}
.md_money.active .md-modal .md_top .title .img .coin01 img {
  animation: move-up 1s 0.2s linear forwards;
}
.md_money.active .md-modal .md_top .title .img .coin02 img {
  animation: move-up 1s 0.4s linear forwards;
}

.md_prize .md-modal {
  max-width: 360px;
}
.md_prize .md-modal .md_top .title .img {
  height: 115px;
  width: 188px;
  position: relative;
  left: 50%;
  top: -45px;
  transform: translate(-50%, 0);
  overflow: hidden;
}
.md_prize .md-modal .md_top .title .img img {
  transform: translateY(200px);
}
.md_prize .md-modal .md_top .title .img .bag {
  position: absolute;
  left: 50%;
  top: 1px;
  transform: translate(-50%, 0);
  z-index: 1;
}
.md_prize .md-modal .md_top .title .img .coin01 {
  position: absolute;
  left: 31px;
  top: 31px;
}
.md_prize .md-modal .md_top .title .img .coin02 {
  position: absolute;
  left: 2px;
  top: 50px;
  z-index: 2;
}
.md_prize .md-modal .md_top .title .tt {
  position: absolute;
  left: 50%;
  top: 45px;
  transform: translate(-50%, 0);
}
.md_prize .md-modal .md_top .title .tt img {
  max-width: inherit;
}
.md_prize .md-modal .md_top:before {
  animation: bright 2.5s infinite alternate;
}
.md_prize .md-modal .md-content {
  border: 0;
  background: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.md_prize .md-modal .md-content .main {
  border-radius: 20px;
  border: 6px #7fe2ff solid;
  background: linear-gradient(to bottom, #68e0cf, #209cff);
  padding: 40px 0 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.md_prize .md-modal .md-content .main h3 {
  color: white;
  font-size: clamp(30px, 3vw, 36px);
  text-align: center;
}
.md_prize .md-modal .md-content .main h3:after {
  -webkit-text-stroke: 0.15em #4e9bf2;
}
.md_prize .md-modal .md-content .main .amount {
  color: white;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(100px, 3vw, 120px);
  font-weight: bold;
  line-height: 100%;
  letter-spacing: -8px;
  text-indent: -8px;
}
.md_prize .md-modal .md-content .main .amount:after {
  -webkit-text-stroke: 0.05em #4e9bf2;
}
.md_prize .md-modal .md-content .main .txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(16px, 3vw, 20px);
}
.md_prize .md-modal .md-content .main .txt p:after {
  -webkit-text-stroke: 0.25em #4e9bf2;
}
.md_prize .md-modal .md-content .main::after {
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/pop/img_light_y.png) center no-repeat;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  filter: hue-rotate(145deg);
}
.md_prize .md-modal .md-content .main:before {
  content: "";
  width: 394px;
  height: 102px;
  background: url(../images/pop/money/img_ribbon.png);
  display: block;
  position: absolute;
  left: calc(50% - 2px);
  bottom: -9px;
  transform: translate(-50%, 0);
  z-index: 1;
}
.md_prize .md-modal .md-content .confirm:hover img {
  filter: hue-rotate(299deg);
}
.md_prize .md-modal .md-content:before, .md_prize .md-modal .md-content:after {
  content: "";
  width: 48px;
  height: 30px;
  background: url(../images/pop/money/img_coin03.png);
  display: block;
  position: absolute;
  z-index: 2;
  animation: ldx-metronome 1s infinite linear;
}
.md_prize .md-modal .md-content:before {
  left: -30px;
  top: 41px;
}
.md_prize .md-modal .md-content:after {
  right: -30px;
  bottom: 181px;
}
.md_prize.active .md-modal .md_top .title .img .bag img {
  animation: move-up 1s linear forwards;
}
.md_prize.active .md-modal .md_top .title .img .coin01 img {
  animation: move-up 1s 0.2s linear forwards;
}
.md_prize.active .md-modal .md_top .title .img .coin02 img {
  animation: move-up 1s 0.4s linear forwards;
}
.md_prize .md-modal .md_top .title .img .bag {
  top: 11px;
}
.md_prize .md-modal .md-content .main p {
  font-size: clamp(100px, 3vw, 120px);
  letter-spacing: 0;
}

.md_reduce .md-modal {
  max-width: 360px;
}
.md_reduce .md-modal .md_top .title .img {
  height: 115px;
  width: 188px;
  position: relative;
  left: 50%;
  top: -45px;
  transform: translate(-50%, 0);
  overflow: hidden;
}
.md_reduce .md-modal .md_top .title .img img {
  transform: translateY(200px);
}
.md_reduce .md-modal .md_top .title .img .bag {
  position: absolute;
  left: 50%;
  top: 1px;
  transform: translate(-50%, 0);
  z-index: 1;
}
.md_reduce .md-modal .md_top .title .img .coin01 {
  position: absolute;
  left: 31px;
  top: 31px;
}
.md_reduce .md-modal .md_top .title .img .coin02 {
  position: absolute;
  left: 2px;
  top: 50px;
  z-index: 2;
}
.md_reduce .md-modal .md_top .title .tt {
  position: absolute;
  left: 50%;
  top: 45px;
  transform: translate(-50%, 0);
}
.md_reduce .md-modal .md_top .title .tt img {
  max-width: inherit;
}
.md_reduce .md-modal .md_top:before {
  animation: bright 2.5s infinite alternate;
}
.md_reduce .md-modal .md-content {
  border: 0;
  background: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.md_reduce .md-modal .md-content .main {
  border-radius: 20px;
  border: 6px #7fe2ff solid;
  background: linear-gradient(to bottom, #68e0cf, #209cff);
  padding: 40px 0 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.md_reduce .md-modal .md-content .main h3 {
  color: white;
  font-size: clamp(30px, 3vw, 36px);
  text-align: center;
}
.md_reduce .md-modal .md-content .main h3:after {
  -webkit-text-stroke: 0.15em #4e9bf2;
}
.md_reduce .md-modal .md-content .main .amount {
  color: white;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(100px, 3vw, 120px);
  font-weight: bold;
  line-height: 100%;
  letter-spacing: -8px;
  text-indent: -8px;
}
.md_reduce .md-modal .md-content .main .amount:after {
  -webkit-text-stroke: 0.05em #4e9bf2;
}
.md_reduce .md-modal .md-content .main .txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(16px, 3vw, 20px);
}
.md_reduce .md-modal .md-content .main .txt p:after {
  -webkit-text-stroke: 0.25em #4e9bf2;
}
.md_reduce .md-modal .md-content .main::after {
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/pop/img_light_y.png) center no-repeat;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  filter: hue-rotate(145deg);
}
.md_reduce .md-modal .md-content .main:before {
  content: "";
  width: 394px;
  height: 102px;
  background: url(../images/pop/money/img_ribbon.png);
  display: block;
  position: absolute;
  left: calc(50% - 2px);
  bottom: -9px;
  transform: translate(-50%, 0);
  z-index: 1;
}
.md_reduce .md-modal .md-content .confirm:hover img {
  filter: hue-rotate(299deg);
}
.md_reduce .md-modal .md-content:before, .md_reduce .md-modal .md-content:after {
  content: "";
  width: 48px;
  height: 30px;
  background: url(../images/pop/money/img_coin03.png);
  display: block;
  position: absolute;
  z-index: 2;
  animation: ldx-metronome 1s infinite linear;
}
.md_reduce .md-modal .md-content:before {
  left: -30px;
  top: 41px;
}
.md_reduce .md-modal .md-content:after {
  right: -30px;
  bottom: 181px;
}
.md_reduce.active .md-modal .md_top .title .img .bag img {
  animation: move-up 1s linear forwards;
}
.md_reduce.active .md-modal .md_top .title .img .coin01 img {
  animation: move-up 1s 0.2s linear forwards;
}
.md_reduce.active .md-modal .md_top .title .img .coin02 img {
  animation: move-up 1s 0.4s linear forwards;
}
.md_reduce .md-modal .md_top .title {
  top: inherit;
  bottom: 0;
}
.md_reduce .md-modal .md_top .title .img {
  top: inherit;
  bottom: 40px;
  overflow: inherit;
}
.md_reduce .md-modal .md_top .title .img .bag {
  width: 170px;
  overflow: hidden;
}
.md_reduce .md-modal .md-content .main {
  border: 6px #ff7b9f solid;
  background: linear-gradient(to bottom, #ffe6f6, #ff8388);
  padding: 20px 0 50px;
}
.md_reduce .md-modal .md-content .main:after {
  filter: hue-rotate(300deg);
}

@keyframes move-up {
  0% {
    transform: translateY(200px);
  }
  31% {
    animation-timing-function: cubic-bezier(0.0667, 0.1419, 0.6667, 1.1415);
    transform: translate(0, 7.8%);
  }
  45% {
    animation-timing-function: cubic-bezier(0.0542, 0.1151, 0.5697, 1.181);
    transform: translate(0, -4.68%);
  }
  59% {
    animation-timing-function: cubic-bezier(0.0497, 0.1058, 0.4541, 1.231);
    transform: translate(0, 2.81%);
  }
  73% {
    animation-timing-function: cubic-bezier(0.0808, 0.1711, 0.4109, 1.2519);
    transform: translate(0, -1.68%);
  }
  87% {
    animation-timing-function: cubic-bezier(0.2073, 0.3705, 0.4064, 0.8839);
    transform: translate(0, 1.01%);
  }
  100% {
    transform: translate(0, -0.78%);
  }
}
@keyframes bright {
  0%, 30% {
    filter: brightness(100%);
  }
  35%, 40% {
    filter: brightness(200%);
  }
  45%, 50% {
    filter: brightness(100%);
  }
  55%, 60% {
    filter: brightness(200%);
  }
  95%, 100% {
    filter: brightness(100%);
  }
}
@keyframes bright_festival {
  0%, 30% {
    filter: hue-rotate(100deg) brightness(100%);
  }
  35%, 40% {
    filter: hue-rotate(100deg) brightness(200%);
  }
  45%, 50% {
    filter: hue-rotate(100deg) brightness(100%);
  }
  55%, 60% {
    filter: hue-rotate(100deg) brightness(200%);
  }
  95%, 100% {
    filter: hue-rotate(100deg) brightness(100%);
  }
}
@keyframes bright_lottery {
  0%, 30% {
    filter: hue-rotate(180deg) brightness(100%);
  }
  35%, 40% {
    filter: hue-rotate(180deg) brightness(200%);
  }
  45%, 50% {
    filter: hue-rotate(180deg) brightness(100%);
  }
  55%, 60% {
    filter: hue-rotate(180deg) brightness(200%);
  }
  95%, 100% {
    filter: hue-rotate(180deg) brightness(100%);
  }
}
.md_destiny .md-modal .md-content {
  background: no-repeat;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}
.md_destiny .md-modal .md-content .txt {
  font-size: clamp(30px, 3vw, 36px);
  color: white;
  font-weight: bold;
  letter-spacing: 4px;
}
.md_destiny .md-modal .md-content .txt::after {
  -webkit-text-stroke: 0.15em #b17010;
}
.md_destiny .md-modal .md-content .txt:after {
  -webkit-text-stroke: 0.15em #ec5c62;
}
.md_destiny .md-modal .md-content .main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.md_destiny .md-modal .md-content .main .card {
  width: 100%;
  padding-bottom: 72%;
  perspective: 1000px;
  margin: 0 10px;
  cursor: pointer;
  position: relative;
}
.md_destiny .md-modal .md-content .main .card .card-front,
.md_destiny .md-modal .md-content .main .card .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.6s;
}
.md_destiny .md-modal .md-content .main .card .card-front {
  display: flex;
  justify-content: center;
  align-items: center;
}
.md_destiny .md-modal .md-content .main .card .card-front:after {
  content: "";
  width: 32px;
  height: 30px;
  background: url(../images/btn_randomButton-hand.png);
  display: block;
  position: absolute;
  top: 50%;
  right: 40px;
  animation: ldx-jingle 1s infinite linear;
}
.md_destiny .md-modal .md-content .main .card .card-back {
  background-color: #818181;
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
}
.md_destiny .md-modal .md-content .main .card.flipped .card-front {
  transform: rotateY(180deg);
}
.md_destiny .md-modal .md-content .main .card.flipped .card-back {
  transform: rotateY(0deg);
}
.md_destiny .md-modal .md-content .main .card#chance-card .card-front {
  background: url(../images/pop/destiny/img_chance.png) center no-repeat;
  background-size: contain;
}
.md_destiny .md-modal .md-content .main .card#destiny-card .card-front {
  background: url(../images/pop/destiny/img_destiny.png) center no-repeat;
  background-size: contain;
}
.md_destiny .md-modal .md-content .main .card.start .card-back {
  background: url(../images/pop/destiny/img_start.png) center no-repeat;
  background-size: contain;
}
.md_destiny .md-modal .md-content .main .card.end .card-back {
  background: url(../images/pop/destiny/img_end.png) center no-repeat;
  background-size: contain;
}
.md_destiny .md-modal .md-content .restart_btn {
  visibility: hidden;
  pointer-events: none;
}
.md_destiny .md-modal .md-content .restart_btn:hover img {
  filter: hue-rotate(299deg);
}
.md_destiny .md-modal .md-content .restart_btn.active {
  visibility: visible;
  pointer-events: auto;
}

.md.md_complete .md-modal .md_top {
  height: auto;
  z-index: 2;
}
.md.md_complete .md-modal .md_top .title {
  bottom: -98px;
}
.md.md_complete .md-modal .md_top:before {
  display: none;
}
.md.md_complete .md-modal .box_top,
.md.md_complete .md-modal .box_bottom {
  width: 100%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  text-align: center;
}
.md.md_complete .md-modal .box_top {
  top: -130px;
}
.md.md_complete .md-modal .box_bottom {
  bottom: -87px;
}
.md.md_complete .md-modal .box_bottom button {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translate(-50%, 0);
}
.md.md_complete .md-modal .box_bottom button:hover img {
  filter: hue-rotate(299deg);
}
.md.md_complete .md-modal .md-content {
  border: 0;
  background: white;
  border-radius: 20px 20px 0 0;
  max-width: 340px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px 20px 20px;
}
.md.md_complete .md-modal .md-content h3 {
  font-size: clamp(28px, 3vw, 30px);
  font-weight: bold;
  letter-spacing: 4px;
}
.md.md_complete .md-modal .md-content h3::after {
  -webkit-text-stroke: 0.15em #b17010;
}
.md.md_complete .md-modal .md-content h3:after {
  -webkit-text-stroke: 0.15em #4e9bf2;
}
.md.md_complete .md-modal .md-content ul {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.md.md_complete .md-modal .md-content ul li {
  display: flex;
  align-items: center;
  padding-bottom: 5px;
}
.md.md_complete .md-modal .md-content ul li .icon {
  flex: 1;
}
.md.md_complete .md-modal .md-content ul li .name {
  color: #4e9bf2;
  flex: 6;
  padding-left: 5px;
}
.md.md_complete .md-modal .md-content ul li .information {
  color: #4e9bf2;
  flex: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.md.md_complete .md-modal .md-content ul li .information span {
  color: #f04e55;
  font-size: clamp(28px, 3vw, 32px);
  font-weight: bold;
}
.md.md_complete .md-modal .md-content ul li:not(:last-child) {
  border-bottom: 1px dashed #4e9bf2;
}
.md.md_complete .md-modal .md-content .txt {
  font-size: 0.9em;
  text-align: center;
}
.md.md_complete .pyro {
  display: none;
  position: relative;
  z-index: 100;
}
.md.md_complete.active .pyro {
  display: block;
}
@media (max-width: 500px) {
  .md.md_complete .md-modal .md_top .title {
    bottom: -78px;
  }
}

.md_festival .md-modal {
  max-width: 360px;
}
.md_festival .md-modal .md_top .title .img {
  height: 115px;
  width: 188px;
  position: relative;
  left: 50%;
  top: -45px;
  transform: translate(-50%, 0);
  overflow: hidden;
}
.md_festival .md-modal .md_top .title .img img {
  transform: translateY(200px);
}
.md_festival .md-modal .md_top .title .img .bag {
  position: absolute;
  left: 50%;
  top: 1px;
  transform: translate(-50%, 0);
  z-index: 1;
}
.md_festival .md-modal .md_top .title .img .coin01 {
  position: absolute;
  left: 31px;
  top: 31px;
}
.md_festival .md-modal .md_top .title .img .coin02 {
  position: absolute;
  left: 2px;
  top: 50px;
  z-index: 2;
}
.md_festival .md-modal .md_top .title .tt {
  position: absolute;
  left: 50%;
  top: 45px;
  transform: translate(-50%, 0);
}
.md_festival .md-modal .md_top .title .tt img {
  max-width: inherit;
}
.md_festival .md-modal .md_top:before {
  animation: bright 2.5s infinite alternate;
}
.md_festival .md-modal .md-content {
  border: 0;
  background: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.md_festival .md-modal .md-content .main {
  border-radius: 20px;
  border: 6px #7fe2ff solid;
  background: linear-gradient(to bottom, #68e0cf, #209cff);
  padding: 40px 0 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.md_festival .md-modal .md-content .main h3 {
  color: white;
  font-size: clamp(30px, 3vw, 36px);
  text-align: center;
}
.md_festival .md-modal .md-content .main h3:after {
  -webkit-text-stroke: 0.15em #4e9bf2;
}
.md_festival .md-modal .md-content .main .amount {
  color: white;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(100px, 3vw, 120px);
  font-weight: bold;
  line-height: 100%;
  letter-spacing: -8px;
  text-indent: -8px;
}
.md_festival .md-modal .md-content .main .amount:after {
  -webkit-text-stroke: 0.05em #4e9bf2;
}
.md_festival .md-modal .md-content .main .txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(16px, 3vw, 20px);
}
.md_festival .md-modal .md-content .main .txt p:after {
  -webkit-text-stroke: 0.25em #4e9bf2;
}
.md_festival .md-modal .md-content .main::after {
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/pop/img_light_y.png) center no-repeat;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  filter: hue-rotate(145deg);
}
.md_festival .md-modal .md-content .main:before {
  content: "";
  width: 394px;
  height: 102px;
  background: url(../images/pop/money/img_ribbon.png);
  display: block;
  position: absolute;
  left: calc(50% - 2px);
  bottom: -9px;
  transform: translate(-50%, 0);
  z-index: 1;
}
.md_festival .md-modal .md-content .confirm:hover img {
  filter: hue-rotate(299deg);
}
.md_festival .md-modal .md-content:before, .md_festival .md-modal .md-content:after {
  content: "";
  width: 48px;
  height: 30px;
  background: url(../images/pop/money/img_coin03.png);
  display: block;
  position: absolute;
  z-index: 2;
  animation: ldx-metronome 1s infinite linear;
}
.md_festival .md-modal .md-content:before {
  left: -30px;
  top: 41px;
}
.md_festival .md-modal .md-content:after {
  right: -30px;
  bottom: 181px;
}
.md_festival.active .md-modal .md_top .title .img .bag img {
  animation: move-up 1s linear forwards;
}
.md_festival.active .md-modal .md_top .title .img .coin01 img {
  animation: move-up 1s 0.2s linear forwards;
}
.md_festival.active .md-modal .md_top .title .img .coin02 img {
  animation: move-up 1s 0.4s linear forwards;
}
.md_festival .md-modal .md_top .title .img .bag img {
  max-width: inherit;
}
.md_festival .md-modal .md_top .title .tt img {
  filter: hue-rotate(280deg);
}
.md_festival .md-modal .md_top:before {
  animation: bright_festival 2.5s infinite alternate;
}
.md_festival .md-modal .md-content .main {
  border: 6px #6d2eff solid;
  background: linear-gradient(to bottom, #faa2ec, #ac6fd1);
}
.md_festival .md-modal .md-content .main .amount {
  font-size: clamp(95px, 6vw, 100px);
  text-indent: -14px;
}
.md_festival .md-modal .md-content .main .amount:after {
  -webkit-text-stroke: 0.05em #6d2aff;
}
.md_festival .md-modal .md-content .main h3:after {
  -webkit-text-stroke: 0.15em #6d2aff;
}
.md_festival .md-modal .md-content .main:after {
  filter: hue-rotate(255deg);
}

.md_lottery .md-modal {
  max-width: 360px;
}
.md_lottery .md-modal .md_top .title .img {
  height: 115px;
  width: 188px;
  position: relative;
  left: 50%;
  top: -45px;
  transform: translate(-50%, 0);
  overflow: hidden;
}
.md_lottery .md-modal .md_top .title .img img {
  transform: translateY(200px);
}
.md_lottery .md-modal .md_top .title .img .bag {
  position: absolute;
  left: 50%;
  top: 1px;
  transform: translate(-50%, 0);
  z-index: 1;
}
.md_lottery .md-modal .md_top .title .img .coin01 {
  position: absolute;
  left: 31px;
  top: 31px;
}
.md_lottery .md-modal .md_top .title .img .coin02 {
  position: absolute;
  left: 2px;
  top: 50px;
  z-index: 2;
}
.md_lottery .md-modal .md_top .title .tt {
  position: absolute;
  left: 50%;
  top: 45px;
  transform: translate(-50%, 0);
}
.md_lottery .md-modal .md_top .title .tt img {
  max-width: inherit;
}
.md_lottery .md-modal .md_top:before {
  animation: bright 2.5s infinite alternate;
}
.md_lottery .md-modal .md-content {
  border: 0;
  background: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.md_lottery .md-modal .md-content .main {
  border-radius: 20px;
  border: 6px #7fe2ff solid;
  background: linear-gradient(to bottom, #68e0cf, #209cff);
  padding: 40px 0 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.md_lottery .md-modal .md-content .main h3 {
  color: white;
  font-size: clamp(30px, 3vw, 36px);
  text-align: center;
}
.md_lottery .md-modal .md-content .main h3:after {
  -webkit-text-stroke: 0.15em #4e9bf2;
}
.md_lottery .md-modal .md-content .main .amount {
  color: white;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(100px, 3vw, 120px);
  font-weight: bold;
  line-height: 100%;
  letter-spacing: -8px;
  text-indent: -8px;
}
.md_lottery .md-modal .md-content .main .amount:after {
  -webkit-text-stroke: 0.05em #4e9bf2;
}
.md_lottery .md-modal .md-content .main .txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(16px, 3vw, 20px);
}
.md_lottery .md-modal .md-content .main .txt p:after {
  -webkit-text-stroke: 0.25em #4e9bf2;
}
.md_lottery .md-modal .md-content .main::after {
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/pop/img_light_y.png) center no-repeat;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  filter: hue-rotate(145deg);
}
.md_lottery .md-modal .md-content .main:before {
  content: "";
  width: 394px;
  height: 102px;
  background: url(../images/pop/money/img_ribbon.png);
  display: block;
  position: absolute;
  left: calc(50% - 2px);
  bottom: -9px;
  transform: translate(-50%, 0);
  z-index: 1;
}
.md_lottery .md-modal .md-content .confirm:hover img {
  filter: hue-rotate(299deg);
}
.md_lottery .md-modal .md-content:before, .md_lottery .md-modal .md-content:after {
  content: "";
  width: 48px;
  height: 30px;
  background: url(../images/pop/money/img_coin03.png);
  display: block;
  position: absolute;
  z-index: 2;
  animation: ldx-metronome 1s infinite linear;
}
.md_lottery .md-modal .md-content:before {
  left: -30px;
  top: 41px;
}
.md_lottery .md-modal .md-content:after {
  right: -30px;
  bottom: 181px;
}
.md_lottery.active .md-modal .md_top .title .img .bag img {
  animation: move-up 1s linear forwards;
}
.md_lottery.active .md-modal .md_top .title .img .coin01 img {
  animation: move-up 1s 0.2s linear forwards;
}
.md_lottery.active .md-modal .md_top .title .img .coin02 img {
  animation: move-up 1s 0.4s linear forwards;
}
.md_lottery .md-modal .md-content .md_top .title .img {
  height: 145px;
  width: 188px;
}
.md_lottery .md-modal .md-content .md_top .title .img .bag {
  display: flex;
  align-items: center;
  top: 13px;
}
.md_lottery .md-modal .md-content .md_top .title .img .bag img {
  max-width: inherit;
}
.md_lottery .md-modal .md-content .md_top .title .tt {
  top: 91px;
}
.md_lottery .md-modal .md-content .md_top:before {
  animation: bright_lottery 2.5s infinite alternate;
}
.md_lottery .md-modal .md-content .md-content .main {
  border: 6px #ffac00 solid;
  background: linear-gradient(to bottom, #fec24b, #ffa116);
}
.md_lottery .md-modal .md-content .md-content .main img {
  position: relative;
  z-index: 1;
  animation: ldx-measure 5s infinite linear;
}
.md_lottery .md-modal .md-content .md-content .main .amount:after {
  -webkit-text-stroke: 0.05em #b46d00;
}
.md_lottery .md-modal .md-content .md-content .main h3:after {
  -webkit-text-stroke: 0.15em #b46d00;
}
.md_lottery .md-modal .md-content .md-content .main:after {
  filter: hue-rotate(338deg);
}
.md_lottery .md-modal .md-content .md-content .main:before {
  background: url(../images/pop/lottery/img_ribbon.png);
}
.md_lottery .md-modal .md-content .md-content:after, .md_lottery .md-modal .md-content .md-content:before {
  display: none;
}
.md_lottery .md-modal .md-content .page2 .md_top .title .img {
  width: 238px;
}
.md_lottery .md-modal .md-content .page2 .md_top .title .img .bag {
  top: 27px;
}
.md_lottery .md-modal .md-content:before {
  top: 181px;
}

.md_newbie .md-modal .md_top button {
  border: 1px white solid;
  color: white;
  padding: 2px 10px;
}
.md_newbie .md-modal .md_top button:hover {
  background: white;
  color: black;
}
.md_newbie .md-modal .md-content {
  border: 0;
  background: none;
}
.md_newbie .md-modal .md-content ul li {
  max-width: 340px;
  margin: auto;
  display: none;
}
.md_newbie .md-modal .md-content ul li .tt {
  display: flex;
}
.md_newbie .md-modal .md-content ul li .box {
  border-radius: 10px;
  border: 3px #ff9a95 solid;
  font-size: clamp(18px, 3vw, 20px);
  font-weight: bold;
  background: white;
  padding: 15px;
  line-height: 165%;
}
.md_newbie .md-modal .md-content ul li .box span {
  color: #d72333;
  font-size: 1em;
}
.md_newbie .md-modal .md-content ul li .bottom {
  position: relative;
}
.md_newbie .md-modal .md-content ul li .bottom .icon {
  display: flex;
}
.md_newbie .md-modal .md-content ul li .bottom .arrow {
  position: absolute;
  top: 0;
}
.md_newbie .md-modal .md-content ul li .btn {
  display: flex;
  justify-content: flex-end;
}
.md_newbie .md-modal .md-content ul li.page1 .tt {
  justify-content: center;
}
.md_newbie .md-modal .md-content ul li.page1 .bottom {
  padding: 20px 0 0 10px;
}
.md_newbie .md-modal .md-content ul li.page1 .bottom .arrow {
  left: 50%;
  transform: translate(-50%, 0);
}
.md_newbie .md-modal .md-content ul li.page2 .tt {
  transform: translate(-15px, 0);
}
.md_newbie .md-modal .md-content ul li.page2 .bottom {
  padding: 20px 0 0 20px;
}
.md_newbie .md-modal .md-content ul li.page2 .bottom .icon {
  justify-content: flex-end;
  margin-bottom: 20px;
}
.md_newbie .md-modal .md-content ul li.page2 .bottom .arrow {
  left: 41px;
}
.md_newbie .md-modal .md-content ul li.page2 .bottom .arrow img {
  transform: scaleX(-1);
}
.md_newbie .md-modal .md-content ul li.page4 {
  max-width: 395px;
  font-size: clamp(18px, 3vw, 20px);
  font-weight: bold;
  color: white;
  text-align: center;
}
.md_newbie .md-modal .md-content ul li.page4 .top {
  margin-bottom: 27px;
  position: relative;
}
.md_newbie .md-modal .md-content ul li.page4 .top:before, .md_newbie .md-modal .md-content ul li.page4 .top:after {
  content: "";
  width: 22px;
  height: 45px;
  background: url(../images/pop/newbie/arrow_02.png);
  display: block;
  position: absolute;
}
.md_newbie .md-modal .md-content ul li.page4 .top:before {
  left: calc(50% + 55px);
  bottom: -100%;
  transform: translate(-50%, 0);
}
.md_newbie .md-modal .md-content ul li.page4 .top:after {
  display: none;
}
.md_newbie .md-modal .md-content ul li.page4 .middle {
  margin-bottom: 30px;
}
.md_newbie .md-modal .md-content ul li.page4 .bottom {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
}
.md_newbie .md-modal .md-content ul li.page4 .bottom:before, .md_newbie .md-modal .md-content ul li.page4 .bottom:after {
  content: "";
  width: 22px;
  height: 45px;
  background: url(../images/pop/newbie/arrow_02.png);
  display: block;
  position: absolute;
}
.md_newbie .md-modal .md-content ul li.page4 .bottom:before {
  top: -30px;
  left: 24px;
  transform: rotate(180deg);
}
.md_newbie .md-modal .md-content ul li.page4 .bottom::after {
  top: -30px;
  right: 15px;
  transform: rotate(180deg) scaleX(-1);
}

.md_incompatible .md-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background-image: url(../images/pop/bg_cloud.png);
  background-repeat: no-repeat;
  background-position: center bottom;
}
.md_incompatible .md-content .txt {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.md_incompatible .md-content .txt strong {
  font-size: clamp(32px, 3vw, 36px);
}
.md_incompatible .md-content .txt strong:after {
  -webkit-text-stroke: 0.15em #4e9bf2;
}
.md_incompatible .md-content .txt p {
  color: #4e9bf2;
}
.md_incompatible .md-content .btn {
  display: flex;
  justify-content: center;
  gap: 35px;
}
.md_incompatible .md-modal {
  max-width: 400px;
}
.md_incompatible .md-modal .md_top .md_close {
  background: #7fe2ff;
}
.md_incompatible .md-modal .md-content .txt strong {
  font-size: clamp(28px, 3vw, 32px);
}

.md_unstable .md-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background-image: url(../images/pop/bg_cloud.png);
  background-repeat: no-repeat;
  background-position: center bottom;
}
.md_unstable .md-content .txt {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.md_unstable .md-content .txt strong {
  font-size: clamp(32px, 3vw, 36px);
}
.md_unstable .md-content .txt strong:after {
  -webkit-text-stroke: 0.15em #4e9bf2;
}
.md_unstable .md-content .txt p {
  color: #4e9bf2;
}
.md_unstable .md-content .btn {
  display: flex;
  justify-content: center;
  gap: 35px;
}
.md_unstable .md-modal {
  max-width: 400px;
}
.md_unstable .md-modal .md_top .md_close {
  background: #7fe2ff;
}
.md_unstable .md-modal .md-content .txt strong {
  font-size: clamp(28px, 3vw, 32px);
}

.md_no_dice .md-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background-image: url(../images/pop/bg_cloud.png);
  background-repeat: no-repeat;
  background-position: center bottom;
}
.md_no_dice .md-content .txt {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.md_no_dice .md-content .txt strong {
  font-size: clamp(32px, 3vw, 36px);
}
.md_no_dice .md-content .txt strong:after {
  -webkit-text-stroke: 0.15em #4e9bf2;
}
.md_no_dice .md-content .txt p {
  color: #4e9bf2;
}
.md_no_dice .md-content .btn {
  display: flex;
  justify-content: center;
  gap: 35px;
}
.md_no_dice .md-modal {
  max-width: 400px;
}
.md_no_dice .md-modal .md_top .md_close {
  background: #7fe2ff;
}
.md_no_dice .md-modal .md-content .txt strong {
  font-size: clamp(28px, 3vw, 32px);
}

.md.md_dice .md-modal {
  background: none;
}
.md.md_dice .md-modal .md_top {
  height: 145px;
}
.md.md_dice .md-modal .md_top .title {
  bottom: -73%;
  top: inherit;
}
.md.md_dice .md-modal .md_top:before {
  content: "";
  width: 100%;
  height: 144px;
  background: url(../images/pop/img_star.png) center top no-repeat;
  background-size: contain;
  display: block;
  position: absolute;
  bottom: 11px;
  filter: hue-rotate(177deg);
}
.md.md_dice .md-modal .md-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fdd54c;
  border: 6px #fff843 solid;
  padding: 85px 10px 20px;
}
.md.md_dice .md-modal .md-content .dice {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}
.md.md_dice .md-modal .md-content .result {
  opacity: 0;
  color: white;
  display: flex;
  align-items: center;
  letter-spacing: 10px;
  font-size: clamp(30px, 3vw, 36px);
  animation: showResult 0s linear 2s forwards;
  position: relative;
  z-index: 1;
}
.md.md_dice .md-modal .md-content .result p,
.md.md_dice .md-modal .md-content .result span {
  font-weight: bold;
  letter-spacing: 4px;
}
.md.md_dice .md-modal .md-content .result p::after,
.md.md_dice .md-modal .md-content .result span::after {
  -webkit-text-stroke: 0.15em #b17010;
}
.md.md_dice .md-modal .md-content:after {
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/pop/img_light_y.png) center no-repeat;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

body {
  margin: 0;
  padding: 0;
}

.pyro > .before,
.pyro > .after {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  box-shadow: 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff;
  animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
}

.pyro > .after {
  animation-delay: 1.25s, 1.25s, 1.25s;
  animation-duration: 1.25s, 1.25s, 6.25s;
}
@keyframes bang {
  to {
    box-shadow: -27px -20.6666666667px hsl(197, 100%, 50%), 73px 39.3333333333px hsl(139, 100%, 50%), 138px -77.6666666667px hsl(229, 100%, 50%), -25px -374.6666666667px hsl(285, 100%, 50%), 207px 37.3333333333px hsl(156, 100%, 50%), 131px -329.6666666667px hsl(157, 100%, 50%), 12px -323.6666666667px hsl(119, 100%, 50%), -4px -176.6666666667px hsl(148, 100%, 50%), -122px -119.6666666667px hsl(191, 100%, 50%), 59px -9.6666666667px hsl(250, 100%, 50%), -224px -412.6666666667px hsl(92, 100%, 50%), 108px -143.6666666667px hsl(174, 100%, 50%), 37px -11.6666666667px hsl(175, 100%, 50%), 209px -279.6666666667px hsl(254, 100%, 50%), 167px -138.6666666667px hsl(169, 100%, 50%), -18px -135.6666666667px hsl(266, 100%, 50%), -155px -23.6666666667px hsl(20, 100%, 50%), 230px -272.6666666667px hsl(55, 100%, 50%), 31px -162.6666666667px hsl(135, 100%, 50%), 54px 56.3333333333px hsl(218, 100%, 50%), -59px -31.6666666667px hsl(138, 100%, 50%), 6px -379.6666666667px hsl(345, 100%, 50%), 222px -194.6666666667px hsl(352, 100%, 50%), -21px 81.3333333333px hsl(137, 100%, 50%), -213px -189.6666666667px hsl(228, 100%, 50%), -9px 70.3333333333px hsl(118, 100%, 50%), -162px -93.6666666667px hsl(225, 100%, 50%), -47px -185.6666666667px hsl(231, 100%, 50%), -58px -49.6666666667px hsl(129, 100%, 50%), 199px -401.6666666667px hsl(269, 100%, 50%), -70px -265.6666666667px hsl(46, 100%, 50%), 4px -270.6666666667px hsl(194, 100%, 50%), -182px -201.6666666667px hsl(199, 100%, 50%), 90px -186.6666666667px hsl(153, 100%, 50%), 206px -76.6666666667px hsl(171, 100%, 50%), -243px -102.6666666667px hsl(89, 100%, 50%), 15px -134.6666666667px hsl(12, 100%, 50%), 247px -94.6666666667px hsl(107, 100%, 50%), 218px 77.3333333333px hsl(169, 100%, 50%), -90px -166.6666666667px hsl(201, 100%, 50%), -77px -236.6666666667px hsl(205, 100%, 50%), 242px -194.6666666667px hsl(316, 100%, 50%), 217px -375.6666666667px hsl(127, 100%, 50%), 94px 29.3333333333px hsl(316, 100%, 50%), 114px -152.6666666667px hsl(226, 100%, 50%), 177px -31.6666666667px hsl(321, 100%, 50%), -131px -221.6666666667px hsl(170, 100%, 50%), 171px 65.3333333333px hsl(142, 100%, 50%), -102px -257.6666666667px hsl(313, 100%, 50%), -178px 27.3333333333px hsl(136, 100%, 50%), -8px -73.6666666667px hsl(188, 100%, 50%), -86px -272.6666666667px hsl(96, 100%, 50%), 14px -150.6666666667px hsl(288, 100%, 50%), -37px -17.6666666667px hsl(285, 100%, 50%), -232px -105.6666666667px hsl(230, 100%, 50%), -26px -124.6666666667px hsl(147, 100%, 50%), 11px -110.6666666667px hsl(282, 100%, 50%), 212px -4.6666666667px hsl(224, 100%, 50%), -95px -146.6666666667px hsl(103, 100%, 50%), -89px -70.6666666667px hsl(48, 100%, 50%), -80px -304.6666666667px hsl(56, 100%, 50%), -199px 81.3333333333px hsl(313, 100%, 50%), 134px -125.6666666667px hsl(301, 100%, 50%), -5px 53.3333333333px hsl(45, 100%, 50%), -128px -186.6666666667px hsl(46, 100%, 50%), -93px 9.3333333333px hsl(197, 100%, 50%), 213px -66.6666666667px hsl(349, 100%, 50%), -112px -323.6666666667px hsl(7, 100%, 50%), 53px 26.3333333333px hsl(134, 100%, 50%), 129px -28.6666666667px hsl(347, 100%, 50%), 188px -314.6666666667px hsl(84, 100%, 50%), -171px -370.6666666667px hsl(89, 100%, 50%), -245px -318.6666666667px hsl(87, 100%, 50%), 120px -3.6666666667px hsl(318, 100%, 50%), 242px -138.6666666667px hsl(330, 100%, 50%), -126px -192.6666666667px hsl(234, 100%, 50%), -79px -289.6666666667px hsl(93, 100%, 50%), 43px -146.6666666667px hsl(3, 100%, 50%), -77px -151.6666666667px hsl(89, 100%, 50%), -102px -323.6666666667px hsl(33, 100%, 50%), 187px -305.6666666667px hsl(162, 100%, 50%), 95px -188.6666666667px hsl(327, 100%, 50%), -172px -313.6666666667px hsl(350, 100%, 50%), 129px -25.6666666667px hsl(208, 100%, 50%), -188px -212.6666666667px hsl(293, 100%, 50%), 148px -236.6666666667px hsl(171, 100%, 50%), -149px -187.6666666667px hsl(291, 100%, 50%), -6px 69.3333333333px hsl(82, 100%, 50%), 249px 74.3333333333px hsl(279, 100%, 50%), 64px -325.6666666667px hsl(113, 100%, 50%), 48px -80.6666666667px hsl(133, 100%, 50%), 57px -84.6666666667px hsl(93, 100%, 50%), 111px -390.6666666667px hsl(161, 100%, 50%), 20px -161.6666666667px hsl(134, 100%, 50%), 205px -378.6666666667px hsl(200, 100%, 50%), 75px -413.6666666667px hsl(331, 100%, 50%), 209px 10.3333333333px hsl(231, 100%, 50%), -84px -35.6666666667px hsl(233, 100%, 50%), -79px 60.3333333333px hsl(254, 100%, 50%), -152px -198.6666666667px hsl(108, 100%, 50%), -144px -3.6666666667px hsl(165, 100%, 50%);
  }
}
@keyframes gravity {
  to {
    transform: translateY(200px);
    -moz-transform: translateY(200px);
    -webkit-transform: translateY(200px);
    -o-transform: translateY(200px);
    -ms-transform: translateY(200px);
    opacity: 0;
  }
}
@keyframes position {
  0%, 19.9% {
    margin-top: 10%;
    margin-left: 40%;
  }
  20%, 39.9% {
    margin-top: 40%;
    margin-left: 30%;
  }
  40%, 59.9% {
    margin-top: 20%;
    margin-left: 70%;
  }
  60%, 79.9% {
    margin-top: 30%;
    margin-left: 20%;
  }
  80%, 99.9% {
    margin-top: 30%;
    margin-left: 80%;
  }
}
@media screen and (min-width: 1201px) {
  .menu_main {
    display: block !important;
  }
  header .md-overlay,
  .end_menu,
  .mob-menu {
    display: none !important;
  }
}
@media (max-width: 768px) {
  main {
    display: block;
  }
}
@media screen and (min-width: 1921px) {
  body {
    background-size: cover;
  }
  .control {
    bottom: calc(100% - 1020px);
  }
}
@media screen and (min-width: 2400px) {
  .control {
    bottom: calc(100% - 1060px);
  }
}