.m4d__wrapper {
  position: fixed;
  z-index: 120;
}
.m4d__overlay,
.m4d__wrapper {
  width: 100%;
  height: 100%;
  top: 0;
}
.m4d__overlay {
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
}
.m4d__content {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
.m4d__panel {
  background: url(../../Content/imgs/max4d/bg.png) no-repeat 50%;
  background-size: 100%;
  padding: 0 44px 0 18px;
  width: 402px;
  height: 569px;
  z-index: 140;
  margin: 20px 0;
}
.m4d__btn-close {
  background: url(../../Content/imgs/max4d/btn-close.png) no-repeat 50%;
  width: 30px;
  height: 30px;
  top: 0;
  right: 0;
  cursor: pointer;
}
.m4d__header {
  height: 80px;
  margin-top: 190px;
}
.m4d__class-logo {
  background-image: url(../../Content/imgs/max4d/class_logoec41.png?v=1735306142966);
  background-size: 1000px;
  background-repeat: no-repeat;
  background-position: 0 80px;
  height: 80px;
  width: 200px;
  margin: 0 auto;
}
.m4d__class-logo--b {
  background-position: 0 0;
}
.m4d__class-logo--g {
  background-position: -200px 0;
}
.m4d__class-logo--k {
  background-position: -400px 0;
}
.m4d__class-logo--l {
  background-position: -600px 0;
}
.m4d__class-logo--m {
  background-position: -800px 0;
}
.m4d__class-logo--n {
  background-position: 0 -80px;
}
.m4d__class-logo--p {
  background-position: -200px -80px;
}
.m4d__class-logo--s {
  background-position: -400px -80px;
}
.m4d__class-logo--t {
  background-position: -600px -80px;
}
.m4d__class-logo--w {
  background-position: -800px -80px;
}
.m4d__body {
  margin-top: 46px;
  height: 66px;
}
.m4d__lucky-number {
  font-size: 50px;
  font-weight: 700;
  color: #af2e3f;
  text-align: center;
  word-spacing: 45px;
}
.m4d__footer {
  margin: 28px 14px 0 15px;
  height: 54px;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.m4d__note {
  margin: 30px 50px 0 60px;
  text-align: center;
  font-weight: 700;
  color: #af2e3f;
  height: 62px;
}
.m4d__ticketid {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
}
.m4d__date {
  font-weight: 700;
  font-size: 12px;
}
@media only screen and (max-width: 768px) and (orientation: landscape) {
  .m4d__content {
    max-height: 100vh;
    overflow-x: auto;
  }
}
@media only screen and (max-width: 480px) {
  .m4d__panel {
    padding: 0 30px 0 12px;
    background-size: 310px;
    width: 268px;
    height: 380px;
  }
  .m4d__header {
    height: 60px;
    margin-top: 125px;
  }
  .m4d__class-logo {
    width: 150px;
    height: 60px;
    background-size: 750px;
  }
  .m4d__class-logo--g {
    background-position: -150px 0;
  }
  .m4d__class-logo--k {
    background-position: -300px 0;
  }
  .m4d__class-logo--l {
    background-position: -450px 0;
  }
  .m4d__class-logo--m {
    background-position: -600px 0;
  }
  .m4d__class-logo--n {
    background-position: 0 -60px;
  }
  .m4d__class-logo--p {
    background-position: -150px -60px;
  }
  .m4d__class-logo--s {
    background-position: -300px -60px;
  }
  .m4d__class-logo--t {
    background-position: -450px -60px;
  }
  .m4d__class-logo--w {
    background-position: -600px -60px;
  }
  .m4d__body {
    margin-top: 26px;
    height: 44px;
  }
  .m4d__lucky-number {
    font-size: 20px;
    word-spacing: 42px;
  }
  .m4d__footer {
    margin: 20px 15px 0;
    height: 35px;
  }
  .m4d__note {
    margin: 18px 30px 0 40px;
    font-size: 11px;
    height: 48px;
  }
  .m4d__ticketid {
    font-size: 12px;
    margin-bottom: 2px;
  }
  .m4d__date {
    font-size: 11px;
  }
  .m4d__ticketid .m4d__ticket-label {
    display: none;
  }
}
